From cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Thu, 17 Jun 2021 18:52:28 -0400 Subject: [PATCH 01/45] Tables aad (#19299) closes #19244 --- sdk/tables/azure-data-tables/CHANGELOG.md | 1 + .../azure/data/tables/_base_client.py | 2 +- .../azure/data/tables/_table_client.py | 7 +- .../data/tables/_table_service_client.py | 7 +- .../data/tables/aio/_table_client_async.py | 7 +- .../tables/aio/_table_service_client_async.py | 7 +- .../tests/_shared/asynctestcase.py | 10 +- .../tests/_shared/testcase.py | 25 +- ...able_aad.test_aad_access_policy_error.yaml | 92 ++++ ...est_aad_batch_all_operations_together.yaml | 520 ++++++++++++++++++ .../test_table_aad.test_aad_create_table.yaml | 217 ++++++++ ...st_table_aad.test_aad_create_table_tc.yaml | 217 ++++++++ ...st_table_aad.test_aad_delete_entities.yaml | 277 ++++++++++ ...aad.test_aad_insert_entity_dictionary.yaml | 190 +++++++ ...test_table_aad.test_aad_list_entities.yaml | 378 +++++++++++++ ..._table_aad.test_aad_query_list_tables.yaml | 480 ++++++++++++++++ ..._table_aad.test_aad_query_user_filter.yaml | 290 ++++++++++ ...table_aad.test_aad_service_properties.yaml | 281 ++++++++++ ...able_aad.test_aad_table_service_stats.yaml | 39 ++ .../test_table_aad.test_create_table_aad.yaml | 217 ++++++++ .../test_table_aad.test_merge_entity.yaml | 286 ++++++++++ ...test_table_aad.test_query_user_filter.yaml | 227 ++++++++ ...ad_async.test_aad_access_policy_error.yaml | 72 +++ ...est_aad_batch_all_operations_together.yaml | 420 ++++++++++++++ ...table_aad_async.test_aad_create_table.yaml | 163 ++++++ ...le_aad_async.test_aad_create_table_tc.yaml | 163 ++++++ ...le_aad_async.test_aad_delete_entities.yaml | 212 +++++++ ...ync.test_aad_insert_entity_dictionary.yaml | 146 +++++ ...able_aad_async.test_aad_list_entities.yaml | 290 ++++++++++ ..._aad_async.test_aad_query_list_tables.yaml | 362 ++++++++++++ ..._aad_async.test_aad_query_user_filter.yaml | 224 ++++++++ ...aad_async.test_aad_service_properties.yaml | 221 ++++++++ ...ad_async.test_aad_table_service_stats.yaml | 31 ++ ...table_aad_async.test_create_table_aad.yaml | 100 ++++ ...d_async.test_insert_entity_dictionary.yaml | 145 +++++ ...est_table_aad_async.test_merge_entity.yaml | 221 ++++++++ .../azure-data-tables/tests/test_table_aad.py | 310 +++++++++++ .../tests/test_table_aad_async.py | 309 +++++++++++ .../tests/test_table_service_stats.py | 16 - sdk/tables/test-resources.json | 17 + 40 files changed, 7166 insertions(+), 33 deletions(-) create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_access_policy_error.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_batch_all_operations_together.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table_tc.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_delete_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_insert_entity_dictionary.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_list_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_list_tables.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_user_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_service_properties.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_table_service_stats.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_create_table_aad.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_merge_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_query_user_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_access_policy_error.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_batch_all_operations_together.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table_tc.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_delete_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_insert_entity_dictionary.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_list_entities.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_list_tables.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_user_filter.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_service_properties.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_table_service_stats.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_create_table_aad.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_insert_entity_dictionary.yaml create mode 100644 sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_merge_entity.yaml create mode 100644 sdk/tables/azure-data-tables/tests/test_table_aad.py create mode 100644 sdk/tables/azure-data-tables/tests/test_table_aad_async.py diff --git a/sdk/tables/azure-data-tables/CHANGELOG.md b/sdk/tables/azure-data-tables/CHANGELOG.md index a668c91863f3..7475207b007d 100644 --- a/sdk/tables/azure-data-tables/CHANGELOG.md +++ b/sdk/tables/azure-data-tables/CHANGELOG.md @@ -3,6 +3,7 @@ ## 12.0.1 (Unreleased) ### Features Added +* Storage Accounts only: `TableClient` and `TableServiceClient`s can now use `azure-identity` credentials for authentication. Note: A `TableClient` authenticated with a `TokenCredential` cannot use the `get_table_access_policy` or `set_table_access_policy` methods. ### Breaking Changes diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py index dee6b80de13e..f18a8100bc46 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_base_client.py @@ -394,7 +394,7 @@ def format_query_string(sas_token, credential): "You cannot use AzureSasCredential when the resource URI also contains a Shared Access Signature.") if sas_token and not credential: query_str += sas_token - elif isinstance(credential, (AzureSasCredential, AzureNamedKeyCredential)): + elif credential: return "", credential return query_str.rstrip("?&"), None diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py index d8d4c8b1adb1..14e9e437f461 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_table_client.py @@ -72,11 +72,12 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential :param str table_name: The table name. :keyword credential: The credentials with which to authenticate. This is optional if the - account URL already has a SAS token. The value can be one of AzureNamedKeyCredential - or AzureSasCredential from azure-core. + account URL already has a SAS token. The value can be one of AzureNamedKeyCredential (azure-core), + AzureSasCredential (azure-core), or TokenCredentials from azure-identity. :paramtype credential: :class:`~azure.core.credentials.AzureNamedKeyCredential` or - :class:`~azure.core.credentials.AzureSasCredential` + :class:`~azure.core.credentials.AzureSasCredential` or + :class:`~azure.core.credentials.TokenCredential` :returns: None """ if not table_name: diff --git a/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py b/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py index 229dea466370..b970f02e215d 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/_table_service_client.py @@ -44,11 +44,12 @@ class TableServiceClient(TablesBaseClient): authenticated with a SAS token. :keyword credential: The credentials with which to authenticate. This is optional if the - account URL already has a SAS token. The value can be one of AzureNamedKeyCredential - or AzureSasCredential from azure-core. + account URL already has a SAS token. The value can be one of AzureNamedKeyCredential (azure-core), + AzureSasCredential (azure-core), or TokenCredentials from azure-identity. :paramtype credential: :class:`~azure.core.credentials.AzureNamedKeyCredential` or - :class:`~azure.core.credentials.AzureSasCredential` + :class:`~azure.core.credentials.AzureSasCredential` or + :class:`~azure.core.credentials.TokenCredential` :keyword str api_version: The Storage API version to use for requests. Default value is '2019-02-02'. Setting to an older version may result in reduced feature compatibility. diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py index ed4f669e9717..61139d8b897f 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_client_async.py @@ -61,11 +61,12 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential :param str table_name: The table name. :keyword credential: The credentials with which to authenticate. This is optional if the - account URL already has a SAS token. The value can be one of AzureNamedKeyCredential - or AzureSasCredential from azure-core. + account URL already has a SAS token. The value can be one of AzureNamedKeyCredential (azure-core), + AzureSasCredential (azure-core), or TokenCredentials from azure-identity. :paramtype credential: :class:`~azure.core.credentials.AzureNamedKeyCredential` or - :class:`~azure.core.credentials.AzureSasCredential` + :class:`~azure.core.credentials.AzureSasCredential` or + :class:`~azure.core.credentials.TokenCredential` :returns: None """ diff --git a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_service_client_async.py b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_service_client_async.py index c5f62586946e..c6ad7a64b618 100644 --- a/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_service_client_async.py +++ b/sdk/tables/azure-data-tables/azure/data/tables/aio/_table_service_client_async.py @@ -47,11 +47,12 @@ class TableServiceClient(AsyncTablesBaseClient): authenticated with a SAS token. :keyword credential: The credentials with which to authenticate. This is optional if the - account URL already has a SAS token. The value can be one of AzureNamedKeyCredential - or AzureSasCredential from azure-core. + account URL already has a SAS token. The value can be one of AzureNamedKeyCredential (azure-core), + AzureSasCredential (azure-core), or TokenCredentials from azure-identity. :paramtype credential: :class:`~azure.core.credentials.AzureNamedKeyCredential` or - :class:`~azure.core.credentials.AzureSasCredential` + :class:`~azure.core.credentials.AzureSasCredential` or + :class:`~azure.core.credentials.TokenCredential` :keyword str api_version: The Storage API version to use for requests. Default value is '2019-02-02'. Setting to an older version may result in reduced feature compatibility. diff --git a/sdk/tables/azure-data-tables/tests/_shared/asynctestcase.py b/sdk/tables/azure-data-tables/tests/_shared/asynctestcase.py index 0da9a6bac08c..0189409a4dfc 100644 --- a/sdk/tables/azure-data-tables/tests/_shared/asynctestcase.py +++ b/sdk/tables/azure-data-tables/tests/_shared/asynctestcase.py @@ -16,6 +16,7 @@ EdmType, ) from azure.data.tables.aio import TableServiceClient +from azure.identity.aio import DefaultAzureCredential from devtools_testutils import is_live @@ -38,6 +39,11 @@ async def get_token(self, *args): class AsyncTableTestCase(TableTestCase): + def get_token_credential(self): + if is_live(): + return DefaultAzureCredential() + return self.generate_fake_token() + def generate_fake_token(self): return AsyncFakeTokenCredential() @@ -116,9 +122,9 @@ async def _insert_random_entity(self, pk=None, rk=None): metadata = await self.table.create_entity(entity=entity) return entity, metadata["etag"] - async def _set_up(self, account_name, account_key, url="table"): + async def _set_up(self, account_name, credential, url="table"): account_url = self.account_url(account_name, url) - self.ts = TableServiceClient(account_url, credential=account_key) + self.ts = TableServiceClient(account_url, credential=credential) self.table_name = self.get_resource_name("uttable") self.table = self.ts.get_table_client(self.table_name) if self.is_live: diff --git a/sdk/tables/azure-data-tables/tests/_shared/testcase.py b/sdk/tables/azure-data-tables/tests/_shared/testcase.py index e8315f52cb1e..12123d4268b1 100644 --- a/sdk/tables/azure-data-tables/tests/_shared/testcase.py +++ b/sdk/tables/azure-data-tables/tests/_shared/testcase.py @@ -23,6 +23,7 @@ TableMetrics, TableServiceClient, ) +from azure.identity import DefaultAzureCredential from devtools_testutils import is_live @@ -30,6 +31,14 @@ TEST_TABLE_PREFIX = "pytablesync" +SERVICE_UNAVAILABLE_RESP_BODY = 'unavailable ' + +SERVICE_LIVE_RESP_BODY = 'liveWed, 19 Jan 2021 22:28:43 GMT ' + class FakeTokenCredential(object): """Protocol for classes able to provide OAuth tokens. @@ -81,6 +90,11 @@ def generate_sas_token(self): expiry=datetime.now() + timedelta(days=8), ) + def get_token_credential(self): + if is_live(): + return DefaultAzureCredential() + return self.generate_fake_token() + def generate_fake_token(self): return FakeTokenCredential() @@ -421,10 +435,10 @@ def _insert_random_entity(self, pk=None, rk=None): metadata = self.table.create_entity(entity) return entity, metadata["etag"] - def _set_up(self, account_name, account_key, url="table"): + def _set_up(self, account_name, credential, url="table"): self.table_name = self.get_resource_name("uttable") self.ts = TableServiceClient( - self.account_url(account_name, url), credential=account_key, table_name=self.table_name + self.account_url(account_name, url), credential=credential, table_name=self.table_name ) self.table = self.ts.get_table_client(self.table_name) if self.is_live: @@ -449,6 +463,13 @@ def _assert_stats_unavailable(self, stats): assert stats["geo_replication"]["status"] == "unavailable" assert stats["geo_replication"]["last_sync_time"] is None + @staticmethod + def override_response_body_with_unavailable_status(response): + response.http_response.text = lambda _: SERVICE_UNAVAILABLE_RESP_BODY + + @staticmethod + def override_response_body_with_live_status(response): + response.http_response.text = lambda _: SERVICE_LIVE_RESP_BODY class ResponseCallback(object): def __init__(self, status=None, new_status=None): diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_access_policy_error.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_access_policy_error.yaml new file mode 100644 index 000000000000..816f5301ad16 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_access_policy_error.yaml @@ -0,0 +1,92 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Jun 2021 16:53:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/pytablesync7b551169?comp=acl + response: + body: + string: 'ResourceNotFoundThe specified resource does not exist. + + RequestId:7c3b01c2-0002-006a-1999-63305d000000 + + Time:2021-06-17T16:53:05.6341722Z' + headers: + content-length: + - '322' + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:53:04 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - ResourceNotFound + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: The specified resource does not exist. +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 16:53:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:04 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/pytablesync7b551169?comp=acl + response: + body: + string: 'ResourceNotFoundThe specified resource does not exist. + + RequestId:7c3b0201-0002-006a-5499-63305d000000 + + Time:2021-06-17T16:53:05.7602607Z' + headers: + content-length: + - '322' + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:53:04 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: + - ResourceNotFound + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: The specified resource does not exist. +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_batch_all_operations_together.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_batch_all_operations_together.yaml new file mode 100644 index 000000000000..1b2b0769da1d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_batch_all_operations_together.yaml @@ -0,0 +1,520 @@ +interactions: +- request: + body: '{"TableName": "uttable3e36157d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:05 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable3e36157d"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttable3e36157d') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-1", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T20:53:06.408852Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable3e36157d + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable3e36157d/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.3173116Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-1","Timestamp":"2021-06-17T16:53:07.3173116Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A07.3173116Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-1') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-2", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T20:53:06.408852Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable3e36157d + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable3e36157d/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.4514057Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-2","Timestamp":"2021-06-17T16:53:07.4514057Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A07.4514057Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-2') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-3", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T20:53:06.408852Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable3e36157d + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable3e36157d/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.5925041Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-3","Timestamp":"2021-06-17T16:53:07.5925041Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A07.5925041Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-3') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-4", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T20:53:06.408852Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable3e36157d + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable3e36157d/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.7356057Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-4","Timestamp":"2021-06-17T16:53:07.7356057Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A07.7356057Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-4') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: "--batch_03580d72-de55-462e-9773-08d34495f4cb\r\nContent-Type: multipart/mixed;\ + \ boundary=changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\n\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 0\r\n\r\nPOST https://seankaneprim.table.core.windows.net/uttable3e36157d\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nPrefer:\ + \ return-no-content\r\nContent-Type: application/json;odata=nometadata\r\nAccept:\ + \ application/json;odata=minimalmetadata\r\nContent-Length: 317\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021 16:53:06 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 3, \"test4\": 1234567890, \"test5\": \"2021-06-17T20:53:06.408852Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 1\r\n\r\nDELETE https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-1')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nAccept: application/json;odata=minimalmetadata\r\nx-ms-date: Thu, 17\ + \ Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021 16:53:06 GMT\r\n\r\n\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 2\r\n\r\nPATCH https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-2')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nContent-Type: application/json\r\nAccept: application/json\r\nContent-Length:\ + \ 320\r\nx-ms-date: Thu, 17 Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021\ + \ 16:53:06 GMT\r\n\r\n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\"\ + : \"Edm.String\", \"RowKey\": \"batch_all_operations_together-2\", \"RowKey@odata.type\"\ + : \"Edm.String\", \"test\": true, \"test2\": \"value\", \"test2@odata.type\"\ + : \"Edm.String\", \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T20:53:06.408852Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 3\r\n\r\nPUT https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-3')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nContent-Type: application/json\r\nAccept: application/json\r\nContent-Length:\ + \ 321\r\nx-ms-date: Thu, 17 Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021\ + \ 16:53:06 GMT\r\n\r\n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\"\ + : \"Edm.String\", \"RowKey\": \"batch_all_operations_together-3\", \"RowKey@odata.type\"\ + : \"Edm.String\", \"test\": true, \"test2\": \"value\", \"test2@odata.type\"\ + : \"Edm.String\", \"test3\": 100, \"test4\": 1234567890, \"test5\": \"2021-06-17T20:53:06.408852Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 4\r\n\r\nPATCH https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-4')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nContent-Type:\ + \ application/json\r\nAccept: application/json\r\nContent-Length: 320\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021 16:53:06 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together-4\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T20:53:06.408852Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 5\r\n\r\nPUT https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together-5')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nContent-Type:\ + \ application/json\r\nAccept: application/json\r\nContent-Length: 320\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 16:53:06 GMT\r\nDate: Thu, 17 Jun 2021 16:53:06 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together-5\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T20:53:06.408852Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_d36dcd90-74f2-4f99-aa86-ef599c2aa069--\r\ + \n\r\n--batch_03580d72-de55-462e-9773-08d34495f4cb--\r\n" + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '4749' + Content-Type: + - multipart/mixed; boundary=batch_03580d72-de55-462e-9773-08d34495f4cb + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:07 GMT + MaxDataServiceVersion: + - 3.0;NetFx + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:07 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/$batch + response: + body: + string: "--batchresponse_6d9e9a7d-771e-44fc-a54d-0bb3e38e22f5\r\nContent-Type:\ + \ multipart/mixed; boundary=changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\ + \n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation:\ + \ https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together')\r\ + \nDataServiceId: https://seankaneprim.table.core.windows.net/uttable3e36157d(PartitionKey='003',RowKey='batch_all_operations_together')\r\ + \nETag: W/\"datetime'2021-06-17T16%3A53%3A07.9677661Z'\"\r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\ + \nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control:\ + \ no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\ + \nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control:\ + \ no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T16%3A53%3A07.9691315Z'\"\ + \r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T16%3A53%3A07.9691315Z'\"\ + \r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T16%3A53%3A07.9691315Z'\"\ + \r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T16%3A53%3A07.9691315Z'\"\ + \r\n\r\n\r\n--changesetresponse_fa4be32b-0e1c-4094-b141-c8996af90132--\r\n\ + --batchresponse_6d9e9a7d-771e-44fc-a54d-0bb3e38e22f5--\r\n" + headers: + cache-control: + - no-cache + content-type: + - multipart/mixed; boundary=batchresponse_6d9e9a7d-771e-44fc-a54d-0bb3e38e22f5 + date: + - Thu, 17 Jun 2021 16:53:07 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:07 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttable3e36157d()?$filter=PartitionKey%20eq%20%27003%27 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable3e36157d","value":[{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.9677661Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together","Timestamp":"2021-06-17T16:53:07.9677661Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"},{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.9691315Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-2","Timestamp":"2021-06-17T16:53:07.9691315Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"},{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.9691315Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-3","Timestamp":"2021-06-17T16:53:07.9691315Z","test":true,"test2":"value","test3":100,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"},{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.9691315Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-4","Timestamp":"2021-06-17T16:53:07.9691315Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"},{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A07.9691315Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-5","Timestamp":"2021-06-17T16:53:07.9691315Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T20:53:06.408852Z"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:08 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:07 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable3e36157d"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:08 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:07 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:07 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable3e36157d') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:08 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table.yaml new file mode 100644 index 000000000000..0e5366f79664 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: '{"TableName": "pytablesyncaad0e5a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:17 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncaad0e5a"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:19 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('pytablesyncaad0e5a') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:19 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesyncaad0e5a"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:19 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:19 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesyncaad0e5a') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:19 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:19 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:19 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:19 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesyncaad0e5a') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:b55256a6-f002-008a-6b99-63b3c4000000\nTime:2021-06-17T16:53:20.6526501Z"}}}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:20 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table_tc.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table_tc.yaml new file mode 100644 index 000000000000..5e0369b3fecd --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_create_table_tc.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: '{"TableName": "pytablesync38230f90"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:19 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync38230f90"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:21 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('pytablesync38230f90') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:21 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesync38230f90"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:23 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:23 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesync38230f90') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:23 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:23 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:23 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:23 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesync38230f90') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:f3a2b694-f002-0051-7c99-6375f9000000\nTime:2021-06-17T16:53:24.4928295Z"}}}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:24 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_delete_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_delete_entities.yaml new file mode 100644 index 000000000000..84f7749084fb --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_delete_entities.yaml @@ -0,0 +1,277 @@ +interactions: +- request: + body: '{"TableName": "uttable38930fb6"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:23 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:23 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable38930fb6"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:26 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttable38930fb6') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk38930fb6", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk38930fb6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:25 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable38930fb6 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable38930fb6/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A26.4143853Z''\"","PartitionKey":"pk38930fb6","RowKey":"rk38930fb6","Timestamp":"2021-06-17T16:53:26.4143853Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:26 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A26.4143853Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable38930fb6(PartitionKey='pk38930fb6',RowKey='rk38930fb6') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:25 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:25 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/uttable38930fb6(PartitionKey='pk38930fb6',RowKey='rk38930fb6') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:26 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:25 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttable38930fb6(PartitionKey='pk38930fb6',RowKey='rk38930fb6') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:5e901afc-a002-003e-6799-637f0a000000\nTime:2021-06-17T16:53:26.7646344Z"}}}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:26 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:25 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:25 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable38930fb6"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:26 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:26 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:26 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable38930fb6') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:27 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_insert_entity_dictionary.yaml new file mode 100644 index 000000000000..d2e8236c3175 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_insert_entity_dictionary.yaml @@ -0,0 +1,190 @@ +interactions: +- request: + body: '{"TableName": "uttabledb8513a5"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:36 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:36 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabledb8513a5"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:38 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttabledb8513a5') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkdb8513a5", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkdb8513a5", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:37 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:37 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttabledb8513a5 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttabledb8513a5/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A38.8940602Z''\"","PartitionKey":"pkdb8513a5","RowKey":"rkdb8513a5","Timestamp":"2021-06-17T16:53:38.8940602Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:38 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A38.8940602Z'" + location: + - https://fake_table_account.table.core.windows.net/uttabledb8513a5(PartitionKey='pkdb8513a5',RowKey='rkdb8513a5') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:38 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttabledb8513a5"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:38 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:38 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:38 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttabledb8513a5') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:38 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_list_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_list_entities.yaml new file mode 100644 index 000000000000..aa38f8f75be9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_list_entities.yaml @@ -0,0 +1,378 @@ +interactions: +- request: + body: '{"TableName": "uttable1aee0eff"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:48 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:48 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable1aee0eff"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:52 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttable1aee0eff') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"TableName": "querytable1aee0eff"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable1aee0eff"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:52 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('querytable1aee0eff') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk1aee0eff", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk1aee0eff1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '712' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/querytable1aee0eff + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable1aee0eff/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A52.7872532Z''\"","PartitionKey":"pk1aee0eff","RowKey":"rk1aee0eff1","Timestamp":"2021-06-17T16:53:52.7872532Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:52 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A52.7872532Z'" + location: + - https://fake_table_account.table.core.windows.net/querytable1aee0eff(PartitionKey='pk1aee0eff',RowKey='rk1aee0eff1') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk1aee0eff", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk1aee0eff12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '713' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/querytable1aee0eff + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable1aee0eff/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A53.0374309Z''\"","PartitionKey":"pk1aee0eff","RowKey":"rk1aee0eff12","Timestamp":"2021-06-17T16:53:53.0374309Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:52 GMT + etag: + - W/"datetime'2021-06-17T16%3A53%3A53.0374309Z'" + location: + - https://fake_table_account.table.core.windows.net/querytable1aee0eff(PartitionKey='pk1aee0eff',RowKey='rk1aee0eff12') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/querytable1aee0eff() + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable1aee0eff","value":[{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A52.7872532Z''\"","PartitionKey":"pk1aee0eff","RowKey":"rk1aee0eff1","Timestamp":"2021-06-17T16:53:52.7872532Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2021-06-17T16%3A53%3A53.0374309Z''\"","PartitionKey":"pk1aee0eff","RowKey":"rk1aee0eff12","Timestamp":"2021-06-17T16:53:53.0374309Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:53 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:53:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"querytable1aee0eff"},{"TableName":"uttable1aee0eff"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:53:53 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('querytable1aee0eff') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:53 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:53:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:53:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable1aee0eff') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:53:53 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_list_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_list_tables.yaml new file mode 100644 index 000000000000..57ab929d3f9d --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_list_tables.yaml @@ -0,0 +1,480 @@ +interactions: +- request: + body: '{"TableName": "table15bb410aa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:03 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table15bb410aa"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:04 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('table15bb410aa') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"TableName": "table25bb410aa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:04 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table25bb410aa"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:04 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('table25bb410aa') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"TableName": "table35bb410aa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:04 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table35bb410aa"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:05 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('table35bb410aa') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"TableName": "table45bb410aa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:04 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table45bb410aa"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:05 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('table45bb410aa') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table15bb410aa"},{"TableName":"table25bb410aa"},{"TableName":"table35bb410aa"},{"TableName":"table45bb410aa"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables?$filter=TableName%20eq%20%27table25bb410aa%27 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table25bb410aa"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table15bb410aa"},{"TableName":"table25bb410aa"},{"TableName":"table35bb410aa"},{"TableName":"table45bb410aa"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table15bb410aa') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table25bb410aa') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table35bb410aa') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:06 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table45bb410aa') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:06 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_user_filter.yaml new file mode 100644 index 000000000000..463e033f20ed --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_query_user_filter.yaml @@ -0,0 +1,290 @@ +interactions: +- request: + body: '{"TableName": "uttable5c0010b8"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:06 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:06 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable5c0010b8"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:08 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttable5c0010b8') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk5c0010b8", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5c0010b8", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable5c0010b8 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable5c0010b8/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A54%3A09.2782954Z''\"","PartitionKey":"pk5c0010b8","RowKey":"rk5c0010b8","Timestamp":"2021-06-17T16:54:09.2782954Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:08 GMT + etag: + - W/"datetime'2021-06-17T16%3A54%3A09.2782954Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable5c0010b8(PartitionKey='pk5c0010b8',RowKey='rk5c0010b8') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk5c0010b81", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5c0010b81", "RowKey@odata.type": "Edm.String", "age": 49, "sex": + "female", "sex@odata.type": "Edm.String", "married": false, "deceased": true, + "ratio": 5.2, "ratio@odata.type": "Edm.Double", "evenratio": 6.0, "evenratio@odata.type": + "Edm.Double", "large": 39999011, "Birthday": "1993-04-01T00:00:00.000000Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1990-04-01T00:00:00.000000Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5LWJpbmFyeQ==", "binary@odata.type": + "Edm.Binary", "other": 40, "clsid": "c8da6455-213e-42d9-9b79-3f9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '678' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:08 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable5c0010b8 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable5c0010b8/@Element","odata.etag":"W/\"datetime''2021-06-17T16%3A54%3A09.4594239Z''\"","PartitionKey":"pk5c0010b81","RowKey":"rk5c0010b81","Timestamp":"2021-06-17T16:54:09.4594239Z","age":49,"sex":"female","married":false,"deceased":true,"ratio":5.2,"evenratio":6.0,"large":39999011,"Birthday@odata.type":"Edm.DateTime","Birthday":"1993-04-01T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1990-04-01T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5LWJpbmFyeQ==","other":40,"clsid@odata.type":"Edm.Guid","clsid":"c8da6455-213e-42d9-9b79-3f9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:09 GMT + etag: + - W/"datetime'2021-06-17T16%3A54%3A09.4594239Z'" + location: + - https://fake_table_account.table.core.windows.net/uttable5c0010b8(PartitionKey='pk5c0010b81',RowKey='rk5c0010b81') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:08 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttable5c0010b8()?$filter=married%20eq%20true + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable5c0010b8","value":[{"odata.etag":"W/\"datetime''2021-06-17T16%3A54%3A09.2782954Z''\"","PartitionKey":"pk5c0010b8","RowKey":"rk5c0010b8","Timestamp":"2021-06-17T16:54:09.2782954Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:09 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:08 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:08 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable5c0010b8"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:09 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:09 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:09 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable5c0010b8') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:09 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_service_properties.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_service_properties.yaml new file mode 100644 index 000000000000..736bfba1748a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_service_properties.yaml @@ -0,0 +1,281 @@ +interactions: +- request: + body: '{"TableName": "pytablesync6c2f111c"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '36' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 16:54:19 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:19 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesync6c2f111c"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 16:54:21 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('pytablesync6c2f111c') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Jun 2021 16:54:20 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:20 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:54:21 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: ' + + 1.0falsefalsetruefalse' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '251' + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 16:54:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:21 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: + - Thu, 17 Jun 2021 16:54:21 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Jun 2021 16:54:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:21 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:54:22 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: ' + + 1.0truetruetrue5' + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '271' + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 16:54:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:21 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: + - Thu, 17 Jun 2021 16:54:22 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Jun 2021 16:54:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:21 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:54:22 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 16:54:21 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:21 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesync6c2f111c') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 16:54:22 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_table_service_stats.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_table_service_stats.yaml new file mode 100644 index 000000000000..b70f3f3e0512 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_aad_table_service_stats.yaml @@ -0,0 +1,39 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Date: + - Thu, 17 Jun 2021 16:54:22 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 16:54:22 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account-secondary.table.core.windows.net/?restype=service&comp=stats + response: + body: + string: "\uFEFFliveThu,\ + \ 17 Jun 2021 16:51:26 GMT" + headers: + content-type: + - application/xml + date: + - Thu, 17 Jun 2021 16:54:23 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_create_table_aad.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_create_table_aad.yaml new file mode 100644 index 000000000000..618a09ee8b1c --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_create_table_aad.yaml @@ -0,0 +1,217 @@ +interactions: +- request: + body: '{"TableName": "pytablesyncbd40e5a"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:38:10 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:38:10 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytablesyncbd40e5a"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:38:12 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('pytablesyncbd40e5a') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:38:11 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:38:11 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytablesyncbd40e5a"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:38:12 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 15:38:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:38:12 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesyncbd40e5a') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 15:38:12 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:38:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:38:12 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:38:12 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 15:38:12 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:38:12 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytablesyncbd40e5a') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:ba917a3b-d002-00a6-6c8e-636d3a000000\nTime:2021-06-17T15:38:13.1431172Z"}}}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:38:12 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 404 + message: Not Found +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_merge_entity.yaml new file mode 100644 index 000000000000..1d9a23269593 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_merge_entity.yaml @@ -0,0 +1,286 @@ +interactions: +- request: + body: '{"TableName": "uttabled5360d06"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttabled5360d06"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 17:38:04 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttabled5360d06') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkd5360d06", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd5360d06", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:04 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttabled5360d06 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttabled5360d06/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A38%3A05.4069206Z''\"","PartitionKey":"pkd5360d06","RowKey":"rkd5360d06","Timestamp":"2021-06-17T17:38:05.4069206Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 17:38:05 GMT + etag: + - W/"datetime'2021-06-17T17%3A38%3A05.4069206Z'" + location: + - https://fake_table_account.table.core.windows.net/uttabled5360d06(PartitionKey='pkd5360d06',RowKey='rkd5360d06') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pkd5360d06", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkd5360d06", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00.000000Z", + "birthday@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '360' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:04 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:04 GMT + x-ms-version: + - '2019-02-02' + method: PATCH + uri: https://fake_table_account.table.core.windows.net/uttabled5360d06(PartitionKey='pkd5360d06',RowKey='rkd5360d06') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 17:38:05 GMT + etag: + - W/"datetime'2021-06-17T17%3A38%3A05.6072567Z'" + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttabled5360d06(PartitionKey='pkd5360d06',RowKey='rkd5360d06') + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttabled5360d06/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A38%3A05.6072567Z''\"","PartitionKey":"pkd5360d06","RowKey":"rkd5360d06","Timestamp":"2021-06-17T17:38:05.6072567Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"double":5.0,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 17:38:05 GMT + etag: + - W/"datetime'2021-06-17T17%3A38%3A05.6072567Z'" + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:05 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttabled5360d06"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 17:38:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 17:38:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttabled5360d06') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 17:38:05 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_query_user_filter.yaml new file mode 100644 index 000000000000..a260456cedcb --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad.test_query_user_filter.yaml @@ -0,0 +1,227 @@ +interactions: +- request: + body: '{"TableName": "uttable1e750f33"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:36:27 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:36:27 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable1e750f33"}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:36:30 GMT + location: + - https://fake_table_account.table.core.windows.net/Tables('uttable1e750f33') + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 201 + message: Created +- request: + body: '{"PartitionKey": "pk1e750f33", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk1e750f33", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:36:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:36:29 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable1e750f33 + response: + body: + string: '{"odata.error":{"code":"AuthorizationPermissionMismatch","message":{"lang":"en-US","value":"This + request is not authorized to perform this operation using this permission.\nRequestId:f61f6e4b-c002-0071-578e-633c0f000000\nTime:2021-06-17T15:36:30.5558403Z"}}}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:36:30 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 403 + message: Forbidden +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:36:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:36:29 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable1e750f33"},{"TableName":"uttable93571220"}]}' + headers: + cache-control: + - no-cache + content-type: + - application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: + - Thu, 17 Jun 2021 15:36:30 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 15:36:29 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:36:29 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable1e750f33') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 15:36:30 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Date: + - Thu, 17 Jun 2021 15:36:30 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:36:30 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable93571220') + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 17 Jun 2021 15:36:30 GMT + server: + - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: + - nosniff + x-ms-version: + - '2019-02-02' + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_access_policy_error.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_access_policy_error.yaml new file mode 100644 index 000000000000..665c7c52f621 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_access_policy_error.yaml @@ -0,0 +1,72 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Jun 2021 17:32:42 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:42 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/pytableasyncee2113e6?comp=acl + response: + body: + string: 'ResourceNotFoundThe specified resource does not exist. + + RequestId:9cf4e7c7-6002-0043-449e-630e29000000 + + Time:2021-06-17T17:32:44.7764226Z' + headers: + content-length: '322' + content-type: application/xml + date: Thu, 17 Jun 2021 17:32:44 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: ResourceNotFound + x-ms-version: '2019-02-02' + status: + code: 404 + message: The specified resource does not exist. + url: https://seankaneprim.table.core.windows.net/pytableasyncee2113e6?comp=acl +- request: + body: null + headers: + Accept: + - application/xml + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 17:32:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:44 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/pytableasyncee2113e6?comp=acl + response: + body: + string: 'ResourceNotFoundThe specified resource does not exist. + + RequestId:9cf4e819-6002-0043-129e-630e29000000 + + Time:2021-06-17T17:32:44.8975090Z' + headers: + content-length: '322' + content-type: application/xml + date: Thu, 17 Jun 2021 17:32:44 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-ms-error-code: ResourceNotFound + x-ms-version: '2019-02-02' + status: + code: 404 + message: The specified resource does not exist. + url: https://seankaneprim.table.core.windows.net/pytableasyncee2113e6?comp=acl +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_batch_all_operations_together.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_batch_all_operations_together.yaml new file mode 100644 index 000000000000..365b5c063407 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_batch_all_operations_together.yaml @@ -0,0 +1,420 @@ +interactions: +- request: + body: '{"TableName": "uttablec9e417fa"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:44 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:44 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec9e417fa"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:45 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttablec9e417fa') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-1", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T21:32:45.280244Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9e417fa + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9e417fa/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.1881248Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-1","Timestamp":"2021-06-17T17:32:46.1881248Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:45 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A46.1881248Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-1') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9e417fa +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-2", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T21:32:45.280244Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9e417fa + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9e417fa/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.3262232Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-2","Timestamp":"2021-06-17T17:32:46.3262232Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:46 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A46.3262232Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-2') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9e417fa +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-3", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T21:32:45.280244Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9e417fa + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9e417fa/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.4573152Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-3","Timestamp":"2021-06-17T17:32:46.4573152Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:46 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A46.4573152Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-3') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9e417fa +- request: + body: '{"PartitionKey": "003", "PartitionKey@odata.type": "Edm.String", "RowKey": + "batch_all_operations_together-4", "RowKey@odata.type": "Edm.String", "test": + true, "test2": "value", "test2@odata.type": "Edm.String", "test3": 3, "test4": + 1234567890, "test5": "2021-06-17T21:32:45.280244Z", "test5@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '319' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:45 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9e417fa + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9e417fa/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.5864071Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-4","Timestamp":"2021-06-17T17:32:46.5864071Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:46 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A46.5864071Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-4') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9e417fa +- request: + body: "--batch_959ccfa0-93f0-4975-9bd3-165d90d687b0\r\nContent-Type: multipart/mixed;\ + \ boundary=changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\n\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 0\r\n\r\nPOST https://seankaneprim.table.core.windows.net/uttablec9e417fa\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nPrefer:\ + \ return-no-content\r\nContent-Type: application/json;odata=nometadata\r\nAccept:\ + \ application/json;odata=minimalmetadata\r\nContent-Length: 317\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021 17:32:45 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 3, \"test4\": 1234567890, \"test5\": \"2021-06-17T21:32:45.280244Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 1\r\n\r\nDELETE https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-1')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nAccept: application/json;odata=minimalmetadata\r\nx-ms-date: Thu, 17\ + \ Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021 17:32:45 GMT\r\n\r\n\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 2\r\n\r\nPATCH https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-2')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nContent-Type: application/json\r\nAccept: application/json\r\nContent-Length:\ + \ 320\r\nx-ms-date: Thu, 17 Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021\ + \ 17:32:45 GMT\r\n\r\n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\"\ + : \"Edm.String\", \"RowKey\": \"batch_all_operations_together-2\", \"RowKey@odata.type\"\ + : \"Edm.String\", \"test\": true, \"test2\": \"value\", \"test2@odata.type\"\ + : \"Edm.String\", \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T21:32:45.280244Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 3\r\n\r\nPUT https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-3')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nIf-Match:\ + \ *\r\nContent-Type: application/json\r\nAccept: application/json\r\nContent-Length:\ + \ 321\r\nx-ms-date: Thu, 17 Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021\ + \ 17:32:45 GMT\r\n\r\n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\"\ + : \"Edm.String\", \"RowKey\": \"batch_all_operations_together-3\", \"RowKey@odata.type\"\ + : \"Edm.String\", \"test\": true, \"test2\": \"value\", \"test2@odata.type\"\ + : \"Edm.String\", \"test3\": 100, \"test4\": 1234567890, \"test5\": \"2021-06-17T21:32:45.280244Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 4\r\n\r\nPATCH https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-4')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nContent-Type:\ + \ application/json\r\nAccept: application/json\r\nContent-Length: 320\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021 17:32:45 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together-4\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T21:32:45.280244Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID:\ + \ 5\r\n\r\nPUT https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together-5')\ + \ HTTP/1.1\r\nx-ms-version: 2019-02-02\r\nDataServiceVersion: 3.0\r\nContent-Type:\ + \ application/json\r\nAccept: application/json\r\nContent-Length: 320\r\nx-ms-date:\ + \ Thu, 17 Jun 2021 17:32:45 GMT\r\nDate: Thu, 17 Jun 2021 17:32:45 GMT\r\n\r\ + \n{\"PartitionKey\": \"003\", \"PartitionKey@odata.type\": \"Edm.String\", \"\ + RowKey\": \"batch_all_operations_together-5\", \"RowKey@odata.type\": \"Edm.String\"\ + , \"test\": true, \"test2\": \"value\", \"test2@odata.type\": \"Edm.String\"\ + , \"test3\": 10, \"test4\": 1234567890, \"test5\": \"2021-06-17T21:32:45.280244Z\"\ + , \"test5@odata.type\": \"Edm.DateTime\"}\r\n--changeset_bb071ca1-4596-4b1c-9055-f1960454564d--\r\ + \n\r\n--batch_959ccfa0-93f0-4975-9bd3-165d90d687b0--\r\n" + headers: + Accept: + - application/json + Content-Length: + - '4749' + Content-Type: + - multipart/mixed; boundary=batch_959ccfa0-93f0-4975-9bd3-165d90d687b0 + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:45 GMT + MaxDataServiceVersion: + - 3.0;NetFx + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:45 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/$batch + response: + body: + string: "--batchresponse_b253a6e8-ebfb-41d3-9720-6a9f5c600754\r\nContent-Type:\ + \ multipart/mixed; boundary=changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\ + \n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation:\ + \ https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together')\r\ + \nDataServiceId: https://seankaneprim.table.core.windows.net/uttablec9e417fa(PartitionKey='003',RowKey='batch_all_operations_together')\r\ + \nETag: W/\"datetime'2021-06-17T17%3A32%3A46.777543Z'\"\r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\ + \nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control:\ + \ no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\ + \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\ + \nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control:\ + \ no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T17%3A32%3A46.7810374Z'\"\ + \r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T17%3A32%3A46.7810374Z'\"\ + \r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T17%3A32%3A46.7810374Z'\"\ + \r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d\r\nContent-Type:\ + \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\ + \ No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\ + \nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-17T17%3A32%3A46.7820379Z'\"\ + \r\n\r\n\r\n--changesetresponse_1fdd6b8c-258a-4b29-8cc8-127c194f729d--\r\n\ + --batchresponse_b253a6e8-ebfb-41d3-9720-6a9f5c600754--\r\n" + headers: + cache-control: no-cache + content-type: multipart/mixed; boundary=batchresponse_b253a6e8-ebfb-41d3-9720-6a9f5c600754 + date: Thu, 17 Jun 2021 17:32:46 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 202 + message: Accepted + url: https://seankaneprim.table.core.windows.net/$batch +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:46 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttablec9e417fa()?$filter=PartitionKey%20eq%20'003' + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9e417fa","value":[{"odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.777543Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together","Timestamp":"2021-06-17T17:32:46.777543Z","test":true,"test2":"value","test3":3,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"},{"odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.7810374Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-2","Timestamp":"2021-06-17T17:32:46.7810374Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"},{"odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.7810374Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-3","Timestamp":"2021-06-17T17:32:46.7810374Z","test":true,"test2":"value","test3":100,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"},{"odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.7810374Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-4","Timestamp":"2021-06-17T17:32:46.7810374Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"},{"odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A46.7820379Z''\"","PartitionKey":"003","RowKey":"batch_all_operations_together-5","Timestamp":"2021-06-17T17:32:46.7820379Z","test":true,"test2":"value","test3":10,"test4":1234567890,"test5@odata.type":"Edm.DateTime","test5":"2021-06-17T21:32:45.280244Z"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:46 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/uttablec9e417fa()?$filter=PartitionKey%20eq%20'003' +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:46 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttablec9e417fa"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:46 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:46 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttablec9e417fa') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:47 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttablec9e417fa') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table.yaml new file mode 100644 index 000000000000..749cf2f01a63 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: '{"TableName": "pytableasync6c0e10d7"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:46 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:46 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync6c0e10d7"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:47 GMT + location: https://fake_table_account.table.core.windows.net/Tables('pytableasync6c0e10d7') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:47 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytableasync6c0e10d7"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:47 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:47 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasync6c0e10d7') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:48 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('pytableasync6c0e10d7') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:47 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:47 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:48 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:48 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:48 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasync6c0e10d7') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:658e2a9c-d002-0046-1c9e-63dcf2000000\nTime:2021-06-17T17:32:48.9103428Z"}}}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:48 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 404 + message: Not Found + url: https://seankaneprim.table.core.windows.net/Tables('pytableasync6c0e10d7') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table_tc.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table_tc.yaml new file mode 100644 index 000000000000..02ec0a57e3b3 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_create_table_tc.yaml @@ -0,0 +1,163 @@ +interactions: +- request: + body: '{"TableName": "pytableasynca0fb120d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:48 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:48 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasynca0fb120d"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:49 GMT + location: https://fake_table_account.table.core.windows.net/Tables('pytableasynca0fb120d') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:49 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytableasynca0fb120d"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:50 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:50 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasynca0fb120d') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:50 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('pytableasynca0fb120d') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:50 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:50 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasynca0fb120d') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:0b9b8196-7002-0070-319e-635182000000\nTime:2021-06-17T17:32:51.6594986Z"}}}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:50 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 404 + message: Not Found + url: https://seankaneprim.table.core.windows.net/Tables('pytableasynca0fb120d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_delete_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_delete_entities.yaml new file mode 100644 index 000000000000..18e5e7a9271a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_delete_entities.yaml @@ -0,0 +1,212 @@ +interactions: +- request: + body: '{"TableName": "uttablea16b1233"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablea16b1233"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:52 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttablea16b1233') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pka16b1233", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rka16b1233", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablea16b1233 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablea16b1233/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A53.1952518Z''\"","PartitionKey":"pka16b1233","RowKey":"rka16b1233","Timestamp":"2021-06-17T17:32:53.1952518Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:52 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A53.1952518Z'" + location: https://fake_table_account.table.core.windows.net/uttablea16b1233(PartitionKey='pka16b1233',RowKey='rka16b1233') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablea16b1233 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:52 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/uttablea16b1233(PartitionKey='pka16b1233',RowKey='rka16b1233') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/uttablea16b1233(PartitionKey='pka16b1233',RowKey='rka16b1233') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttablea16b1233(PartitionKey='pka16b1233',RowKey='rka16b1233') + response: + body: + string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The + specified resource does not exist.\nRequestId:4cf27d30-4002-0019-269e-6368ce000000\nTime:2021-06-17T17:32:53.4614395Z"}}}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 404 + message: Not Found + url: https://seankaneprim.table.core.windows.net/uttablea16b1233(PartitionKey='pka16b1233',RowKey='rka16b1233') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttablea16b1233"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttablea16b1233') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttablea16b1233') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_insert_entity_dictionary.yaml new file mode 100644 index 000000000000..2f5da2c0f476 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_insert_entity_dictionary.yaml @@ -0,0 +1,146 @@ +interactions: +- request: + body: '{"TableName": "uttable5ad11622"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:53 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:53 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable5ad11622"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:55 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttable5ad11622') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pk5ad11622", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk5ad11622", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:55 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable5ad11622 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable5ad11622/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A32%3A56.5574049Z''\"","PartitionKey":"pk5ad11622","RowKey":"rk5ad11622","Timestamp":"2021-06-17T17:32:56.5574049Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:55 GMT + etag: W/"datetime'2021-06-17T17%3A32%3A56.5574049Z'" + location: https://fake_table_account.table.core.windows.net/uttable5ad11622(PartitionKey='pk5ad11622',RowKey='rk5ad11622') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttable5ad11622 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:55 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable5ad11622"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:32:55 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:32:55 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:55 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable5ad11622') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:32:55 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttable5ad11622') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_list_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_list_entities.yaml new file mode 100644 index 000000000000..909c6c29730f --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_list_entities.yaml @@ -0,0 +1,290 @@ +interactions: +- request: + body: '{"TableName": "uttable7ecc117c"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:40 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:40 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable7ecc117c"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:41 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttable7ecc117c') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"TableName": "querytable7ecc117c"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '35' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"querytable7ecc117c"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:41 GMT + location: https://fake_table_account.table.core.windows.net/Tables('querytable7ecc117c') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pk7ecc117c", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7ecc117c1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '712' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/querytable7ecc117c + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable7ecc117c/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A42.0849287Z''\"","PartitionKey":"pk7ecc117c","RowKey":"rk7ecc117c1","Timestamp":"2021-06-17T17:33:42.0849287Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:41 GMT + etag: W/"datetime'2021-06-17T17%3A33%3A42.0849287Z'" + location: https://fake_table_account.table.core.windows.net/querytable7ecc117c(PartitionKey='pk7ecc117c',RowKey='rk7ecc117c1') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/querytable7ecc117c +- request: + body: '{"PartitionKey": "pk7ecc117c", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk7ecc117c12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '713' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/querytable7ecc117c + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable7ecc117c/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A42.2160229Z''\"","PartitionKey":"pk7ecc117c","RowKey":"rk7ecc117c12","Timestamp":"2021-06-17T17:33:42.2160229Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:41 GMT + etag: W/"datetime'2021-06-17T17%3A33%3A42.2160229Z'" + location: https://fake_table_account.table.core.windows.net/querytable7ecc117c(PartitionKey='pk7ecc117c',RowKey='rk7ecc117c12') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/querytable7ecc117c +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/querytable7ecc117c() + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#querytable7ecc117c","value":[{"odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A42.0849287Z''\"","PartitionKey":"pk7ecc117c","RowKey":"rk7ecc117c1","Timestamp":"2021-06-17T17:33:42.0849287Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A42.2160229Z''\"","PartitionKey":"pk7ecc117c","RowKey":"rk7ecc117c12","Timestamp":"2021-06-17T17:33:42.2160229Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:42 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/querytable7ecc117c() +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"querytable7ecc117c"},{"TableName":"uttable7ecc117c"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:42 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('querytable7ecc117c') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:42 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('querytable7ecc117c') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:41 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:41 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable7ecc117c') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:42 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttable7ecc117c') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_list_tables.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_list_tables.yaml new file mode 100644 index 000000000000..d4cf04d22eee --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_list_tables.yaml @@ -0,0 +1,362 @@ +interactions: +- request: + body: '{"TableName": "table1c9861327"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:32:59 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:32:59 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table1c9861327"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:00 GMT + location: https://fake_table_account.table.core.windows.net/Tables('table1c9861327') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"TableName": "table2c9861327"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:00 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table2c9861327"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:00 GMT + location: https://fake_table_account.table.core.windows.net/Tables('table2c9861327') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"TableName": "table3c9861327"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:00 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table3c9861327"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:00 GMT + location: https://fake_table_account.table.core.windows.net/Tables('table3c9861327') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"TableName": "table4c9861327"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:00 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"table4c9861327"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:00 GMT + location: https://fake_table_account.table.core.windows.net/Tables('table4c9861327') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:00 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table1c9861327"},{"TableName":"table2c9861327"},{"TableName":"table3c9861327"},{"TableName":"table4c9861327"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:00 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:00 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:00 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables?$filter=TableName%20eq%20'table2c9861327' + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table2c9861327"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables?$filter=TableName%20eq%20'table2c9861327' +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"table1c9861327"},{"TableName":"table2c9861327"},{"TableName":"table3c9861327"},{"TableName":"table4c9861327"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table1c9861327') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('table1c9861327') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table2c9861327') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('table2c9861327') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table3c9861327') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('table3c9861327') +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('table4c9861327') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:01 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('table4c9861327') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_user_filter.yaml new file mode 100644 index 000000000000..6c2469efa9aa --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_query_user_filter.yaml @@ -0,0 +1,224 @@ +interactions: +- request: + body: '{"TableName": "uttablec9d21335"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:01 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:01 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablec9d21335"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:03 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttablec9d21335') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pkc9d21335", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc9d21335", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9d21335 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9d21335/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A03.7217316Z''\"","PartitionKey":"pkc9d21335","RowKey":"rkc9d21335","Timestamp":"2021-06-17T17:33:03.7217316Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:03 GMT + etag: W/"datetime'2021-06-17T17%3A33%3A03.7217316Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9d21335(PartitionKey='pkc9d21335',RowKey='rkc9d21335') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9d21335 +- request: + body: '{"PartitionKey": "pkc9d213351", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rkc9d213351", "RowKey@odata.type": "Edm.String", "age": 49, "sex": + "female", "sex@odata.type": "Edm.String", "married": false, "deceased": true, + "ratio": 5.2, "ratio@odata.type": "Edm.Double", "evenratio": 6.0, "evenratio@odata.type": + "Edm.Double", "large": 39999011, "Birthday": "1993-04-01T00:00:00.000000Z", + "Birthday@odata.type": "Edm.DateTime", "birthday": "1990-04-01T00:00:00.000000Z", + "birthday@odata.type": "Edm.DateTime", "binary": "YmluYXJ5LWJpbmFyeQ==", "binary@odata.type": + "Edm.Binary", "other": 40, "clsid": "c8da6455-213e-42d9-9b79-3f9149a57833", + "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '678' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:02 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:02 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttablec9d21335 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9d21335/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A03.8498214Z''\"","PartitionKey":"pkc9d213351","RowKey":"rkc9d213351","Timestamp":"2021-06-17T17:33:03.8498214Z","age":49,"sex":"female","married":false,"deceased":true,"ratio":5.2,"evenratio":6.0,"large":39999011,"Birthday@odata.type":"Edm.DateTime","Birthday":"1993-04-01T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1990-04-01T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5LWJpbmFyeQ==","other":40,"clsid@odata.type":"Edm.Guid","clsid":"c8da6455-213e-42d9-9b79-3f9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:03 GMT + etag: W/"datetime'2021-06-17T17%3A33%3A03.8498214Z'" + location: https://fake_table_account.table.core.windows.net/uttablec9d21335(PartitionKey='pkc9d213351',RowKey='rkc9d213351') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttablec9d21335 +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttablec9d21335()?$filter=married%20eq%20true + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttablec9d21335","value":[{"odata.etag":"W/\"datetime''2021-06-17T17%3A33%3A03.7217316Z''\"","PartitionKey":"pkc9d21335","RowKey":"rkc9d21335","Timestamp":"2021-06-17T17:33:03.7217316Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:03 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/uttablec9d21335()?$filter=married%20eq%20true +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:03 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttablec9d21335"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:03 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:03 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttablec9d21335') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:04 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttablec9d21335') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_service_properties.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_service_properties.yaml new file mode 100644 index 000000000000..4eb19ab1a90a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_service_properties.yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: '{"TableName": "pytableasyncdc7e1399"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:33:03 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:03 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasyncdc7e1399"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:33:04 GMT + location: https://fake_table_account.table.core.windows.net/Tables('pytableasyncdc7e1399') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: application/xml + date: Thu, 17 Jun 2021 17:33:04 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/?restype=service&comp=properties +- request: + body: ' + + 1.0falsefalsetruefalse' + headers: + Accept: + - application/xml + Content-Length: + - '251' + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:04 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: Thu, 17 Jun 2021 17:33:05 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 202 + message: Accepted + url: https://seankaneprim.table.core.windows.net/?restype=service&comp=properties +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:04 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: application/xml + date: Thu, 17 Jun 2021 17:33:05 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/?restype=service&comp=properties +- request: + body: ' + + 1.0truetruetrue5' + headers: + Accept: + - application/xml + Content-Length: + - '271' + Content-Type: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:04 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:04 GMT + x-ms-version: + - '2019-02-02' + method: PUT + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: '' + headers: + date: Thu, 17 Jun 2021 17:33:05 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 202 + message: Accepted + url: https://seankaneprim.table.core.windows.net/?restype=service&comp=properties +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:05 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/?restype=service&comp=properties + response: + body: + string: "\uFEFF1.0falsetruefalsefalse1.0truetruetrue71.0truetruetrue5" + headers: + content-type: application/xml + date: Thu, 17 Jun 2021 17:33:05 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/?restype=service&comp=properties +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:33:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:05 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasyncdc7e1399') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:33:05 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('pytableasyncdc7e1399') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_table_service_stats.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_table_service_stats.yaml new file mode 100644 index 000000000000..b17ad20e1972 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_aad_table_service_stats.yaml @@ -0,0 +1,31 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/xml + Date: + - Thu, 17 Jun 2021 17:33:05 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:33:05 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account-secondary.table.core.windows.net/?restype=service&comp=stats + response: + body: + string: "\uFEFFliveThu,\ + \ 17 Jun 2021 17:28:41 GMT" + headers: + content-type: application/xml + date: Thu, 17 Jun 2021 17:33:07 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim-secondary.table.core.windows.net/?restype=service&comp=stats +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_create_table_aad.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_create_table_aad.yaml new file mode 100644 index 000000000000..5c4061d0eb4e --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_create_table_aad.yaml @@ -0,0 +1,100 @@ +interactions: +- request: + body: '{"TableName": "pytableasync6d3510d7"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '37' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:30:49 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:49 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"pytableasync6d3510d7"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 15:30:51 GMT + location: https://fake_table_account.table.core.windows.net/Tables('pytableasync6d3510d7') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:30:50 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:50 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"pytableasync6d3510d7"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 15:30:51 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 15:30:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:51 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('pytableasync6d3510d7') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 15:30:51 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('pytableasync6d3510d7') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_insert_entity_dictionary.yaml new file mode 100644 index 000000000000..0e724eb5907a --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_insert_entity_dictionary.yaml @@ -0,0 +1,145 @@ +interactions: +- request: + body: '{"TableName": "uttable8af149d"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '31' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:30:51 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:51 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable8af149d"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 15:30:52 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttable8af149d') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pk8af149d", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk8af149d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '709' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:30:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:52 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable8af149d + response: + body: + string: '{"odata.error":{"code":"AuthorizationPermissionMismatch","message":{"lang":"en-US","value":"This + request is not authorized to perform this operation using this permission.\nRequestId:cb245a47-f002-0018-448d-630543000000\nTime:2021-06-17T15:30:53.1276408Z"}}}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 15:30:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 403 + message: Forbidden + url: https://seankaneprim.table.core.windows.net/uttable8af149d +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 15:30:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:52 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable8af149d"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 15:30:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 15:30:52 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 15:30:52 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable8af149d') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 15:30:52 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttable8af149d') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_merge_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_merge_entity.yaml new file mode 100644 index 000000000000..508fead5bec3 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_aad_async.test_merge_entity.yaml @@ -0,0 +1,221 @@ +interactions: +- request: + body: '{"TableName": "uttable2cb20f83"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '32' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:15 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:15 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttable2cb20f83"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:38:17 GMT + location: https://fake_table_account.table.core.windows.net/Tables('uttable2cb20f83') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: '{"PartitionKey": "pk2cb20f83", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2cb20f83", "RowKey@odata.type": "Edm.String", "age": 39, "sex": + "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, + "ratio": 3.1, "ratio@odata.type": "Edm.Double", "evenratio": 3.0, "evenratio@odata.type": + "Edm.Double", "double": 5, "double@odata.type": "Edm.Double", "large": 933311100, + "Birthday": "1973-10-04T00:00:00.000000Z", "Birthday@odata.type": "Edm.DateTime", + "birthday": "1970-10-04T00:00:00.000000Z", "birthday@odata.type": "Edm.DateTime", + "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": 20, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + headers: + Accept: + - application/json;odata=minimalmetadata + Content-Length: + - '711' + Content-Type: + - application/json;odata=nometadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:16 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:16 GMT + x-ms-version: + - '2019-02-02' + method: POST + uri: https://fake_table_account.table.core.windows.net/uttable2cb20f83 + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable2cb20f83/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A38%3A17.8076186Z''\"","PartitionKey":"pk2cb20f83","RowKey":"rk2cb20f83","Timestamp":"2021-06-17T17:38:17.8076186Z","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"double":5.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:38:17 GMT + etag: W/"datetime'2021-06-17T17%3A38%3A17.8076186Z'" + location: https://fake_table_account.table.core.windows.net/uttable2cb20f83(PartitionKey='pk2cb20f83',RowKey='rk2cb20f83') + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 201 + message: Created + url: https://seankaneprim.table.core.windows.net/uttable2cb20f83 +- request: + body: '{"PartitionKey": "pk2cb20f83", "PartitionKey@odata.type": "Edm.String", + "RowKey": "rk2cb20f83", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": + "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", + "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00.000000Z", + "birthday@odata.type": "Edm.DateTime"}' + headers: + Accept: + - application/json + Content-Length: + - '360' + Content-Type: + - application/json + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:17 GMT + If-Match: + - '*' + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:17 GMT + x-ms-version: + - '2019-02-02' + method: PATCH + uri: https://fake_table_account.table.core.windows.net/uttable2cb20f83(PartitionKey='pk2cb20f83',RowKey='rk2cb20f83') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:38:17 GMT + etag: W/"datetime'2021-06-17T17%3A38%3A17.9330141Z'" + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/uttable2cb20f83(PartitionKey='pk2cb20f83',RowKey='rk2cb20f83') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:17 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/uttable2cb20f83(PartitionKey='pk2cb20f83',RowKey='rk2cb20f83') + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#uttable2cb20f83/@Element","odata.etag":"W/\"datetime''2021-06-17T17%3A38%3A17.9330141Z''\"","PartitionKey":"pk2cb20f83","RowKey":"rk2cb20f83","Timestamp":"2021-06-17T17:38:17.9330141Z","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00Z","age":"abc","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00Z","clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","deceased":false,"double":5.0,"evenratio":3.0,"large":933311100,"married":true,"other":20,"ratio":3.1,"sex":"female","sign":"aquarius"}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:38:17 GMT + etag: W/"datetime'2021-06-17T17%3A38%3A17.9330141Z'" + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/uttable2cb20f83(PartitionKey='pk2cb20f83',RowKey='rk2cb20f83') +- request: + body: null + headers: + Accept: + - application/json;odata=minimalmetadata + DataServiceVersion: + - '3.0' + Date: + - Thu, 17 Jun 2021 17:38:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:17 GMT + x-ms-version: + - '2019-02-02' + method: GET + uri: https://fake_table_account.table.core.windows.net/Tables + response: + body: + string: '{"odata.metadata":"https://fake_table_account.table.core.windows.net/$metadata#Tables","value":[{"TableName":"uttable2cb20f83"}]}' + headers: + cache-control: no-cache + content-type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8 + date: Thu, 17 Jun 2021 17:38:17 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + transfer-encoding: chunked + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 200 + message: OK + url: https://seankaneprim.table.core.windows.net/Tables +- request: + body: null + headers: + Accept: + - application/json + Date: + - Thu, 17 Jun 2021 17:38:17 GMT + User-Agent: + - azsdk-python-data-tables/12.0.1 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Thu, 17 Jun 2021 17:38:17 GMT + x-ms-version: + - '2019-02-02' + method: DELETE + uri: https://fake_table_account.table.core.windows.net/Tables('uttable2cb20f83') + response: + body: + string: '' + headers: + cache-control: no-cache + content-length: '0' + date: Thu, 17 Jun 2021 17:38:17 GMT + server: Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0 + x-content-type-options: nosniff + x-ms-version: '2019-02-02' + status: + code: 204 + message: No Content + url: https://seankaneprim.table.core.windows.net/Tables('uttable2cb20f83') +version: 1 diff --git a/sdk/tables/azure-data-tables/tests/test_table_aad.py b/sdk/tables/azure-data-tables/tests/test_table_aad.py new file mode 100644 index 000000000000..438aa18ebbbb --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_aad.py @@ -0,0 +1,310 @@ +# coding: utf-8 + +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import pytest +from datetime import datetime +import sys + +from devtools_testutils import AzureTestCase + +from azure.core.exceptions import HttpResponseError, ResourceNotFoundError +from azure.data.tables import ( + TableServiceClient, + TableClient, + TableAnalyticsLogging, + TableMetrics, + TableRetentionPolicy, + EntityProperty, + EdmType, + TableEntity, + TransactionOperation, + UpdateMode, +) + +from _shared.testcase import TableTestCase +from preparers import tables_decorator, tables_decorator + +# ------------------------------------------------------------------------------ + + +class StorageTableTest(AzureTestCase, TableTestCase): + @tables_decorator + def test_aad_create_table(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + ts.create_table(table_name) + + if table_name not in [t.name for t in ts.list_tables()]: + raise AssertionError("Table could not be found") + + ts.delete_table(table_name) + if table_name in [t.name for t in ts.list_tables()]: + raise AssertionError("Table was not deleted") + + finally: + ts.delete_table(table_name) + + @tables_decorator + def test_aad_query_list_tables(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name1 = self._get_table_reference(prefix="table1") + table_name2 = self._get_table_reference(prefix="table2") + table_name3 = self._get_table_reference(prefix="table3") + table_name4 = self._get_table_reference(prefix="table4") + ts.create_table(table_name1) + ts.create_table(table_name2) + ts.create_table(table_name3) + ts.create_table(table_name4) + + count = 0 + for table in ts.list_tables(): + count += 1 + + assert count == 4 + + query_filter = "TableName eq '{}'".format(table_name2) + count = 0 + for table in ts.query_tables(query_filter): + count += 1 + assert table.name == table_name2 + assert count == 1 + + finally: + for table in ts.list_tables(): + ts.delete_table(table.name) + + @tables_decorator + def test_aad_create_table_tc(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + table_client = TableClient( + credential=self.get_token_credential(), endpoint=account_url, table_name=table_name + ) + table_client.create_table() + + if table_name not in [t.name for t in ts.list_tables()]: + raise AssertionError("Table could not be found") + + table_client.delete_table() + if table_name in [t.name for t in ts.list_tables()]: + raise AssertionError("Table was not deleted") + + finally: + ts.delete_table(table_name) + + @tables_decorator + def test_aad_service_properties(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + created = ts.create_table(table_name) + + assert created.table_name == table_name + + properties = ts.get_service_properties() + ts.set_service_properties(analytics_logging=TableAnalyticsLogging(write=True)) + # have to wait for return to service + p = ts.get_service_properties() + # have to wait for return to service + ts.set_service_properties( + minute_metrics=TableMetrics( + enabled=True, include_apis=True, retention_policy=TableRetentionPolicy(enabled=True, days=5) + ) + ) + + ps = ts.get_service_properties() + finally: + ts.delete_table(table_name) + + @tables_decorator + def test_aad_table_service_stats(self, tables_storage_account_name): + tsc = TableServiceClient( + self.account_url(tables_storage_account_name, "table"), credential=self.get_token_credential() + ) + stats = tsc.get_service_stats(raw_response_hook=self.override_response_body_with_live_status) + self._assert_stats_default(stats) + + @tables_decorator + def test_aad_insert_entity_dictionary(self, tables_storage_account_name): + + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity = self._create_random_entity_dict() + + resp = self.table.create_entity(entity=entity) + + self._assert_valid_metadata(resp) + finally: + self._tear_down() + + @tables_decorator + def test_aad_query_user_filter(self, tables_storage_account_name): + + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = self._insert_two_opposite_entities() + + entities = self.table.query_entities("married eq @my_param", parameters={"my_param": entity["married"]}) + + assert entities is not None + length = 0 + for e in entities: + self._assert_default_entity(e) + length += 1 + + assert length == 1 + finally: + self._tear_down() + + @pytest.mark.skipif(sys.version_info < (3, 0), reason="requires Python3") + @tables_decorator + def test_aad_batch_all_operations_together(self, tables_storage_account_name): + + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + + entity = TableEntity() + entity["PartitionKey"] = "003" + entity["RowKey"] = "batch_all_operations_together-1" + entity["test"] = EntityProperty(True, EdmType.BOOLEAN) + entity["test2"] = "value" + entity["test3"] = 3 + entity["test4"] = EntityProperty(1234567890, EdmType.INT32) + entity["test5"] = datetime.utcnow() + + self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-2" + self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-3" + self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-4" + self.table.create_entity(entity) + transaction_count = 0 + + batch = [] + entity["RowKey"] = "batch_all_operations_together" + batch.append((TransactionOperation.CREATE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-1" + batch.append((TransactionOperation.DELETE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-2" + entity["test3"] = 10 + batch.append((TransactionOperation.UPDATE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-3" + entity["test3"] = 100 + batch.append((TransactionOperation.UPDATE, entity.copy(), {"mode": UpdateMode.REPLACE})) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-4" + entity["test3"] = 10 + batch.append((TransactionOperation.UPSERT, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-5" + batch.append((TransactionOperation.UPSERT, entity.copy(), {"mode": UpdateMode.REPLACE})) + transaction_count += 1 + + transaction_result = self.table.submit_transaction(batch) + + self._assert_valid_batch_transaction(transaction_result, transaction_count) + assert "etag" in transaction_result[0] + assert "etag" not in transaction_result[1] + assert "etag" in transaction_result[2] + assert "etag" in transaction_result[3] + assert "etag" in transaction_result[4] + assert "etag" in transaction_result[5] + + entities = list(self.table.query_entities("PartitionKey eq '003'")) + assert 5 == len(entities) + finally: + self._tear_down() + + @tables_decorator + def test_aad_access_policy_error(self, tables_storage_account_name): + account_url = self.account_url(tables_storage_account_name, "table") + table_name = self._get_table_reference() + table_client = TableClient(credential=self.get_token_credential(), endpoint=account_url, table_name=table_name) + + with pytest.raises(HttpResponseError): + table_client.get_table_access_policy() + + with pytest.raises(HttpResponseError): + table_client.set_table_access_policy(signed_identifiers={}) + + @tables_decorator + def test_aad_delete_entities(self, tables_storage_account_name): + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = self._insert_random_entity() + self.table.delete_entity(entity) + + with pytest.raises(ResourceNotFoundError): + self.table.get_entity(entity["PartitionKey"], entity["RowKey"]) + + finally: + self._tear_down() + + @tables_decorator + def test_aad_query_user_filter(self, tables_storage_account_name): + + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = self._insert_two_opposite_entities() + + entities = self.table.query_entities("married eq @my_param", parameters={"my_param": entity["married"]}) + + assert entities is not None + length = 0 + for e in entities: + self._assert_default_entity(e) + length += 1 + + assert length == 1 + finally: + self._tear_down() + + @tables_decorator + def test_aad_list_entities(self, tables_storage_account_name): + + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + table = self._create_query_table(2) + + entities = list(table.list_entities()) + + assert len(entities) == 2 + for entity in entities: + self._assert_default_entity(entity) + finally: + self._tear_down() + + @tables_decorator + def test_merge_entity(self, tables_storage_account_name): + self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = self._insert_random_entity() + + sent_entity = self._create_updated_entity_dict(entity["PartitionKey"], entity["RowKey"]) + resp = self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + self._assert_valid_metadata(resp) + received_entity = self.table.get_entity(entity["PartitionKey"], entity["RowKey"]) + self._assert_merged_entity(received_entity) + finally: + self._tear_down() diff --git a/sdk/tables/azure-data-tables/tests/test_table_aad_async.py b/sdk/tables/azure-data-tables/tests/test_table_aad_async.py new file mode 100644 index 000000000000..afc65fd29ce9 --- /dev/null +++ b/sdk/tables/azure-data-tables/tests/test_table_aad_async.py @@ -0,0 +1,309 @@ +# coding: utf-8 + +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +import pytest +from datetime import datetime +import sys + +from devtools_testutils import AzureTestCase + +from azure.data.tables.aio import TableServiceClient, TableClient + +from azure.core.exceptions import HttpResponseError, ResourceNotFoundError +from azure.data.tables import ( + TableAnalyticsLogging, + TableMetrics, + TableRetentionPolicy, + EntityProperty, + EdmType, + TableEntity, + TransactionOperation, + UpdateMode, +) + +from _shared.asynctestcase import AsyncTableTestCase +from async_preparers import tables_decorator_async + + +class TableTestAsync(AzureTestCase, AsyncTableTestCase): + @tables_decorator_async + async def test_aad_create_table(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + await ts.create_table(table_name) + + if table_name not in [t.name async for t in ts.list_tables()]: + raise AssertionError("Table could not be found") + + await ts.delete_table(table_name) + if table_name in [t.name async for t in ts.list_tables()]: + raise AssertionError("Table was not deleted") + + finally: + await ts.delete_table(table_name) + + @tables_decorator_async + async def test_aad_query_list_tables(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name1 = self._get_table_reference(prefix="table1") + table_name2 = self._get_table_reference(prefix="table2") + table_name3 = self._get_table_reference(prefix="table3") + table_name4 = self._get_table_reference(prefix="table4") + await ts.create_table(table_name1) + await ts.create_table(table_name2) + await ts.create_table(table_name3) + await ts.create_table(table_name4) + + count = 0 + async for table in ts.list_tables(): + count += 1 + + assert count == 4 + + query_filter = "TableName eq '{}'".format(table_name2) + count = 0 + async for table in ts.query_tables(query_filter): + count += 1 + assert table.name == table_name2 + assert count == 1 + + finally: + async for table in ts.list_tables(): + await ts.delete_table(table.name) + + @tables_decorator_async + async def test_aad_create_table_tc(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + table_client = TableClient( + credential=self.get_token_credential(), endpoint=account_url, table_name=table_name + ) + await table_client.create_table() + + if table_name not in [t.name async for t in ts.list_tables()]: + raise AssertionError("Table could not be found") + + await table_client.delete_table() + if table_name in [t.name async for t in ts.list_tables()]: + raise AssertionError("Table was not deleted") + + finally: + await ts.delete_table(table_name) + + @tables_decorator_async + async def test_aad_service_properties(self, tables_storage_account_name): + try: + account_url = self.account_url(tables_storage_account_name, "table") + ts = TableServiceClient(credential=self.get_token_credential(), endpoint=account_url) + table_name = self._get_table_reference() + created = await ts.create_table(table_name) + + assert created.table_name == table_name + + properties = await ts.get_service_properties() + await ts.set_service_properties(analytics_logging=TableAnalyticsLogging(write=True)) + # have to wait async for return to service + p = await ts.get_service_properties() + # have to wait async for return to service + await ts.set_service_properties( + minute_metrics=TableMetrics( + enabled=True, include_apis=True, retention_policy=TableRetentionPolicy(enabled=True, days=5) + ) + ) + + ps = await ts.get_service_properties() + finally: + await ts.delete_table(table_name) + + @tables_decorator_async + async def test_aad_table_service_stats(self, tables_storage_account_name): + tsc = TableServiceClient( + self.account_url(tables_storage_account_name, "table"), credential=self.get_token_credential() + ) + stats = await tsc.get_service_stats(raw_response_hook=self.override_response_body_with_live_status) + self._assert_stats_default(stats) + + @tables_decorator_async + async def test_aad_insert_entity_dictionary(self, tables_storage_account_name): + + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity = self._create_random_entity_dict() + resp = await self.table.create_entity(entity=entity) + + self._assert_valid_metadata(resp) + finally: + await self._tear_down() + + @tables_decorator_async + async def test_aad_query_user_filter(self, tables_storage_account_name): + + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = await self._insert_two_opposite_entities() + + entities = self.table.query_entities("married eq @my_param", parameters={"my_param": entity["married"]}) + + assert entities is not None + length = 0 + async for e in entities: + self._assert_default_entity(e) + length += 1 + + assert length == 1 + finally: + await self._tear_down() + + @pytest.mark.skipif(sys.version_info < (3, 0), reason="requires Python3") + @tables_decorator_async + async def test_aad_batch_all_operations_together(self, tables_storage_account_name): + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + + entity = TableEntity() + entity["PartitionKey"] = "003" + entity["RowKey"] = "batch_all_operations_together-1" + entity["test"] = EntityProperty(True, EdmType.BOOLEAN) + entity["test2"] = "value" + entity["test3"] = 3 + entity["test4"] = EntityProperty(1234567890, EdmType.INT32) + entity["test5"] = datetime.utcnow() + + await self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-2" + await self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-3" + await self.table.create_entity(entity) + entity["RowKey"] = "batch_all_operations_together-4" + await self.table.create_entity(entity) + transaction_count = 0 + + batch = [] + entity["RowKey"] = "batch_all_operations_together" + batch.append((TransactionOperation.CREATE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-1" + batch.append((TransactionOperation.DELETE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-2" + entity["test3"] = 10 + batch.append((TransactionOperation.UPDATE, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-3" + entity["test3"] = 100 + batch.append((TransactionOperation.UPDATE, entity.copy(), {"mode": UpdateMode.REPLACE})) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-4" + entity["test3"] = 10 + batch.append((TransactionOperation.UPSERT, entity.copy())) + transaction_count += 1 + + entity["RowKey"] = "batch_all_operations_together-5" + batch.append((TransactionOperation.UPSERT, entity.copy(), {"mode": UpdateMode.REPLACE})) + transaction_count += 1 + + transaction_result = await self.table.submit_transaction(batch) + + self._assert_valid_batch_transaction(transaction_result, transaction_count) + assert "etag" in transaction_result[0] + assert "etag" not in transaction_result[1] + assert "etag" in transaction_result[2] + assert "etag" in transaction_result[3] + assert "etag" in transaction_result[4] + assert "etag" in transaction_result[5] + + entity_count = 0 + async for e in self.table.query_entities("PartitionKey eq '003'"): + entity_count += 1 + assert 5 == entity_count + finally: + await self._tear_down() + + @tables_decorator_async + async def test_aad_access_policy_error(self, tables_storage_account_name): + account_url = self.account_url(tables_storage_account_name, "table") + table_name = self._get_table_reference() + table_client = TableClient(credential=self.get_token_credential(), endpoint=account_url, table_name=table_name) + + with pytest.raises(HttpResponseError): + await table_client.get_table_access_policy() + + with pytest.raises(HttpResponseError): + await table_client.set_table_access_policy(signed_identifiers={}) + + @tables_decorator_async + async def test_aad_delete_entities(self, tables_storage_account_name): + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = await self._insert_random_entity() + await self.table.delete_entity(entity) + + with pytest.raises(ResourceNotFoundError): + await self.table.get_entity(entity["PartitionKey"], entity["RowKey"]) + + finally: + await self._tear_down() + + @tables_decorator_async + async def test_aad_query_user_filter(self, tables_storage_account_name): + + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = await self._insert_two_opposite_entities() + + entities = self.table.query_entities("married eq @my_param", parameters={"my_param": entity["married"]}) + + assert entities is not None + length = 0 + async for e in entities: + self._assert_default_entity(e) + length += 1 + + assert length == 1 + finally: + await self._tear_down() + + @tables_decorator_async + async def test_aad_list_entities(self, tables_storage_account_name): + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + table = await self._create_query_table(2) + + entities = table.list_entities() + + count = 0 + async for entity in entities: + self._assert_default_entity(entity) + count += 1 + assert count == 2 + finally: + await self._tear_down() + + @tables_decorator_async + async def test_merge_entity(self, tables_storage_account_name): + await self._set_up(tables_storage_account_name, self.get_token_credential()) + try: + entity, _ = await self._insert_random_entity() + + sent_entity = self._create_updated_entity_dict(entity["PartitionKey"], entity["RowKey"]) + resp = await self.table.update_entity(mode=UpdateMode.MERGE, entity=sent_entity) + + self._assert_valid_metadata(resp) + received_entity = await self.table.get_entity(entity["PartitionKey"], entity["RowKey"]) + self._assert_merged_entity(received_entity) + finally: + await self._tear_down() diff --git a/sdk/tables/azure-data-tables/tests/test_table_service_stats.py b/sdk/tables/azure-data-tables/tests/test_table_service_stats.py index 9015d974e9b7..6658e702d677 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_service_stats.py +++ b/sdk/tables/azure-data-tables/tests/test_table_service_stats.py @@ -9,25 +9,9 @@ from _shared.testcase import TableTestCase from preparers import tables_decorator -SERVICE_UNAVAILABLE_RESP_BODY = 'unavailable ' - -SERVICE_LIVE_RESP_BODY = 'liveWed, 19 Jan 2021 22:28:43 GMT ' - # --Test Class ----------------------------------------------------------------- class TableServiceStatsTest(AzureTestCase, TableTestCase): - @staticmethod - def override_response_body_with_unavailable_status(response): - response.http_response.text = lambda _: SERVICE_UNAVAILABLE_RESP_BODY - - @staticmethod - def override_response_body_with_live_status(response): - response.http_response.text = lambda _: SERVICE_LIVE_RESP_BODY - # --Test cases per service --------------------------------------- @tables_decorator def test_table_service_stats_f(self, tables_storage_account_name, tables_primary_storage_account_key): diff --git a/sdk/tables/test-resources.json b/sdk/tables/test-resources.json index 8cfc1e35bfe0..1658eecf704d 100644 --- a/sdk/tables/test-resources.json +++ b/sdk/tables/test-resources.json @@ -4,10 +4,18 @@ "parameters": { "baseName": { "type": "String" + }, + "testApplicationOid": { + "type": "string", + "metadata": { + "description": "The principal to assign the role to. This is application object id." + } } }, "variables": { "mgmtApiVersion": "2019-04-01", + "authorizationApiVersion": "2018-09-01-preview", + "blobDataContributorRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/0a9a7e1f-b9d0-4cc4-a60d-0319b160aaa3')]", "location": "[resourceGroup().location]", "primaryAccountName": "[concat(parameters('baseName'), 'prim')]", "encryption": { @@ -29,6 +37,15 @@ } }, "resources": [ + { + "type": "Microsoft.Authorization/roleAssignments", + "apiVersion": "[variables('authorizationApiVersion')]", + "name": "[guid(concat('tableDataContributorRoleId', resourceGroup().id))]", + "properties": { + "roleDefinitionId": "[variables('blobDataContributorRoleId')]", + "principalId": "[parameters('testApplicationOid')]" + } + }, { "type": "Microsoft.Storage/storageAccounts", "apiVersion": "[variables('mgmtApiVersion')]", From 82f1c38838ad5a686e962f2e9c6863e0eb08b473 Mon Sep 17 00:00:00 2001 From: Agnivesh Adhikari Date: Fri, 18 Jun 2021 05:56:56 +0530 Subject: [PATCH 02/45] Updating readme. (#19177) * Updating readme. Consistent nomenclature. * Added link * fix typo --- sdk/agrifood/azure-agrifood-farming/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sdk/agrifood/azure-agrifood-farming/README.md b/sdk/agrifood/azure-agrifood-farming/README.md index 884017fc4bd5..ae2b158e97a4 100644 --- a/sdk/agrifood/azure-agrifood-farming/README.md +++ b/sdk/agrifood/azure-agrifood-farming/README.md @@ -1,4 +1,4 @@ -# Azure AgriFood Farming client library for Python +# Azure FarmBeats client library for Python FarmBeats is a B2B PaaS offering from Microsoft that makes it easy for AgriFood companies to build intelligent digital agriculture solutions on Azure. FarmBeats allows users to acquire, aggregate, and process agricultural data from various sources (farm equipment, weather, satellite) without the need to invest in deep data engineering resources.  Customers can build SaaS solutions on top of FarmBeats and leverage first class support for model building to generate insights at scale. Use FarmBeats client library for Python to do the following. @@ -15,12 +15,12 @@ Use FarmBeats client library for Python to do the following. To use this package, you must have: - Azure subscription - [Create a free account][azure_subscription] -- AgriFood (FarmBeats) resource - [Install FarmBeats][install_farmbeats] +- Azure FarmBeats resource - [Install FarmBeats][install_farmbeats] - Python 2.7, 3.6 or later - [Install Python][python] ### Install the package -Install the Azure AgriFood Farming client library for Python with [pip][pip]: +Install the Azure FarmBeats client library for Python with [pip][pip]: ```bash pip install azure-agrifood-farming @@ -33,7 +33,8 @@ provide an instance of the desired credential type obtained from the [azure-identity][azure_identity_credentials] library. To authenticate with AAD, you must first [pip][pip] install [`azure-identity`][azure_identity_pip] and -enable AAD authentication on your AgriFood resource (ADD LINK). +enable AAD authentication on your FarmBeats resource. If you followed the [installation docs][install_farmbeats] when creating the FarmBeats +resource, this is already covered. After setup, you can choose which type of [credential][azure_identity_credentials] from azure.identity to use. As an example, [DefaultAzureCredential][default_azure_credential] @@ -289,7 +290,7 @@ for scene in scenes: ### General -The AgriFood Farming client will raise exceptions defined in [Azure Core][azure_core] if you call `.raise_for_status()` on your responses. +The FarmBeats client will raise exceptions defined in [Azure Core][azure_core] if you call `.raise_for_status()` on your responses. ### Logging From c49ef6a92eb2c1abb9219e206b30900dd2232e2e Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Fri, 18 Jun 2021 09:27:47 +0800 Subject: [PATCH 03/45] [AutoRelease] t2-testbase-2021-06-17-62837 (#19288) * CodeGen from PR 14710 in Azure/azure-rest-api-specs Copied from Private:RPSaaSMaster (#14710) Co-authored-by: Bin Yu * version,CHANGELOG Co-authored-by: SDKAuto Co-authored-by: Bin Yu Co-authored-by: PythonSdkPipelines Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com> --- sdk/testbase/azure-mgmt-testbase/CHANGELOG.md | 5 + sdk/testbase/azure-mgmt-testbase/MANIFEST.in | 6 + sdk/testbase/azure-mgmt-testbase/README.md | 27 + sdk/testbase/azure-mgmt-testbase/_meta.json | 11 + .../azure-mgmt-testbase/azure/__init__.py | 1 + .../azure/mgmt/__init__.py | 1 + .../azure/mgmt/testbase/__init__.py | 19 + .../azure/mgmt/testbase/_configuration.py | 71 + .../azure/mgmt/testbase/_metadata.json | 117 + .../azure/mgmt/testbase/_test_base.py | 159 + .../azure/mgmt/testbase/_version.py | 9 + .../azure/mgmt/testbase/aio/__init__.py | 10 + .../azure/mgmt/testbase/aio/_configuration.py | 67 + .../azure/mgmt/testbase/aio/_test_base.py | 152 + .../mgmt/testbase/aio/operations/__init__.py | 41 + .../_analysis_results_operations.py | 201 ++ .../operations/_available_os_operations.py | 184 + .../operations/_customer_events_operations.py | 441 +++ .../operations/_email_events_operations.py | 180 + .../_favorite_processes_operations.py | 333 ++ .../operations/_flighting_rings_operations.py | 180 + .../testbase/aio/operations/_operations.py | 105 + .../aio/operations/_os_updates_operations.py | 192 + .../aio/operations/_packages_operations.py | 768 ++++ .../aio/operations/_skus_operations.py | 109 + .../_test_base_accounts_operations.py | 895 +++++ .../operations/_test_results_operations.py | 332 ++ .../operations/_test_summaries_operations.py | 181 + .../aio/operations/_test_types_operations.py | 180 + .../aio/operations/_usage_operations.py | 122 + .../azure/mgmt/testbase/models/__init__.py | 279 ++ .../azure/mgmt/testbase/models/_models.py | 2876 +++++++++++++++ .../azure/mgmt/testbase/models/_models_py3.py | 3161 +++++++++++++++++ .../mgmt/testbase/models/_test_base_enums.py | 209 ++ .../mgmt/testbase/operations/__init__.py | 41 + .../_analysis_results_operations.py | 207 ++ .../operations/_available_os_operations.py | 190 + .../operations/_customer_events_operations.py | 451 +++ .../operations/_email_events_operations.py | 186 + .../_favorite_processes_operations.py | 341 ++ .../operations/_flighting_rings_operations.py | 186 + .../mgmt/testbase/operations/_operations.py | 110 + .../operations/_os_updates_operations.py | 198 ++ .../operations/_packages_operations.py | 783 ++++ .../testbase/operations/_skus_operations.py | 114 + .../_test_base_accounts_operations.py | 912 +++++ .../operations/_test_results_operations.py | 340 ++ .../operations/_test_summaries_operations.py | 187 + .../operations/_test_types_operations.py | 186 + .../testbase/operations/_usage_operations.py | 127 + .../azure/mgmt/testbase/py.typed | 1 + .../azure-mgmt-testbase/sdk_packaging.toml | 9 + sdk/testbase/azure-mgmt-testbase/setup.cfg | 2 + sdk/testbase/azure-mgmt-testbase/setup.py | 91 + sdk/testbase/ci.yml | 35 + shared_requirements.txt | 1 + 56 files changed, 16322 insertions(+) create mode 100644 sdk/testbase/azure-mgmt-testbase/CHANGELOG.md create mode 100644 sdk/testbase/azure-mgmt-testbase/MANIFEST.in create mode 100644 sdk/testbase/azure-mgmt-testbase/README.md create mode 100644 sdk/testbase/azure-mgmt-testbase/_meta.json create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_configuration.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_metadata.json create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_test_base.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_version.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_configuration.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_test_base.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_analysis_results_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_available_os_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_customer_events_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_email_events_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_favorite_processes_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_flighting_rings_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_os_updates_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_packages_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_skus_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_base_accounts_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_results_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_summaries_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_types_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_usage_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models_py3.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_test_base_enums.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/__init__.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_analysis_results_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_available_os_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_customer_events_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_email_events_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_favorite_processes_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_flighting_rings_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_os_updates_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_packages_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_skus_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_base_accounts_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_results_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_summaries_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_types_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_usage_operations.py create mode 100644 sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/py.typed create mode 100644 sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml create mode 100644 sdk/testbase/azure-mgmt-testbase/setup.cfg create mode 100644 sdk/testbase/azure-mgmt-testbase/setup.py create mode 100644 sdk/testbase/ci.yml diff --git a/sdk/testbase/azure-mgmt-testbase/CHANGELOG.md b/sdk/testbase/azure-mgmt-testbase/CHANGELOG.md new file mode 100644 index 000000000000..e28fb96d6322 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/CHANGELOG.md @@ -0,0 +1,5 @@ +# Release History + +## 1.0.0b1 (2021-06-17) + +* Initial Release diff --git a/sdk/testbase/azure-mgmt-testbase/MANIFEST.in b/sdk/testbase/azure-mgmt-testbase/MANIFEST.in new file mode 100644 index 000000000000..3a9b6517412b --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/MANIFEST.in @@ -0,0 +1,6 @@ +include _meta.json +recursive-include tests *.py *.yaml +include *.md +include azure/__init__.py +include azure/mgmt/__init__.py + diff --git a/sdk/testbase/azure-mgmt-testbase/README.md b/sdk/testbase/azure-mgmt-testbase/README.md new file mode 100644 index 000000000000..a233ef895aa4 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/README.md @@ -0,0 +1,27 @@ +# Microsoft Azure SDK for Python + +This is the Microsoft Azure Testbase Management Client Library. +This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). + + +# Usage + + +To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt) + + + +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/) +Code samples for this package can be found at [Testbase Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. +Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) + + +# Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) +section of the project. + + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-testbase%2FREADME.png) diff --git a/sdk/testbase/azure-mgmt-testbase/_meta.json b/sdk/testbase/azure-mgmt-testbase/_meta.json new file mode 100644 index 000000000000..6e4276e2ea42 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/_meta.json @@ -0,0 +1,11 @@ +{ + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.0", + "@autorest/modelerfour@4.19.2" + ], + "commit": "cc49d9f58b73e725182d13b9c62f8c6d2e241ce5", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/testbase/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", + "readme": "specification/testbase/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/testbase/azure-mgmt-testbase/azure/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/__init__.py new file mode 100644 index 000000000000..8db66d3d0f0f --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/__init__.py new file mode 100644 index 000000000000..8db66d3d0f0f --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/__init__.py new file mode 100644 index 000000000000..62099de60264 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/__init__.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._test_base import TestBase +from ._version import VERSION + +__version__ = VERSION +__all__ = ['TestBase'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_configuration.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_configuration.py new file mode 100644 index 000000000000..4f886511a450 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_configuration.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from ._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + + +class TestBaseConfiguration(Configuration): + """Configuration for TestBase. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(TestBaseConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-12-16-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-testbase/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_metadata.json b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_metadata.json new file mode 100644 index 000000000000..ca4209972b0a --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_metadata.json @@ -0,0 +1,117 @@ +{ + "chosen_version": "2020-12-16-preview", + "total_api_version_list": ["2020-12-16-preview"], + "client": { + "name": "TestBase", + "filename": "_test_base", + "description": "Test Base.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"TestBaseConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"TestBaseConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The Azure subscription ID. This is a GUID-formatted string.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The Azure subscription ID. This is a GUID-formatted string.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "skus": "SkusOperations", + "test_base_accounts": "TestBaseAccountsOperations", + "usage": "UsageOperations", + "available_os": "AvailableOSOperations", + "flighting_rings": "FlightingRingsOperations", + "test_types": "TestTypesOperations", + "packages": "PackagesOperations", + "test_summaries": "TestSummariesOperations", + "test_results": "TestResultsOperations", + "os_updates": "OSUpdatesOperations", + "favorite_processes": "FavoriteProcessesOperations", + "analysis_results": "AnalysisResultsOperations", + "email_events": "EmailEventsOperations", + "customer_events": "CustomerEventsOperations", + "operations": "Operations" + } +} \ No newline at end of file diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_test_base.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_test_base.py new file mode 100644 index 000000000000..8c08600d5690 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_test_base.py @@ -0,0 +1,159 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import TestBaseConfiguration +from .operations import SkusOperations +from .operations import TestBaseAccountsOperations +from .operations import UsageOperations +from .operations import AvailableOSOperations +from .operations import FlightingRingsOperations +from .operations import TestTypesOperations +from .operations import PackagesOperations +from .operations import TestSummariesOperations +from .operations import TestResultsOperations +from .operations import OSUpdatesOperations +from .operations import FavoriteProcessesOperations +from .operations import AnalysisResultsOperations +from .operations import EmailEventsOperations +from .operations import CustomerEventsOperations +from .operations import Operations +from . import models + + +class TestBase(object): + """Test Base. + + :ivar skus: SkusOperations operations + :vartype skus: test_base.operations.SkusOperations + :ivar test_base_accounts: TestBaseAccountsOperations operations + :vartype test_base_accounts: test_base.operations.TestBaseAccountsOperations + :ivar usage: UsageOperations operations + :vartype usage: test_base.operations.UsageOperations + :ivar available_os: AvailableOSOperations operations + :vartype available_os: test_base.operations.AvailableOSOperations + :ivar flighting_rings: FlightingRingsOperations operations + :vartype flighting_rings: test_base.operations.FlightingRingsOperations + :ivar test_types: TestTypesOperations operations + :vartype test_types: test_base.operations.TestTypesOperations + :ivar packages: PackagesOperations operations + :vartype packages: test_base.operations.PackagesOperations + :ivar test_summaries: TestSummariesOperations operations + :vartype test_summaries: test_base.operations.TestSummariesOperations + :ivar test_results: TestResultsOperations operations + :vartype test_results: test_base.operations.TestResultsOperations + :ivar os_updates: OSUpdatesOperations operations + :vartype os_updates: test_base.operations.OSUpdatesOperations + :ivar favorite_processes: FavoriteProcessesOperations operations + :vartype favorite_processes: test_base.operations.FavoriteProcessesOperations + :ivar analysis_results: AnalysisResultsOperations operations + :vartype analysis_results: test_base.operations.AnalysisResultsOperations + :ivar email_events: EmailEventsOperations operations + :vartype email_events: test_base.operations.EmailEventsOperations + :ivar customer_events: CustomerEventsOperations operations + :vartype customer_events: test_base.operations.CustomerEventsOperations + :ivar operations: Operations operations + :vartype operations: test_base.operations.Operations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = TestBaseConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.skus = SkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_base_accounts = TestBaseAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usage = UsageOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_os = AvailableOSOperations( + self._client, self._config, self._serialize, self._deserialize) + self.flighting_rings = FlightingRingsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_types = TestTypesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.packages = PackagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_summaries = TestSummariesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_results = TestResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.os_updates = OSUpdatesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.favorite_processes = FavoriteProcessesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.analysis_results = AnalysisResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.email_events = EmailEventsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.customer_events = CustomerEventsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> TestBase + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_version.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_version.py new file mode 100644 index 000000000000..e5754a47ce68 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.0.0b1" diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/__init__.py new file mode 100644 index 000000000000..84b768564514 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._test_base import TestBase +__all__ = ['TestBase'] diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_configuration.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_configuration.py new file mode 100644 index 000000000000..e83d6cb42f03 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_configuration.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +from .._version import VERSION + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + + +class TestBaseConfiguration(Configuration): + """Configuration for TestBase. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(TestBaseConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2020-12-16-preview" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-testbase/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_test_base.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_test_base.py new file mode 100644 index 000000000000..a42326e4246f --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/_test_base.py @@ -0,0 +1,152 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import TestBaseConfiguration +from .operations import SkusOperations +from .operations import TestBaseAccountsOperations +from .operations import UsageOperations +from .operations import AvailableOSOperations +from .operations import FlightingRingsOperations +from .operations import TestTypesOperations +from .operations import PackagesOperations +from .operations import TestSummariesOperations +from .operations import TestResultsOperations +from .operations import OSUpdatesOperations +from .operations import FavoriteProcessesOperations +from .operations import AnalysisResultsOperations +from .operations import EmailEventsOperations +from .operations import CustomerEventsOperations +from .operations import Operations +from .. import models + + +class TestBase(object): + """Test Base. + + :ivar skus: SkusOperations operations + :vartype skus: test_base.aio.operations.SkusOperations + :ivar test_base_accounts: TestBaseAccountsOperations operations + :vartype test_base_accounts: test_base.aio.operations.TestBaseAccountsOperations + :ivar usage: UsageOperations operations + :vartype usage: test_base.aio.operations.UsageOperations + :ivar available_os: AvailableOSOperations operations + :vartype available_os: test_base.aio.operations.AvailableOSOperations + :ivar flighting_rings: FlightingRingsOperations operations + :vartype flighting_rings: test_base.aio.operations.FlightingRingsOperations + :ivar test_types: TestTypesOperations operations + :vartype test_types: test_base.aio.operations.TestTypesOperations + :ivar packages: PackagesOperations operations + :vartype packages: test_base.aio.operations.PackagesOperations + :ivar test_summaries: TestSummariesOperations operations + :vartype test_summaries: test_base.aio.operations.TestSummariesOperations + :ivar test_results: TestResultsOperations operations + :vartype test_results: test_base.aio.operations.TestResultsOperations + :ivar os_updates: OSUpdatesOperations operations + :vartype os_updates: test_base.aio.operations.OSUpdatesOperations + :ivar favorite_processes: FavoriteProcessesOperations operations + :vartype favorite_processes: test_base.aio.operations.FavoriteProcessesOperations + :ivar analysis_results: AnalysisResultsOperations operations + :vartype analysis_results: test_base.aio.operations.AnalysisResultsOperations + :ivar email_events: EmailEventsOperations operations + :vartype email_events: test_base.aio.operations.EmailEventsOperations + :ivar customer_events: CustomerEventsOperations operations + :vartype customer_events: test_base.aio.operations.CustomerEventsOperations + :ivar operations: Operations operations + :vartype operations: test_base.aio.operations.Operations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = TestBaseConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.skus = SkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_base_accounts = TestBaseAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usage = UsageOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_os = AvailableOSOperations( + self._client, self._config, self._serialize, self._deserialize) + self.flighting_rings = FlightingRingsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_types = TestTypesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.packages = PackagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_summaries = TestSummariesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.test_results = TestResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.os_updates = OSUpdatesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.favorite_processes = FavoriteProcessesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.analysis_results = AnalysisResultsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.email_events = EmailEventsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.customer_events = CustomerEventsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "TestBase": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/__init__.py new file mode 100644 index 000000000000..5ceab87ab585 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/__init__.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._skus_operations import SkusOperations +from ._test_base_accounts_operations import TestBaseAccountsOperations +from ._usage_operations import UsageOperations +from ._available_os_operations import AvailableOSOperations +from ._flighting_rings_operations import FlightingRingsOperations +from ._test_types_operations import TestTypesOperations +from ._packages_operations import PackagesOperations +from ._test_summaries_operations import TestSummariesOperations +from ._test_results_operations import TestResultsOperations +from ._os_updates_operations import OSUpdatesOperations +from ._favorite_processes_operations import FavoriteProcessesOperations +from ._analysis_results_operations import AnalysisResultsOperations +from ._email_events_operations import EmailEventsOperations +from ._customer_events_operations import CustomerEventsOperations +from ._operations import Operations + +__all__ = [ + 'SkusOperations', + 'TestBaseAccountsOperations', + 'UsageOperations', + 'AvailableOSOperations', + 'FlightingRingsOperations', + 'TestTypesOperations', + 'PackagesOperations', + 'TestSummariesOperations', + 'TestResultsOperations', + 'OSUpdatesOperations', + 'FavoriteProcessesOperations', + 'AnalysisResultsOperations', + 'EmailEventsOperations', + 'CustomerEventsOperations', + 'Operations', +] diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_analysis_results_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_analysis_results_operations.py new file mode 100644 index 000000000000..7f7188016c8b --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_analysis_results_operations.py @@ -0,0 +1,201 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AnalysisResultsOperations: + """AnalysisResultsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + test_result_name: str, + analysis_result_type: Union[str, "_models.AnalysisResultType"], + **kwargs: Any + ) -> AsyncIterable["_models.AnalysisResultListResult"]: + """Lists the Analysis Results of a Test Result. The result collection will only contain one + element as all the data will be nested in a singleton object. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :param analysis_result_type: The type of the Analysis Result of a Test Result. + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnalysisResultListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.AnalysisResultListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalysisResultListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['analysisResultType'] = self._serialize.query("analysis_result_type", analysis_result_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AnalysisResultListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + test_result_name: str, + analysis_result_name: Union[str, "_models.AnalysisResultName"], + **kwargs: Any + ) -> "_models.AnalysisResultSingletonResource": + """Gets an Analysis Result of a Test Result by name. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :param analysis_result_name: The name of the Analysis Result of a Test Result. + :type analysis_result_name: str or ~test_base.models.AnalysisResultName + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalysisResultSingletonResource, or the result of cls(response) + :rtype: ~test_base.models.AnalysisResultSingletonResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalysisResultSingletonResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + 'analysisResultName': self._serialize.url("analysis_result_name", analysis_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AnalysisResultSingletonResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults/{analysisResultName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_available_os_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_available_os_operations.py new file mode 100644 index 000000000000..fb2b8ecaaa24 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_available_os_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableOSOperations: + """AvailableOSOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + os_update_type: Union[str, "_models.OsUpdateType"], + **kwargs: Any + ) -> AsyncIterable["_models.AvailableOSListResult"]: + """Lists all the available OSs to run a package under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableOSListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.AvailableOSListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableOSListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableOSListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + available_os_resource_name: str, + **kwargs: Any + ) -> "_models.AvailableOSResource": + """Gets an available OS to run a package under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param available_os_resource_name: The resource name of an Available OS. + :type available_os_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AvailableOSResource, or the result of cls(response) + :rtype: ~test_base.models.AvailableOSResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableOSResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'availableOSResourceName': self._serialize.url("available_os_resource_name", available_os_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AvailableOSResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs/{availableOSResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_customer_events_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_customer_events_operations.py new file mode 100644 index 000000000000..96583702a935 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_customer_events_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class CustomerEventsOperations: + """CustomerEventsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_test_base_account( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.CustomerEventListResult"]: + """Lists all notification events subscribed under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomerEventListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.CustomerEventListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_test_base_account.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('CustomerEventListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_test_base_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents'} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + test_base_account_name: str, + customer_event_name: str, + parameters: "_models.CustomerEventResource", + **kwargs: Any + ) -> "_models.CustomerEventResource": + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CustomerEventResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + test_base_account_name: str, + customer_event_name: str, + parameters: "_models.CustomerEventResource", + **kwargs: Any + ) -> AsyncLROPoller["_models.CustomerEventResource"]: + """Create or replace a Test Base Customer Event. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :param parameters: Parameters supplied to create a Test Base CustomerEvent. + :type parameters: ~test_base.models.CustomerEventResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either CustomerEventResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~test_base.models.CustomerEventResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + customer_event_name=customer_event_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + test_base_account_name: str, + customer_event_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + test_base_account_name: str, + customer_event_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a Test Base Customer Event. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + customer_event_name=customer_event_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + customer_event_name: str, + **kwargs: Any + ) -> "_models.CustomerEventResource": + """Gets a Test Base CustomerEvent. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomerEventResource, or the result of cls(response) + :rtype: ~test_base.models.CustomerEventResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_email_events_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_email_events_operations.py new file mode 100644 index 000000000000..5199a5d487ed --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_email_events_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class EmailEventsOperations: + """EmailEventsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.EmailEventListResult"]: + """Lists all the email events of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EmailEventListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.EmailEventListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EmailEventListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('EmailEventListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + email_event_resource_name: str, + **kwargs: Any + ) -> "_models.EmailEventResource": + """Gets a email event of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param email_event_resource_name: The resource name of an email event. + :type email_event_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: EmailEventResource, or the result of cls(response) + :rtype: ~test_base.models.EmailEventResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EmailEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'emailEventResourceName': self._serialize.url("email_event_resource_name", email_event_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('EmailEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents/{emailEventResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_favorite_processes_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_favorite_processes_operations.py new file mode 100644 index 000000000000..f875ff4ddb89 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_favorite_processes_operations.py @@ -0,0 +1,333 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FavoriteProcessesOperations: + """FavoriteProcessesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.FavoriteProcessListResult"]: + """Lists the favorite processes for a specific package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FavoriteProcessListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.FavoriteProcessListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FavoriteProcessListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses'} # type: ignore + + async def create( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + favorite_process_resource_name: str, + parameters: "_models.FavoriteProcessResource", + **kwargs: Any + ) -> "_models.FavoriteProcessResource": + """Create or replace a favorite process for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :param parameters: Parameters supplied to create a favorite process in a package. + :type parameters: ~test_base.models.FavoriteProcessResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FavoriteProcessResource, or the result of cls(response) + :rtype: ~test_base.models.FavoriteProcessResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FavoriteProcessResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FavoriteProcessResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore + + async def delete( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + favorite_process_resource_name: str, + **kwargs: Any + ) -> None: + """Deletes a favorite process for a specific package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + favorite_process_resource_name: str, + **kwargs: Any + ) -> "_models.FavoriteProcessResource": + """Gets a favorite process for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FavoriteProcessResource, or the result of cls(response) + :rtype: ~test_base.models.FavoriteProcessResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FavoriteProcessResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_flighting_rings_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_flighting_rings_operations.py new file mode 100644 index 000000000000..c4e1157b2d6e --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_flighting_rings_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FlightingRingsOperations: + """FlightingRingsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.FlightingRingListResult"]: + """Lists all the flighting rings of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FlightingRingListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.FlightingRingListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlightingRingListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FlightingRingListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + flighting_ring_resource_name: str, + **kwargs: Any + ) -> "_models.FlightingRingResource": + """Gets a flighting ring of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param flighting_ring_resource_name: The resource name of a flighting ring. + :type flighting_ring_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlightingRingResource, or the result of cls(response) + :rtype: ~test_base.models.FlightingRingResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlightingRingResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'flightingRingResourceName': self._serialize.url("flighting_ring_resource_name", flighting_ring_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlightingRingResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings/{flightingRingResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_operations.py new file mode 100644 index 000000000000..41df74bd4bca --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_operations.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OperationListResult"]: + """Lists all of the available REST API operations of the Microsoft.TestBase provider. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.TestBase/operations'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_os_updates_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_os_updates_operations.py new file mode 100644 index 000000000000..1bdd17f818bb --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_os_updates_operations.py @@ -0,0 +1,192 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class OSUpdatesOperations: + """OSUpdatesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + os_update_type: Union[str, "_models.OsUpdateType"], + **kwargs: Any + ) -> AsyncIterable["_models.OSUpdateListResult"]: + """Lists the OS Updates in which the package were tested before. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OSUpdateListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.OSUpdateListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSUpdateListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OSUpdateListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + os_update_resource_name: str, + **kwargs: Any + ) -> "_models.OSUpdateResource": + """Gets an OS Update by name in which the package was tested before. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_resource_name: The resource name of an OS Update. + :type os_update_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OSUpdateResource, or the result of cls(response) + :rtype: ~test_base.models.OSUpdateResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSUpdateResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'osUpdateResourceName': self._serialize.url("os_update_resource_name", os_update_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OSUpdateResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates/{osUpdateResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_packages_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_packages_operations.py new file mode 100644 index 000000000000..73704810f65c --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_packages_operations.py @@ -0,0 +1,768 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PackagesOperations: + """PackagesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_test_base_account( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.PackageListResult"]: + """Lists all the packages under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PackageListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.PackageListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_test_base_account.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PackageListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_test_base_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages'} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + parameters: "_models.PackageResource", + **kwargs: Any + ) -> "_models.PackageResource": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('PackageResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + parameters: "_models.PackageResource", + **kwargs: Any + ) -> AsyncLROPoller["_models.PackageResource"]: + """Create or replace (overwrite/recreate, with potential downtime) a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param parameters: Parameters supplied to create a Test Base Package. + :type parameters: ~test_base.models.PackageResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PackageResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~test_base.models.PackageResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + parameters: "_models.PackageUpdateParameters", + **kwargs: Any + ) -> Optional["_models.PackageResource"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PackageResource"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageUpdateParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PackageResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + parameters: "_models.PackageUpdateParameters", + **kwargs: Any + ) -> AsyncLROPoller["_models.PackageResource"]: + """Update an existing Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param parameters: Parameters supplied to update a Test Base Package. + :type parameters: ~test_base.models.PackageUpdateParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PackageResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~test_base.models.PackageResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> "_models.PackageResource": + """Gets a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PackageResource, or the result of cls(response) + :rtype: ~test_base.models.PackageResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + async def _hard_delete_initial( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._hard_delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _hard_delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete'} # type: ignore + + async def begin_hard_delete( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Hard Delete a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._hard_delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_hard_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete'} # type: ignore + + async def get_download_url( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + **kwargs: Any + ) -> "_models.DownloadURLResponse": + """Gets the download URL of a package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/getDownloadUrl'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_skus_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_skus_operations.py new file mode 100644 index 000000000000..62304d40ea64 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_skus_operations.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SkusOperations: + """SkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.TestBaseAccountSKUListResult"]: + """Lists the available SKUs of Test Base Account in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountSKUListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestBaseAccountSKUListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountSKUListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountSKUListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/skus'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_base_accounts_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_base_accounts_operations.py new file mode 100644 index 000000000000..3b64f98c78c5 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_base_accounts_operations.py @@ -0,0 +1,895 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TestBaseAccountsOperations: + """TestBaseAccountsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + get_deleted: Optional[bool] = None, + **kwargs: Any + ) -> AsyncIterable["_models.TestBaseAccountListResult"]: + """Lists all the Test Base Accounts in a subscription. This API is required by ARM guidelines. + + :param get_deleted: The flag indicating if we need to include the Test Base Accounts which were + soft deleted before. + :type get_deleted: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestBaseAccountListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if get_deleted is not None: + query_parameters['getDeleted'] = self._serialize.query("get_deleted", get_deleted, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/testBaseAccounts'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + get_deleted: Optional[bool] = None, + **kwargs: Any + ) -> AsyncIterable["_models.TestBaseAccountListResult"]: + """Lists all the Test Base Accounts in a resource group. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param get_deleted: The flag indicating if we need to include the Test Base Accounts which were + soft deleted before. + :type get_deleted: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestBaseAccountListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if get_deleted is not None: + query_parameters['getDeleted'] = self._serialize.query("get_deleted", get_deleted, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts'} # type: ignore + + async def _create_initial( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: "_models.TestBaseAccountResource", + restore: Optional[bool] = None, + **kwargs: Any + ) -> "_models.TestBaseAccountResource": + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if restore is not None: + query_parameters['restore'] = self._serialize.query("restore", restore, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TestBaseAccountResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: "_models.TestBaseAccountResource", + restore: Optional[bool] = None, + **kwargs: Any + ) -> AsyncLROPoller["_models.TestBaseAccountResource"]: + """Create or replace (overwrite/recreate, with potential downtime) a Test Base Account in the + specified subscription. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to create a Test Base Account. + :type parameters: ~test_base.models.TestBaseAccountResource + :param restore: The flag indicating if we would like to restore the Test Base Accounts which + were soft deleted before. + :type restore: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either TestBaseAccountResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~test_base.models.TestBaseAccountResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + parameters=parameters, + restore=restore, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: "_models.TestBaseAccountUpdateParameters", + **kwargs: Any + ) -> Optional["_models.TestBaseAccountResource"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.TestBaseAccountResource"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TestBaseAccountUpdateParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: "_models.TestBaseAccountUpdateParameters", + **kwargs: Any + ) -> AsyncLROPoller["_models.TestBaseAccountResource"]: + """Update an existing Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to update a Test Base Account. + :type parameters: ~test_base.models.TestBaseAccountUpdateParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either TestBaseAccountResource or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~test_base.models.TestBaseAccountResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> "_models.TestBaseAccountResource": + """Gets a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestBaseAccountResource, or the result of cls(response) + :rtype: ~test_base.models.TestBaseAccountResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + async def _offboard_initial( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._offboard_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _offboard_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard'} # type: ignore + + async def begin_offboard( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Offboard a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._offboard_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_offboard.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard'} # type: ignore + + async def get_file_upload_url( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: Optional["_models.GetFileUploadURLParameters"] = None, + **kwargs: Any + ) -> "_models.FileUploadURLResponse": + """Gets the file upload URL of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to the Test Base Account GetFileUploadURL operation. + :type parameters: ~test_base.models.GetFileUploadURLParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileUploadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.FileUploadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileUploadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.get_file_upload_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'GetFileUploadURLParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FileUploadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_file_upload_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/getFileUploadUrl'} # type: ignore + + async def check_package_name_availability( + self, + resource_group_name: str, + test_base_account_name: str, + parameters: "_models.PackageCheckNameAvailabilityParameters", + **kwargs: Any + ) -> "_models.CheckNameAvailabilityResult": + """Checks that the Test Base Package name and version is valid and is not already in use. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to the Test Base Package CheckNameAvailability + operation. + :type parameters: ~test_base.models.PackageCheckNameAvailabilityParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CheckNameAvailabilityResult, or the result of cls(response) + :rtype: ~test_base.models.CheckNameAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_package_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageCheckNameAvailabilityParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CheckNameAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_package_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/checkPackageNameAvailability'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_results_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_results_operations.py new file mode 100644 index 000000000000..970351f925b2 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_results_operations.py @@ -0,0 +1,332 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TestResultsOperations: + """TestResultsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + os_update_type: Union[str, "_models.OsUpdateType"], + filter: Optional[str] = None, + **kwargs: Any + ) -> AsyncIterable["_models.TestResultListResult"]: + """Lists all the Test Results with specified OS Update type for a Test Base Package. Can be + filtered by osName, releaseName, flightingRing, buildVersion, buildRevision. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :param filter: Odata filter. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestResultListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestResultListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestResultListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestResultListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + test_result_name: str, + **kwargs: Any + ) -> "_models.TestResultResource": + """Get the Test Result by Id with specified OS Update type for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestResultResource, or the result of cls(response) + :rtype: ~test_base.models.TestResultResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestResultResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestResultResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}'} # type: ignore + + async def get_download_url( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + test_result_name: str, + **kwargs: Any + ) -> "_models.DownloadURLResponse": + """Gets the download URL of the test result. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getDownloadUrl'} # type: ignore + + async def get_video_download_url( + self, + resource_group_name: str, + test_base_account_name: str, + package_name: str, + test_result_name: str, + **kwargs: Any + ) -> "_models.DownloadURLResponse": + """Gets the download URL of the test execution screen recording. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_video_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_video_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getVideoDownloadUrl'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_summaries_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_summaries_operations.py new file mode 100644 index 000000000000..224cb5620afe --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_summaries_operations.py @@ -0,0 +1,181 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TestSummariesOperations: + """TestSummariesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.TestSummaryListResult"]: + """Lists the Test Summaries of all the packages under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestSummaryListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestSummaryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestSummaryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestSummaryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + test_summary_name: str, + **kwargs: Any + ) -> "_models.TestSummaryResource": + """Gets a Test Summary with specific name from all the Test Summaries of all the packages under a + Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param test_summary_name: The name of the Test Summary. + :type test_summary_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestSummaryResource, or the result of cls(response) + :rtype: ~test_base.models.TestSummaryResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestSummaryResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'testSummaryName': self._serialize.url("test_summary_name", test_summary_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestSummaryResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries/{testSummaryName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_types_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_types_operations.py new file mode 100644 index 000000000000..9579d78c8776 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_test_types_operations.py @@ -0,0 +1,180 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class TestTypesOperations: + """TestTypesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.TestTypeListResult"]: + """Lists all the test types of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestTypeListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestTypeListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestTypeListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestTypeListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes'} # type: ignore + + async def get( + self, + resource_group_name: str, + test_base_account_name: str, + test_type_resource_name: str, + **kwargs: Any + ) -> "_models.TestTypeResource": + """Gets a test type of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param test_type_resource_name: The resource name of a test type. + :type test_type_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestTypeResource, or the result of cls(response) + :rtype: ~test_base.models.TestTypeResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestTypeResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'testTypeResourceName': self._serialize.url("test_type_resource_name", test_type_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestTypeResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes/{testTypeResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_usage_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_usage_operations.py new file mode 100644 index 000000000000..f5ac4477be06 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/aio/operations/_usage_operations.py @@ -0,0 +1,122 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsageOperations: + """UsageOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + test_base_account_name: str, + filter: Optional[str] = None, + **kwargs: Any + ) -> AsyncIterable["_models.TestBaseAccountUsageDataList"]: + """Lists the usage data of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param filter: Odata filter. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountUsageDataList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~test_base.models.TestBaseAccountUsageDataList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountUsageDataList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountUsageDataList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/usages'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/__init__.py new file mode 100644 index 000000000000..3a142f9bfee3 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/__init__.py @@ -0,0 +1,279 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AnalysisResultListResult + from ._models_py3 import AnalysisResultSingletonResource + from ._models_py3 import AnalysisResultSingletonResourceProperties + from ._models_py3 import AvailableOSListResult + from ._models_py3 import AvailableOSResource + from ._models_py3 import CPURegressionResultSingletonResourceProperties + from ._models_py3 import CPUUtilizationResultSingletonResourceProperties + from ._models_py3 import CheckNameAvailabilityResult + from ._models_py3 import Command + from ._models_py3 import CustomerEventListResult + from ._models_py3 import CustomerEventResource + from ._models_py3 import DistributionGroupListReceiverValue + from ._models_py3 import DownloadURLResponse + from ._models_py3 import EmailEventListResult + from ._models_py3 import EmailEventResource + from ._models_py3 import ErrorDefinition + from ._models_py3 import ErrorResponse + from ._models_py3 import FavoriteProcessListResult + from ._models_py3 import FavoriteProcessResource + from ._models_py3 import FileUploadURLResponse + from ._models_py3 import FlightingRingListResult + from ._models_py3 import FlightingRingResource + from ._models_py3 import GetFileUploadURLParameters + from ._models_py3 import IdentifiedFailure + from ._models_py3 import MemoryRegressionResultSingletonResourceProperties + from ._models_py3 import MemoryUtilizationResultSingletonResourceProperties + from ._models_py3 import NotificationEventReceiver + from ._models_py3 import NotificationReceiverValue + from ._models_py3 import OSUpdateListResult + from ._models_py3 import OSUpdateResource + from ._models_py3 import OSUpdateTestSummary + from ._models_py3 import OSUpdatesTestSummary + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import PackageCheckNameAvailabilityParameters + from ._models_py3 import PackageListResult + from ._models_py3 import PackageResource + from ._models_py3 import PackageUpdateParameters + from ._models_py3 import PackageValidationResult + from ._models_py3 import ProxyResource + from ._models_py3 import RegressionResult + from ._models_py3 import RegressionTestDetails + from ._models_py3 import ReliabilityResult + from ._models_py3 import ReliabilityResultSingletonResourceProperties + from ._models_py3 import Resource + from ._models_py3 import ScriptExecutionResult + from ._models_py3 import ScriptExecutionResultSingletonResourceProperties + from ._models_py3 import SubscriptionReceiverValue + from ._models_py3 import SystemData + from ._models_py3 import TargetOSInfo + from ._models_py3 import Test + from ._models_py3 import TestAnalysisResult + from ._models_py3 import TestAnalysisResultSingletonResourceProperties + from ._models_py3 import TestBaseAccountListResult + from ._models_py3 import TestBaseAccountResource + from ._models_py3 import TestBaseAccountSKU + from ._models_py3 import TestBaseAccountSKUCapability + from ._models_py3 import TestBaseAccountSKUListResult + from ._models_py3 import TestBaseAccountUpdateParameters + from ._models_py3 import TestBaseAccountUsageData + from ._models_py3 import TestBaseAccountUsageDataList + from ._models_py3 import TestBaseAccountUsageName + from ._models_py3 import TestResultAnalysisSummary + from ._models_py3 import TestResultListResult + from ._models_py3 import TestResultResource + from ._models_py3 import TestSummaryListResult + from ._models_py3 import TestSummaryResource + from ._models_py3 import TestTypeListResult + from ._models_py3 import TestTypeResource + from ._models_py3 import TrackedResource + from ._models_py3 import UserObjectReceiverValue + from ._models_py3 import UtilizationBound + from ._models_py3 import UtilizationEntry + from ._models_py3 import UtilizationResult +except (SyntaxError, ImportError): + from ._models import AnalysisResultListResult # type: ignore + from ._models import AnalysisResultSingletonResource # type: ignore + from ._models import AnalysisResultSingletonResourceProperties # type: ignore + from ._models import AvailableOSListResult # type: ignore + from ._models import AvailableOSResource # type: ignore + from ._models import CPURegressionResultSingletonResourceProperties # type: ignore + from ._models import CPUUtilizationResultSingletonResourceProperties # type: ignore + from ._models import CheckNameAvailabilityResult # type: ignore + from ._models import Command # type: ignore + from ._models import CustomerEventListResult # type: ignore + from ._models import CustomerEventResource # type: ignore + from ._models import DistributionGroupListReceiverValue # type: ignore + from ._models import DownloadURLResponse # type: ignore + from ._models import EmailEventListResult # type: ignore + from ._models import EmailEventResource # type: ignore + from ._models import ErrorDefinition # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import FavoriteProcessListResult # type: ignore + from ._models import FavoriteProcessResource # type: ignore + from ._models import FileUploadURLResponse # type: ignore + from ._models import FlightingRingListResult # type: ignore + from ._models import FlightingRingResource # type: ignore + from ._models import GetFileUploadURLParameters # type: ignore + from ._models import IdentifiedFailure # type: ignore + from ._models import MemoryRegressionResultSingletonResourceProperties # type: ignore + from ._models import MemoryUtilizationResultSingletonResourceProperties # type: ignore + from ._models import NotificationEventReceiver # type: ignore + from ._models import NotificationReceiverValue # type: ignore + from ._models import OSUpdateListResult # type: ignore + from ._models import OSUpdateResource # type: ignore + from ._models import OSUpdateTestSummary # type: ignore + from ._models import OSUpdatesTestSummary # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import PackageCheckNameAvailabilityParameters # type: ignore + from ._models import PackageListResult # type: ignore + from ._models import PackageResource # type: ignore + from ._models import PackageUpdateParameters # type: ignore + from ._models import PackageValidationResult # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import RegressionResult # type: ignore + from ._models import RegressionTestDetails # type: ignore + from ._models import ReliabilityResult # type: ignore + from ._models import ReliabilityResultSingletonResourceProperties # type: ignore + from ._models import Resource # type: ignore + from ._models import ScriptExecutionResult # type: ignore + from ._models import ScriptExecutionResultSingletonResourceProperties # type: ignore + from ._models import SubscriptionReceiverValue # type: ignore + from ._models import SystemData # type: ignore + from ._models import TargetOSInfo # type: ignore + from ._models import Test # type: ignore + from ._models import TestAnalysisResult # type: ignore + from ._models import TestAnalysisResultSingletonResourceProperties # type: ignore + from ._models import TestBaseAccountListResult # type: ignore + from ._models import TestBaseAccountResource # type: ignore + from ._models import TestBaseAccountSKU # type: ignore + from ._models import TestBaseAccountSKUCapability # type: ignore + from ._models import TestBaseAccountSKUListResult # type: ignore + from ._models import TestBaseAccountUpdateParameters # type: ignore + from ._models import TestBaseAccountUsageData # type: ignore + from ._models import TestBaseAccountUsageDataList # type: ignore + from ._models import TestBaseAccountUsageName # type: ignore + from ._models import TestResultAnalysisSummary # type: ignore + from ._models import TestResultListResult # type: ignore + from ._models import TestResultResource # type: ignore + from ._models import TestSummaryListResult # type: ignore + from ._models import TestSummaryResource # type: ignore + from ._models import TestTypeListResult # type: ignore + from ._models import TestTypeResource # type: ignore + from ._models import TrackedResource # type: ignore + from ._models import UserObjectReceiverValue # type: ignore + from ._models import UtilizationBound # type: ignore + from ._models import UtilizationEntry # type: ignore + from ._models import UtilizationResult # type: ignore + +from ._test_base_enums import ( + Action, + AnalysisResultName, + AnalysisResultType, + AnalysisStatus, + Category, + ContentType, + CreatedByType, + ExecutionStatus, + Grade, + OsUpdateType, + PackageStatus, + ProvisioningState, + Reason, + TestAnalysisStatus, + TestStatus, + TestType, + Tier, + Type, + ValidationRunStatus, +) + +__all__ = [ + 'AnalysisResultListResult', + 'AnalysisResultSingletonResource', + 'AnalysisResultSingletonResourceProperties', + 'AvailableOSListResult', + 'AvailableOSResource', + 'CPURegressionResultSingletonResourceProperties', + 'CPUUtilizationResultSingletonResourceProperties', + 'CheckNameAvailabilityResult', + 'Command', + 'CustomerEventListResult', + 'CustomerEventResource', + 'DistributionGroupListReceiverValue', + 'DownloadURLResponse', + 'EmailEventListResult', + 'EmailEventResource', + 'ErrorDefinition', + 'ErrorResponse', + 'FavoriteProcessListResult', + 'FavoriteProcessResource', + 'FileUploadURLResponse', + 'FlightingRingListResult', + 'FlightingRingResource', + 'GetFileUploadURLParameters', + 'IdentifiedFailure', + 'MemoryRegressionResultSingletonResourceProperties', + 'MemoryUtilizationResultSingletonResourceProperties', + 'NotificationEventReceiver', + 'NotificationReceiverValue', + 'OSUpdateListResult', + 'OSUpdateResource', + 'OSUpdateTestSummary', + 'OSUpdatesTestSummary', + 'Operation', + 'OperationDisplay', + 'OperationListResult', + 'PackageCheckNameAvailabilityParameters', + 'PackageListResult', + 'PackageResource', + 'PackageUpdateParameters', + 'PackageValidationResult', + 'ProxyResource', + 'RegressionResult', + 'RegressionTestDetails', + 'ReliabilityResult', + 'ReliabilityResultSingletonResourceProperties', + 'Resource', + 'ScriptExecutionResult', + 'ScriptExecutionResultSingletonResourceProperties', + 'SubscriptionReceiverValue', + 'SystemData', + 'TargetOSInfo', + 'Test', + 'TestAnalysisResult', + 'TestAnalysisResultSingletonResourceProperties', + 'TestBaseAccountListResult', + 'TestBaseAccountResource', + 'TestBaseAccountSKU', + 'TestBaseAccountSKUCapability', + 'TestBaseAccountSKUListResult', + 'TestBaseAccountUpdateParameters', + 'TestBaseAccountUsageData', + 'TestBaseAccountUsageDataList', + 'TestBaseAccountUsageName', + 'TestResultAnalysisSummary', + 'TestResultListResult', + 'TestResultResource', + 'TestSummaryListResult', + 'TestSummaryResource', + 'TestTypeListResult', + 'TestTypeResource', + 'TrackedResource', + 'UserObjectReceiverValue', + 'UtilizationBound', + 'UtilizationEntry', + 'UtilizationResult', + 'Action', + 'AnalysisResultName', + 'AnalysisResultType', + 'AnalysisStatus', + 'Category', + 'ContentType', + 'CreatedByType', + 'ExecutionStatus', + 'Grade', + 'OsUpdateType', + 'PackageStatus', + 'ProvisioningState', + 'Reason', + 'TestAnalysisStatus', + 'TestStatus', + 'TestType', + 'Tier', + 'Type', + 'ValidationRunStatus', +] diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models.py new file mode 100644 index 000000000000..fc3d3b3d2524 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models.py @@ -0,0 +1,2876 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class AnalysisResultListResult(msrest.serialization.Model): + """A list of Analysis Results. It will only contain one element as all the data will be nested in a singleton object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Analysis Results. + :type value: list[~test_base.models.AnalysisResultSingletonResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnalysisResultSingletonResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalysisResultListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class Resource(msrest.serialization.Model): + """The Resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class ProxyResource(Resource): + """The resource model definition for an ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class AnalysisResultSingletonResource(ProxyResource): + """The Analysis Result Singleton Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Type of the Analysis Result.Constant filled by server. Possible + values include: "ScriptExecution", "Reliability", "CPUUtilization", "MemoryUtilization", + "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'properties.analysisResultType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalysisResultSingletonResource, self).__init__(**kwargs) + self.system_data = None + self.grade = kwargs.get('grade', None) + self.analysis_result_type = None # type: Optional[str] + + +class AnalysisResultSingletonResourceProperties(msrest.serialization.Model): + """The properties of Analysis Result resource. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CPURegressionResultSingletonResourceProperties, CPUUtilizationResultSingletonResourceProperties, MemoryRegressionResultSingletonResourceProperties, MemoryUtilizationResultSingletonResourceProperties, ReliabilityResultSingletonResourceProperties, ScriptExecutionResultSingletonResourceProperties, TestAnalysisResultSingletonResourceProperties. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + } + + _subtype_map = { + 'analysis_result_type': {'CPURegression': 'CPURegressionResultSingletonResourceProperties', 'CPUUtilization': 'CPUUtilizationResultSingletonResourceProperties', 'MemoryRegression': 'MemoryRegressionResultSingletonResourceProperties', 'MemoryUtilization': 'MemoryUtilizationResultSingletonResourceProperties', 'Reliability': 'ReliabilityResultSingletonResourceProperties', 'ScriptExecution': 'ScriptExecutionResultSingletonResourceProperties', 'TestAnalysis': 'TestAnalysisResultSingletonResourceProperties'} + } + + def __init__( + self, + **kwargs + ): + super(AnalysisResultSingletonResourceProperties, self).__init__(**kwargs) + self.grade = kwargs.get('grade', None) + self.analysis_result_type = None # type: Optional[str] + + +class AvailableOSListResult(msrest.serialization.Model): + """A list of available OSs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of available OSs. + :type value: list[~test_base.models.AvailableOSResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableOSResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableOSListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AvailableOSResource(ProxyResource): + """The Available OS resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param os_id: The Id of an Available OS of a Test Base Account. + :type os_id: str + :param os_name: The name of an Available OS of a Test Base Account. + :type os_name: str + :param os_version: The version of an Available OS of a Test Base Account. + :type os_version: str + :param insider_channel: The insider channel of an Available OS of a Test Base Account. + :type insider_channel: str + :param os_update_type: The OS update type of an Available OS of a Test Base Account. + :type os_update_type: str + :param os_platform: The Platform of an Available OS of a Test Base Account. + :type os_platform: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'os_id': {'key': 'properties.osId', 'type': 'str'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'os_version': {'key': 'properties.osVersion', 'type': 'str'}, + 'insider_channel': {'key': 'properties.insiderChannel', 'type': 'str'}, + 'os_update_type': {'key': 'properties.osUpdateType', 'type': 'str'}, + 'os_platform': {'key': 'properties.osPlatform', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableOSResource, self).__init__(**kwargs) + self.system_data = None + self.os_id = kwargs.get('os_id', None) + self.os_name = kwargs.get('os_name', None) + self.os_version = kwargs.get('os_version', None) + self.insider_channel = kwargs.get('insider_channel', None) + self.os_update_type = kwargs.get('os_update_type', None) + self.os_platform = kwargs.get('os_platform', None) + + +class CheckNameAvailabilityResult(msrest.serialization.Model): + """Description of a Check Name availability response properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name_available: Value indicating the availability of the name: true if the name is + available; otherwise, false. + :type name_available: bool + :param reason: The reason for unavailability of a name. Required if nameAvailable == false. + Possible values include: "Invalid", "AlreadyExists". + :type reason: str or ~test_base.models.Reason + :ivar message: The detailed info regarding the reason associated with the name. Required if + nameAvailable == false. + :vartype message: str + """ + + _validation = { + 'message': {'readonly': True}, + } + + _attribute_map = { + 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CheckNameAvailabilityResult, self).__init__(**kwargs) + self.name_available = kwargs.get('name_available', None) + self.reason = kwargs.get('reason', None) + self.message = None + + +class Command(msrest.serialization.Model): + """The command used in the test. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the command. + :type name: str + :param action: Required. The action of the command. Possible values include: "Install", + "Launch", "Close", "Uninstall", "Custom". + :type action: str or ~test_base.models.Action + :param content_type: Required. The type of command content. Possible values include: "Inline", + "File", "Path". + :type content_type: str or ~test_base.models.ContentType + :param content: Required. The content of the command. The content depends on source type. + :type content: str + :param run_elevated: Specifies whether to run the command as administrator. + :type run_elevated: bool + :param restart_after: Specifies whether to restart the VM after the command executed. + :type restart_after: bool + :param max_run_time: Specifies the max run time of the command. + :type max_run_time: int + :param run_as_interactive: Specifies whether to run the command in interactive mode. + :type run_as_interactive: bool + :param always_run: Specifies whether to run the command even if a previous command is failed. + :type always_run: bool + :param apply_update_before: Specifies whether to apply update before the command. + :type apply_update_before: bool + """ + + _validation = { + 'name': {'required': True}, + 'action': {'required': True}, + 'content_type': {'required': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'str'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content': {'key': 'content', 'type': 'str'}, + 'run_elevated': {'key': 'runElevated', 'type': 'bool'}, + 'restart_after': {'key': 'restartAfter', 'type': 'bool'}, + 'max_run_time': {'key': 'maxRunTime', 'type': 'int'}, + 'run_as_interactive': {'key': 'runAsInteractive', 'type': 'bool'}, + 'always_run': {'key': 'alwaysRun', 'type': 'bool'}, + 'apply_update_before': {'key': 'applyUpdateBefore', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Command, self).__init__(**kwargs) + self.name = kwargs['name'] + self.action = kwargs['action'] + self.content_type = kwargs['content_type'] + self.content = kwargs['content'] + self.run_elevated = kwargs.get('run_elevated', None) + self.restart_after = kwargs.get('restart_after', None) + self.max_run_time = kwargs.get('max_run_time', None) + self.run_as_interactive = kwargs.get('run_as_interactive', None) + self.always_run = kwargs.get('always_run', None) + self.apply_update_before = kwargs.get('apply_update_before', None) + + +class CPURegressionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of CPU Regression Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param cpu_regression_results: The result array data. + :type cpu_regression_results: list[~test_base.models.RegressionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'cpu_regression_results': {'key': 'cpuRegressionResults', 'type': '[RegressionResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(CPURegressionResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'CPURegression' # type: str + self.cpu_regression_results = kwargs.get('cpu_regression_results', None) + + +class CPUUtilizationResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of CPU Utilization Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param cpu_utilization_results: The result array data. + :type cpu_utilization_results: list[~test_base.models.UtilizationResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'cpu_utilization_results': {'key': 'cpuUtilizationResults', 'type': '[UtilizationResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(CPUUtilizationResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'CPUUtilization' # type: str + self.cpu_utilization_results = kwargs.get('cpu_utilization_results', None) + + +class CustomerEventListResult(msrest.serialization.Model): + """A list of Test Base Customer Events. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Customer Events. + :type value: list[~test_base.models.CustomerEventResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[CustomerEventResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CustomerEventListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class CustomerEventResource(ProxyResource): + """The Customer Notification Event resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param event_name: The name of the event subscribed to. + :type event_name: str + :param receivers: The notification event receivers. + :type receivers: list[~test_base.models.NotificationEventReceiver] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'event_name': {'key': 'properties.eventName', 'type': 'str'}, + 'receivers': {'key': 'properties.receivers', 'type': '[NotificationEventReceiver]'}, + } + + def __init__( + self, + **kwargs + ): + super(CustomerEventResource, self).__init__(**kwargs) + self.system_data = None + self.event_name = kwargs.get('event_name', None) + self.receivers = kwargs.get('receivers', None) + + +class DistributionGroupListReceiverValue(msrest.serialization.Model): + """The user object receiver value. + + :param distribution_groups: The list of distribution groups. + :type distribution_groups: list[str] + """ + + _attribute_map = { + 'distribution_groups': {'key': 'distributionGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DistributionGroupListReceiverValue, self).__init__(**kwargs) + self.distribution_groups = kwargs.get('distribution_groups', None) + + +class DownloadURLResponse(msrest.serialization.Model): + """The response of getting a download URL. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_url: The download URL. + :vartype download_url: str + :ivar expiration_time: Expiry date of the download URL. + :vartype expiration_time: ~datetime.datetime + """ + + _validation = { + 'download_url': {'readonly': True}, + 'expiration_time': {'readonly': True}, + } + + _attribute_map = { + 'download_url': {'key': 'downloadUrl', 'type': 'str'}, + 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(DownloadURLResponse, self).__init__(**kwargs) + self.download_url = None + self.expiration_time = None + + +class EmailEventListResult(msrest.serialization.Model): + """A list of email events. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of email events. + :type value: list[~test_base.models.EmailEventResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EmailEventResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EmailEventListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class EmailEventResource(ProxyResource): + """The email event resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param event_id: The identifier of the email event. + :type event_id: str + :param event_name: The name of the email event. + :type event_name: str + :param display_name: The display name of the email event. + :type display_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'event_id': {'key': 'properties.eventId', 'type': 'str'}, + 'event_name': {'key': 'properties.eventName', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EmailEventResource, self).__init__(**kwargs) + self.system_data = None + self.event_id = kwargs.get('event_id', None) + self.event_name = kwargs.get('event_name', None) + self.display_name = kwargs.get('display_name', None) + + +class ErrorDefinition(msrest.serialization.Model): + """Error definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The target of the particular error. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~test_base.models.ErrorDefinition] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorDefinition]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorDefinition, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + + +class ErrorResponse(msrest.serialization.Model): + """The error response send when an operation fails. + + :param error: The error details. + :type error: ~test_base.models.ErrorDefinition + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDefinition'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class FavoriteProcessListResult(msrest.serialization.Model): + """A list of favorite processes for a package. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of favorite processes for a package. + :type value: list[~test_base.models.FavoriteProcessResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FavoriteProcessResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FavoriteProcessListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class FavoriteProcessResource(ProxyResource): + """A favorite process identifier. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_process_name: The actual name of the favorite process. It will be equal to + resource name except for the scenario that the process name contains characters that are not + allowed in the resource name. + :type actual_process_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_process_name': {'key': 'properties.actualProcessName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FavoriteProcessResource, self).__init__(**kwargs) + self.system_data = None + self.actual_process_name = kwargs.get('actual_process_name', None) + + +class FileUploadURLResponse(msrest.serialization.Model): + """The URL response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar upload_url: The URL used for uploading the package. + :vartype upload_url: str + :ivar blob_path: The blob path of the uploaded package. It will be used as the 'blobPath' + property of PackageResource. + :vartype blob_path: str + """ + + _validation = { + 'upload_url': {'readonly': True}, + 'blob_path': {'readonly': True}, + } + + _attribute_map = { + 'upload_url': {'key': 'uploadUrl', 'type': 'str'}, + 'blob_path': {'key': 'blobPath', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileUploadURLResponse, self).__init__(**kwargs) + self.upload_url = None + self.blob_path = None + + +class FlightingRingListResult(msrest.serialization.Model): + """A list of flighting rings. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of flighting rings. + :type value: list[~test_base.models.FlightingRingResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FlightingRingResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FlightingRingListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class FlightingRingResource(ProxyResource): + """The flighting ring resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_flighting_ring_name: The actual name of a flighting ring of a Test Base Account. + :type actual_flighting_ring_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_flighting_ring_name': {'key': 'properties.actualFlightingRingName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FlightingRingResource, self).__init__(**kwargs) + self.system_data = None + self.actual_flighting_ring_name = kwargs.get('actual_flighting_ring_name', None) + + +class GetFileUploadURLParameters(msrest.serialization.Model): + """The parameters supplied to the Test Base Account GetFileUploadURL action. + + :param blob_name: The custom file name of the uploaded blob. + :type blob_name: str + """ + + _attribute_map = { + 'blob_name': {'key': 'blobName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GetFileUploadURLParameters, self).__init__(**kwargs) + self.blob_name = kwargs.get('blob_name', None) + + +class IdentifiedFailure(msrest.serialization.Model): + """The failure identified. + + :param failure_id: The Failure Id. + :type failure_id: str + :param category: The category of the failure. Possible values include: "None", "Unidentified", + "Package", "OSUpdate", "Infrastructure". + :type category: str or ~test_base.models.Category + :param error_message: Message that shows information about the failure. + :type error_message: str + :param guidance: Guidance that shows what the customer needs to do for this failure. + :type guidance: str + """ + + _attribute_map = { + 'failure_id': {'key': 'failureId', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'guidance': {'key': 'guidance', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IdentifiedFailure, self).__init__(**kwargs) + self.failure_id = kwargs.get('failure_id', None) + self.category = kwargs.get('category', None) + self.error_message = kwargs.get('error_message', None) + self.guidance = kwargs.get('guidance', None) + + +class MemoryRegressionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Memory Regression Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param memory_regression_results: The result array data. + :type memory_regression_results: list[~test_base.models.RegressionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'memory_regression_results': {'key': 'memoryRegressionResults', 'type': '[RegressionResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(MemoryRegressionResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'MemoryRegression' # type: str + self.memory_regression_results = kwargs.get('memory_regression_results', None) + + +class MemoryUtilizationResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Memory Utilization Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param memory_utilization_results: The result array data. + :type memory_utilization_results: list[~test_base.models.UtilizationResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'memory_utilization_results': {'key': 'memoryUtilizationResults', 'type': '[UtilizationResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(MemoryUtilizationResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'MemoryUtilization' # type: str + self.memory_utilization_results = kwargs.get('memory_utilization_results', None) + + +class NotificationEventReceiver(msrest.serialization.Model): + """A notification event receivers. + + :param receiver_type: The type of the notification event receiver. + :type receiver_type: str + :param receiver_value: The notification event receiver value. + :type receiver_value: ~test_base.models.NotificationReceiverValue + """ + + _attribute_map = { + 'receiver_type': {'key': 'receiverType', 'type': 'str'}, + 'receiver_value': {'key': 'receiverValue', 'type': 'NotificationReceiverValue'}, + } + + def __init__( + self, + **kwargs + ): + super(NotificationEventReceiver, self).__init__(**kwargs) + self.receiver_type = kwargs.get('receiver_type', None) + self.receiver_value = kwargs.get('receiver_value', None) + + +class NotificationReceiverValue(msrest.serialization.Model): + """A notification event receiver value. + + :param user_object_receiver_value: The user object receiver value. + :type user_object_receiver_value: ~test_base.models.UserObjectReceiverValue + :param subscription_receiver_value: The user object receiver value. + :type subscription_receiver_value: ~test_base.models.SubscriptionReceiverValue + :param distribution_group_list_receiver_value: The user object receiver value. + :type distribution_group_list_receiver_value: + ~test_base.models.DistributionGroupListReceiverValue + """ + + _attribute_map = { + 'user_object_receiver_value': {'key': 'userObjectReceiverValue', 'type': 'UserObjectReceiverValue'}, + 'subscription_receiver_value': {'key': 'subscriptionReceiverValue', 'type': 'SubscriptionReceiverValue'}, + 'distribution_group_list_receiver_value': {'key': 'distributionGroupListReceiverValue', 'type': 'DistributionGroupListReceiverValue'}, + } + + def __init__( + self, + **kwargs + ): + super(NotificationReceiverValue, self).__init__(**kwargs) + self.user_object_receiver_value = kwargs.get('user_object_receiver_value', None) + self.subscription_receiver_value = kwargs.get('subscription_receiver_value', None) + self.distribution_group_list_receiver_value = kwargs.get('distribution_group_list_receiver_value', None) + + +class Operation(msrest.serialization.Model): + """REST API operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Operation name: {provider}/{resource}/{operation}. + :vartype name: str + :ivar is_data_action: Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar origin: Origin of the operation. + :vartype origin: str + :param display: The object that describes the operation. + :type display: ~test_base.models.OperationDisplay + :param properties: Extra properties of the operation. + :type properties: any + """ + + _validation = { + 'name': {'readonly': True}, + 'is_data_action': {'readonly': True}, + 'origin': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'properties': {'key': 'properties', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = None + self.is_data_action = None + self.origin = None + self.display = kwargs.get('display', None) + self.properties = kwargs.get('properties', None) + + +class OperationDisplay(msrest.serialization.Model): + """The object that describes the operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provider: The resource provider name: Microsoft.TestBase. + :vartype provider: str + :ivar operation: Operation type: read, write, delete, listPackages, etc. + :vartype operation: str + :ivar resource: Resource type on which the operation is performed. + :vartype resource: str + :ivar description: Friendly name of the operation. + :vartype description: str + """ + + _validation = { + 'provider': {'readonly': True}, + 'operation': {'readonly': True}, + 'resource': {'readonly': True}, + 'description': {'readonly': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = None + self.operation = None + self.resource = None + self.description = None + + +class OperationListResult(msrest.serialization.Model): + """A list of operations supported by the resource provider. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: List of operations supported by the Test Base resource provider. + :type value: list[~test_base.models.Operation] + :ivar next_link: URL to get the next set of operation list results if there are any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class OSUpdateListResult(msrest.serialization.Model): + """A list of OS Updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of OS Updates. + :type value: list[~test_base.models.OSUpdateResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OSUpdateResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OSUpdateListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class OSUpdateResource(ProxyResource): + """An OS Update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param os_name: The name of the OS. + :type os_name: str + :param release: The name of tested release. + :type release: str + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param type_properties_type: The type of this release (OS update). Possible values include: + "SecurityUpdate", "FeatureUpdate". + :type type_properties_type: str or ~test_base.models.Type + :param release_version_date: The release version date the tested release (OS update). + :type release_version_date: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'release': {'key': 'properties.release', 'type': 'str'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'build_version': {'key': 'properties.buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'properties.buildRevision', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'release_version_date': {'key': 'properties.releaseVersionDate', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(OSUpdateResource, self).__init__(**kwargs) + self.system_data = None + self.os_name = kwargs.get('os_name', None) + self.release = kwargs.get('release', None) + self.flighting_ring = kwargs.get('flighting_ring', None) + self.build_version = kwargs.get('build_version', None) + self.build_revision = kwargs.get('build_revision', None) + self.type_properties_type = kwargs.get('type_properties_type', None) + self.release_version_date = kwargs.get('release_version_date', None) + + +class OSUpdatesTestSummary(msrest.serialization.Model): + """The summary of some tests. + + :param execution_status: The status of the last test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of last test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of last test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the last test. + :type test_run_time: str + :param os_update_test_summaries: Detailed summary for each OS update. + :type os_update_test_summaries: list[~test_base.models.OSUpdateTestSummary] + """ + + _attribute_map = { + 'execution_status': {'key': 'executionStatus', 'type': 'str'}, + 'test_status': {'key': 'testStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'test_run_time': {'key': 'testRunTime', 'type': 'str'}, + 'os_update_test_summaries': {'key': 'osUpdateTestSummaries', 'type': '[OSUpdateTestSummary]'}, + } + + def __init__( + self, + **kwargs + ): + super(OSUpdatesTestSummary, self).__init__(**kwargs) + self.execution_status = kwargs.get('execution_status', None) + self.test_status = kwargs.get('test_status', None) + self.grade = kwargs.get('grade', None) + self.test_run_time = kwargs.get('test_run_time', None) + self.os_update_test_summaries = kwargs.get('os_update_test_summaries', None) + + +class OSUpdateTestSummary(msrest.serialization.Model): + """The summary of a test. + + :param os_name: The operating system name. e.g. Windows 10 1809. + :type os_name: str + :param release_name: The name of the tested release (OS update). + :type release_name: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param release_version_date: The release version date. + :type release_version_date: ~datetime.datetime + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param execution_status: The execution status of the test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of the test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the test. + :type test_run_time: str + :param test_type: The test type of the package. + :type test_type: str + """ + + _attribute_map = { + 'os_name': {'key': 'osName', 'type': 'str'}, + 'release_name': {'key': 'releaseName', 'type': 'str'}, + 'build_version': {'key': 'buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'buildRevision', 'type': 'str'}, + 'release_version_date': {'key': 'releaseVersionDate', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'flightingRing', 'type': 'str'}, + 'execution_status': {'key': 'executionStatus', 'type': 'str'}, + 'test_status': {'key': 'testStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'test_run_time': {'key': 'testRunTime', 'type': 'str'}, + 'test_type': {'key': 'testType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OSUpdateTestSummary, self).__init__(**kwargs) + self.os_name = kwargs.get('os_name', None) + self.release_name = kwargs.get('release_name', None) + self.build_version = kwargs.get('build_version', None) + self.build_revision = kwargs.get('build_revision', None) + self.release_version_date = kwargs.get('release_version_date', None) + self.flighting_ring = kwargs.get('flighting_ring', None) + self.execution_status = kwargs.get('execution_status', None) + self.test_status = kwargs.get('test_status', None) + self.grade = kwargs.get('grade', None) + self.test_run_time = kwargs.get('test_run_time', None) + self.test_type = kwargs.get('test_type', None) + + +class PackageCheckNameAvailabilityParameters(msrest.serialization.Model): + """Parameters body to pass for Test Base Package name availability check. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Resource name to verify. + :type name: str + :param application_name: Required. Application name to verify. + :type application_name: str + :param version: Required. Version name to verify. + :type version: str + :param type: Required. fully qualified resource type which includes provider namespace. + :type type: str + """ + + _validation = { + 'name': {'required': True}, + 'application_name': {'required': True}, + 'version': {'required': True}, + 'type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'application_name': {'key': 'applicationName', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageCheckNameAvailabilityParameters, self).__init__(**kwargs) + self.name = kwargs['name'] + self.application_name = kwargs['application_name'] + self.version = kwargs['version'] + self.type = kwargs['type'] + + +class PackageListResult(msrest.serialization.Model): + """A list of Test Base Packages. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Packages. + :type value: list[~test_base.models.PackageResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PackageResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TrackedResource(Resource): + """The resource model definition for an ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] + self.etag = None + + +class PackageResource(TrackedResource): + """The Test Base Package resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Failed", "Cancelled", "Creating", "Deleting", "Updating". + :vartype provisioning_state: str or ~test_base.models.ProvisioningState + :param application_name: Application name. + :type application_name: str + :param version: Application version. + :type version: str + :ivar test_types: OOB, functional or both. Mapped to the data in 'tests' property. + :vartype test_types: list[str or ~test_base.models.TestType] + :param target_os_list: Specifies the target OSs of specific OS Update types. + :type target_os_list: list[~test_base.models.TargetOSInfo] + :ivar package_status: The status of the package. Possible values include: "Unknown", + "Registered", "Ready", "Error", "ValidatingPackage", "PreValidationCheckPass", "Deleted", + "ValidationLongerThanUsual", "VerifyingPackage". + :vartype package_status: str or ~test_base.models.PackageStatus + :ivar last_modified_time: The UTC timestamp when the package was last modified. + :vartype last_modified_time: ~datetime.datetime + :param flighting_ring: The flighting ring for feature update. + :type flighting_ring: str + :ivar is_enabled: Flag showing that whether the package is enabled. It doesn't schedule test + for package which is not enabled. + :vartype is_enabled: bool + :param blob_path: The file path of the package. + :type blob_path: str + :ivar validation_results: The validation results. There's validation on package when it's + created or updated. + :vartype validation_results: list[~test_base.models.PackageValidationResult] + :param tests: The detailed test information. + :type tests: list[~test_base.models.Test] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'test_types': {'readonly': True}, + 'package_status': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'is_enabled': {'readonly': True}, + 'validation_results': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'test_types': {'key': 'properties.testTypes', 'type': '[str]'}, + 'target_os_list': {'key': 'properties.targetOSList', 'type': '[TargetOSInfo]'}, + 'package_status': {'key': 'properties.packageStatus', 'type': 'str'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'is_enabled': {'key': 'properties.isEnabled', 'type': 'bool'}, + 'blob_path': {'key': 'properties.blobPath', 'type': 'str'}, + 'validation_results': {'key': 'properties.validationResults', 'type': '[PackageValidationResult]'}, + 'tests': {'key': 'properties.tests', 'type': '[Test]'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageResource, self).__init__(**kwargs) + self.system_data = None + self.provisioning_state = None + self.application_name = kwargs.get('application_name', None) + self.version = kwargs.get('version', None) + self.test_types = None + self.target_os_list = kwargs.get('target_os_list', None) + self.package_status = None + self.last_modified_time = None + self.flighting_ring = kwargs.get('flighting_ring', None) + self.is_enabled = None + self.blob_path = kwargs.get('blob_path', None) + self.validation_results = None + self.tests = kwargs.get('tests', None) + + +class PackageUpdateParameters(msrest.serialization.Model): + """Parameters supplied to update a Test Base Package. + + :param tags: A set of tags. The tags of the Package. + :type tags: dict[str, str] + :param target_os_list: Specifies the target OSs of specific OS Update types. + :type target_os_list: list[~test_base.models.TargetOSInfo] + :param flighting_ring: The flighting ring for feature update. + :type flighting_ring: str + :param is_enabled: Specifies whether the package is enabled. It doesn't schedule test for + package which is not enabled. + :type is_enabled: bool + :param blob_path: The file name of the package. + :type blob_path: str + :param tests: The detailed test information. + :type tests: list[~test_base.models.Test] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'target_os_list': {'key': 'properties.targetOSList', 'type': '[TargetOSInfo]'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'is_enabled': {'key': 'properties.isEnabled', 'type': 'bool'}, + 'blob_path': {'key': 'properties.blobPath', 'type': 'str'}, + 'tests': {'key': 'properties.tests', 'type': '[Test]'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageUpdateParameters, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.target_os_list = kwargs.get('target_os_list', None) + self.flighting_ring = kwargs.get('flighting_ring', None) + self.is_enabled = kwargs.get('is_enabled', None) + self.blob_path = kwargs.get('blob_path', None) + self.tests = kwargs.get('tests', None) + + +class PackageValidationResult(msrest.serialization.Model): + """The validation results. There's validation on package when it's created or updated. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar validation_name: Validation name. + :vartype validation_name: str + :ivar is_valid: Indicates whether the package passed the validation. + :vartype is_valid: bool + :ivar errors: Error information. + :vartype errors: list[str] + """ + + _validation = { + 'validation_name': {'readonly': True}, + 'is_valid': {'readonly': True}, + 'errors': {'readonly': True}, + } + + _attribute_map = { + 'validation_name': {'key': 'validationName', 'type': 'str'}, + 'is_valid': {'key': 'isValid', 'type': 'bool'}, + 'errors': {'key': 'errors', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageValidationResult, self).__init__(**kwargs) + self.validation_name = None + self.is_valid = None + self.errors = None + + +class RegressionResult(msrest.serialization.Model): + """The regression result. + + :param file_name: FileName of the binary being analyzed. + :type file_name: str + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param details: Message that facilitates debugging a particular regression, if any was + inferred. + :type details: str + :param diff: Difference between the two datasets being analyzed. + :type diff: float + :param is_regressed: Indicates if a regression was inferred. + :type is_regressed: bool + """ + + _attribute_map = { + 'file_name': {'key': 'fileName', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'details': {'key': 'details', 'type': 'str'}, + 'diff': {'key': 'diff', 'type': 'float'}, + 'is_regressed': {'key': 'isRegressed', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(RegressionResult, self).__init__(**kwargs) + self.file_name = kwargs.get('file_name', None) + self.grade = kwargs.get('grade', None) + self.details = kwargs.get('details', None) + self.diff = kwargs.get('diff', None) + self.is_regressed = kwargs.get('is_regressed', None) + + +class RegressionTestDetails(msrest.serialization.Model): + """The details of a regression test. + + :param diff: Difference between the two datasets being analyzed. + :type diff: float + :param is_regressed: Indicates if a regression was inferred. + :type is_regressed: bool + """ + + _attribute_map = { + 'diff': {'key': 'diff', 'type': 'float'}, + 'is_regressed': {'key': 'isRegressed', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(RegressionTestDetails, self).__init__(**kwargs) + self.diff = kwargs.get('diff', None) + self.is_regressed = kwargs.get('is_regressed', None) + + +class ReliabilityResult(msrest.serialization.Model): + """The Reliability Result. + + :param file_name: File name. + :type file_name: str + :param launch_count: Count of number of launches. + :type launch_count: int + :param crash_count: Count of number of crashes. + :type crash_count: int + :param hang_count: Count of number of hangs. + :type hang_count: int + :param regression_grade: The regression grade. Possible values include: "None", "NotAvailable", + "Pass", "Fail". + :type regression_grade: str or ~test_base.models.Grade + :param crash_regression_grade: The statistic regression grade for crash signal. Possible values + include: "None", "NotAvailable", "Pass", "Fail". + :type crash_regression_grade: str or ~test_base.models.Grade + :param crash_regression_test_details: Details related to the crash regression analysis. + :type crash_regression_test_details: ~test_base.models.RegressionTestDetails + :param hang_regression_grade: The statistic regression grade for hang signal. Possible values + include: "None", "NotAvailable", "Pass", "Fail". + :type hang_regression_grade: str or ~test_base.models.Grade + :param hang_regression_test_details: Details related to the hang regression analysis. + :type hang_regression_test_details: ~test_base.models.RegressionTestDetails + """ + + _attribute_map = { + 'file_name': {'key': 'fileName', 'type': 'str'}, + 'launch_count': {'key': 'launchCount', 'type': 'int'}, + 'crash_count': {'key': 'crashCount', 'type': 'int'}, + 'hang_count': {'key': 'hangCount', 'type': 'int'}, + 'regression_grade': {'key': 'regressionGrade', 'type': 'str'}, + 'crash_regression_grade': {'key': 'crashRegressionGrade', 'type': 'str'}, + 'crash_regression_test_details': {'key': 'crashRegressionTestDetails', 'type': 'RegressionTestDetails'}, + 'hang_regression_grade': {'key': 'hangRegressionGrade', 'type': 'str'}, + 'hang_regression_test_details': {'key': 'hangRegressionTestDetails', 'type': 'RegressionTestDetails'}, + } + + def __init__( + self, + **kwargs + ): + super(ReliabilityResult, self).__init__(**kwargs) + self.file_name = kwargs.get('file_name', None) + self.launch_count = kwargs.get('launch_count', None) + self.crash_count = kwargs.get('crash_count', None) + self.hang_count = kwargs.get('hang_count', None) + self.regression_grade = kwargs.get('regression_grade', None) + self.crash_regression_grade = kwargs.get('crash_regression_grade', None) + self.crash_regression_test_details = kwargs.get('crash_regression_test_details', None) + self.hang_regression_grade = kwargs.get('hang_regression_grade', None) + self.hang_regression_test_details = kwargs.get('hang_regression_test_details', None) + + +class ReliabilityResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Reliability Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param reliability_results: The result array data. + :type reliability_results: list[~test_base.models.ReliabilityResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'reliability_results': {'key': 'reliabilityResults', 'type': '[ReliabilityResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(ReliabilityResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'Reliability' # type: str + self.reliability_results = kwargs.get('reliability_results', None) + + +class ScriptExecutionResult(msrest.serialization.Model): + """The Script Execution Result. + + :param script_name: Name of script. + :type script_name: str + :param start_time: Start time of script execution. + :type start_time: ~datetime.datetime + :param end_time: End time of script execution. + :type end_time: ~datetime.datetime + :param exit_code: Exit code. + :type exit_code: int + :param timed_out: Whether the script execution is timed out. + :type timed_out: bool + """ + + _attribute_map = { + 'script_name': {'key': 'scriptName', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'exit_code': {'key': 'exitCode', 'type': 'int'}, + 'timed_out': {'key': 'timedOut', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptExecutionResult, self).__init__(**kwargs) + self.script_name = kwargs.get('script_name', None) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.exit_code = kwargs.get('exit_code', None) + self.timed_out = kwargs.get('timed_out', None) + + +class ScriptExecutionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Script Execution Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param script_execution_results: The result array data. + :type script_execution_results: list[~test_base.models.ScriptExecutionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'script_execution_results': {'key': 'scriptExecutionResults', 'type': '[ScriptExecutionResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(ScriptExecutionResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'ScriptExecution' # type: str + self.script_execution_results = kwargs.get('script_execution_results', None) + + +class SubscriptionReceiverValue(msrest.serialization.Model): + """The subscription role receiver value. + + :param subscription_id: The subscription id of the notification receiver. + :type subscription_id: str + :param subscription_name: The subscription name of the notification receiver. + :type subscription_name: str + :param role: The role of the notification receiver. + :type role: str + """ + + _attribute_map = { + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'subscription_name': {'key': 'subscriptionName', 'type': 'str'}, + 'role': {'key': 'role', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubscriptionReceiverValue, self).__init__(**kwargs) + self.subscription_id = kwargs.get('subscription_id', None) + self.subscription_name = kwargs.get('subscription_name', None) + self.role = kwargs.get('role', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~test_base.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~test_base.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TargetOSInfo(msrest.serialization.Model): + """The information of the target OS to be tested. + + All required parameters must be populated in order to send to Azure. + + :param os_update_type: Required. Specifies the OS update type to test against, e.g., 'Security + updates' or 'Feature updates'. + :type os_update_type: str + :param target_o_ss: Required. Specifies the target OSs to be tested. + :type target_o_ss: list[str] + """ + + _validation = { + 'os_update_type': {'required': True}, + 'target_o_ss': {'required': True}, + } + + _attribute_map = { + 'os_update_type': {'key': 'osUpdateType', 'type': 'str'}, + 'target_o_ss': {'key': 'targetOSs', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(TargetOSInfo, self).__init__(**kwargs) + self.os_update_type = kwargs['os_update_type'] + self.target_o_ss = kwargs['target_o_ss'] + + +class Test(msrest.serialization.Model): + """The definition of a Test. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param test_type: Required. The type of the test. Possible values include: "OutOfBoxTest", + "FunctionalTest". + :type test_type: str or ~test_base.models.TestType + :ivar validation_run_status: The status of the validation run of the package. Possible values + include: "Unknown", "Pending", "Passed", "Failed". + :vartype validation_run_status: str or ~test_base.models.ValidationRunStatus + :param is_active: Indicates if this test is active.It doesn't schedule test for not active + Test. + :type is_active: bool + :param commands: Required. The commands used in the test. + :type commands: list[~test_base.models.Command] + """ + + _validation = { + 'test_type': {'required': True}, + 'validation_run_status': {'readonly': True}, + 'commands': {'required': True}, + } + + _attribute_map = { + 'test_type': {'key': 'testType', 'type': 'str'}, + 'validation_run_status': {'key': 'validationRunStatus', 'type': 'str'}, + 'is_active': {'key': 'isActive', 'type': 'bool'}, + 'commands': {'key': 'commands', 'type': '[Command]'}, + } + + def __init__( + self, + **kwargs + ): + super(Test, self).__init__(**kwargs) + self.test_type = kwargs['test_type'] + self.validation_run_status = None + self.is_active = kwargs.get('is_active', None) + self.commands = kwargs['commands'] + + +class TestAnalysisResult(msrest.serialization.Model): + """The test analysis result. + + :param blob_data: The data to provide more failure analysis information. + :type blob_data: str + :param test_analysis_status: The status of the analysis. Possible values include: "None", + "Analyzing", "Completed", "Failed". + :type test_analysis_status: str or ~test_base.models.TestAnalysisStatus + :param identified_failures: The array of identified failures. + :type identified_failures: list[~test_base.models.IdentifiedFailure] + """ + + _attribute_map = { + 'blob_data': {'key': 'blobData', 'type': 'str'}, + 'test_analysis_status': {'key': 'testAnalysisStatus', 'type': 'str'}, + 'identified_failures': {'key': 'identifiedFailures', 'type': '[IdentifiedFailure]'}, + } + + def __init__( + self, + **kwargs + ): + super(TestAnalysisResult, self).__init__(**kwargs) + self.blob_data = kwargs.get('blob_data', None) + self.test_analysis_status = kwargs.get('test_analysis_status', None) + self.identified_failures = kwargs.get('identified_failures', None) + + +class TestAnalysisResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Test Analysis Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param test_analysis_result: The result of test analysis. + :type test_analysis_result: ~test_base.models.TestAnalysisResult + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'test_analysis_result': {'key': 'testAnalysisResult', 'type': 'TestAnalysisResult'}, + } + + def __init__( + self, + **kwargs + ): + super(TestAnalysisResultSingletonResourceProperties, self).__init__(**kwargs) + self.analysis_result_type = 'TestAnalysis' # type: str + self.test_analysis_result = kwargs.get('test_analysis_result', None) + + +class TestBaseAccountListResult(msrest.serialization.Model): + """A list of Test Base Accounts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Accounts. + :type value: list[~test_base.models.TestBaseAccountResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestBaseAccountResource(TrackedResource): + """The Test Base Account resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Failed", "Cancelled", "Creating", "Deleting", "Updating". + :vartype provisioning_state: str or ~test_base.models.ProvisioningState + :param sku: The SKU of the Test Base Account. + :type sku: ~test_base.models.TestBaseAccountSKU + :ivar access_level: The access level of the Test Base Account. + :vartype access_level: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'access_level': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'sku': {'key': 'properties.sku', 'type': 'TestBaseAccountSKU'}, + 'access_level': {'key': 'properties.accessLevel', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountResource, self).__init__(**kwargs) + self.system_data = None + self.provisioning_state = None + self.sku = kwargs.get('sku', None) + self.access_level = None + + +class TestBaseAccountSKU(msrest.serialization.Model): + """Describes a Test Base Account SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param resource_type: The type of resource the SKU applies to. + :type resource_type: str + :param name: Required. The name of the SKU. This is typically a letter + number code, such as + B0 or S0. + :type name: str + :param tier: Required. The tier of this particular SKU. Possible values include: "Standard". + :type tier: str or ~test_base.models.Tier + :ivar capabilities: The capabilities of a SKU. + :vartype capabilities: list[~test_base.models.TestBaseAccountSKUCapability] + :param locations: The locations that the SKU is available. + :type locations: list[str] + """ + + _validation = { + 'name': {'required': True}, + 'tier': {'required': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capabilities': {'key': 'capabilities', 'type': '[TestBaseAccountSKUCapability]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountSKU, self).__init__(**kwargs) + self.resource_type = kwargs.get('resource_type', None) + self.name = kwargs['name'] + self.tier = kwargs['tier'] + self.capabilities = None + self.locations = kwargs.get('locations', None) + + +class TestBaseAccountSKUCapability(msrest.serialization.Model): + """Properties of the Test Base Account SKU Capability. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. An invariant to describe the feature, such as 'SLA'. + :type name: str + :param value: Required. An invariant if the feature is measured by quantity, such as 99.9%. + :type value: str + """ + + _validation = { + 'name': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountSKUCapability, self).__init__(**kwargs) + self.name = kwargs['name'] + self.value = kwargs['value'] + + +class TestBaseAccountSKUListResult(msrest.serialization.Model): + """A list of Test Base Account SKUs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Account SKUs. + :type value: list[~test_base.models.TestBaseAccountSKU] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountSKU]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountSKUListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestBaseAccountUpdateParameters(msrest.serialization.Model): + """Parameters supplied to update a Test Base Account. + + :param tags: A set of tags. The tags of the Test Base Account. + :type tags: dict[str, str] + :param sku: The SKU of the Test Base Account. + :type sku: ~test_base.models.TestBaseAccountSKU + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'properties.sku', 'type': 'TestBaseAccountSKU'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountUpdateParameters, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + + +class TestBaseAccountUsageData(msrest.serialization.Model): + """The usage data of a Test Base Account. + + :param id: Fully qualified ARM resource id. + :type id: str + :param name: Localizable String object containing the name and a localized value. + :type name: ~test_base.models.TestBaseAccountUsageName + :param unit: Representing the units of the usage quota. Possible values are: Count, Bytes, + Seconds, Percent, CountPerSecond, BytesPerSecond. + :type unit: str + :param limit: The maximum permitted value for the usage quota. If there is no limit, this value + will be -1. + :type limit: long + :param current_value: Current value for the usage quota. + :type current_value: long + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'TestBaseAccountUsageName'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'current_value': {'key': 'currentValue', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountUsageData, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = kwargs.get('name', None) + self.unit = kwargs.get('unit', None) + self.limit = kwargs.get('limit', None) + self.current_value = kwargs.get('current_value', None) + + +class TestBaseAccountUsageDataList(msrest.serialization.Model): + """A list of Test Base Account usage data. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Account usage data. + :type value: list[~test_base.models.TestBaseAccountUsageData] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountUsageData]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountUsageDataList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestBaseAccountUsageName(msrest.serialization.Model): + """Localizable String object containing the name and a localized value. + + :param value: The identifier of the usage. + :type value: str + :param localized_value: Localized name of the usage. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestBaseAccountUsageName, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.localized_value = kwargs.get('localized_value', None) + + +class TestResultAnalysisSummary(msrest.serialization.Model): + """The summary of a Test Analysis Result. + + :param name: Metric name. + :type name: str + :param analysis_status: The analysis status. Possible values include: "None", "Completed", + "InProgress", "Failed", "Succeeded", "Available", "NotAvailable". + :type analysis_status: str or ~test_base.models.AnalysisStatus + :param grade: The grade of the test result. Possible values include: "None", "NotAvailable", + "Pass", "Fail". + :type grade: str or ~test_base.models.Grade + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'analysis_status': {'key': 'analysisStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestResultAnalysisSummary, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.analysis_status = kwargs.get('analysis_status', None) + self.grade = kwargs.get('grade', None) + + +class TestResultListResult(msrest.serialization.Model): + """A list of Test Results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Results. + :type value: list[~test_base.models.TestResultResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestResultResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestResultListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestResultResource(ProxyResource): + """The Test Result Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param baseline_test_result_id: Azure Id of the baseline test result. + :type baseline_test_result_id: str + :param package_id: Resource Id of the package. + :type package_id: str + :param application_name: Application name. + :type application_name: str + :param application_version: Application version. + :type application_version: str + :param os_name: The operating system name, e.g. Windows 10 1809. + :type os_name: str + :param release_name: The name of the tested release (OS update). + :type release_name: str + :param release_version_date: The release version date of the tested release. + :type release_version_date: ~datetime.datetime + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param test_type: Test type. E.g. 'Out of box test' or 'Functional test'. + :type test_type: str + :param test_run_time: The run time of the test. + :type test_run_time: str + :param is_download_data_available: Whether download data is available. + :type is_download_data_available: bool + :param is_video_available: Whether video data is available. + :type is_video_available: bool + :param execution_status: The execution status of the test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of the test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param kb_number: KB number. + :type kb_number: str + :param package_version: The version of the Windows update package. + :type package_version: str + :param analysis_summaries: List of analysis summaries. + :type analysis_summaries: list[~test_base.models.TestResultAnalysisSummary] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'baseline_test_result_id': {'key': 'properties.baselineTestResultId', 'type': 'str'}, + 'package_id': {'key': 'properties.packageId', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'application_version': {'key': 'properties.applicationVersion', 'type': 'str'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'release_name': {'key': 'properties.releaseName', 'type': 'str'}, + 'release_version_date': {'key': 'properties.releaseVersionDate', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'build_version': {'key': 'properties.buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'properties.buildRevision', 'type': 'str'}, + 'test_type': {'key': 'properties.testType', 'type': 'str'}, + 'test_run_time': {'key': 'properties.testRunTime', 'type': 'str'}, + 'is_download_data_available': {'key': 'properties.isDownloadDataAvailable', 'type': 'bool'}, + 'is_video_available': {'key': 'properties.isVideoAvailable', 'type': 'bool'}, + 'execution_status': {'key': 'properties.executionStatus', 'type': 'str'}, + 'test_status': {'key': 'properties.testStatus', 'type': 'str'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'kb_number': {'key': 'properties.kbNumber', 'type': 'str'}, + 'package_version': {'key': 'properties.packageVersion', 'type': 'str'}, + 'analysis_summaries': {'key': 'properties.analysisSummaries', 'type': '[TestResultAnalysisSummary]'}, + } + + def __init__( + self, + **kwargs + ): + super(TestResultResource, self).__init__(**kwargs) + self.system_data = None + self.baseline_test_result_id = kwargs.get('baseline_test_result_id', None) + self.package_id = kwargs.get('package_id', None) + self.application_name = kwargs.get('application_name', None) + self.application_version = kwargs.get('application_version', None) + self.os_name = kwargs.get('os_name', None) + self.release_name = kwargs.get('release_name', None) + self.release_version_date = kwargs.get('release_version_date', None) + self.flighting_ring = kwargs.get('flighting_ring', None) + self.build_version = kwargs.get('build_version', None) + self.build_revision = kwargs.get('build_revision', None) + self.test_type = kwargs.get('test_type', None) + self.test_run_time = kwargs.get('test_run_time', None) + self.is_download_data_available = kwargs.get('is_download_data_available', None) + self.is_video_available = kwargs.get('is_video_available', None) + self.execution_status = kwargs.get('execution_status', None) + self.test_status = kwargs.get('test_status', None) + self.grade = kwargs.get('grade', None) + self.kb_number = kwargs.get('kb_number', None) + self.package_version = kwargs.get('package_version', None) + self.analysis_summaries = kwargs.get('analysis_summaries', None) + + +class TestSummaryListResult(msrest.serialization.Model): + """A list of Test Summaries. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Summaries. + :type value: list[~test_base.models.TestSummaryResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestSummaryResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestSummaryListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestSummaryResource(ProxyResource): + """Summary of a Test. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param test_summary_id: The Id of the current Test Summary. + :type test_summary_id: str + :param package_id: The Azure resource Id of package. + :type package_id: str + :param application_name: Application name. + :type application_name: str + :param application_version: Application version. + :type application_version: str + :param execution_status: The execution status of last test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of last test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the last test. + :type test_run_time: str + :param feature_updates_test_summary: The result summary of tests triggered by feature updates. + :type feature_updates_test_summary: ~test_base.models.OSUpdatesTestSummary + :param security_updates_test_summary: The result summary of tests triggered by security + updates. + :type security_updates_test_summary: ~test_base.models.OSUpdatesTestSummary + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'test_summary_id': {'key': 'properties.testSummaryId', 'type': 'str'}, + 'package_id': {'key': 'properties.packageId', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'application_version': {'key': 'properties.applicationVersion', 'type': 'str'}, + 'execution_status': {'key': 'properties.executionStatus', 'type': 'str'}, + 'test_status': {'key': 'properties.testStatus', 'type': 'str'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'test_run_time': {'key': 'properties.testRunTime', 'type': 'str'}, + 'feature_updates_test_summary': {'key': 'properties.featureUpdatesTestSummary', 'type': 'OSUpdatesTestSummary'}, + 'security_updates_test_summary': {'key': 'properties.securityUpdatesTestSummary', 'type': 'OSUpdatesTestSummary'}, + } + + def __init__( + self, + **kwargs + ): + super(TestSummaryResource, self).__init__(**kwargs) + self.system_data = None + self.test_summary_id = kwargs.get('test_summary_id', None) + self.package_id = kwargs.get('package_id', None) + self.application_name = kwargs.get('application_name', None) + self.application_version = kwargs.get('application_version', None) + self.execution_status = kwargs.get('execution_status', None) + self.test_status = kwargs.get('test_status', None) + self.grade = kwargs.get('grade', None) + self.test_run_time = kwargs.get('test_run_time', None) + self.feature_updates_test_summary = kwargs.get('feature_updates_test_summary', None) + self.security_updates_test_summary = kwargs.get('security_updates_test_summary', None) + + +class TestTypeListResult(msrest.serialization.Model): + """A list of test types. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of test types. + :type value: list[~test_base.models.TestTypeResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestTypeResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestTypeListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class TestTypeResource(ProxyResource): + """The test type resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_test_type_name: The actual name of a test type of a Test Base Account. + :type actual_test_type_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_test_type_name': {'key': 'properties.actualTestTypeName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TestTypeResource, self).__init__(**kwargs) + self.system_data = None + self.actual_test_type_name = kwargs.get('actual_test_type_name', None) + + +class UserObjectReceiverValue(msrest.serialization.Model): + """The user object receiver value. + + :param user_object_ids: user object ids. + :type user_object_ids: list[str] + """ + + _attribute_map = { + 'user_object_ids': {'key': 'userObjectIds', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(UserObjectReceiverValue, self).__init__(**kwargs) + self.user_object_ids = kwargs.get('user_object_ids', None) + + +class UtilizationBound(msrest.serialization.Model): + """The bound of a utilization result. + + :param percentile: The percentile of the bound. + :type percentile: float + :param value: The value of the bound. + :type value: float + """ + + _attribute_map = { + 'percentile': {'key': 'percentile', 'type': 'float'}, + 'value': {'key': 'value', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(UtilizationBound, self).__init__(**kwargs) + self.percentile = kwargs.get('percentile', None) + self.value = kwargs.get('value', None) + + +class UtilizationEntry(msrest.serialization.Model): + """The utilization entry. + + :param timestamp: The timestamp. + :type timestamp: ~datetime.datetime + :param value: The value. + :type value: float + """ + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(UtilizationEntry, self).__init__(**kwargs) + self.timestamp = kwargs.get('timestamp', None) + self.value = kwargs.get('value', None) + + +class UtilizationResult(msrest.serialization.Model): + """The Utilization Result. + + :param process: Process name, or '_total' for all processes. + :type process: str + :param upper_bound: Upper bound. + :type upper_bound: ~test_base.models.UtilizationBound + :param lower_bound: Lower bound. + :type lower_bound: ~test_base.models.UtilizationBound + :param utilization: Utilization data. + :type utilization: list[~test_base.models.UtilizationEntry] + """ + + _attribute_map = { + 'process': {'key': 'process', 'type': 'str'}, + 'upper_bound': {'key': 'upperBound', 'type': 'UtilizationBound'}, + 'lower_bound': {'key': 'lowerBound', 'type': 'UtilizationBound'}, + 'utilization': {'key': 'utilization', 'type': '[UtilizationEntry]'}, + } + + def __init__( + self, + **kwargs + ): + super(UtilizationResult, self).__init__(**kwargs) + self.process = kwargs.get('process', None) + self.upper_bound = kwargs.get('upper_bound', None) + self.lower_bound = kwargs.get('lower_bound', None) + self.utilization = kwargs.get('utilization', None) diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models_py3.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models_py3.py new file mode 100644 index 000000000000..1275004a21b5 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_models_py3.py @@ -0,0 +1,3161 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Any, Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._test_base_enums import * + + +class AnalysisResultListResult(msrest.serialization.Model): + """A list of Analysis Results. It will only contain one element as all the data will be nested in a singleton object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Analysis Results. + :type value: list[~test_base.models.AnalysisResultSingletonResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AnalysisResultSingletonResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AnalysisResultSingletonResource"]] = None, + **kwargs + ): + super(AnalysisResultListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Resource(msrest.serialization.Model): + """The Resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class ProxyResource(Resource): + """The resource model definition for an ARM proxy resource. It will have everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProxyResource, self).__init__(**kwargs) + + +class AnalysisResultSingletonResource(ProxyResource): + """The Analysis Result Singleton Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Type of the Analysis Result.Constant filled by server. Possible + values include: "ScriptExecution", "Reliability", "CPUUtilization", "MemoryUtilization", + "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'properties.analysisResultType', 'type': 'str'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + **kwargs + ): + super(AnalysisResultSingletonResource, self).__init__(**kwargs) + self.system_data = None + self.grade = grade + self.analysis_result_type = None # type: Optional[str] + + +class AnalysisResultSingletonResourceProperties(msrest.serialization.Model): + """The properties of Analysis Result resource. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: CPURegressionResultSingletonResourceProperties, CPUUtilizationResultSingletonResourceProperties, MemoryRegressionResultSingletonResourceProperties, MemoryUtilizationResultSingletonResourceProperties, ReliabilityResultSingletonResourceProperties, ScriptExecutionResultSingletonResourceProperties, TestAnalysisResultSingletonResourceProperties. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + } + + _subtype_map = { + 'analysis_result_type': {'CPURegression': 'CPURegressionResultSingletonResourceProperties', 'CPUUtilization': 'CPUUtilizationResultSingletonResourceProperties', 'MemoryRegression': 'MemoryRegressionResultSingletonResourceProperties', 'MemoryUtilization': 'MemoryUtilizationResultSingletonResourceProperties', 'Reliability': 'ReliabilityResultSingletonResourceProperties', 'ScriptExecution': 'ScriptExecutionResultSingletonResourceProperties', 'TestAnalysis': 'TestAnalysisResultSingletonResourceProperties'} + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + **kwargs + ): + super(AnalysisResultSingletonResourceProperties, self).__init__(**kwargs) + self.grade = grade + self.analysis_result_type = None # type: Optional[str] + + +class AvailableOSListResult(msrest.serialization.Model): + """A list of available OSs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of available OSs. + :type value: list[~test_base.models.AvailableOSResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableOSResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AvailableOSResource"]] = None, + **kwargs + ): + super(AvailableOSListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AvailableOSResource(ProxyResource): + """The Available OS resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param os_id: The Id of an Available OS of a Test Base Account. + :type os_id: str + :param os_name: The name of an Available OS of a Test Base Account. + :type os_name: str + :param os_version: The version of an Available OS of a Test Base Account. + :type os_version: str + :param insider_channel: The insider channel of an Available OS of a Test Base Account. + :type insider_channel: str + :param os_update_type: The OS update type of an Available OS of a Test Base Account. + :type os_update_type: str + :param os_platform: The Platform of an Available OS of a Test Base Account. + :type os_platform: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'os_id': {'key': 'properties.osId', 'type': 'str'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'os_version': {'key': 'properties.osVersion', 'type': 'str'}, + 'insider_channel': {'key': 'properties.insiderChannel', 'type': 'str'}, + 'os_update_type': {'key': 'properties.osUpdateType', 'type': 'str'}, + 'os_platform': {'key': 'properties.osPlatform', 'type': 'str'}, + } + + def __init__( + self, + *, + os_id: Optional[str] = None, + os_name: Optional[str] = None, + os_version: Optional[str] = None, + insider_channel: Optional[str] = None, + os_update_type: Optional[str] = None, + os_platform: Optional[str] = None, + **kwargs + ): + super(AvailableOSResource, self).__init__(**kwargs) + self.system_data = None + self.os_id = os_id + self.os_name = os_name + self.os_version = os_version + self.insider_channel = insider_channel + self.os_update_type = os_update_type + self.os_platform = os_platform + + +class CheckNameAvailabilityResult(msrest.serialization.Model): + """Description of a Check Name availability response properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name_available: Value indicating the availability of the name: true if the name is + available; otherwise, false. + :type name_available: bool + :param reason: The reason for unavailability of a name. Required if nameAvailable == false. + Possible values include: "Invalid", "AlreadyExists". + :type reason: str or ~test_base.models.Reason + :ivar message: The detailed info regarding the reason associated with the name. Required if + nameAvailable == false. + :vartype message: str + """ + + _validation = { + 'message': {'readonly': True}, + } + + _attribute_map = { + 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + *, + name_available: Optional[bool] = None, + reason: Optional[Union[str, "Reason"]] = None, + **kwargs + ): + super(CheckNameAvailabilityResult, self).__init__(**kwargs) + self.name_available = name_available + self.reason = reason + self.message = None + + +class Command(msrest.serialization.Model): + """The command used in the test. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the command. + :type name: str + :param action: Required. The action of the command. Possible values include: "Install", + "Launch", "Close", "Uninstall", "Custom". + :type action: str or ~test_base.models.Action + :param content_type: Required. The type of command content. Possible values include: "Inline", + "File", "Path". + :type content_type: str or ~test_base.models.ContentType + :param content: Required. The content of the command. The content depends on source type. + :type content: str + :param run_elevated: Specifies whether to run the command as administrator. + :type run_elevated: bool + :param restart_after: Specifies whether to restart the VM after the command executed. + :type restart_after: bool + :param max_run_time: Specifies the max run time of the command. + :type max_run_time: int + :param run_as_interactive: Specifies whether to run the command in interactive mode. + :type run_as_interactive: bool + :param always_run: Specifies whether to run the command even if a previous command is failed. + :type always_run: bool + :param apply_update_before: Specifies whether to apply update before the command. + :type apply_update_before: bool + """ + + _validation = { + 'name': {'required': True}, + 'action': {'required': True}, + 'content_type': {'required': True}, + 'content': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'str'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, + 'content': {'key': 'content', 'type': 'str'}, + 'run_elevated': {'key': 'runElevated', 'type': 'bool'}, + 'restart_after': {'key': 'restartAfter', 'type': 'bool'}, + 'max_run_time': {'key': 'maxRunTime', 'type': 'int'}, + 'run_as_interactive': {'key': 'runAsInteractive', 'type': 'bool'}, + 'always_run': {'key': 'alwaysRun', 'type': 'bool'}, + 'apply_update_before': {'key': 'applyUpdateBefore', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: str, + action: Union[str, "Action"], + content_type: Union[str, "ContentType"], + content: str, + run_elevated: Optional[bool] = None, + restart_after: Optional[bool] = None, + max_run_time: Optional[int] = None, + run_as_interactive: Optional[bool] = None, + always_run: Optional[bool] = None, + apply_update_before: Optional[bool] = None, + **kwargs + ): + super(Command, self).__init__(**kwargs) + self.name = name + self.action = action + self.content_type = content_type + self.content = content + self.run_elevated = run_elevated + self.restart_after = restart_after + self.max_run_time = max_run_time + self.run_as_interactive = run_as_interactive + self.always_run = always_run + self.apply_update_before = apply_update_before + + +class CPURegressionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of CPU Regression Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param cpu_regression_results: The result array data. + :type cpu_regression_results: list[~test_base.models.RegressionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'cpu_regression_results': {'key': 'cpuRegressionResults', 'type': '[RegressionResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + cpu_regression_results: Optional[List["RegressionResult"]] = None, + **kwargs + ): + super(CPURegressionResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'CPURegression' # type: str + self.cpu_regression_results = cpu_regression_results + + +class CPUUtilizationResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of CPU Utilization Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param cpu_utilization_results: The result array data. + :type cpu_utilization_results: list[~test_base.models.UtilizationResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'cpu_utilization_results': {'key': 'cpuUtilizationResults', 'type': '[UtilizationResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + cpu_utilization_results: Optional[List["UtilizationResult"]] = None, + **kwargs + ): + super(CPUUtilizationResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'CPUUtilization' # type: str + self.cpu_utilization_results = cpu_utilization_results + + +class CustomerEventListResult(msrest.serialization.Model): + """A list of Test Base Customer Events. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Customer Events. + :type value: list[~test_base.models.CustomerEventResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[CustomerEventResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["CustomerEventResource"]] = None, + **kwargs + ): + super(CustomerEventListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class CustomerEventResource(ProxyResource): + """The Customer Notification Event resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param event_name: The name of the event subscribed to. + :type event_name: str + :param receivers: The notification event receivers. + :type receivers: list[~test_base.models.NotificationEventReceiver] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'event_name': {'key': 'properties.eventName', 'type': 'str'}, + 'receivers': {'key': 'properties.receivers', 'type': '[NotificationEventReceiver]'}, + } + + def __init__( + self, + *, + event_name: Optional[str] = None, + receivers: Optional[List["NotificationEventReceiver"]] = None, + **kwargs + ): + super(CustomerEventResource, self).__init__(**kwargs) + self.system_data = None + self.event_name = event_name + self.receivers = receivers + + +class DistributionGroupListReceiverValue(msrest.serialization.Model): + """The user object receiver value. + + :param distribution_groups: The list of distribution groups. + :type distribution_groups: list[str] + """ + + _attribute_map = { + 'distribution_groups': {'key': 'distributionGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + distribution_groups: Optional[List[str]] = None, + **kwargs + ): + super(DistributionGroupListReceiverValue, self).__init__(**kwargs) + self.distribution_groups = distribution_groups + + +class DownloadURLResponse(msrest.serialization.Model): + """The response of getting a download URL. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar download_url: The download URL. + :vartype download_url: str + :ivar expiration_time: Expiry date of the download URL. + :vartype expiration_time: ~datetime.datetime + """ + + _validation = { + 'download_url': {'readonly': True}, + 'expiration_time': {'readonly': True}, + } + + _attribute_map = { + 'download_url': {'key': 'downloadUrl', 'type': 'str'}, + 'expiration_time': {'key': 'expirationTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(DownloadURLResponse, self).__init__(**kwargs) + self.download_url = None + self.expiration_time = None + + +class EmailEventListResult(msrest.serialization.Model): + """A list of email events. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of email events. + :type value: list[~test_base.models.EmailEventResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EmailEventResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["EmailEventResource"]] = None, + **kwargs + ): + super(EmailEventListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class EmailEventResource(ProxyResource): + """The email event resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param event_id: The identifier of the email event. + :type event_id: str + :param event_name: The name of the email event. + :type event_name: str + :param display_name: The display name of the email event. + :type display_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'event_id': {'key': 'properties.eventId', 'type': 'str'}, + 'event_name': {'key': 'properties.eventName', 'type': 'str'}, + 'display_name': {'key': 'properties.displayName', 'type': 'str'}, + } + + def __init__( + self, + *, + event_id: Optional[str] = None, + event_name: Optional[str] = None, + display_name: Optional[str] = None, + **kwargs + ): + super(EmailEventResource, self).__init__(**kwargs) + self.system_data = None + self.event_id = event_id + self.event_name = event_name + self.display_name = display_name + + +class ErrorDefinition(msrest.serialization.Model): + """Error definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: The error code. + :vartype code: str + :ivar message: The error message. + :vartype message: str + :ivar target: The target of the particular error. + :vartype target: str + :ivar details: The error details. + :vartype details: list[~test_base.models.ErrorDefinition] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'target': {'readonly': True}, + 'details': {'readonly': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorDefinition]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorDefinition, self).__init__(**kwargs) + self.code = None + self.message = None + self.target = None + self.details = None + + +class ErrorResponse(msrest.serialization.Model): + """The error response send when an operation fails. + + :param error: The error details. + :type error: ~test_base.models.ErrorDefinition + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDefinition'}, + } + + def __init__( + self, + *, + error: Optional["ErrorDefinition"] = None, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class FavoriteProcessListResult(msrest.serialization.Model): + """A list of favorite processes for a package. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of favorite processes for a package. + :type value: list[~test_base.models.FavoriteProcessResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FavoriteProcessResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FavoriteProcessResource"]] = None, + **kwargs + ): + super(FavoriteProcessListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class FavoriteProcessResource(ProxyResource): + """A favorite process identifier. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_process_name: The actual name of the favorite process. It will be equal to + resource name except for the scenario that the process name contains characters that are not + allowed in the resource name. + :type actual_process_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_process_name': {'key': 'properties.actualProcessName', 'type': 'str'}, + } + + def __init__( + self, + *, + actual_process_name: Optional[str] = None, + **kwargs + ): + super(FavoriteProcessResource, self).__init__(**kwargs) + self.system_data = None + self.actual_process_name = actual_process_name + + +class FileUploadURLResponse(msrest.serialization.Model): + """The URL response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar upload_url: The URL used for uploading the package. + :vartype upload_url: str + :ivar blob_path: The blob path of the uploaded package. It will be used as the 'blobPath' + property of PackageResource. + :vartype blob_path: str + """ + + _validation = { + 'upload_url': {'readonly': True}, + 'blob_path': {'readonly': True}, + } + + _attribute_map = { + 'upload_url': {'key': 'uploadUrl', 'type': 'str'}, + 'blob_path': {'key': 'blobPath', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FileUploadURLResponse, self).__init__(**kwargs) + self.upload_url = None + self.blob_path = None + + +class FlightingRingListResult(msrest.serialization.Model): + """A list of flighting rings. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of flighting rings. + :type value: list[~test_base.models.FlightingRingResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FlightingRingResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FlightingRingResource"]] = None, + **kwargs + ): + super(FlightingRingListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class FlightingRingResource(ProxyResource): + """The flighting ring resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_flighting_ring_name: The actual name of a flighting ring of a Test Base Account. + :type actual_flighting_ring_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_flighting_ring_name': {'key': 'properties.actualFlightingRingName', 'type': 'str'}, + } + + def __init__( + self, + *, + actual_flighting_ring_name: Optional[str] = None, + **kwargs + ): + super(FlightingRingResource, self).__init__(**kwargs) + self.system_data = None + self.actual_flighting_ring_name = actual_flighting_ring_name + + +class GetFileUploadURLParameters(msrest.serialization.Model): + """The parameters supplied to the Test Base Account GetFileUploadURL action. + + :param blob_name: The custom file name of the uploaded blob. + :type blob_name: str + """ + + _attribute_map = { + 'blob_name': {'key': 'blobName', 'type': 'str'}, + } + + def __init__( + self, + *, + blob_name: Optional[str] = None, + **kwargs + ): + super(GetFileUploadURLParameters, self).__init__(**kwargs) + self.blob_name = blob_name + + +class IdentifiedFailure(msrest.serialization.Model): + """The failure identified. + + :param failure_id: The Failure Id. + :type failure_id: str + :param category: The category of the failure. Possible values include: "None", "Unidentified", + "Package", "OSUpdate", "Infrastructure". + :type category: str or ~test_base.models.Category + :param error_message: Message that shows information about the failure. + :type error_message: str + :param guidance: Guidance that shows what the customer needs to do for this failure. + :type guidance: str + """ + + _attribute_map = { + 'failure_id': {'key': 'failureId', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'guidance': {'key': 'guidance', 'type': 'str'}, + } + + def __init__( + self, + *, + failure_id: Optional[str] = None, + category: Optional[Union[str, "Category"]] = None, + error_message: Optional[str] = None, + guidance: Optional[str] = None, + **kwargs + ): + super(IdentifiedFailure, self).__init__(**kwargs) + self.failure_id = failure_id + self.category = category + self.error_message = error_message + self.guidance = guidance + + +class MemoryRegressionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Memory Regression Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param memory_regression_results: The result array data. + :type memory_regression_results: list[~test_base.models.RegressionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'memory_regression_results': {'key': 'memoryRegressionResults', 'type': '[RegressionResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + memory_regression_results: Optional[List["RegressionResult"]] = None, + **kwargs + ): + super(MemoryRegressionResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'MemoryRegression' # type: str + self.memory_regression_results = memory_regression_results + + +class MemoryUtilizationResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Memory Utilization Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param memory_utilization_results: The result array data. + :type memory_utilization_results: list[~test_base.models.UtilizationResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'memory_utilization_results': {'key': 'memoryUtilizationResults', 'type': '[UtilizationResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + memory_utilization_results: Optional[List["UtilizationResult"]] = None, + **kwargs + ): + super(MemoryUtilizationResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'MemoryUtilization' # type: str + self.memory_utilization_results = memory_utilization_results + + +class NotificationEventReceiver(msrest.serialization.Model): + """A notification event receivers. + + :param receiver_type: The type of the notification event receiver. + :type receiver_type: str + :param receiver_value: The notification event receiver value. + :type receiver_value: ~test_base.models.NotificationReceiverValue + """ + + _attribute_map = { + 'receiver_type': {'key': 'receiverType', 'type': 'str'}, + 'receiver_value': {'key': 'receiverValue', 'type': 'NotificationReceiverValue'}, + } + + def __init__( + self, + *, + receiver_type: Optional[str] = None, + receiver_value: Optional["NotificationReceiverValue"] = None, + **kwargs + ): + super(NotificationEventReceiver, self).__init__(**kwargs) + self.receiver_type = receiver_type + self.receiver_value = receiver_value + + +class NotificationReceiverValue(msrest.serialization.Model): + """A notification event receiver value. + + :param user_object_receiver_value: The user object receiver value. + :type user_object_receiver_value: ~test_base.models.UserObjectReceiverValue + :param subscription_receiver_value: The user object receiver value. + :type subscription_receiver_value: ~test_base.models.SubscriptionReceiverValue + :param distribution_group_list_receiver_value: The user object receiver value. + :type distribution_group_list_receiver_value: + ~test_base.models.DistributionGroupListReceiverValue + """ + + _attribute_map = { + 'user_object_receiver_value': {'key': 'userObjectReceiverValue', 'type': 'UserObjectReceiverValue'}, + 'subscription_receiver_value': {'key': 'subscriptionReceiverValue', 'type': 'SubscriptionReceiverValue'}, + 'distribution_group_list_receiver_value': {'key': 'distributionGroupListReceiverValue', 'type': 'DistributionGroupListReceiverValue'}, + } + + def __init__( + self, + *, + user_object_receiver_value: Optional["UserObjectReceiverValue"] = None, + subscription_receiver_value: Optional["SubscriptionReceiverValue"] = None, + distribution_group_list_receiver_value: Optional["DistributionGroupListReceiverValue"] = None, + **kwargs + ): + super(NotificationReceiverValue, self).__init__(**kwargs) + self.user_object_receiver_value = user_object_receiver_value + self.subscription_receiver_value = subscription_receiver_value + self.distribution_group_list_receiver_value = distribution_group_list_receiver_value + + +class Operation(msrest.serialization.Model): + """REST API operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Operation name: {provider}/{resource}/{operation}. + :vartype name: str + :ivar is_data_action: Indicates whether the operation is a data action. + :vartype is_data_action: bool + :ivar origin: Origin of the operation. + :vartype origin: str + :param display: The object that describes the operation. + :type display: ~test_base.models.OperationDisplay + :param properties: Extra properties of the operation. + :type properties: any + """ + + _validation = { + 'name': {'readonly': True}, + 'is_data_action': {'readonly': True}, + 'origin': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'properties': {'key': 'properties', 'type': 'object'}, + } + + def __init__( + self, + *, + display: Optional["OperationDisplay"] = None, + properties: Optional[Any] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = None + self.is_data_action = None + self.origin = None + self.display = display + self.properties = properties + + +class OperationDisplay(msrest.serialization.Model): + """The object that describes the operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar provider: The resource provider name: Microsoft.TestBase. + :vartype provider: str + :ivar operation: Operation type: read, write, delete, listPackages, etc. + :vartype operation: str + :ivar resource: Resource type on which the operation is performed. + :vartype resource: str + :ivar description: Friendly name of the operation. + :vartype description: str + """ + + _validation = { + 'provider': {'readonly': True}, + 'operation': {'readonly': True}, + 'resource': {'readonly': True}, + 'description': {'readonly': True}, + } + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = None + self.operation = None + self.resource = None + self.description = None + + +class OperationListResult(msrest.serialization.Model): + """A list of operations supported by the resource provider. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: List of operations supported by the Test Base resource provider. + :type value: list[~test_base.models.Operation] + :ivar next_link: URL to get the next set of operation list results if there are any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Operation"]] = None, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class OSUpdateListResult(msrest.serialization.Model): + """A list of OS Updates. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of OS Updates. + :type value: list[~test_base.models.OSUpdateResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OSUpdateResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["OSUpdateResource"]] = None, + **kwargs + ): + super(OSUpdateListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class OSUpdateResource(ProxyResource): + """An OS Update. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param os_name: The name of the OS. + :type os_name: str + :param release: The name of tested release. + :type release: str + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param type_properties_type: The type of this release (OS update). Possible values include: + "SecurityUpdate", "FeatureUpdate". + :type type_properties_type: str or ~test_base.models.Type + :param release_version_date: The release version date the tested release (OS update). + :type release_version_date: ~datetime.datetime + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'release': {'key': 'properties.release', 'type': 'str'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'build_version': {'key': 'properties.buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'properties.buildRevision', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'release_version_date': {'key': 'properties.releaseVersionDate', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + os_name: Optional[str] = None, + release: Optional[str] = None, + flighting_ring: Optional[str] = None, + build_version: Optional[str] = None, + build_revision: Optional[str] = None, + type_properties_type: Optional[Union[str, "Type"]] = None, + release_version_date: Optional[datetime.datetime] = None, + **kwargs + ): + super(OSUpdateResource, self).__init__(**kwargs) + self.system_data = None + self.os_name = os_name + self.release = release + self.flighting_ring = flighting_ring + self.build_version = build_version + self.build_revision = build_revision + self.type_properties_type = type_properties_type + self.release_version_date = release_version_date + + +class OSUpdatesTestSummary(msrest.serialization.Model): + """The summary of some tests. + + :param execution_status: The status of the last test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of last test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of last test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the last test. + :type test_run_time: str + :param os_update_test_summaries: Detailed summary for each OS update. + :type os_update_test_summaries: list[~test_base.models.OSUpdateTestSummary] + """ + + _attribute_map = { + 'execution_status': {'key': 'executionStatus', 'type': 'str'}, + 'test_status': {'key': 'testStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'test_run_time': {'key': 'testRunTime', 'type': 'str'}, + 'os_update_test_summaries': {'key': 'osUpdateTestSummaries', 'type': '[OSUpdateTestSummary]'}, + } + + def __init__( + self, + *, + execution_status: Optional[Union[str, "ExecutionStatus"]] = None, + test_status: Optional[Union[str, "TestStatus"]] = None, + grade: Optional[Union[str, "Grade"]] = None, + test_run_time: Optional[str] = None, + os_update_test_summaries: Optional[List["OSUpdateTestSummary"]] = None, + **kwargs + ): + super(OSUpdatesTestSummary, self).__init__(**kwargs) + self.execution_status = execution_status + self.test_status = test_status + self.grade = grade + self.test_run_time = test_run_time + self.os_update_test_summaries = os_update_test_summaries + + +class OSUpdateTestSummary(msrest.serialization.Model): + """The summary of a test. + + :param os_name: The operating system name. e.g. Windows 10 1809. + :type os_name: str + :param release_name: The name of the tested release (OS update). + :type release_name: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param release_version_date: The release version date. + :type release_version_date: ~datetime.datetime + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param execution_status: The execution status of the test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of the test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the test. + :type test_run_time: str + :param test_type: The test type of the package. + :type test_type: str + """ + + _attribute_map = { + 'os_name': {'key': 'osName', 'type': 'str'}, + 'release_name': {'key': 'releaseName', 'type': 'str'}, + 'build_version': {'key': 'buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'buildRevision', 'type': 'str'}, + 'release_version_date': {'key': 'releaseVersionDate', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'flightingRing', 'type': 'str'}, + 'execution_status': {'key': 'executionStatus', 'type': 'str'}, + 'test_status': {'key': 'testStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'test_run_time': {'key': 'testRunTime', 'type': 'str'}, + 'test_type': {'key': 'testType', 'type': 'str'}, + } + + def __init__( + self, + *, + os_name: Optional[str] = None, + release_name: Optional[str] = None, + build_version: Optional[str] = None, + build_revision: Optional[str] = None, + release_version_date: Optional[datetime.datetime] = None, + flighting_ring: Optional[str] = None, + execution_status: Optional[Union[str, "ExecutionStatus"]] = None, + test_status: Optional[Union[str, "TestStatus"]] = None, + grade: Optional[Union[str, "Grade"]] = None, + test_run_time: Optional[str] = None, + test_type: Optional[str] = None, + **kwargs + ): + super(OSUpdateTestSummary, self).__init__(**kwargs) + self.os_name = os_name + self.release_name = release_name + self.build_version = build_version + self.build_revision = build_revision + self.release_version_date = release_version_date + self.flighting_ring = flighting_ring + self.execution_status = execution_status + self.test_status = test_status + self.grade = grade + self.test_run_time = test_run_time + self.test_type = test_type + + +class PackageCheckNameAvailabilityParameters(msrest.serialization.Model): + """Parameters body to pass for Test Base Package name availability check. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Resource name to verify. + :type name: str + :param application_name: Required. Application name to verify. + :type application_name: str + :param version: Required. Version name to verify. + :type version: str + :param type: Required. fully qualified resource type which includes provider namespace. + :type type: str + """ + + _validation = { + 'name': {'required': True}, + 'application_name': {'required': True}, + 'version': {'required': True}, + 'type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'application_name': {'key': 'applicationName', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + application_name: str, + version: str, + type: str, + **kwargs + ): + super(PackageCheckNameAvailabilityParameters, self).__init__(**kwargs) + self.name = name + self.application_name = application_name + self.version = version + self.type = type + + +class PackageListResult(msrest.serialization.Model): + """A list of Test Base Packages. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Packages. + :type value: list[~test_base.models.PackageResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PackageResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PackageResource"]] = None, + **kwargs + ): + super(PackageListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TrackedResource(Resource): + """The resource model definition for an ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location + self.etag = None + + +class PackageResource(TrackedResource): + """The Test Base Package resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Failed", "Cancelled", "Creating", "Deleting", "Updating". + :vartype provisioning_state: str or ~test_base.models.ProvisioningState + :param application_name: Application name. + :type application_name: str + :param version: Application version. + :type version: str + :ivar test_types: OOB, functional or both. Mapped to the data in 'tests' property. + :vartype test_types: list[str or ~test_base.models.TestType] + :param target_os_list: Specifies the target OSs of specific OS Update types. + :type target_os_list: list[~test_base.models.TargetOSInfo] + :ivar package_status: The status of the package. Possible values include: "Unknown", + "Registered", "Ready", "Error", "ValidatingPackage", "PreValidationCheckPass", "Deleted", + "ValidationLongerThanUsual", "VerifyingPackage". + :vartype package_status: str or ~test_base.models.PackageStatus + :ivar last_modified_time: The UTC timestamp when the package was last modified. + :vartype last_modified_time: ~datetime.datetime + :param flighting_ring: The flighting ring for feature update. + :type flighting_ring: str + :ivar is_enabled: Flag showing that whether the package is enabled. It doesn't schedule test + for package which is not enabled. + :vartype is_enabled: bool + :param blob_path: The file path of the package. + :type blob_path: str + :ivar validation_results: The validation results. There's validation on package when it's + created or updated. + :vartype validation_results: list[~test_base.models.PackageValidationResult] + :param tests: The detailed test information. + :type tests: list[~test_base.models.Test] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'test_types': {'readonly': True}, + 'package_status': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'is_enabled': {'readonly': True}, + 'validation_results': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'version': {'key': 'properties.version', 'type': 'str'}, + 'test_types': {'key': 'properties.testTypes', 'type': '[str]'}, + 'target_os_list': {'key': 'properties.targetOSList', 'type': '[TargetOSInfo]'}, + 'package_status': {'key': 'properties.packageStatus', 'type': 'str'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'is_enabled': {'key': 'properties.isEnabled', 'type': 'bool'}, + 'blob_path': {'key': 'properties.blobPath', 'type': 'str'}, + 'validation_results': {'key': 'properties.validationResults', 'type': '[PackageValidationResult]'}, + 'tests': {'key': 'properties.tests', 'type': '[Test]'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + application_name: Optional[str] = None, + version: Optional[str] = None, + target_os_list: Optional[List["TargetOSInfo"]] = None, + flighting_ring: Optional[str] = None, + blob_path: Optional[str] = None, + tests: Optional[List["Test"]] = None, + **kwargs + ): + super(PackageResource, self).__init__(tags=tags, location=location, **kwargs) + self.system_data = None + self.provisioning_state = None + self.application_name = application_name + self.version = version + self.test_types = None + self.target_os_list = target_os_list + self.package_status = None + self.last_modified_time = None + self.flighting_ring = flighting_ring + self.is_enabled = None + self.blob_path = blob_path + self.validation_results = None + self.tests = tests + + +class PackageUpdateParameters(msrest.serialization.Model): + """Parameters supplied to update a Test Base Package. + + :param tags: A set of tags. The tags of the Package. + :type tags: dict[str, str] + :param target_os_list: Specifies the target OSs of specific OS Update types. + :type target_os_list: list[~test_base.models.TargetOSInfo] + :param flighting_ring: The flighting ring for feature update. + :type flighting_ring: str + :param is_enabled: Specifies whether the package is enabled. It doesn't schedule test for + package which is not enabled. + :type is_enabled: bool + :param blob_path: The file name of the package. + :type blob_path: str + :param tests: The detailed test information. + :type tests: list[~test_base.models.Test] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'target_os_list': {'key': 'properties.targetOSList', 'type': '[TargetOSInfo]'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'is_enabled': {'key': 'properties.isEnabled', 'type': 'bool'}, + 'blob_path': {'key': 'properties.blobPath', 'type': 'str'}, + 'tests': {'key': 'properties.tests', 'type': '[Test]'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + target_os_list: Optional[List["TargetOSInfo"]] = None, + flighting_ring: Optional[str] = None, + is_enabled: Optional[bool] = None, + blob_path: Optional[str] = None, + tests: Optional[List["Test"]] = None, + **kwargs + ): + super(PackageUpdateParameters, self).__init__(**kwargs) + self.tags = tags + self.target_os_list = target_os_list + self.flighting_ring = flighting_ring + self.is_enabled = is_enabled + self.blob_path = blob_path + self.tests = tests + + +class PackageValidationResult(msrest.serialization.Model): + """The validation results. There's validation on package when it's created or updated. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar validation_name: Validation name. + :vartype validation_name: str + :ivar is_valid: Indicates whether the package passed the validation. + :vartype is_valid: bool + :ivar errors: Error information. + :vartype errors: list[str] + """ + + _validation = { + 'validation_name': {'readonly': True}, + 'is_valid': {'readonly': True}, + 'errors': {'readonly': True}, + } + + _attribute_map = { + 'validation_name': {'key': 'validationName', 'type': 'str'}, + 'is_valid': {'key': 'isValid', 'type': 'bool'}, + 'errors': {'key': 'errors', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(PackageValidationResult, self).__init__(**kwargs) + self.validation_name = None + self.is_valid = None + self.errors = None + + +class RegressionResult(msrest.serialization.Model): + """The regression result. + + :param file_name: FileName of the binary being analyzed. + :type file_name: str + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param details: Message that facilitates debugging a particular regression, if any was + inferred. + :type details: str + :param diff: Difference between the two datasets being analyzed. + :type diff: float + :param is_regressed: Indicates if a regression was inferred. + :type is_regressed: bool + """ + + _attribute_map = { + 'file_name': {'key': 'fileName', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + 'details': {'key': 'details', 'type': 'str'}, + 'diff': {'key': 'diff', 'type': 'float'}, + 'is_regressed': {'key': 'isRegressed', 'type': 'bool'}, + } + + def __init__( + self, + *, + file_name: Optional[str] = None, + grade: Optional[Union[str, "Grade"]] = None, + details: Optional[str] = None, + diff: Optional[float] = None, + is_regressed: Optional[bool] = None, + **kwargs + ): + super(RegressionResult, self).__init__(**kwargs) + self.file_name = file_name + self.grade = grade + self.details = details + self.diff = diff + self.is_regressed = is_regressed + + +class RegressionTestDetails(msrest.serialization.Model): + """The details of a regression test. + + :param diff: Difference between the two datasets being analyzed. + :type diff: float + :param is_regressed: Indicates if a regression was inferred. + :type is_regressed: bool + """ + + _attribute_map = { + 'diff': {'key': 'diff', 'type': 'float'}, + 'is_regressed': {'key': 'isRegressed', 'type': 'bool'}, + } + + def __init__( + self, + *, + diff: Optional[float] = None, + is_regressed: Optional[bool] = None, + **kwargs + ): + super(RegressionTestDetails, self).__init__(**kwargs) + self.diff = diff + self.is_regressed = is_regressed + + +class ReliabilityResult(msrest.serialization.Model): + """The Reliability Result. + + :param file_name: File name. + :type file_name: str + :param launch_count: Count of number of launches. + :type launch_count: int + :param crash_count: Count of number of crashes. + :type crash_count: int + :param hang_count: Count of number of hangs. + :type hang_count: int + :param regression_grade: The regression grade. Possible values include: "None", "NotAvailable", + "Pass", "Fail". + :type regression_grade: str or ~test_base.models.Grade + :param crash_regression_grade: The statistic regression grade for crash signal. Possible values + include: "None", "NotAvailable", "Pass", "Fail". + :type crash_regression_grade: str or ~test_base.models.Grade + :param crash_regression_test_details: Details related to the crash regression analysis. + :type crash_regression_test_details: ~test_base.models.RegressionTestDetails + :param hang_regression_grade: The statistic regression grade for hang signal. Possible values + include: "None", "NotAvailable", "Pass", "Fail". + :type hang_regression_grade: str or ~test_base.models.Grade + :param hang_regression_test_details: Details related to the hang regression analysis. + :type hang_regression_test_details: ~test_base.models.RegressionTestDetails + """ + + _attribute_map = { + 'file_name': {'key': 'fileName', 'type': 'str'}, + 'launch_count': {'key': 'launchCount', 'type': 'int'}, + 'crash_count': {'key': 'crashCount', 'type': 'int'}, + 'hang_count': {'key': 'hangCount', 'type': 'int'}, + 'regression_grade': {'key': 'regressionGrade', 'type': 'str'}, + 'crash_regression_grade': {'key': 'crashRegressionGrade', 'type': 'str'}, + 'crash_regression_test_details': {'key': 'crashRegressionTestDetails', 'type': 'RegressionTestDetails'}, + 'hang_regression_grade': {'key': 'hangRegressionGrade', 'type': 'str'}, + 'hang_regression_test_details': {'key': 'hangRegressionTestDetails', 'type': 'RegressionTestDetails'}, + } + + def __init__( + self, + *, + file_name: Optional[str] = None, + launch_count: Optional[int] = None, + crash_count: Optional[int] = None, + hang_count: Optional[int] = None, + regression_grade: Optional[Union[str, "Grade"]] = None, + crash_regression_grade: Optional[Union[str, "Grade"]] = None, + crash_regression_test_details: Optional["RegressionTestDetails"] = None, + hang_regression_grade: Optional[Union[str, "Grade"]] = None, + hang_regression_test_details: Optional["RegressionTestDetails"] = None, + **kwargs + ): + super(ReliabilityResult, self).__init__(**kwargs) + self.file_name = file_name + self.launch_count = launch_count + self.crash_count = crash_count + self.hang_count = hang_count + self.regression_grade = regression_grade + self.crash_regression_grade = crash_regression_grade + self.crash_regression_test_details = crash_regression_test_details + self.hang_regression_grade = hang_regression_grade + self.hang_regression_test_details = hang_regression_test_details + + +class ReliabilityResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Reliability Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param reliability_results: The result array data. + :type reliability_results: list[~test_base.models.ReliabilityResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'reliability_results': {'key': 'reliabilityResults', 'type': '[ReliabilityResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + reliability_results: Optional[List["ReliabilityResult"]] = None, + **kwargs + ): + super(ReliabilityResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'Reliability' # type: str + self.reliability_results = reliability_results + + +class ScriptExecutionResult(msrest.serialization.Model): + """The Script Execution Result. + + :param script_name: Name of script. + :type script_name: str + :param start_time: Start time of script execution. + :type start_time: ~datetime.datetime + :param end_time: End time of script execution. + :type end_time: ~datetime.datetime + :param exit_code: Exit code. + :type exit_code: int + :param timed_out: Whether the script execution is timed out. + :type timed_out: bool + """ + + _attribute_map = { + 'script_name': {'key': 'scriptName', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'exit_code': {'key': 'exitCode', 'type': 'int'}, + 'timed_out': {'key': 'timedOut', 'type': 'bool'}, + } + + def __init__( + self, + *, + script_name: Optional[str] = None, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + exit_code: Optional[int] = None, + timed_out: Optional[bool] = None, + **kwargs + ): + super(ScriptExecutionResult, self).__init__(**kwargs) + self.script_name = script_name + self.start_time = start_time + self.end_time = end_time + self.exit_code = exit_code + self.timed_out = timed_out + + +class ScriptExecutionResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Script Execution Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param script_execution_results: The result array data. + :type script_execution_results: list[~test_base.models.ScriptExecutionResult] + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'script_execution_results': {'key': 'scriptExecutionResults', 'type': '[ScriptExecutionResult]'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + script_execution_results: Optional[List["ScriptExecutionResult"]] = None, + **kwargs + ): + super(ScriptExecutionResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'ScriptExecution' # type: str + self.script_execution_results = script_execution_results + + +class SubscriptionReceiverValue(msrest.serialization.Model): + """The subscription role receiver value. + + :param subscription_id: The subscription id of the notification receiver. + :type subscription_id: str + :param subscription_name: The subscription name of the notification receiver. + :type subscription_name: str + :param role: The role of the notification receiver. + :type role: str + """ + + _attribute_map = { + 'subscription_id': {'key': 'subscriptionId', 'type': 'str'}, + 'subscription_name': {'key': 'subscriptionName', 'type': 'str'}, + 'role': {'key': 'role', 'type': 'str'}, + } + + def __init__( + self, + *, + subscription_id: Optional[str] = None, + subscription_name: Optional[str] = None, + role: Optional[str] = None, + **kwargs + ): + super(SubscriptionReceiverValue, self).__init__(**kwargs) + self.subscription_id = subscription_id + self.subscription_name = subscription_name + self.role = role + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~test_base.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~test_base.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TargetOSInfo(msrest.serialization.Model): + """The information of the target OS to be tested. + + All required parameters must be populated in order to send to Azure. + + :param os_update_type: Required. Specifies the OS update type to test against, e.g., 'Security + updates' or 'Feature updates'. + :type os_update_type: str + :param target_o_ss: Required. Specifies the target OSs to be tested. + :type target_o_ss: list[str] + """ + + _validation = { + 'os_update_type': {'required': True}, + 'target_o_ss': {'required': True}, + } + + _attribute_map = { + 'os_update_type': {'key': 'osUpdateType', 'type': 'str'}, + 'target_o_ss': {'key': 'targetOSs', 'type': '[str]'}, + } + + def __init__( + self, + *, + os_update_type: str, + target_o_ss: List[str], + **kwargs + ): + super(TargetOSInfo, self).__init__(**kwargs) + self.os_update_type = os_update_type + self.target_o_ss = target_o_ss + + +class Test(msrest.serialization.Model): + """The definition of a Test. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param test_type: Required. The type of the test. Possible values include: "OutOfBoxTest", + "FunctionalTest". + :type test_type: str or ~test_base.models.TestType + :ivar validation_run_status: The status of the validation run of the package. Possible values + include: "Unknown", "Pending", "Passed", "Failed". + :vartype validation_run_status: str or ~test_base.models.ValidationRunStatus + :param is_active: Indicates if this test is active.It doesn't schedule test for not active + Test. + :type is_active: bool + :param commands: Required. The commands used in the test. + :type commands: list[~test_base.models.Command] + """ + + _validation = { + 'test_type': {'required': True}, + 'validation_run_status': {'readonly': True}, + 'commands': {'required': True}, + } + + _attribute_map = { + 'test_type': {'key': 'testType', 'type': 'str'}, + 'validation_run_status': {'key': 'validationRunStatus', 'type': 'str'}, + 'is_active': {'key': 'isActive', 'type': 'bool'}, + 'commands': {'key': 'commands', 'type': '[Command]'}, + } + + def __init__( + self, + *, + test_type: Union[str, "TestType"], + commands: List["Command"], + is_active: Optional[bool] = None, + **kwargs + ): + super(Test, self).__init__(**kwargs) + self.test_type = test_type + self.validation_run_status = None + self.is_active = is_active + self.commands = commands + + +class TestAnalysisResult(msrest.serialization.Model): + """The test analysis result. + + :param blob_data: The data to provide more failure analysis information. + :type blob_data: str + :param test_analysis_status: The status of the analysis. Possible values include: "None", + "Analyzing", "Completed", "Failed". + :type test_analysis_status: str or ~test_base.models.TestAnalysisStatus + :param identified_failures: The array of identified failures. + :type identified_failures: list[~test_base.models.IdentifiedFailure] + """ + + _attribute_map = { + 'blob_data': {'key': 'blobData', 'type': 'str'}, + 'test_analysis_status': {'key': 'testAnalysisStatus', 'type': 'str'}, + 'identified_failures': {'key': 'identifiedFailures', 'type': '[IdentifiedFailure]'}, + } + + def __init__( + self, + *, + blob_data: Optional[str] = None, + test_analysis_status: Optional[Union[str, "TestAnalysisStatus"]] = None, + identified_failures: Optional[List["IdentifiedFailure"]] = None, + **kwargs + ): + super(TestAnalysisResult, self).__init__(**kwargs) + self.blob_data = blob_data + self.test_analysis_status = test_analysis_status + self.identified_failures = identified_failures + + +class TestAnalysisResultSingletonResourceProperties(AnalysisResultSingletonResourceProperties): + """The properties of Test Analysis Result. + + All required parameters must be populated in order to send to Azure. + + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param analysis_result_type: Required. Type of the Analysis Result.Constant filled by server. + Possible values include: "ScriptExecution", "Reliability", "CPUUtilization", + "MemoryUtilization", "CPURegression", "MemoryRegression", "TestAnalysis". + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :param test_analysis_result: The result of test analysis. + :type test_analysis_result: ~test_base.models.TestAnalysisResult + """ + + _validation = { + 'analysis_result_type': {'required': True}, + } + + _attribute_map = { + 'grade': {'key': 'grade', 'type': 'str'}, + 'analysis_result_type': {'key': 'analysisResultType', 'type': 'str'}, + 'test_analysis_result': {'key': 'testAnalysisResult', 'type': 'TestAnalysisResult'}, + } + + def __init__( + self, + *, + grade: Optional[Union[str, "Grade"]] = None, + test_analysis_result: Optional["TestAnalysisResult"] = None, + **kwargs + ): + super(TestAnalysisResultSingletonResourceProperties, self).__init__(grade=grade, **kwargs) + self.analysis_result_type = 'TestAnalysis' # type: str + self.test_analysis_result = test_analysis_result + + +class TestBaseAccountListResult(msrest.serialization.Model): + """A list of Test Base Accounts. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Accounts. + :type value: list[~test_base.models.TestBaseAccountResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestBaseAccountResource"]] = None, + **kwargs + ): + super(TestBaseAccountListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestBaseAccountResource(TrackedResource): + """The Test Base Account resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. The tags of the resource. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str + :ivar etag: Resource Etag. + :vartype etag: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Failed", "Cancelled", "Creating", "Deleting", "Updating". + :vartype provisioning_state: str or ~test_base.models.ProvisioningState + :param sku: The SKU of the Test Base Account. + :type sku: ~test_base.models.TestBaseAccountSKU + :ivar access_level: The access level of the Test Base Account. + :vartype access_level: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'etag': {'readonly': True}, + 'system_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'access_level': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'sku': {'key': 'properties.sku', 'type': 'TestBaseAccountSKU'}, + 'access_level': {'key': 'properties.accessLevel', 'type': 'str'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + sku: Optional["TestBaseAccountSKU"] = None, + **kwargs + ): + super(TestBaseAccountResource, self).__init__(tags=tags, location=location, **kwargs) + self.system_data = None + self.provisioning_state = None + self.sku = sku + self.access_level = None + + +class TestBaseAccountSKU(msrest.serialization.Model): + """Describes a Test Base Account SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param resource_type: The type of resource the SKU applies to. + :type resource_type: str + :param name: Required. The name of the SKU. This is typically a letter + number code, such as + B0 or S0. + :type name: str + :param tier: Required. The tier of this particular SKU. Possible values include: "Standard". + :type tier: str or ~test_base.models.Tier + :ivar capabilities: The capabilities of a SKU. + :vartype capabilities: list[~test_base.models.TestBaseAccountSKUCapability] + :param locations: The locations that the SKU is available. + :type locations: list[str] + """ + + _validation = { + 'name': {'required': True}, + 'tier': {'required': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capabilities': {'key': 'capabilities', 'type': '[TestBaseAccountSKUCapability]'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: str, + tier: Union[str, "Tier"], + resource_type: Optional[str] = None, + locations: Optional[List[str]] = None, + **kwargs + ): + super(TestBaseAccountSKU, self).__init__(**kwargs) + self.resource_type = resource_type + self.name = name + self.tier = tier + self.capabilities = None + self.locations = locations + + +class TestBaseAccountSKUCapability(msrest.serialization.Model): + """Properties of the Test Base Account SKU Capability. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. An invariant to describe the feature, such as 'SLA'. + :type name: str + :param value: Required. An invariant if the feature is measured by quantity, such as 99.9%. + :type value: str + """ + + _validation = { + 'name': {'required': True}, + 'value': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + value: str, + **kwargs + ): + super(TestBaseAccountSKUCapability, self).__init__(**kwargs) + self.name = name + self.value = value + + +class TestBaseAccountSKUListResult(msrest.serialization.Model): + """A list of Test Base Account SKUs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Account SKUs. + :type value: list[~test_base.models.TestBaseAccountSKU] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountSKU]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestBaseAccountSKU"]] = None, + **kwargs + ): + super(TestBaseAccountSKUListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestBaseAccountUpdateParameters(msrest.serialization.Model): + """Parameters supplied to update a Test Base Account. + + :param tags: A set of tags. The tags of the Test Base Account. + :type tags: dict[str, str] + :param sku: The SKU of the Test Base Account. + :type sku: ~test_base.models.TestBaseAccountSKU + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'properties.sku', 'type': 'TestBaseAccountSKU'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + sku: Optional["TestBaseAccountSKU"] = None, + **kwargs + ): + super(TestBaseAccountUpdateParameters, self).__init__(**kwargs) + self.tags = tags + self.sku = sku + + +class TestBaseAccountUsageData(msrest.serialization.Model): + """The usage data of a Test Base Account. + + :param id: Fully qualified ARM resource id. + :type id: str + :param name: Localizable String object containing the name and a localized value. + :type name: ~test_base.models.TestBaseAccountUsageName + :param unit: Representing the units of the usage quota. Possible values are: Count, Bytes, + Seconds, Percent, CountPerSecond, BytesPerSecond. + :type unit: str + :param limit: The maximum permitted value for the usage quota. If there is no limit, this value + will be -1. + :type limit: long + :param current_value: Current value for the usage quota. + :type current_value: long + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'TestBaseAccountUsageName'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'current_value': {'key': 'currentValue', 'type': 'long'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional["TestBaseAccountUsageName"] = None, + unit: Optional[str] = None, + limit: Optional[int] = None, + current_value: Optional[int] = None, + **kwargs + ): + super(TestBaseAccountUsageData, self).__init__(**kwargs) + self.id = id + self.name = name + self.unit = unit + self.limit = limit + self.current_value = current_value + + +class TestBaseAccountUsageDataList(msrest.serialization.Model): + """A list of Test Base Account usage data. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Base Account usage data. + :type value: list[~test_base.models.TestBaseAccountUsageData] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestBaseAccountUsageData]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestBaseAccountUsageData"]] = None, + **kwargs + ): + super(TestBaseAccountUsageDataList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestBaseAccountUsageName(msrest.serialization.Model): + """Localizable String object containing the name and a localized value. + + :param value: The identifier of the usage. + :type value: str + :param localized_value: Localized name of the usage. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[str] = None, + localized_value: Optional[str] = None, + **kwargs + ): + super(TestBaseAccountUsageName, self).__init__(**kwargs) + self.value = value + self.localized_value = localized_value + + +class TestResultAnalysisSummary(msrest.serialization.Model): + """The summary of a Test Analysis Result. + + :param name: Metric name. + :type name: str + :param analysis_status: The analysis status. Possible values include: "None", "Completed", + "InProgress", "Failed", "Succeeded", "Available", "NotAvailable". + :type analysis_status: str or ~test_base.models.AnalysisStatus + :param grade: The grade of the test result. Possible values include: "None", "NotAvailable", + "Pass", "Fail". + :type grade: str or ~test_base.models.Grade + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'analysis_status': {'key': 'analysisStatus', 'type': 'str'}, + 'grade': {'key': 'grade', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + analysis_status: Optional[Union[str, "AnalysisStatus"]] = None, + grade: Optional[Union[str, "Grade"]] = None, + **kwargs + ): + super(TestResultAnalysisSummary, self).__init__(**kwargs) + self.name = name + self.analysis_status = analysis_status + self.grade = grade + + +class TestResultListResult(msrest.serialization.Model): + """A list of Test Results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Results. + :type value: list[~test_base.models.TestResultResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestResultResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestResultResource"]] = None, + **kwargs + ): + super(TestResultListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestResultResource(ProxyResource): + """The Test Result Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param baseline_test_result_id: Azure Id of the baseline test result. + :type baseline_test_result_id: str + :param package_id: Resource Id of the package. + :type package_id: str + :param application_name: Application name. + :type application_name: str + :param application_version: Application version. + :type application_version: str + :param os_name: The operating system name, e.g. Windows 10 1809. + :type os_name: str + :param release_name: The name of the tested release (OS update). + :type release_name: str + :param release_version_date: The release version date of the tested release. + :type release_version_date: ~datetime.datetime + :param flighting_ring: The flighting ring, only for release of feature updates. + :type flighting_ring: str + :param build_version: The build version of the tested release (OS update). + :type build_version: str + :param build_revision: The build revision of the tested release (OS update). + :type build_revision: str + :param test_type: Test type. E.g. 'Out of box test' or 'Functional test'. + :type test_type: str + :param test_run_time: The run time of the test. + :type test_run_time: str + :param is_download_data_available: Whether download data is available. + :type is_download_data_available: bool + :param is_video_available: Whether video data is available. + :type is_video_available: bool + :param execution_status: The execution status of the test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of the test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param kb_number: KB number. + :type kb_number: str + :param package_version: The version of the Windows update package. + :type package_version: str + :param analysis_summaries: List of analysis summaries. + :type analysis_summaries: list[~test_base.models.TestResultAnalysisSummary] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'baseline_test_result_id': {'key': 'properties.baselineTestResultId', 'type': 'str'}, + 'package_id': {'key': 'properties.packageId', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'application_version': {'key': 'properties.applicationVersion', 'type': 'str'}, + 'os_name': {'key': 'properties.osName', 'type': 'str'}, + 'release_name': {'key': 'properties.releaseName', 'type': 'str'}, + 'release_version_date': {'key': 'properties.releaseVersionDate', 'type': 'iso-8601'}, + 'flighting_ring': {'key': 'properties.flightingRing', 'type': 'str'}, + 'build_version': {'key': 'properties.buildVersion', 'type': 'str'}, + 'build_revision': {'key': 'properties.buildRevision', 'type': 'str'}, + 'test_type': {'key': 'properties.testType', 'type': 'str'}, + 'test_run_time': {'key': 'properties.testRunTime', 'type': 'str'}, + 'is_download_data_available': {'key': 'properties.isDownloadDataAvailable', 'type': 'bool'}, + 'is_video_available': {'key': 'properties.isVideoAvailable', 'type': 'bool'}, + 'execution_status': {'key': 'properties.executionStatus', 'type': 'str'}, + 'test_status': {'key': 'properties.testStatus', 'type': 'str'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'kb_number': {'key': 'properties.kbNumber', 'type': 'str'}, + 'package_version': {'key': 'properties.packageVersion', 'type': 'str'}, + 'analysis_summaries': {'key': 'properties.analysisSummaries', 'type': '[TestResultAnalysisSummary]'}, + } + + def __init__( + self, + *, + baseline_test_result_id: Optional[str] = None, + package_id: Optional[str] = None, + application_name: Optional[str] = None, + application_version: Optional[str] = None, + os_name: Optional[str] = None, + release_name: Optional[str] = None, + release_version_date: Optional[datetime.datetime] = None, + flighting_ring: Optional[str] = None, + build_version: Optional[str] = None, + build_revision: Optional[str] = None, + test_type: Optional[str] = None, + test_run_time: Optional[str] = None, + is_download_data_available: Optional[bool] = None, + is_video_available: Optional[bool] = None, + execution_status: Optional[Union[str, "ExecutionStatus"]] = None, + test_status: Optional[Union[str, "TestStatus"]] = None, + grade: Optional[Union[str, "Grade"]] = None, + kb_number: Optional[str] = None, + package_version: Optional[str] = None, + analysis_summaries: Optional[List["TestResultAnalysisSummary"]] = None, + **kwargs + ): + super(TestResultResource, self).__init__(**kwargs) + self.system_data = None + self.baseline_test_result_id = baseline_test_result_id + self.package_id = package_id + self.application_name = application_name + self.application_version = application_version + self.os_name = os_name + self.release_name = release_name + self.release_version_date = release_version_date + self.flighting_ring = flighting_ring + self.build_version = build_version + self.build_revision = build_revision + self.test_type = test_type + self.test_run_time = test_run_time + self.is_download_data_available = is_download_data_available + self.is_video_available = is_video_available + self.execution_status = execution_status + self.test_status = test_status + self.grade = grade + self.kb_number = kb_number + self.package_version = package_version + self.analysis_summaries = analysis_summaries + + +class TestSummaryListResult(msrest.serialization.Model): + """A list of Test Summaries. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of Test Summaries. + :type value: list[~test_base.models.TestSummaryResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestSummaryResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestSummaryResource"]] = None, + **kwargs + ): + super(TestSummaryListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestSummaryResource(ProxyResource): + """Summary of a Test. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param test_summary_id: The Id of the current Test Summary. + :type test_summary_id: str + :param package_id: The Azure resource Id of package. + :type package_id: str + :param application_name: Application name. + :type application_name: str + :param application_version: Application version. + :type application_version: str + :param execution_status: The execution status of last test. Possible values include: "None", + "InProgress", "Processing", "Completed", "NotExecuted", "Incomplete", "Failed", "Succeeded". + :type execution_status: str or ~test_base.models.ExecutionStatus + :param test_status: The status of last test. Possible values include: "None", + "TestExecutionInProgress", "DataProcessing", "TestFailure", "UpdateFailure", + "TestAndUpdateFailure", "InfrastructureFailure", "Completed". + :type test_status: str or ~test_base.models.TestStatus + :param grade: The grade of the test. Possible values include: "None", "NotAvailable", "Pass", + "Fail". + :type grade: str or ~test_base.models.Grade + :param test_run_time: The run time of the last test. + :type test_run_time: str + :param feature_updates_test_summary: The result summary of tests triggered by feature updates. + :type feature_updates_test_summary: ~test_base.models.OSUpdatesTestSummary + :param security_updates_test_summary: The result summary of tests triggered by security + updates. + :type security_updates_test_summary: ~test_base.models.OSUpdatesTestSummary + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'test_summary_id': {'key': 'properties.testSummaryId', 'type': 'str'}, + 'package_id': {'key': 'properties.packageId', 'type': 'str'}, + 'application_name': {'key': 'properties.applicationName', 'type': 'str'}, + 'application_version': {'key': 'properties.applicationVersion', 'type': 'str'}, + 'execution_status': {'key': 'properties.executionStatus', 'type': 'str'}, + 'test_status': {'key': 'properties.testStatus', 'type': 'str'}, + 'grade': {'key': 'properties.grade', 'type': 'str'}, + 'test_run_time': {'key': 'properties.testRunTime', 'type': 'str'}, + 'feature_updates_test_summary': {'key': 'properties.featureUpdatesTestSummary', 'type': 'OSUpdatesTestSummary'}, + 'security_updates_test_summary': {'key': 'properties.securityUpdatesTestSummary', 'type': 'OSUpdatesTestSummary'}, + } + + def __init__( + self, + *, + test_summary_id: Optional[str] = None, + package_id: Optional[str] = None, + application_name: Optional[str] = None, + application_version: Optional[str] = None, + execution_status: Optional[Union[str, "ExecutionStatus"]] = None, + test_status: Optional[Union[str, "TestStatus"]] = None, + grade: Optional[Union[str, "Grade"]] = None, + test_run_time: Optional[str] = None, + feature_updates_test_summary: Optional["OSUpdatesTestSummary"] = None, + security_updates_test_summary: Optional["OSUpdatesTestSummary"] = None, + **kwargs + ): + super(TestSummaryResource, self).__init__(**kwargs) + self.system_data = None + self.test_summary_id = test_summary_id + self.package_id = package_id + self.application_name = application_name + self.application_version = application_version + self.execution_status = execution_status + self.test_status = test_status + self.grade = grade + self.test_run_time = test_run_time + self.feature_updates_test_summary = feature_updates_test_summary + self.security_updates_test_summary = security_updates_test_summary + + +class TestTypeListResult(msrest.serialization.Model): + """A list of test types. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of test types. + :type value: list[~test_base.models.TestTypeResource] + :ivar next_link: Link to the next set of results. Not empty if value contains incomplete list + of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[TestTypeResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["TestTypeResource"]] = None, + **kwargs + ): + super(TestTypeListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class TestTypeResource(ProxyResource): + """The test type resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system metadata relating to this resource. + :vartype system_data: ~test_base.models.SystemData + :param actual_test_type_name: The actual name of a test type of a Test Base Account. + :type actual_test_type_name: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'actual_test_type_name': {'key': 'properties.actualTestTypeName', 'type': 'str'}, + } + + def __init__( + self, + *, + actual_test_type_name: Optional[str] = None, + **kwargs + ): + super(TestTypeResource, self).__init__(**kwargs) + self.system_data = None + self.actual_test_type_name = actual_test_type_name + + +class UserObjectReceiverValue(msrest.serialization.Model): + """The user object receiver value. + + :param user_object_ids: user object ids. + :type user_object_ids: list[str] + """ + + _attribute_map = { + 'user_object_ids': {'key': 'userObjectIds', 'type': '[str]'}, + } + + def __init__( + self, + *, + user_object_ids: Optional[List[str]] = None, + **kwargs + ): + super(UserObjectReceiverValue, self).__init__(**kwargs) + self.user_object_ids = user_object_ids + + +class UtilizationBound(msrest.serialization.Model): + """The bound of a utilization result. + + :param percentile: The percentile of the bound. + :type percentile: float + :param value: The value of the bound. + :type value: float + """ + + _attribute_map = { + 'percentile': {'key': 'percentile', 'type': 'float'}, + 'value': {'key': 'value', 'type': 'float'}, + } + + def __init__( + self, + *, + percentile: Optional[float] = None, + value: Optional[float] = None, + **kwargs + ): + super(UtilizationBound, self).__init__(**kwargs) + self.percentile = percentile + self.value = value + + +class UtilizationEntry(msrest.serialization.Model): + """The utilization entry. + + :param timestamp: The timestamp. + :type timestamp: ~datetime.datetime + :param value: The value. + :type value: float + """ + + _attribute_map = { + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'value': {'key': 'value', 'type': 'float'}, + } + + def __init__( + self, + *, + timestamp: Optional[datetime.datetime] = None, + value: Optional[float] = None, + **kwargs + ): + super(UtilizationEntry, self).__init__(**kwargs) + self.timestamp = timestamp + self.value = value + + +class UtilizationResult(msrest.serialization.Model): + """The Utilization Result. + + :param process: Process name, or '_total' for all processes. + :type process: str + :param upper_bound: Upper bound. + :type upper_bound: ~test_base.models.UtilizationBound + :param lower_bound: Lower bound. + :type lower_bound: ~test_base.models.UtilizationBound + :param utilization: Utilization data. + :type utilization: list[~test_base.models.UtilizationEntry] + """ + + _attribute_map = { + 'process': {'key': 'process', 'type': 'str'}, + 'upper_bound': {'key': 'upperBound', 'type': 'UtilizationBound'}, + 'lower_bound': {'key': 'lowerBound', 'type': 'UtilizationBound'}, + 'utilization': {'key': 'utilization', 'type': '[UtilizationEntry]'}, + } + + def __init__( + self, + *, + process: Optional[str] = None, + upper_bound: Optional["UtilizationBound"] = None, + lower_bound: Optional["UtilizationBound"] = None, + utilization: Optional[List["UtilizationEntry"]] = None, + **kwargs + ): + super(UtilizationResult, self).__init__(**kwargs) + self.process = process + self.upper_bound = upper_bound + self.lower_bound = lower_bound + self.utilization = utilization diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_test_base_enums.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_test_base_enums.py new file mode 100644 index 000000000000..21985c268a9c --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/models/_test_base_enums.py @@ -0,0 +1,209 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class Action(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The action of the command. + """ + + INSTALL = "Install" + LAUNCH = "Launch" + CLOSE = "Close" + UNINSTALL = "Uninstall" + CUSTOM = "Custom" + +class AnalysisResultName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SCRIPT_EXECUTION = "scriptExecution" + RELIABILITY = "reliability" + MEMORY_UTILIZATION = "memoryUtilization" + CPU_UTILIZATION = "cpuUtilization" + MEMORY_REGRESSION = "memoryRegression" + CPU_REGRESSION = "cpuRegression" + TEST_ANALYSIS = "testAnalysis" + +class AnalysisResultType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of the Analysis Result. + """ + + SCRIPT_EXECUTION = "ScriptExecution" + RELIABILITY = "Reliability" + CPU_UTILIZATION = "CPUUtilization" + MEMORY_UTILIZATION = "MemoryUtilization" + CPU_REGRESSION = "CPURegression" + MEMORY_REGRESSION = "MemoryRegression" + TEST_ANALYSIS = "TestAnalysis" + +class AnalysisStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The analysis status. + """ + + NONE = "None" + COMPLETED = "Completed" + IN_PROGRESS = "InProgress" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + AVAILABLE = "Available" + NOT_AVAILABLE = "NotAvailable" + +class Category(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The category of the failure. + """ + + NONE = "None" + UNIDENTIFIED = "Unidentified" + PACKAGE = "Package" + OS_UPDATE = "OSUpdate" + INFRASTRUCTURE = "Infrastructure" + +class ContentType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of command content. + """ + + INLINE = "Inline" + FILE = "File" + PATH = "Path" + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class ExecutionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The execution status of a test. + """ + + NONE = "None" + IN_PROGRESS = "InProgress" + PROCESSING = "Processing" + COMPLETED = "Completed" + NOT_EXECUTED = "NotExecuted" + INCOMPLETE = "Incomplete" + FAILED = "Failed" + SUCCEEDED = "Succeeded" + +class Grade(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The grade of a test. + """ + + NONE = "None" + NOT_AVAILABLE = "NotAvailable" + PASS_ENUM = "Pass" + FAIL = "Fail" + +class OsUpdateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + SECURITY_UPDATE = "SecurityUpdate" + FEATURE_UPDATE = "FeatureUpdate" + +class PackageStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the package. + """ + + UNKNOWN = "Unknown" + REGISTERED = "Registered" + READY = "Ready" + ERROR = "Error" + VALIDATING_PACKAGE = "ValidatingPackage" + PRE_VALIDATION_CHECK_PASS = "PreValidationCheckPass" + DELETED = "Deleted" + VALIDATION_LONGER_THAN_USUAL = "ValidationLongerThanUsual" + VERIFYING_PACKAGE = "VerifyingPackage" + +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """ARM provisioning state, see + https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property + """ + + SUCCEEDED = "Succeeded" + FAILED = "Failed" + CANCELLED = "Cancelled" + CREATING = "Creating" + DELETING = "Deleting" + UPDATING = "Updating" + +class Reason(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The reason for unavailability of a name. Required if nameAvailable == false. + """ + + INVALID = "Invalid" + ALREADY_EXISTS = "AlreadyExists" + +class TestAnalysisStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the analysis. + """ + + NONE = "None" + ANALYZING = "Analyzing" + COMPLETED = "Completed" + FAILED = "Failed" + +class TestStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of a test. + """ + + NONE = "None" + TEST_EXECUTION_IN_PROGRESS = "TestExecutionInProgress" + DATA_PROCESSING = "DataProcessing" + TEST_FAILURE = "TestFailure" + UPDATE_FAILURE = "UpdateFailure" + TEST_AND_UPDATE_FAILURE = "TestAndUpdateFailure" + INFRASTRUCTURE_FAILURE = "InfrastructureFailure" + COMPLETED = "Completed" + +class TestType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The test type. + """ + + OUT_OF_BOX_TEST = "OutOfBoxTest" + FUNCTIONAL_TEST = "FunctionalTest" + +class Tier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The tier of this particular SKU. + """ + + STANDARD = "Standard" + +class Type(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of this release (OS update). + """ + + SECURITY_UPDATE = "SecurityUpdate" + FEATURE_UPDATE = "FeatureUpdate" + +class ValidationRunStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the validation run of the package. + """ + + UNKNOWN = "Unknown" + PENDING = "Pending" + PASSED = "Passed" + FAILED = "Failed" diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/__init__.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/__init__.py new file mode 100644 index 000000000000..5ceab87ab585 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/__init__.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._skus_operations import SkusOperations +from ._test_base_accounts_operations import TestBaseAccountsOperations +from ._usage_operations import UsageOperations +from ._available_os_operations import AvailableOSOperations +from ._flighting_rings_operations import FlightingRingsOperations +from ._test_types_operations import TestTypesOperations +from ._packages_operations import PackagesOperations +from ._test_summaries_operations import TestSummariesOperations +from ._test_results_operations import TestResultsOperations +from ._os_updates_operations import OSUpdatesOperations +from ._favorite_processes_operations import FavoriteProcessesOperations +from ._analysis_results_operations import AnalysisResultsOperations +from ._email_events_operations import EmailEventsOperations +from ._customer_events_operations import CustomerEventsOperations +from ._operations import Operations + +__all__ = [ + 'SkusOperations', + 'TestBaseAccountsOperations', + 'UsageOperations', + 'AvailableOSOperations', + 'FlightingRingsOperations', + 'TestTypesOperations', + 'PackagesOperations', + 'TestSummariesOperations', + 'TestResultsOperations', + 'OSUpdatesOperations', + 'FavoriteProcessesOperations', + 'AnalysisResultsOperations', + 'EmailEventsOperations', + 'CustomerEventsOperations', + 'Operations', +] diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_analysis_results_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_analysis_results_operations.py new file mode 100644 index 000000000000..956f65bd192b --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_analysis_results_operations.py @@ -0,0 +1,207 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AnalysisResultsOperations(object): + """AnalysisResultsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + test_result_name, # type: str + analysis_result_type, # type: Union[str, "_models.AnalysisResultType"] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AnalysisResultListResult"] + """Lists the Analysis Results of a Test Result. The result collection will only contain one + element as all the data will be nested in a singleton object. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :param analysis_result_type: The type of the Analysis Result of a Test Result. + :type analysis_result_type: str or ~test_base.models.AnalysisResultType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AnalysisResultListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.AnalysisResultListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalysisResultListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['analysisResultType'] = self._serialize.query("analysis_result_type", analysis_result_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AnalysisResultListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + test_result_name, # type: str + analysis_result_name, # type: Union[str, "_models.AnalysisResultName"] + **kwargs # type: Any + ): + # type: (...) -> "_models.AnalysisResultSingletonResource" + """Gets an Analysis Result of a Test Result by name. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :param analysis_result_name: The name of the Analysis Result of a Test Result. + :type analysis_result_name: str or ~test_base.models.AnalysisResultName + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AnalysisResultSingletonResource, or the result of cls(response) + :rtype: ~test_base.models.AnalysisResultSingletonResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalysisResultSingletonResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + 'analysisResultName': self._serialize.url("analysis_result_name", analysis_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AnalysisResultSingletonResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/analysisResults/{analysisResultName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_available_os_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_available_os_operations.py new file mode 100644 index 000000000000..2e571de3c1b0 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_available_os_operations.py @@ -0,0 +1,190 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableOSOperations(object): + """AvailableOSOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + os_update_type, # type: Union[str, "_models.OsUpdateType"] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailableOSListResult"] + """Lists all the available OSs to run a package under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableOSListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.AvailableOSListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableOSListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableOSListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + available_os_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AvailableOSResource" + """Gets an available OS to run a package under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param available_os_resource_name: The resource name of an Available OS. + :type available_os_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AvailableOSResource, or the result of cls(response) + :rtype: ~test_base.models.AvailableOSResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableOSResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'availableOSResourceName': self._serialize.url("available_os_resource_name", available_os_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AvailableOSResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/availableOSs/{availableOSResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_customer_events_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_customer_events_operations.py new file mode 100644 index 000000000000..851338b217d8 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_customer_events_operations.py @@ -0,0 +1,451 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class CustomerEventsOperations(object): + """CustomerEventsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_test_base_account( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.CustomerEventListResult"] + """Lists all notification events subscribed under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomerEventListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.CustomerEventListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_test_base_account.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('CustomerEventListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_test_base_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents'} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + customer_event_name, # type: str + parameters, # type: "_models.CustomerEventResource" + **kwargs # type: Any + ): + # type: (...) -> "_models.CustomerEventResource" + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CustomerEventResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + customer_event_name, # type: str + parameters, # type: "_models.CustomerEventResource" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.CustomerEventResource"] + """Create or replace a Test Base Customer Event. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :param parameters: Parameters supplied to create a Test Base CustomerEvent. + :type parameters: ~test_base.models.CustomerEventResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either CustomerEventResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~test_base.models.CustomerEventResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + customer_event_name=customer_event_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + customer_event_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + customer_event_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a Test Base Customer Event. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + customer_event_name=customer_event_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + customer_event_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.CustomerEventResource" + """Gets a Test Base CustomerEvent. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param customer_event_name: The resource name of the Test Base Customer event. + :type customer_event_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomerEventResource, or the result of cls(response) + :rtype: ~test_base.models.CustomerEventResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomerEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'customerEventName': self._serialize.url("customer_event_name", customer_event_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomerEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents/{customerEventName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_email_events_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_email_events_operations.py new file mode 100644 index 000000000000..28d674f47e2a --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_email_events_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class EmailEventsOperations(object): + """EmailEventsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.EmailEventListResult"] + """Lists all the email events of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EmailEventListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.EmailEventListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EmailEventListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('EmailEventListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + email_event_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.EmailEventResource" + """Gets a email event of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param email_event_resource_name: The resource name of an email event. + :type email_event_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: EmailEventResource, or the result of cls(response) + :rtype: ~test_base.models.EmailEventResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EmailEventResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'emailEventResourceName': self._serialize.url("email_event_resource_name", email_event_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('EmailEventResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents/{emailEventResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_favorite_processes_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_favorite_processes_operations.py new file mode 100644 index 000000000000..5416c0ed5653 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_favorite_processes_operations.py @@ -0,0 +1,341 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class FavoriteProcessesOperations(object): + """FavoriteProcessesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FavoriteProcessListResult"] + """Lists the favorite processes for a specific package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FavoriteProcessListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.FavoriteProcessListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FavoriteProcessListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses'} # type: ignore + + def create( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + favorite_process_resource_name, # type: str + parameters, # type: "_models.FavoriteProcessResource" + **kwargs # type: Any + ): + # type: (...) -> "_models.FavoriteProcessResource" + """Create or replace a favorite process for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :param parameters: Parameters supplied to create a favorite process in a package. + :type parameters: ~test_base.models.FavoriteProcessResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FavoriteProcessResource, or the result of cls(response) + :rtype: ~test_base.models.FavoriteProcessResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FavoriteProcessResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FavoriteProcessResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore + + def delete( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + favorite_process_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Deletes a favorite process for a specific package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + favorite_process_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FavoriteProcessResource" + """Gets a favorite process for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param favorite_process_resource_name: The resource name of a favorite process in a package. If + the process name contains characters that are not allowed in Azure Resource Name, we use + 'actualProcessName' in request body to submit the name. + :type favorite_process_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FavoriteProcessResource, or the result of cls(response) + :rtype: ~test_base.models.FavoriteProcessResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FavoriteProcessResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'favoriteProcessResourceName': self._serialize.url("favorite_process_resource_name", favorite_process_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FavoriteProcessResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/favoriteProcesses/{favoriteProcessResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_flighting_rings_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_flighting_rings_operations.py new file mode 100644 index 000000000000..63e1329f2a71 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_flighting_rings_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class FlightingRingsOperations(object): + """FlightingRingsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FlightingRingListResult"] + """Lists all the flighting rings of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FlightingRingListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.FlightingRingListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlightingRingListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FlightingRingListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + flighting_ring_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FlightingRingResource" + """Gets a flighting ring of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param flighting_ring_resource_name: The resource name of a flighting ring. + :type flighting_ring_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlightingRingResource, or the result of cls(response) + :rtype: ~test_base.models.FlightingRingResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlightingRingResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'flightingRingResourceName': self._serialize.url("flighting_ring_resource_name", flighting_ring_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlightingRingResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/flightingRings/{flightingRingResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_operations.py new file mode 100644 index 000000000000..035ecdd06d5f --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Lists all of the available REST API operations of the Microsoft.TestBase provider. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.TestBase/operations'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_os_updates_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_os_updates_operations.py new file mode 100644 index 000000000000..935453776807 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_os_updates_operations.py @@ -0,0 +1,198 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class OSUpdatesOperations(object): + """OSUpdatesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + os_update_type, # type: Union[str, "_models.OsUpdateType"] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OSUpdateListResult"] + """Lists the OS Updates in which the package were tested before. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OSUpdateListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.OSUpdateListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSUpdateListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OSUpdateListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + os_update_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.OSUpdateResource" + """Gets an OS Update by name in which the package was tested before. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_resource_name: The resource name of an OS Update. + :type os_update_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OSUpdateResource, or the result of cls(response) + :rtype: ~test_base.models.OSUpdateResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSUpdateResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'osUpdateResourceName': self._serialize.url("os_update_resource_name", os_update_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OSUpdateResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/osUpdates/{osUpdateResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_packages_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_packages_operations.py new file mode 100644 index 000000000000..afb416b2bb3e --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_packages_operations.py @@ -0,0 +1,783 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PackagesOperations(object): + """PackagesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_test_base_account( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PackageListResult"] + """Lists all the packages under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PackageListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.PackageListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_test_base_account.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PackageListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_test_base_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages'} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + parameters, # type: "_models.PackageResource" + **kwargs # type: Any + ): + # type: (...) -> "_models.PackageResource" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('PackageResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + parameters, # type: "_models.PackageResource" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PackageResource"] + """Create or replace (overwrite/recreate, with potential downtime) a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param parameters: Parameters supplied to create a Test Base Package. + :type parameters: ~test_base.models.PackageResource + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PackageResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~test_base.models.PackageResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + parameters, # type: "_models.PackageUpdateParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.PackageResource"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PackageResource"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageUpdateParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PackageResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + parameters, # type: "_models.PackageUpdateParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PackageResource"] + """Update an existing Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param parameters: Parameters supplied to update a Test Base Package. + :type parameters: ~test_base.models.PackageUpdateParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PackageResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~test_base.models.PackageResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PackageResource" + """Gets a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PackageResource, or the result of cls(response) + :rtype: ~test_base.models.PackageResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PackageResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PackageResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}'} # type: ignore + + def _hard_delete_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._hard_delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _hard_delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete'} # type: ignore + + def begin_hard_delete( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Hard Delete a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._hard_delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + package_name=package_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_hard_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/hardDelete'} # type: ignore + + def get_download_url( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DownloadURLResponse" + """Gets the download URL of a package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/getDownloadUrl'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_skus_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_skus_operations.py new file mode 100644 index 000000000000..74dfb7909209 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_skus_operations.py @@ -0,0 +1,114 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SkusOperations(object): + """SkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestBaseAccountSKUListResult"] + """Lists the available SKUs of Test Base Account in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountSKUListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestBaseAccountSKUListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountSKUListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountSKUListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/skus'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_base_accounts_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_base_accounts_operations.py new file mode 100644 index 000000000000..57e0ea03db9d --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_base_accounts_operations.py @@ -0,0 +1,912 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TestBaseAccountsOperations(object): + """TestBaseAccountsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + get_deleted=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestBaseAccountListResult"] + """Lists all the Test Base Accounts in a subscription. This API is required by ARM guidelines. + + :param get_deleted: The flag indicating if we need to include the Test Base Accounts which were + soft deleted before. + :type get_deleted: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestBaseAccountListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if get_deleted is not None: + query_parameters['getDeleted'] = self._serialize.query("get_deleted", get_deleted, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.TestBase/testBaseAccounts'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + get_deleted=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestBaseAccountListResult"] + """Lists all the Test Base Accounts in a resource group. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param get_deleted: The flag indicating if we need to include the Test Base Accounts which were + soft deleted before. + :type get_deleted: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestBaseAccountListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if get_deleted is not None: + query_parameters['getDeleted'] = self._serialize.query("get_deleted", get_deleted, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts'} # type: ignore + + def _create_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters, # type: "_models.TestBaseAccountResource" + restore=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> "_models.TestBaseAccountResource" + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if restore is not None: + query_parameters['restore'] = self._serialize.query("restore", restore, 'bool') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TestBaseAccountResource') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 200: + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters, # type: "_models.TestBaseAccountResource" + restore=None, # type: Optional[bool] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.TestBaseAccountResource"] + """Create or replace (overwrite/recreate, with potential downtime) a Test Base Account in the + specified subscription. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to create a Test Base Account. + :type parameters: ~test_base.models.TestBaseAccountResource + :param restore: The flag indicating if we would like to restore the Test Base Accounts which + were soft deleted before. + :type restore: bool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either TestBaseAccountResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~test_base.models.TestBaseAccountResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + parameters=parameters, + restore=restore, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters, # type: "_models.TestBaseAccountUpdateParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.TestBaseAccountResource"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.TestBaseAccountResource"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TestBaseAccountUpdateParameters') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if response.status_code == 201: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, deserialized, response_headers) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters, # type: "_models.TestBaseAccountUpdateParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.TestBaseAccountResource"] + """Update an existing Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to update a Test Base Account. + :type parameters: ~test_base.models.TestBaseAccountUpdateParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either TestBaseAccountResource or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~test_base.models.TestBaseAccountResource] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TestBaseAccountResource" + """Gets a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestBaseAccountResource, or the result of cls(response) + :rtype: ~test_base.models.TestBaseAccountResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestBaseAccountResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}'} # type: ignore + + def _offboard_initial( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self._offboard_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + response_headers = {} + if response.status_code == 202: + response_headers['Azure-AsyncOperation']=self._deserialize('str', response.headers.get('Azure-AsyncOperation')) + response_headers['Location']=self._deserialize('str', response.headers.get('Location')) + + if cls: + return cls(pipeline_response, None, response_headers) + + _offboard_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard'} # type: ignore + + def begin_offboard( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Offboard a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._offboard_initial( + resource_group_name=resource_group_name, + test_base_account_name=test_base_account_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_offboard.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/offboard'} # type: ignore + + def get_file_upload_url( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters=None, # type: Optional["_models.GetFileUploadURLParameters"] + **kwargs # type: Any + ): + # type: (...) -> "_models.FileUploadURLResponse" + """Gets the file upload URL of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to the Test Base Account GetFileUploadURL operation. + :type parameters: ~test_base.models.GetFileUploadURLParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FileUploadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.FileUploadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FileUploadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.get_file_upload_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'GetFileUploadURLParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FileUploadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_file_upload_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/getFileUploadUrl'} # type: ignore + + def check_package_name_availability( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + parameters, # type: "_models.PackageCheckNameAvailabilityParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.CheckNameAvailabilityResult" + """Checks that the Test Base Package name and version is valid and is not already in use. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param parameters: Parameters supplied to the Test Base Package CheckNameAvailability + operation. + :type parameters: ~test_base.models.PackageCheckNameAvailabilityParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CheckNameAvailabilityResult, or the result of cls(response) + :rtype: ~test_base.models.CheckNameAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CheckNameAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.check_package_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PackageCheckNameAvailabilityParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CheckNameAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_package_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/checkPackageNameAvailability'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_results_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_results_operations.py new file mode 100644 index 000000000000..c95a21daf7ca --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_results_operations.py @@ -0,0 +1,340 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TestResultsOperations(object): + """TestResultsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + os_update_type, # type: Union[str, "_models.OsUpdateType"] + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestResultListResult"] + """Lists all the Test Results with specified OS Update type for a Test Base Package. Can be + filtered by osName, releaseName, flightingRing, buildVersion, buildRevision. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param os_update_type: The type of the OS Update. + :type os_update_type: str or ~test_base.models.OsUpdateType + :param filter: Odata filter. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestResultListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestResultListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestResultListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['osUpdateType'] = self._serialize.query("os_update_type", os_update_type, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestResultListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + test_result_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TestResultResource" + """Get the Test Result by Id with specified OS Update type for a Test Base Package. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestResultResource, or the result of cls(response) + :rtype: ~test_base.models.TestResultResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestResultResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestResultResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}'} # type: ignore + + def get_download_url( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + test_result_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DownloadURLResponse" + """Gets the download URL of the test result. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getDownloadUrl'} # type: ignore + + def get_video_download_url( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + package_name, # type: str + test_result_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DownloadURLResponse" + """Gets the download URL of the test execution screen recording. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param package_name: The resource name of the Test Base Package. + :type package_name: str + :param test_result_name: The Test Result Name. It equals to {osName}-{TestResultId} string. + :type test_result_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DownloadURLResponse, or the result of cls(response) + :rtype: ~test_base.models.DownloadURLResponse + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DownloadURLResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get_video_download_url.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'packageName': self._serialize.url("package_name", package_name, 'str'), + 'testResultName': self._serialize.url("test_result_name", test_result_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DownloadURLResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_video_download_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/packages/{packageName}/testResults/{testResultName}/getVideoDownloadUrl'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_summaries_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_summaries_operations.py new file mode 100644 index 000000000000..0418f24077a7 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_summaries_operations.py @@ -0,0 +1,187 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TestSummariesOperations(object): + """TestSummariesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestSummaryListResult"] + """Lists the Test Summaries of all the packages under a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestSummaryListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestSummaryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestSummaryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestSummaryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + test_summary_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TestSummaryResource" + """Gets a Test Summary with specific name from all the Test Summaries of all the packages under a + Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param test_summary_name: The name of the Test Summary. + :type test_summary_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestSummaryResource, or the result of cls(response) + :rtype: ~test_base.models.TestSummaryResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestSummaryResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'testSummaryName': self._serialize.url("test_summary_name", test_summary_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestSummaryResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testSummaries/{testSummaryName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_types_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_types_operations.py new file mode 100644 index 000000000000..2dedfa934e6b --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_test_types_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class TestTypesOperations(object): + """TestTypesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestTypeListResult"] + """Lists all the test types of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestTypeListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestTypeListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestTypeListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestTypeListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes'} # type: ignore + + def get( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + test_type_resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.TestTypeResource" + """Gets a test type of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param test_type_resource_name: The resource name of a test type. + :type test_type_resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: TestTypeResource, or the result of cls(response) + :rtype: ~test_base.models.TestTypeResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestTypeResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + 'testTypeResourceName': self._serialize.url("test_type_resource_name", test_type_resource_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('TestTypeResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/testTypes/{testTypeResourceName}'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_usage_operations.py b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_usage_operations.py new file mode 100644 index 000000000000..90299c7e1e10 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/operations/_usage_operations.py @@ -0,0 +1,127 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsageOperations(object): + """UsageOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~test_base.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + test_base_account_name, # type: str + filter=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.TestBaseAccountUsageDataList"] + """Lists the usage data of a Test Base Account. + + :param resource_group_name: The name of the resource group that contains the resource. + :type resource_group_name: str + :param test_base_account_name: The resource name of the Test Base Account. + :type test_base_account_name: str + :param filter: Odata filter. + :type filter: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either TestBaseAccountUsageDataList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~test_base.models.TestBaseAccountUsageDataList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.TestBaseAccountUsageDataList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2020-12-16-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'testBaseAccountName': self._serialize.url("test_base_account_name", test_base_account_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('TestBaseAccountUsageDataList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/usages'} # type: ignore diff --git a/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/py.typed b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/azure/mgmt/testbase/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml b/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml new file mode 100644 index 000000000000..375b30712f38 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/sdk_packaging.toml @@ -0,0 +1,9 @@ +[packaging] +package_name = "azure-mgmt-testbase" +package_nspkg = "azure-mgmt-nspkg" +package_pprint_name = "Testbase Management" +package_doc_id = "" +is_stable = false +is_arm = true +need_msrestazure = false +need_azuremgmtcore = true diff --git a/sdk/testbase/azure-mgmt-testbase/setup.cfg b/sdk/testbase/azure-mgmt-testbase/setup.cfg new file mode 100644 index 000000000000..3c6e79cf31da --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/sdk/testbase/azure-mgmt-testbase/setup.py b/sdk/testbase/azure-mgmt-testbase/setup.py new file mode 100644 index 000000000000..ad031629ac84 --- /dev/null +++ b/sdk/testbase/azure-mgmt-testbase/setup.py @@ -0,0 +1,91 @@ +#!/usr/bin/env python + +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- + +import re +import os.path +from io import open +from setuptools import find_packages, setup + +# Change the PACKAGE_NAME only to change folder and different name +PACKAGE_NAME = "azure-mgmt-testbase" +PACKAGE_PPRINT_NAME = "Testbase Management" + +# a-b-c => a/b/c +package_folder_path = PACKAGE_NAME.replace('-', '/') +# a-b-c => a.b.c +namespace_name = PACKAGE_NAME.replace('-', '.') + +# azure v0.x is not compatible with this package +# azure v0.x used to have a __version__ attribute (newer versions don't) +try: + import azure + try: + ver = azure.__version__ + raise Exception( + 'This package is incompatible with azure=={}. '.format(ver) + + 'Uninstall it with "pip uninstall azure".' + ) + except AttributeError: + pass +except ImportError: + pass + +# Version extraction inspired from 'requests' +with open(os.path.join(package_folder_path, 'version.py') + if os.path.exists(os.path.join(package_folder_path, 'version.py')) + else os.path.join(package_folder_path, '_version.py'), 'r') as fd: + version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', + fd.read(), re.MULTILINE).group(1) + +if not version: + raise RuntimeError('Cannot find version information') + +with open('README.md', encoding='utf-8') as f: + readme = f.read() +with open('CHANGELOG.md', encoding='utf-8') as f: + changelog = f.read() + +setup( + name=PACKAGE_NAME, + version=version, + description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), + long_description=readme + '\n\n' + changelog, + long_description_content_type='text/markdown', + license='MIT License', + author='Microsoft Corporation', + author_email='azpysdkhelp@microsoft.com', + url='https://github.com/Azure/azure-sdk-for-python', + classifiers=[ + 'Development Status :: 4 - Beta', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'License :: OSI Approved :: MIT License', + ], + zip_safe=False, + packages=find_packages(exclude=[ + 'tests', + # Exclude packages that will be covered by PEP420 or nspkg + 'azure', + 'azure.mgmt', + ]), + install_requires=[ + 'msrest>=0.6.21', + 'azure-common~=1.1', + 'azure-mgmt-core>=1.2.0,<2.0.0', + ], + extras_require={ + ":python_version<'3.0'": ['azure-mgmt-nspkg'], + } +) diff --git a/sdk/testbase/ci.yml b/sdk/testbase/ci.yml new file mode 100644 index 000000000000..c7e14bf32049 --- /dev/null +++ b/sdk/testbase/ci.yml @@ -0,0 +1,35 @@ +# DO NOT EDIT THIS FILE +# This file is generated automatically and any changes will be lost. + +trigger: + branches: + include: + - master + - main + - hotfix/* + - release/* + - restapi* + paths: + include: + - sdk/testbase/ + +pr: + branches: + include: + - master + - main + - feature/* + - hotfix/* + - release/* + - restapi* + paths: + include: + - sdk/testbase/ + +extends: + template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: testbase + Artifacts: + - name: azure-mgmt-testbase + safeName: azuremgmttestbase diff --git a/shared_requirements.txt b/shared_requirements.txt index 0f6597582949..eb6118a522c0 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -310,4 +310,5 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-hdinsight msrest>=0.6.21 #override azure-mgmt-batchai msrest>=0.6.21 #override azure-mgmt-costmanagement msrest>=0.6.21 +#override azure-mgmt-testbase msrest>=0.6.21 #override azure-mgmt-agrifood msrest>=0.6.21 From b37aa446b84dce030f4c1bfb9e84e9d6867d7beb Mon Sep 17 00:00:00 2001 From: msyyc <70930885+msyyc@users.noreply.github.com> Date: Fri, 18 Jun 2021 09:58:22 +0800 Subject: [PATCH 04/45] upgrade autorest.python 5.8.0 => 5.8.1 (#19289) --- swagger_to_sdk_config_autorest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger_to_sdk_config_autorest.json b/swagger_to_sdk_config_autorest.json index 0634234d15ef..08b6913ce7e0 100644 --- a/swagger_to_sdk_config_autorest.json +++ b/swagger_to_sdk_config_autorest.json @@ -2,7 +2,7 @@ "meta": { "autorest_options": { "version": "3.4.2", - "use": ["@autorest/python@5.8.0", "@autorest/modelerfour@4.19.2"], + "use": ["@autorest/python@5.8.1", "@autorest/modelerfour@4.19.2"], "python": "", "python-mode": "update", "sdkrel:python-sdks-folder": "./sdk/.", From c8291ac6cb0dbd865da03a88dd2bcb9279e2c4a6 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 18 Jun 2021 09:10:39 -0700 Subject: [PATCH 05/45] Add login_hint argument to InteractiveBrowserCredential (#19229) --- sdk/identity/azure-identity/CHANGELOG.md | 5 +++- .../azure/identity/_credentials/browser.py | 27 ++++++++++++------- .../tests/test_browser_credential.py | 27 +++++++++++++++++++ 3 files changed, 48 insertions(+), 11 deletions(-) diff --git a/sdk/identity/azure-identity/CHANGELOG.md b/sdk/identity/azure-identity/CHANGELOG.md index 3e35534ea3ac..981f17b360d0 100644 --- a/sdk/identity/azure-identity/CHANGELOG.md +++ b/sdk/identity/azure-identity/CHANGELOG.md @@ -1,7 +1,10 @@ # Release History ## 1.7.0b2 (Unreleased) - +### Added +- `InteractiveBrowserCredential` keyword argument `login_hint` enables + pre-filling the username/email address field on the login page + ([#19225](https://github.com/Azure/azure-sdk-for-python/issues/19225)) ## 1.7.0b1 (2021-06-08) Beginning with this release, this library requires Python 2.7 or 3.6+. diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/browser.py b/sdk/identity/azure-identity/azure/identity/_credentials/browser.py index 0f773df22602..a8e025fb2f3e 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/browser.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/browser.py @@ -32,21 +32,23 @@ class InteractiveBrowserCredential(InteractiveCredential): there with the authorization code flow, using PKCE (Proof Key for Code Exchange) internally to protect the code. :keyword str authority: Authority of an Azure Active Directory endpoint, for example 'login.microsoftonline.com', - the authority for Azure Public Cloud (which is the default). :class:`~azure.identity.AzureAuthorityHosts` - defines authorities for other clouds. + the authority for Azure Public Cloud (which is the default). :class:`~azure.identity.AzureAuthorityHosts` + defines authorities for other clouds. :keyword str tenant_id: an Azure Active Directory tenant ID. Defaults to the 'organizations' tenant, which can - authenticate work or school accounts. + authenticate work or school accounts. :keyword str client_id: Client ID of the Azure Active Directory application users will sign in to. If - unspecified, users will authenticate to an Azure development application. + unspecified, users will authenticate to an Azure development application. + :keyword str login_hint: a username suggestion to pre-fill the login page's username/email address field. A user + may still log in with a different username. :keyword str redirect_uri: a redirect URI for the application identified by `client_id` as configured in Azure - Active Directory, for example "http://localhost:8400". This is only required when passing a value for - `client_id`, and must match a redirect URI in the application's registration. The credential must be able to - bind a socket to this URI. + Active Directory, for example "http://localhost:8400". This is only required when passing a value for + `client_id`, and must match a redirect URI in the application's registration. The credential must be able to + bind a socket to this URI. :keyword AuthenticationRecord authentication_record: :class:`AuthenticationRecord` returned by :func:`authenticate` :keyword bool disable_automatic_authentication: if True, :func:`get_token` will raise - :class:`AuthenticationRequiredError` when user interaction is required to acquire a token. Defaults to False. + :class:`AuthenticationRequiredError` when user interaction is required to acquire a token. Defaults to False. :keyword cache_persistence_options: configuration for persistent token caching. If unspecified, the credential - will cache tokens in memory. + will cache tokens in memory. :paramtype cache_persistence_options: ~azure.identity.TokenCachePersistenceOptions :keyword int timeout: seconds to wait for the user to complete authentication. Defaults to 300 (5 minutes). :raises ValueError: invalid `redirect_uri` @@ -62,6 +64,7 @@ def __init__(self, **kwargs): else: self._parsed_url = None + self._login_hint = kwargs.pop("login_hint", None) self._timeout = kwargs.pop("timeout", 300) self._server_class = kwargs.pop("_server_class", AuthCodeRedirectServer) client_id = kwargs.pop("client_id", DEVELOPER_SIGN_ON_CLIENT_ID) @@ -96,7 +99,11 @@ def _request_token(self, *scopes, **kwargs): claims = kwargs.get("claims") app = self._get_app() flow = app.initiate_auth_code_flow( - scopes, redirect_uri=redirect_uri, prompt="select_account", claims_challenge=claims + scopes, + redirect_uri=redirect_uri, + prompt="select_account", + claims_challenge=claims, + login_hint=self._login_hint, ) if "auth_uri" not in flow: raise CredentialUnavailableError("Failed to begin authentication flow") diff --git a/sdk/identity/azure-identity/tests/test_browser_credential.py b/sdk/identity/azure-identity/tests/test_browser_credential.py index 967a988e44c2..47fe2dc4e9ab 100644 --- a/sdk/identity/azure-identity/tests/test_browser_credential.py +++ b/sdk/identity/azure-identity/tests/test_browser_credential.py @@ -266,6 +266,33 @@ def test_claims_challenge(): assert kwargs["claims_challenge"] == expected_claims +def test_login_hint(): + expected_username = "user@foo.com" + auth_code_response = {"code": "authorization-code", "state": ["..."]} + server_class = Mock(return_value=Mock(wait_for_redirect=lambda: auth_code_response)) + transport = Mock(send=Mock(side_effect=Exception("this test mocks MSAL, so no request should be sent"))) + + msal_acquire_token_result = dict( + build_aad_response(access_token="**", id_token=build_id_token()), + id_token_claims=id_token_claims("issuer", "subject", "audience", upn="upn"), + ) + mock_msal_app = Mock( + acquire_token_by_auth_code_flow=Mock(return_value=msal_acquire_token_result), + initiate_auth_code_flow=Mock(return_value={"auth_uri": "http://localhost"}), + ) + + credential = InteractiveBrowserCredential( + _server_class=server_class, transport=transport, login_hint=expected_username + ) + with patch("msal.PublicClientApplication", Mock(return_value=mock_msal_app)): + with patch(WEBBROWSER_OPEN, lambda _: True): + credential.authenticate(scopes=["scope"]) + + assert mock_msal_app.initiate_auth_code_flow.call_count == 1 + _, kwargs = mock_msal_app.initiate_auth_code_flow.call_args + assert kwargs["login_hint"] == expected_username + + @pytest.mark.parametrize( "uname,is_wsl", ( From f3bceecaf23bfb652c2e6eab65420d44628eda63 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Fri, 18 Jun 2021 09:39:19 -0700 Subject: [PATCH 06/45] query - add more tests (#19316) --- .../samples/sample_log_query_client.py | 33 +------ .../sample_log_query_client_without_pandas.py | 55 +++++++++++ .../tests/test_logs_client.py | 24 ++++- .../tests/test_logs_timespans.py | 92 +++++++++++++++++++ 4 files changed, 175 insertions(+), 29 deletions(-) create mode 100644 sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py create mode 100644 sdk/monitor/azure-monitor-query/tests/test_logs_timespans.py diff --git a/sdk/monitor/azure-monitor-query/samples/sample_log_query_client.py b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client.py index 8836bc71d8b7..10a160f71bed 100644 --- a/sdk/monitor/azure-monitor-query/samples/sample_log_query_client.py +++ b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client.py @@ -4,6 +4,7 @@ import os import pandas as pd from datetime import datetime +from msrest.serialization import UTC from azure.monitor.query import LogsQueryClient from azure.identity import ClientSecretCredential @@ -20,12 +21,13 @@ # Response time trend # request duration over the last 12 hours. # [START send_logs_query] -query = """AppRequests | -where TimeGenerated > ago(12h) | +query = """AppRequests | summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""" +end_time = datetime.now(UTC()) + # returns LogsQueryResults -response = client.query(os.environ['LOG_WORKSPACE_ID'], query, start_time=datetime(2021, 6, 2), end_time=datetime.now()) +response = client.query(os.environ['LOG_WORKSPACE_ID'], query, duration='PT1H', end_time=end_time) if not response.tables: print("No results for the query") @@ -40,28 +42,3 @@ 1 2021-05-27T08:50:00Z /subscriptions/faa080af-c1d8-40ad-9cce-e1a450c... 18.11655 2 2021-05-27T09:00:00Z /subscriptions/faa080af-c1d8-40ad-9cce-e1a450c... 24.5271 """ - -# if you dont want to use pandas - here's how you can process it. - -#response.tables is a LogsQueryResultTable -for table in response.tables: - for col in table.columns: #LogsQueryResultColumn - print(col.name + "/"+ col.type + " | ", end="") - print("\n") - for row in table.rows: - for item in row: - print(item + " | ", end="") - print("\n") - - -""" -TimeGenerated/datetime | _ResourceId/string | avgRequestDuration/real | - -2021-05-11T08:20:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 10.8915 | - -2021-05-11T08:30:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 33.23276666666667 | - -2021-05-11T08:40:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 21.83535 | - -2021-05-11T08:50:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 11.028649999999999 | -""" \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py new file mode 100644 index 000000000000..69538566582e --- /dev/null +++ b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py @@ -0,0 +1,55 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +import os +from datetime import datetime +from msrest.serialization import UTC +from azure.monitor.query import LogsQueryClient +from azure.identity import ClientSecretCredential + +# [START client_auth_with_token_cred] +credential = ClientSecretCredential( + client_id = os.environ['AZURE_CLIENT_ID'], + client_secret = os.environ['AZURE_CLIENT_SECRET'], + tenant_id = os.environ['AZURE_TENANT_ID'] + ) + +client = LogsQueryClient(credential) +# [END client_auth_with_token_cred] + +# Response time trend +# request duration over the last 12 hours. +# [START send_logs_query] +query = """AppRequests | +summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""" + +end_time = datetime.now(UTC()) + +# returns LogsQueryResults +response = client.query(os.environ['LOG_WORKSPACE_ID'], query, duration='PT1H', end_time=end_time) + +if not response.tables: + print("No results for the query") + +#response.tables is a LogsQueryResultTable +for table in response.tables: + for col in table.columns: #LogsQueryResultColumn + print(col.name + "/"+ col.type + " | ", end="") + print("\n") + for row in table.rows: + for item in row: + print(item + " | ", end="") + print("\n") + + +""" +TimeGenerated/datetime | _ResourceId/string | avgRequestDuration/real | + +2021-05-11T08:20:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 10.8915 | + +2021-05-11T08:30:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 33.23276666666667 | + +2021-05-11T08:40:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 21.83535 | + +2021-05-11T08:50:00Z | /subscriptions//resourcegroups/cobey-azuresdkshinydashboardgrp/providers/microsoft.insights/components/cobey-willthisbestatic | 11.028649999999999 | +""" \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py index 750ef9cefee6..97d225e7c853 100644 --- a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py +++ b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py @@ -13,7 +13,7 @@ def _credential(): return credential @pytest.mark.live_test_only -def test_logs_auth(): +def test_logs_single_query(): credential = _credential() client = LogsQueryClient(credential) query = """AppRequests | @@ -26,6 +26,28 @@ def test_logs_auth(): assert response is not None assert response.tables is not None +@pytest.mark.live_test_only +def test_logs_single_query_with_non_200(): + credential = _credential() + client = LogsQueryClient(credential) + query = """AppInsights | + where TimeGenerated > ago(12h)""" + + with pytest.raises(HttpResponseError) as e: + client.query(os.environ['LOG_WORKSPACE_ID'], query) + + assert "SemanticError" in e.value.message + +@pytest.mark.live_test_only +def test_logs_single_query_with_partial_success(): + credential = _credential() + client = LogsQueryClient(credential) + query = "set truncationmaxrecords=1; union * | project TimeGenerated | take 10" + + response = client.query(os.environ['LOG_WORKSPACE_ID'], query) + + assert response is not None + @pytest.mark.live_test_only def test_logs_server_timeout(): client = LogsQueryClient(_credential()) diff --git a/sdk/monitor/azure-monitor-query/tests/test_logs_timespans.py b/sdk/monitor/azure-monitor-query/tests/test_logs_timespans.py new file mode 100644 index 000000000000..85af60795414 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/tests/test_logs_timespans.py @@ -0,0 +1,92 @@ +from datetime import datetime, time, timedelta +import pytest +import json +import os +from msrest.serialization import UTC + +from azure.identity import ClientSecretCredential +from azure.core.exceptions import HttpResponseError +from azure.monitor.query import LogsQueryClient, LogsQueryRequest + +def _credential(): + credential = ClientSecretCredential( + client_id = os.environ['AZURE_CLIENT_ID'], + client_secret = os.environ['AZURE_CLIENT_SECRET'], + tenant_id = os.environ['AZURE_TENANT_ID'] + ) + return credential + +@pytest.mark.live_test_only +def test_query_no_duration(): + credential = _credential() + client = LogsQueryClient(credential) + query = """AppRequests | + where TimeGenerated > ago(12h) | + summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""" + + def callback(request): + dic = json.loads(request.http_request.body) + assert dic.get('timespan') is None + # returns LogsQueryResults + client.query(os.environ['LOG_WORKSPACE_ID'], query) + +@pytest.mark.live_test_only +def test_query_start_and_end_time(): + credential = _credential() + client = LogsQueryClient(credential) + query = "AppRequests | take 5" + + end_time = datetime.now(UTC()) + start_time = end_time - timedelta(days=3) + + def callback(request): + dic = json.loads(request.http_request.body) + assert dic.get('timespan') is not None + + client.query(os.environ['LOG_WORKSPACE_ID'], query, start_time=start_time, end_time=end_time, raw_request_hook=callback) + +@pytest.mark.live_test_only +def test_query_duration_and_end_time(): + credential = _credential() + client = LogsQueryClient(credential) + query = "AppRequests | take 5" + + end_time = datetime.now(UTC()) + duration = 'P3D' + + def callback(request): + dic = json.loads(request.http_request.body) + assert 'P3D/' in dic.get('timespan') + + client.query(os.environ['LOG_WORKSPACE_ID'], query, duration=duration, end_time=end_time, raw_request_hook=callback) + +@pytest.mark.live_test_only +def test_query_duration_and_start_time(): + credential = _credential() + client = LogsQueryClient(credential) + query = "AppRequests | take 5" + + end_time = datetime.now(UTC()) + start_time = end_time - timedelta(days=3) + duration = 'P3D' + + def callback(request): + dic = json.loads(request.http_request.body) + assert '/P3D' in dic.get('timespan') + + client.query(os.environ['LOG_WORKSPACE_ID'], query, duration=duration, start_time=start_time, raw_request_hook=callback) + + +@pytest.mark.live_test_only +def test_query_duration_only(): + credential = _credential() + client = LogsQueryClient(credential) + query = "AppRequests | take 5" + + duration = 'P3D' + + def callback(request): + dic = json.loads(request.http_request.body) + assert 'P3D' in dic.get('timespan') + + client.query(os.environ['LOG_WORKSPACE_ID'], query, duration=duration, raw_request_hook=callback) From d3930215a1bf184f3cb3f104884a46609cb85ef2 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Fri, 18 Jun 2021 11:05:21 -0700 Subject: [PATCH 07/45] prepare for master to main rename. commit this PR after the rename has finished (#19331) --- scripts/auto_release/main.py | 2 +- scripts/devops_tasks/test_regression.py | 2 +- .../disable_test_mgmt_containerregistry_2018_02_01_preview.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/auto_release/main.py b/scripts/auto_release/main.py index 01e66bd248b5..adaadc9f99f7 100644 --- a/scripts/auto_release/main.py +++ b/scripts/auto_release/main.py @@ -417,4 +417,4 @@ def main(): my_print(e) else: with open(f'{OUT_PATH}/output.txt', 'w') as file_out: - file_out.writelines([f'{NEW_BRANCH}\n', "master" if TRACK == '2' else 'release/v3']) + file_out.writelines([f'{NEW_BRANCH}\n', "main" if TRACK == '2' else 'release/v3']) diff --git a/scripts/devops_tasks/test_regression.py b/scripts/devops_tasks/test_regression.py index b8dc613e624a..0ec35ee92348 100644 --- a/scripts/devops_tasks/test_regression.py +++ b/scripts/devops_tasks/test_regression.py @@ -35,7 +35,7 @@ test_tools_req_file = os.path.abspath(os.path.join(root_dir, "eng", "test_tools.txt")) GIT_REPO_NAME = "azure-sdk-for-python" -GIT_MASTER_BRANCH = "master" +GIT_MASTER_BRANCH = "main" VENV_NAME = "regressionenv" AZURE_SDK_FOR_PYTHON_GIT_URL = "https://github.com/Azure/azure-sdk-for-python.git" TEMP_FOLDER_NAME = ".tmp_code_path" diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/disable_test_mgmt_containerregistry_2018_02_01_preview.py b/sdk/containerregistry/azure-mgmt-containerregistry/tests/disable_test_mgmt_containerregistry_2018_02_01_preview.py index 52978845426d..e8298d6a3f60 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/disable_test_mgmt_containerregistry_2018_02_01_preview.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/disable_test_mgmt_containerregistry_2018_02_01_preview.py @@ -276,7 +276,7 @@ def _create_build_task(self, build_task_name, registry_name, resource_group_name def _create_build_step(self, build_step_name, build_task_name, registry_name, resource_group_name, location): docker_build_step = DockerBuildStep( - branch='master', + branch='main', image_names=['repo:tag'], is_push_enabled=True, no_cache=False, @@ -294,7 +294,7 @@ def _create_build_step(self, build_step_name, build_task_name, registry_name, re ).result() self.assertEqual(build_step.name, build_step_name) - self.assertEqual(build_step.properties.branch, 'master') + self.assertEqual(build_step.properties.branch, 'main') self.assertEqual(build_step.properties.image_names, ['repo:tag']) self.assertEqual(build_step.properties.is_push_enabled, True) self.assertEqual(build_step.properties.no_cache, False) From 24b258c27949bb660e24329524d599f9e2cf9c8c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 18 Jun 2021 13:45:46 -0700 Subject: [PATCH 08/45] Fix hard-coded master (#19333) Co-authored-by: Chidozie Ononiwu --- eng/common/pipelines/templates/steps/set-default-branch.yml | 4 ++-- eng/common/scripts/update-docs-metadata.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/pipelines/templates/steps/set-default-branch.yml b/eng/common/pipelines/templates/steps/set-default-branch.yml index e3eed4512d97..491edaa8b68d 100644 --- a/eng/common/pipelines/templates/steps/set-default-branch.yml +++ b/eng/common/pipelines/templates/steps/set-default-branch.yml @@ -5,8 +5,8 @@ steps: - pwsh: | $setDefaultBranch = (git remote show ${{ parameters.RemoteRepo }} | Out-String) -replace "(?ms).*HEAD branch: (\w+).*", '$1' if ($LASTEXITCODE -ne 0) { - Write-Host "Not able to fetch the default branch from git command. Set to master." - $setDefaultBranch = 'master' + Write-Host "Not able to fetch the default branch from git command. Set to main." + $setDefaultBranch = 'main' } Write-Host "Setting DefaultBranch=$setDefaultBranch" Write-Host "##vso[task.setvariable variable=DefaultBranch]$setDefaultBranch" diff --git a/eng/common/scripts/update-docs-metadata.ps1 b/eng/common/scripts/update-docs-metadata.ps1 index fc16fea9e552..6154afd51591 100644 --- a/eng/common/scripts/update-docs-metadata.ps1 +++ b/eng/common/scripts/update-docs-metadata.ps1 @@ -24,7 +24,7 @@ param ( . (Join-Path $PSScriptRoot common.ps1) -$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)master" +$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)main" function GetMetaData { if (Test-Path Variable:MetadataUri) { From f90c95b88de92000eac7b6d207171512c3bc0dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:12:06 -0700 Subject: [PATCH 09/45] [Key Vault] Update release dates for KV packages (#19340) --- sdk/keyvault/azure-keyvault-administration/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md index f72018763334..4b92005df615 100644 --- a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0 (2020-06-17) +## 4.0.0 (2021-06-21) ### Changed - Key Vault API version 7.2 is now the default - `KeyVaultAccessControlClient.delete_role_assignment` and diff --git a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md index 228c68afef36..ebe0cb5088d5 100644 --- a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.3.0 (2020-06-17) +## 4.3.0 (2021-06-21) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed - Key Vault API version 7.2 is now the default diff --git a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md index ba162f1bdec7..6ce83676202c 100644 --- a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.4.0 (2020-06-17) +## 4.4.0 (2021-06-21) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed - Key Vault API version 7.2 is now the default diff --git a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md index d467d56565c5..a6314aa62d19 100644 --- a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.3.0 (2020-06-17) +## 4.3.0 (2021-06-21) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Fixed - Correct typing for async paging methods From 708bca1598934932d379c8f08a6cd989688f8039 Mon Sep 17 00:00:00 2001 From: Ricardo Squassina Lee <8495707+squassina@users.noreply.github.com> Date: Fri, 18 Jun 2021 20:40:39 -0300 Subject: [PATCH 10/45] add check before printing receipt items (#19342) * add check before printing receipt items * add check before printing receipt items --- .../sample_recognize_receipts_async.py | 31 ++++++++++--------- ...ample_recognize_receipts_from_url_async.py | 31 ++++++++++--------- .../samples/sample_recognize_receipts.py | 31 ++++++++++--------- .../sample_recognize_receipts_from_url.py | 31 ++++++++++--------- 4 files changed, 64 insertions(+), 60 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py index d61aca783d02..5459f4b2623e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py @@ -61,21 +61,22 @@ async def recognize_receipts(self): transaction_date = receipt.fields.get("TransactionDate") if transaction_date: print("Transaction Date: {} has confidence: {}".format(transaction_date.value, transaction_date.confidence)) - print("Receipt items:") - for idx, item in enumerate(receipt.fields.get("Items").value): - print("...Item #{}".format(idx+1)) - item_name = item.value.get("Name") - if item_name: - print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) - item_quantity = item.value.get("Quantity") - if item_quantity: - print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) - item_price = item.value.get("Price") - if item_price: - print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) - item_total_price = item.value.get("TotalPrice") - if item_total_price: - print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) + if receipt.fields.get("Items"): + print("Receipt items:") + for idx, item in enumerate(receipt.fields.get("Items").value): + print("...Item #{}".format(idx+1)) + item_name = item.value.get("Name") + if item_name: + print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) + item_quantity = item.value.get("Quantity") + if item_quantity: + print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) + item_price = item.value.get("Price") + if item_price: + print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) + item_total_price = item.value.get("TotalPrice") + if item_total_price: + print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) subtotal = receipt.fields.get("Subtotal") if subtotal: print("Subtotal: {} has confidence: {}".format(subtotal.value, subtotal.confidence)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py index ed5cfaa10f9d..2787800b8d13 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py @@ -57,21 +57,22 @@ async def recognize_receipts_from_url(self): transaction_date = receipt.fields.get("TransactionDate") if transaction_date: print("Transaction Date: {} has confidence: {}".format(transaction_date.value, transaction_date.confidence)) - print("Receipt items:") - for idx, item in enumerate(receipt.fields.get("Items").value): - print("...Item #{}".format(idx+1)) - item_name = item.value.get("Name") - if item_name: - print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) - item_quantity = item.value.get("Quantity") - if item_quantity: - print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) - item_price = item.value.get("Price") - if item_price: - print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) - item_total_price = item.value.get("TotalPrice") - if item_total_price: - print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) + if receipt.fields.get("Items"): + print("Receipt items:") + for idx, item in enumerate(receipt.fields.get("Items").value): + print("...Item #{}".format(idx+1)) + item_name = item.value.get("Name") + if item_name: + print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) + item_quantity = item.value.get("Quantity") + if item_quantity: + print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) + item_price = item.value.get("Price") + if item_price: + print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) + item_total_price = item.value.get("TotalPrice") + if item_total_price: + print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) subtotal = receipt.fields.get("Subtotal") if subtotal: print("Subtotal: {} has confidence: {}".format(subtotal.value, subtotal.confidence)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py index 7918e7b7fefe..af655366a66b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py @@ -58,21 +58,22 @@ def recognize_receipts(self): transaction_date = receipt.fields.get("TransactionDate") if transaction_date: print("Transaction Date: {} has confidence: {}".format(transaction_date.value, transaction_date.confidence)) - print("Receipt items:") - for idx, item in enumerate(receipt.fields.get("Items").value): - print("...Item #{}".format(idx+1)) - item_name = item.value.get("Name") - if item_name: - print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) - item_quantity = item.value.get("Quantity") - if item_quantity: - print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) - item_price = item.value.get("Price") - if item_price: - print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) - item_total_price = item.value.get("TotalPrice") - if item_total_price: - print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) + if receipt.fields.get("Items"): + print("Receipt items:") + for idx, item in enumerate(receipt.fields.get("Items").value): + print("...Item #{}".format(idx+1)) + item_name = item.value.get("Name") + if item_name: + print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) + item_quantity = item.value.get("Quantity") + if item_quantity: + print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) + item_price = item.value.get("Price") + if item_price: + print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) + item_total_price = item.value.get("TotalPrice") + if item_total_price: + print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) subtotal = receipt.fields.get("Subtotal") if subtotal: print("Subtotal: {} has confidence: {}".format(subtotal.value, subtotal.confidence)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py index a30efc8f33e3..8e76a65add67 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py @@ -56,21 +56,22 @@ def recognize_receipts_from_url(self): transaction_date = receipt.fields.get("TransactionDate") if transaction_date: print("Transaction Date: {} has confidence: {}".format(transaction_date.value, transaction_date.confidence)) - print("Receipt items:") - for idx, item in enumerate(receipt.fields.get("Items").value): - print("...Item #{}".format(idx+1)) - item_name = item.value.get("Name") - if item_name: - print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) - item_quantity = item.value.get("Quantity") - if item_quantity: - print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) - item_price = item.value.get("Price") - if item_price: - print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) - item_total_price = item.value.get("TotalPrice") - if item_total_price: - print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) + if receipt.fields.get("Items"): + print("Receipt items:") + for idx, item in enumerate(receipt.fields.get("Items").value): + print("...Item #{}".format(idx+1)) + item_name = item.value.get("Name") + if item_name: + print("......Item Name: {} has confidence: {}".format(item_name.value, item_name.confidence)) + item_quantity = item.value.get("Quantity") + if item_quantity: + print("......Item Quantity: {} has confidence: {}".format(item_quantity.value, item_quantity.confidence)) + item_price = item.value.get("Price") + if item_price: + print("......Individual Item Price: {} has confidence: {}".format(item_price.value, item_price.confidence)) + item_total_price = item.value.get("TotalPrice") + if item_total_price: + print("......Total Item Price: {} has confidence: {}".format(item_total_price.value, item_total_price.confidence)) subtotal = receipt.fields.get("Subtotal") if subtotal: print("Subtotal: {} has confidence: {}".format(subtotal.value, subtotal.confidence)) From 7644fe5af772497d7c8993b9841784b34d44ed6a Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 18 Jun 2021 17:08:05 -0700 Subject: [PATCH 11/45] flatten DimensionGroupIdentity (#19339) * flatten DimensionGroupIdentity * update --- .../metricsadvisor/_metrics_advisor_client.py | 12 ++++-- .../aio/_metrics_advisor_client_async.py | 12 ++++-- .../ai/metricsadvisor/models/__init__.py | 2 +- .../azure/ai/metricsadvisor/models/_models.py | 38 +++++++++++++++++++ 4 files changed, 55 insertions(+), 9 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py index 428247c60f5d..cfc109590480 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_client.py @@ -22,6 +22,7 @@ EnrichmentStatusQueryOption, SeriesIdentity, FeedbackDimensionFilter, + DimensionGroupIdentity, ) from ._generated import MicrosoftAzureMetricsAdvisorRESTAPIOpenAPIV2 as _Client from ._helpers import convert_to_sub_feedback, convert_datetime, get_authentication_policy @@ -378,7 +379,8 @@ def _list_anomalies_for_detection_configuration(self, detection_configuration_id # type: (...) -> ItemPaged[DataPointAnomaly] skip = kwargs.pop('skip', None) - filter_condition = kwargs.pop('filter', None) + condition = kwargs.pop('filter', None) + filter_condition = condition._to_generated() if condition else None converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) detection_anomaly_result_query = DetectionAnomalyResultQuery( @@ -496,7 +498,7 @@ def list_anomaly_dimension_values( :param Union[str, datetime.datetime] start_time: start time filter under chosen time mode. :param Union[str, datetime.datetime] end_time: end time filter under chosen time mode. :keyword int skip: - :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :keyword Dict[str, str] dimension_filter: filter specfic dimension name and values. :return: Dimension values of anomalies. :rtype: ~azure.core.paging.ItemPaged[str] :raises ~azure.core.exceptions.HttpResponseError: @@ -512,7 +514,8 @@ def list_anomaly_dimension_values( """ skip = kwargs.pop('skip', None) - dimension_filter = kwargs.pop('dimension_filter', None) + dimension = kwargs.pop('dimension_filter', None) + dimension_filter = DimensionGroupIdentity(dimension=dimension) converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) anomaly_dimension_query = AnomalyDimensionQuery( @@ -543,7 +546,8 @@ def _list_incidents_for_alert(self, alert_configuration_id, alert_id, **kwargs): def _list_incidents_for_detection_configuration(self, detection_configuration_id, start_time, end_time, **kwargs): # type: (str, Union[str, datetime.datetime], Union[str, datetime.datetime], Any) -> ItemPaged[AnomalyIncident] - filter_condition = kwargs.pop('filter', None) + condition = kwargs.pop('filter', None) + filter_condition = condition._to_generated() if condition else None converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py index b3bcc2df2e8e..2e84b0f87798 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/aio/_metrics_advisor_client_async.py @@ -26,6 +26,7 @@ TimeMode as AlertQueryTimeMode, SeriesIdentity, FeedbackDimensionFilter, + DimensionGroupIdentity, ) from .._generated.aio import MicrosoftAzureMetricsAdvisorRESTAPIOpenAPIV2 as _ClientAsync from .._helpers import convert_to_sub_feedback, convert_datetime, get_authentication_policy @@ -378,7 +379,8 @@ def _list_anomalies_for_detection_configuration( # type: (...) -> AsyncItemPaged[DataPointAnomaly] skip = kwargs.pop('skip', None) - filter_condition = kwargs.pop('filter', None) + condition = kwargs.pop('filter', None) + filter_condition = condition._to_generated() if condition else None converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) detection_anomaly_result_query = DetectionAnomalyResultQuery( @@ -494,7 +496,7 @@ def list_anomaly_dimension_values( :param Union[str, datetime.datetime] start_time: start time filter under chosen time mode. :param Union[str, datetime.datetime] end_time: end time filter under chosen time mode. :keyword int skip: - :paramtype dimension_filter: ~azure.ai.metricsadvisor.models.DimensionGroupIdentity + :keyword Dict[str, str] dimension_filter: filter specfic dimension name and values. :return: Dimension values of anomalies. :rtype: ~azure.core.async_paging.AsyncItemPaged[str] :raises ~azure.core.exceptions.HttpResponseError: @@ -510,7 +512,8 @@ def list_anomaly_dimension_values( """ skip = kwargs.pop('skip', None) - dimension_filter = kwargs.pop('dimension_filter', None) + dimension = kwargs.pop('dimension_filter', None) + dimension_filter = DimensionGroupIdentity(dimension=dimension) converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) anomaly_dimension_query = AnomalyDimensionQuery( @@ -545,7 +548,8 @@ def _list_incidents_for_detection_configuration( **kwargs: Any ) -> AsyncItemPaged[AnomalyIncident]: - filter_condition = kwargs.pop('filter', None) + condition = kwargs.pop('filter', None) + filter_condition = condition._to_generated() if condition else None converted_start_time = convert_datetime(start_time) converted_end_time = convert_datetime(end_time) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py index c79ec7e14c01..3d2d24af780b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/__init__.py @@ -47,7 +47,6 @@ from .._generated.models import ( FeedbackQueryTimeMode, RootCause, - DetectionAnomalyFilterCondition, DimensionGroupIdentity, DetectionIncidentFilterCondition, EnrichmentStatus, @@ -120,6 +119,7 @@ DatasourceServicePrincipalInKeyVault, DatasourceCredential, DataFeedSource, + DetectionAnomalyFilterCondition, ) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py index b05aba2c821a..2f0fb60b08a9 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/azure/ai/metricsadvisor/models/_models.py @@ -94,6 +94,7 @@ ServicePrincipalInKVParamPatch as _ServicePrincipalInKVParamPatch, ServicePrincipalInKVCredential as _ServicePrincipalInKVCredential, ServicePrincipalInKVParam as _ServicePrincipalInKVParam, + DetectionAnomalyFilterCondition as _DetectionAnomalyFilterCondition, ) if TYPE_CHECKING: @@ -3841,3 +3842,40 @@ def _to_generated_patch(self): data_source_credential_description=self.description, parameters=param_patch, ) + +class DetectionAnomalyFilterCondition(msrest.serialization.Model): + """DetectionAnomalyFilterCondition. + + :param series_group_key: dimension filter. + :type series_group_key: dict[str, str] + :param severity_filter: + :type severity_filter: ~azure.ai.metricsadvisor.models.SeverityFilterCondition + """ + + _attribute_map = { + 'series_group_key': {'key': 'seriesGroupKey', 'type': '{str}'}, + 'severity_filter': {'key': 'severityFilter', 'type': 'SeverityFilterCondition'}, + } + + def __init__( + self, + **kwargs + ): + super(DetectionAnomalyFilterCondition, self).__init__(**kwargs) + self.series_group_key = kwargs.get('series_group_key', None) + self.severity_filter = kwargs.get('severity_filter', None) + + @classmethod + def _from_generated(cls, source): + series_group_key = source.dimension_filter.dimension if source.dimension_filter else None + return cls( + series_group_key=series_group_key, + severity_filter=source.severity_filter.key_vault_endpoint + ) + + def _to_generated(self): + dimension_filter = _DimensionGroupIdentity(dimension=self.series_group_key) + return _DetectionAnomalyFilterCondition( + dimension_filter=dimension_filter, + severity_filter=self.severity_filter + ) From 2a373a4c1e2d3bf3072082d8090c03f69e5b1d1a Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 21 Jun 2021 10:15:17 +0800 Subject: [PATCH 12/45] [AutoRelease] t2-sql-2021-06-18-25835 (#19321) * CodeGen from PR 14841 in Azure/azure-rest-api-specs add sql tag to readme.go.md (#14841) * version,CHANGELOG * test * test config Co-authored-by: SDKAuto Co-authored-by: PythonSdkPipelines Co-authored-by: Zed <601306339@qq.com> --- sdk/sql/azure-mgmt-sql/CHANGELOG.md | 14 + sdk/sql/azure-mgmt-sql/_meta.json | 6 +- .../azure/mgmt/sql/_metadata.json | 4 +- .../azure/mgmt/sql/_sql_management_client.py | 20 +- .../azure-mgmt-sql/azure/mgmt/sql/_version.py | 2 +- .../mgmt/sql/aio/_sql_management_client.py | 20 +- .../azure/mgmt/sql/aio/operations/__init__.py | 8 +- ...hort_term_retention_policies_operations.py | 8 +- .../_replication_links_operations.py | 46 +- .../sql/aio/operations/_servers_operations.py | 16 +- .../aio/operations/_sync_groups_operations.py | 4 +- .../azure/mgmt/sql/models/__init__.py | 22 +- .../azure/mgmt/sql/models/_models.py | 53 +- .../azure/mgmt/sql/models/_models_py3.py | 62 +- .../models/_sql_management_client_enums.py | 39 +- .../azure/mgmt/sql/operations/__init__.py | 8 +- ...hort_term_retention_policies_operations.py | 8 +- .../_replication_links_operations.py | 46 +- .../sql/operations/_servers_operations.py | 16 +- .../sql/operations/_sync_groups_operations.py | 4 +- ...est_cli_mgmt_sql_sync.test_sync_agent.yaml | 1104 ------- ...est_cli_mgmt_sql_sync.test_sync_group.yaml | 2651 ---------------- ...st_cli_mgmt_sql_sync.test_sync_member.yaml | 2822 ----------------- .../tests/test_cli_mgmt_sql_sync.py | 3 + 24 files changed, 266 insertions(+), 6720 deletions(-) delete mode 100644 sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_agent.yaml delete mode 100644 sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_group.yaml delete mode 100644 sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_member.yaml diff --git a/sdk/sql/azure-mgmt-sql/CHANGELOG.md b/sdk/sql/azure-mgmt-sql/CHANGELOG.md index 5af96e1147b9..c29ffd84bf9d 100644 --- a/sdk/sql/azure-mgmt-sql/CHANGELOG.md +++ b/sdk/sql/azure-mgmt-sql/CHANGELOG.md @@ -1,5 +1,19 @@ # Release History +## 3.0.0 (2021-06-18) + +**Features** + + - Model Server has a new parameter federated_client_id + - Model Server has a new parameter restrict_outbound_network_access + - Model ServerUpdate has a new parameter federated_client_id + - Model ServerUpdate has a new parameter restrict_outbound_network_access + - Model BackupShortTermRetentionPolicy has a new parameter diff_backup_interval_in_hours + +**Breaking changes** + + - Operation ReplicationLinksOperations.get has a new signature + ## 2.1.0 (2021-05-24) - Add resource identity diff --git a/sdk/sql/azure-mgmt-sql/_meta.json b/sdk/sql/azure-mgmt-sql/_meta.json index 73f3d6c3f8a4..7981d8999e7a 100644 --- a/sdk/sql/azure-mgmt-sql/_meta.json +++ b/sdk/sql/azure-mgmt-sql/_meta.json @@ -2,10 +2,10 @@ "autorest": "3.4.2", "use": [ "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/modelerfour@4.19.2" ], - "commit": "1c801aa70be460b277f1d81f9cced889ca5008fe", + "commit": "a07f49e3f75a134c1acdacc338c9f9dc32386f66", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/sql/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "autorest_command": "autorest specification/sql/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/sql/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_metadata.json b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_metadata.json index 1b930ac93a06..4d0c4303c3ab 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_metadata.json +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_metadata.json @@ -113,7 +113,6 @@ "transparent_data_encryptions": "TransparentDataEncryptionsOperations", "transparent_data_encryption_activities": "TransparentDataEncryptionActivitiesOperations", "server_usages": "ServerUsagesOperations", - "backup_short_term_retention_policies": "BackupShortTermRetentionPoliciesOperations", "extended_database_blob_auditing_policies": "ExtendedDatabaseBlobAuditingPoliciesOperations", "extended_server_blob_auditing_policies": "ExtendedServerBlobAuditingPoliciesOperations", "server_blob_auditing_policies": "ServerBlobAuditingPoliciesOperations", @@ -195,7 +194,6 @@ "server_dns_aliases": "ServerDnsAliasesOperations", "server_keys": "ServerKeysOperations", "server_operations": "ServerOperationsOperations", - "servers": "ServersOperations", "server_security_alert_policies": "ServerSecurityAlertPoliciesOperations", "server_trust_groups": "ServerTrustGroupsOperations", "server_vulnerability_assessments": "ServerVulnerabilityAssessmentsOperations", @@ -210,6 +208,7 @@ "virtual_network_rules": "VirtualNetworkRulesOperations", "workload_classifiers": "WorkloadClassifiersOperations", "workload_groups": "WorkloadGroupsOperations", + "backup_short_term_retention_policies": "BackupShortTermRetentionPoliciesOperations", "database_extensions": "DatabaseExtensionsOperations", "database_operations": "DatabaseOperationsOperations", "database_usages": "DatabaseUsagesOperations", @@ -217,6 +216,7 @@ "outbound_firewall_rules": "OutboundFirewallRulesOperations", "restorable_dropped_databases": "RestorableDroppedDatabasesOperations", "restorable_dropped_managed_databases": "RestorableDroppedManagedDatabasesOperations", + "servers": "ServersOperations", "usages": "UsagesOperations" } } \ No newline at end of file diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py index 4b81736ec8e8..7cc74c21d044 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_sql_management_client.py @@ -34,7 +34,6 @@ from .operations import TransparentDataEncryptionsOperations from .operations import TransparentDataEncryptionActivitiesOperations from .operations import ServerUsagesOperations -from .operations import BackupShortTermRetentionPoliciesOperations from .operations import ExtendedDatabaseBlobAuditingPoliciesOperations from .operations import ExtendedServerBlobAuditingPoliciesOperations from .operations import ServerBlobAuditingPoliciesOperations @@ -116,7 +115,6 @@ from .operations import ServerDnsAliasesOperations from .operations import ServerKeysOperations from .operations import ServerOperationsOperations -from .operations import ServersOperations from .operations import ServerSecurityAlertPoliciesOperations from .operations import ServerTrustGroupsOperations from .operations import ServerVulnerabilityAssessmentsOperations @@ -131,6 +129,7 @@ from .operations import VirtualNetworkRulesOperations from .operations import WorkloadClassifiersOperations from .operations import WorkloadGroupsOperations +from .operations import BackupShortTermRetentionPoliciesOperations from .operations import DatabaseExtensionsOperations from .operations import DatabaseOperationsOperations from .operations import DatabaseUsagesOperations @@ -138,6 +137,7 @@ from .operations import OutboundFirewallRulesOperations from .operations import RestorableDroppedDatabasesOperations from .operations import RestorableDroppedManagedDatabasesOperations +from .operations import ServersOperations from .operations import UsagesOperations from . import models @@ -175,8 +175,6 @@ class SqlManagementClient(object): :vartype transparent_data_encryption_activities: azure.mgmt.sql.operations.TransparentDataEncryptionActivitiesOperations :ivar server_usages: ServerUsagesOperations operations :vartype server_usages: azure.mgmt.sql.operations.ServerUsagesOperations - :ivar backup_short_term_retention_policies: BackupShortTermRetentionPoliciesOperations operations - :vartype backup_short_term_retention_policies: azure.mgmt.sql.operations.BackupShortTermRetentionPoliciesOperations :ivar extended_database_blob_auditing_policies: ExtendedDatabaseBlobAuditingPoliciesOperations operations :vartype extended_database_blob_auditing_policies: azure.mgmt.sql.operations.ExtendedDatabaseBlobAuditingPoliciesOperations :ivar extended_server_blob_auditing_policies: ExtendedServerBlobAuditingPoliciesOperations operations @@ -339,8 +337,6 @@ class SqlManagementClient(object): :vartype server_keys: azure.mgmt.sql.operations.ServerKeysOperations :ivar server_operations: ServerOperationsOperations operations :vartype server_operations: azure.mgmt.sql.operations.ServerOperationsOperations - :ivar servers: ServersOperations operations - :vartype servers: azure.mgmt.sql.operations.ServersOperations :ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations :vartype server_security_alert_policies: azure.mgmt.sql.operations.ServerSecurityAlertPoliciesOperations :ivar server_trust_groups: ServerTrustGroupsOperations operations @@ -369,6 +365,8 @@ class SqlManagementClient(object): :vartype workload_classifiers: azure.mgmt.sql.operations.WorkloadClassifiersOperations :ivar workload_groups: WorkloadGroupsOperations operations :vartype workload_groups: azure.mgmt.sql.operations.WorkloadGroupsOperations + :ivar backup_short_term_retention_policies: BackupShortTermRetentionPoliciesOperations operations + :vartype backup_short_term_retention_policies: azure.mgmt.sql.operations.BackupShortTermRetentionPoliciesOperations :ivar database_extensions: DatabaseExtensionsOperations operations :vartype database_extensions: azure.mgmt.sql.operations.DatabaseExtensionsOperations :ivar database_operations: DatabaseOperationsOperations operations @@ -383,6 +381,8 @@ class SqlManagementClient(object): :vartype restorable_dropped_databases: azure.mgmt.sql.operations.RestorableDroppedDatabasesOperations :ivar restorable_dropped_managed_databases: RestorableDroppedManagedDatabasesOperations operations :vartype restorable_dropped_managed_databases: azure.mgmt.sql.operations.RestorableDroppedManagedDatabasesOperations + :ivar servers: ServersOperations operations + :vartype servers: azure.mgmt.sql.operations.ServersOperations :ivar usages: UsagesOperations operations :vartype usages: azure.mgmt.sql.operations.UsagesOperations :param credential: Credential needed for the client to connect to Azure. @@ -441,8 +441,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.server_usages = ServerUsagesOperations( self._client, self._config, self._serialize, self._deserialize) - self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) self.extended_database_blob_auditing_policies = ExtendedDatabaseBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.extended_server_blob_auditing_policies = ExtendedServerBlobAuditingPoliciesOperations( @@ -605,8 +603,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.server_operations = ServerOperationsOperations( self._client, self._config, self._serialize, self._deserialize) - self.servers = ServersOperations( - self._client, self._config, self._serialize, self._deserialize) self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_trust_groups = ServerTrustGroupsOperations( @@ -635,6 +631,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.workload_groups = WorkloadGroupsOperations( self._client, self._config, self._serialize, self._deserialize) + self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) self.database_extensions = DatabaseExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_operations = DatabaseOperationsOperations( @@ -649,6 +647,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.restorable_dropped_managed_databases = RestorableDroppedManagedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) + self.servers = ServersOperations( + self._client, self._config, self._serialize, self._deserialize) self.usages = UsagesOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py index 83f24ab50946..cac9f5d10f8b 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.1.0" +VERSION = "3.0.0" diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/_sql_management_client.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/_sql_management_client.py index 8f25ba4aee57..c43d2b6edb43 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/_sql_management_client.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/_sql_management_client.py @@ -32,7 +32,6 @@ from .operations import TransparentDataEncryptionsOperations from .operations import TransparentDataEncryptionActivitiesOperations from .operations import ServerUsagesOperations -from .operations import BackupShortTermRetentionPoliciesOperations from .operations import ExtendedDatabaseBlobAuditingPoliciesOperations from .operations import ExtendedServerBlobAuditingPoliciesOperations from .operations import ServerBlobAuditingPoliciesOperations @@ -114,7 +113,6 @@ from .operations import ServerDnsAliasesOperations from .operations import ServerKeysOperations from .operations import ServerOperationsOperations -from .operations import ServersOperations from .operations import ServerSecurityAlertPoliciesOperations from .operations import ServerTrustGroupsOperations from .operations import ServerVulnerabilityAssessmentsOperations @@ -129,6 +127,7 @@ from .operations import VirtualNetworkRulesOperations from .operations import WorkloadClassifiersOperations from .operations import WorkloadGroupsOperations +from .operations import BackupShortTermRetentionPoliciesOperations from .operations import DatabaseExtensionsOperations from .operations import DatabaseOperationsOperations from .operations import DatabaseUsagesOperations @@ -136,6 +135,7 @@ from .operations import OutboundFirewallRulesOperations from .operations import RestorableDroppedDatabasesOperations from .operations import RestorableDroppedManagedDatabasesOperations +from .operations import ServersOperations from .operations import UsagesOperations from .. import models @@ -173,8 +173,6 @@ class SqlManagementClient(object): :vartype transparent_data_encryption_activities: azure.mgmt.sql.aio.operations.TransparentDataEncryptionActivitiesOperations :ivar server_usages: ServerUsagesOperations operations :vartype server_usages: azure.mgmt.sql.aio.operations.ServerUsagesOperations - :ivar backup_short_term_retention_policies: BackupShortTermRetentionPoliciesOperations operations - :vartype backup_short_term_retention_policies: azure.mgmt.sql.aio.operations.BackupShortTermRetentionPoliciesOperations :ivar extended_database_blob_auditing_policies: ExtendedDatabaseBlobAuditingPoliciesOperations operations :vartype extended_database_blob_auditing_policies: azure.mgmt.sql.aio.operations.ExtendedDatabaseBlobAuditingPoliciesOperations :ivar extended_server_blob_auditing_policies: ExtendedServerBlobAuditingPoliciesOperations operations @@ -337,8 +335,6 @@ class SqlManagementClient(object): :vartype server_keys: azure.mgmt.sql.aio.operations.ServerKeysOperations :ivar server_operations: ServerOperationsOperations operations :vartype server_operations: azure.mgmt.sql.aio.operations.ServerOperationsOperations - :ivar servers: ServersOperations operations - :vartype servers: azure.mgmt.sql.aio.operations.ServersOperations :ivar server_security_alert_policies: ServerSecurityAlertPoliciesOperations operations :vartype server_security_alert_policies: azure.mgmt.sql.aio.operations.ServerSecurityAlertPoliciesOperations :ivar server_trust_groups: ServerTrustGroupsOperations operations @@ -367,6 +363,8 @@ class SqlManagementClient(object): :vartype workload_classifiers: azure.mgmt.sql.aio.operations.WorkloadClassifiersOperations :ivar workload_groups: WorkloadGroupsOperations operations :vartype workload_groups: azure.mgmt.sql.aio.operations.WorkloadGroupsOperations + :ivar backup_short_term_retention_policies: BackupShortTermRetentionPoliciesOperations operations + :vartype backup_short_term_retention_policies: azure.mgmt.sql.aio.operations.BackupShortTermRetentionPoliciesOperations :ivar database_extensions: DatabaseExtensionsOperations operations :vartype database_extensions: azure.mgmt.sql.aio.operations.DatabaseExtensionsOperations :ivar database_operations: DatabaseOperationsOperations operations @@ -381,6 +379,8 @@ class SqlManagementClient(object): :vartype restorable_dropped_databases: azure.mgmt.sql.aio.operations.RestorableDroppedDatabasesOperations :ivar restorable_dropped_managed_databases: RestorableDroppedManagedDatabasesOperations operations :vartype restorable_dropped_managed_databases: azure.mgmt.sql.aio.operations.RestorableDroppedManagedDatabasesOperations + :ivar servers: ServersOperations operations + :vartype servers: azure.mgmt.sql.aio.operations.ServersOperations :ivar usages: UsagesOperations operations :vartype usages: azure.mgmt.sql.aio.operations.UsagesOperations :param credential: Credential needed for the client to connect to Azure. @@ -438,8 +438,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.server_usages = ServerUsagesOperations( self._client, self._config, self._serialize, self._deserialize) - self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( - self._client, self._config, self._serialize, self._deserialize) self.extended_database_blob_auditing_policies = ExtendedDatabaseBlobAuditingPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.extended_server_blob_auditing_policies = ExtendedServerBlobAuditingPoliciesOperations( @@ -602,8 +600,6 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.server_operations = ServerOperationsOperations( self._client, self._config, self._serialize, self._deserialize) - self.servers = ServersOperations( - self._client, self._config, self._serialize, self._deserialize) self.server_security_alert_policies = ServerSecurityAlertPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) self.server_trust_groups = ServerTrustGroupsOperations( @@ -632,6 +628,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.workload_groups = WorkloadGroupsOperations( self._client, self._config, self._serialize, self._deserialize) + self.backup_short_term_retention_policies = BackupShortTermRetentionPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) self.database_extensions = DatabaseExtensionsOperations( self._client, self._config, self._serialize, self._deserialize) self.database_operations = DatabaseOperationsOperations( @@ -646,6 +644,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.restorable_dropped_managed_databases = RestorableDroppedManagedDatabasesOperations( self._client, self._config, self._serialize, self._deserialize) + self.servers = ServersOperations( + self._client, self._config, self._serialize, self._deserialize) self.usages = UsagesOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/__init__.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/__init__.py index eec1a7bd1b91..92dc7fbad3cb 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/__init__.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/__init__.py @@ -21,7 +21,6 @@ from ._transparent_data_encryptions_operations import TransparentDataEncryptionsOperations from ._transparent_data_encryption_activities_operations import TransparentDataEncryptionActivitiesOperations from ._server_usages_operations import ServerUsagesOperations -from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._extended_database_blob_auditing_policies_operations import ExtendedDatabaseBlobAuditingPoliciesOperations from ._extended_server_blob_auditing_policies_operations import ExtendedServerBlobAuditingPoliciesOperations from ._server_blob_auditing_policies_operations import ServerBlobAuditingPoliciesOperations @@ -103,7 +102,6 @@ from ._server_dns_aliases_operations import ServerDnsAliasesOperations from ._server_keys_operations import ServerKeysOperations from ._server_operations_operations import ServerOperationsOperations -from ._servers_operations import ServersOperations from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations from ._server_trust_groups_operations import ServerTrustGroupsOperations from ._server_vulnerability_assessments_operations import ServerVulnerabilityAssessmentsOperations @@ -118,6 +116,7 @@ from ._virtual_network_rules_operations import VirtualNetworkRulesOperations from ._workload_classifiers_operations import WorkloadClassifiersOperations from ._workload_groups_operations import WorkloadGroupsOperations +from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._database_extensions_operations import DatabaseExtensionsOperations from ._database_operations_operations import DatabaseOperationsOperations from ._database_usages_operations import DatabaseUsagesOperations @@ -125,6 +124,7 @@ from ._outbound_firewall_rules_operations import OutboundFirewallRulesOperations from ._restorable_dropped_databases_operations import RestorableDroppedDatabasesOperations from ._restorable_dropped_managed_databases_operations import RestorableDroppedManagedDatabasesOperations +from ._servers_operations import ServersOperations from ._usages_operations import UsagesOperations __all__ = [ @@ -143,7 +143,6 @@ 'TransparentDataEncryptionsOperations', 'TransparentDataEncryptionActivitiesOperations', 'ServerUsagesOperations', - 'BackupShortTermRetentionPoliciesOperations', 'ExtendedDatabaseBlobAuditingPoliciesOperations', 'ExtendedServerBlobAuditingPoliciesOperations', 'ServerBlobAuditingPoliciesOperations', @@ -225,7 +224,6 @@ 'ServerDnsAliasesOperations', 'ServerKeysOperations', 'ServerOperationsOperations', - 'ServersOperations', 'ServerSecurityAlertPoliciesOperations', 'ServerTrustGroupsOperations', 'ServerVulnerabilityAssessmentsOperations', @@ -240,6 +238,7 @@ 'VirtualNetworkRulesOperations', 'WorkloadClassifiersOperations', 'WorkloadGroupsOperations', + 'BackupShortTermRetentionPoliciesOperations', 'DatabaseExtensionsOperations', 'DatabaseOperationsOperations', 'DatabaseUsagesOperations', @@ -247,5 +246,6 @@ 'OutboundFirewallRulesOperations', 'RestorableDroppedDatabasesOperations', 'RestorableDroppedManagedDatabasesOperations', + 'ServersOperations', 'UsagesOperations', ] diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_backup_short_term_retention_policies_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_backup_short_term_retention_policies_operations.py index 823c1ef178ee..a6f3c926790e 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_backup_short_term_retention_policies_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_backup_short_term_retention_policies_operations.py @@ -72,7 +72,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -124,7 +124,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -265,7 +265,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -418,7 +418,7 @@ def list_by_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_replication_links_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_replication_links_operations.py index c123d5f97eae..01991aa927be 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_replication_links_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_replication_links_operations.py @@ -486,27 +486,27 @@ def list_by_database( server_name: str, database_name: str, **kwargs: Any - ) -> AsyncIterable["_models.ReplicationLinksListResult"]: + ) -> AsyncIterable["_models.ReplicationLinkListResult"]: """Gets a list of replication links on database. :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str - :param database_name: The name of the database containing the replication link. + :param database_name: The name of the database. :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ReplicationLinksListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.sql.models.ReplicationLinksListResult] + :return: An iterator like instance of either ReplicationLinkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.sql.models.ReplicationLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinksListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinkListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -536,7 +536,7 @@ def prepare_request(next_link=None): return request async def extract_data(pipeline_response): - deserialized = self._deserialize('ReplicationLinksListResult', pipeline_response) + deserialized = self._deserialize('ReplicationLinkListResult', pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -564,7 +564,7 @@ async def get( resource_group_name: str, server_name: str, database_name: str, - replication_link_name: str, + link_id: str, **kwargs: Any ) -> "_models.ReplicationLink": """Gets a replication link. @@ -572,12 +572,12 @@ async def get( :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str - :param database_name: The name of the database containing the replication link. + :param database_name: The name of the database. :type database_name: str - :param replication_link_name: The name of the replication link. - :type replication_link_name: str + :param link_id: The name of the replication link. + :type link_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ReplicationLink, or the result of cls(response) :rtype: ~azure.mgmt.sql.models.ReplicationLink @@ -588,7 +588,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -597,7 +597,7 @@ async def get( 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'serverName': self._serialize.url("server_name", server_name, 'str'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), - 'replicationLinkName': self._serialize.url("replication_link_name", replication_link_name, 'str'), + 'linkId': self._serialize.url("link_id", link_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -624,32 +624,32 @@ async def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{replicationLinkName}'} # type: ignore + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}'} # type: ignore def list_by_server( self, resource_group_name: str, server_name: str, **kwargs: Any - ) -> AsyncIterable["_models.ReplicationLinksListResult"]: + ) -> AsyncIterable["_models.ReplicationLinkListResult"]: """Gets a list of replication links. :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ReplicationLinksListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.sql.models.ReplicationLinksListResult] + :return: An iterator like instance of either ReplicationLinkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.sql.models.ReplicationLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinksListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinkListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -678,7 +678,7 @@ def prepare_request(next_link=None): return request async def extract_data(pipeline_response): - deserialized = self._deserialize('ReplicationLinksListResult', pipeline_response) + deserialized = self._deserialize('ReplicationLinkListResult', pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_servers_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_servers_operations.py index 27badfdc3a96..112e6c5d3d49 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_servers_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_servers_operations.py @@ -66,7 +66,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -195,7 +195,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -324,7 +324,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -432,7 +432,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -566,7 +566,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -630,7 +630,7 @@ async def _import_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -764,7 +764,7 @@ async def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_sync_groups_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_sync_groups_operations.py index ff03c1945865..2a714c6b13da 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_sync_groups_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/aio/operations/_sync_groups_operations.py @@ -325,7 +325,7 @@ def list_logs( sync_group_name: str, start_time: str, end_time: str, - type: Union[str, "_models.Enum81"], + type: Union[str, "_models.Enum77"], continuation_token_parameter: Optional[str] = None, **kwargs: Any ) -> AsyncIterable["_models.SyncGroupLogListResult"]: @@ -345,7 +345,7 @@ def list_logs( :param end_time: Get logs generated before this time. :type end_time: str :param type: The types of logs to retrieve. - :type type: str or ~azure.mgmt.sql.models.Enum81 + :type type: str or ~azure.mgmt.sql.models.Enum77 :param continuation_token_parameter: The continuation token for this operation. :type continuation_token_parameter: str :keyword callable cls: A custom type or function that will be passed the direct response diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py index fb48a34cc9e3..8749adbf138a 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py @@ -237,7 +237,7 @@ from ._models_py3 import RecoverableManagedDatabase from ._models_py3 import RecoverableManagedDatabaseListResult from ._models_py3 import ReplicationLink - from ._models_py3 import ReplicationLinksListResult + from ._models_py3 import ReplicationLinkListResult from ._models_py3 import Resource from ._models_py3 import ResourceIdentity from ._models_py3 import ResourceIdentityWithUserAssignedIdentities @@ -579,7 +579,7 @@ from ._models import RecoverableManagedDatabase # type: ignore from ._models import RecoverableManagedDatabaseListResult # type: ignore from ._models import ReplicationLink # type: ignore - from ._models import ReplicationLinksListResult # type: ignore + from ._models import ReplicationLinkListResult # type: ignore from ._models import Resource # type: ignore from ._models import ResourceIdentity # type: ignore from ._models import ResourceIdentityWithUserAssignedIdentities # type: ignore @@ -725,11 +725,12 @@ DatabaseState, DatabaseStatus, DayOfWeek, + DiffBackupIntervalInHours, DnsRefreshConfigurationPropertiesStatus, ElasticPoolLicenseType, ElasticPoolState, EncryptionProtectorName, - Enum81, + Enum77, FailoverGroupReplicationRole, GeoBackupPolicyName, GeoBackupPolicyState, @@ -780,6 +781,9 @@ RecommendedActionInitiatedBy, RecommendedSensitivityLabelUpdateKind, ReplicaType, + ReplicationLinkType, + ReplicationRole, + ReplicationState, RequestedBackupStorageRedundancy, RestorableDroppedDatabasePropertiesBackupStorageRedundancy, RestoreDetailsName, @@ -796,7 +800,7 @@ SensitivityLabelUpdateKind, ServerConnectionType, ServerKeyType, - ServerPublicNetworkAccess, + ServerNetworkAccessFlag, ServerTrustGroupPropertiesTrustScopesItem, ServerWorkspaceFeature, ServiceObjectiveName, @@ -1059,7 +1063,7 @@ 'RecoverableManagedDatabase', 'RecoverableManagedDatabaseListResult', 'ReplicationLink', - 'ReplicationLinksListResult', + 'ReplicationLinkListResult', 'Resource', 'ResourceIdentity', 'ResourceIdentityWithUserAssignedIdentities', @@ -1203,11 +1207,12 @@ 'DatabaseState', 'DatabaseStatus', 'DayOfWeek', + 'DiffBackupIntervalInHours', 'DnsRefreshConfigurationPropertiesStatus', 'ElasticPoolLicenseType', 'ElasticPoolState', 'EncryptionProtectorName', - 'Enum81', + 'Enum77', 'FailoverGroupReplicationRole', 'GeoBackupPolicyName', 'GeoBackupPolicyState', @@ -1258,6 +1263,9 @@ 'RecommendedActionInitiatedBy', 'RecommendedSensitivityLabelUpdateKind', 'ReplicaType', + 'ReplicationLinkType', + 'ReplicationRole', + 'ReplicationState', 'RequestedBackupStorageRedundancy', 'RestorableDroppedDatabasePropertiesBackupStorageRedundancy', 'RestoreDetailsName', @@ -1274,7 +1282,7 @@ 'SensitivityLabelUpdateKind', 'ServerConnectionType', 'ServerKeyType', - 'ServerPublicNetworkAccess', + 'ServerNetworkAccessFlag', 'ServerTrustGroupPropertiesTrustScopesItem', 'ServerWorkspaceFeature', 'ServiceObjectiveName', diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py index a4f0d6da44e7..c06f0769e26d 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models.py @@ -368,6 +368,10 @@ class BackupShortTermRetentionPolicy(ProxyResource): :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int + :param diff_backup_interval_in_hours: The differential backup interval in hours. This is how + many interval hours between each differential backup will be supported. This is only applicable + to live databases but not dropped databases. Possible values include: 12, 24. + :type diff_backup_interval_in_hours: str or ~azure.mgmt.sql.models.DiffBackupIntervalInHours """ _validation = { @@ -381,6 +385,7 @@ class BackupShortTermRetentionPolicy(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'retention_days': {'key': 'properties.retentionDays', 'type': 'int'}, + 'diff_backup_interval_in_hours': {'key': 'properties.diffBackupIntervalInHours', 'type': 'int'}, } def __init__( @@ -389,6 +394,7 @@ def __init__( ): super(BackupShortTermRetentionPolicy, self).__init__(**kwargs) self.retention_days = kwargs.get('retention_days', None) + self.diff_backup_interval_in_hours = kwargs.get('diff_backup_interval_in_hours', None) class BackupShortTermRetentionPolicyListResult(msrest.serialization.Model): @@ -11179,22 +11185,25 @@ class ReplicationLink(ProxyResource): :vartype partner_database: str :ivar partner_location: Resource partner location. :vartype partner_location: str - :ivar role: Local replication role. - :vartype role: str - :ivar partner_role: Partner replication role. - :vartype partner_role: str + :ivar role: Local replication role. Possible values include: "Primary", "Secondary", + "NonReadableSecondary", "Source", "Copy". + :vartype role: str or ~azure.mgmt.sql.models.ReplicationRole + :ivar partner_role: Partner replication role. Possible values include: "Primary", "Secondary", + "NonReadableSecondary", "Source", "Copy". + :vartype partner_role: str or ~azure.mgmt.sql.models.ReplicationRole :ivar replication_mode: Replication mode. :vartype replication_mode: str :ivar start_time: Time at which the link was created. :vartype start_time: ~datetime.datetime :ivar percent_complete: Seeding completion percentage for the link. :vartype percent_complete: int - :ivar replication_state: Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). - :vartype replication_state: str + :ivar replication_state: Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Possible + values include: "PENDING", "SEEDING", "CATCH_UP", "SUSPENDED". + :vartype replication_state: str or ~azure.mgmt.sql.models.ReplicationState :ivar is_termination_allowed: Whether the user is currently allowed to terminate the link. :vartype is_termination_allowed: bool - :ivar link_type: Link type (GEO, NAMED). - :vartype link_type: str + :ivar link_type: Link type (GEO, NAMED). Possible values include: "GEO", "NAMED". + :vartype link_type: str or ~azure.mgmt.sql.models.ReplicationLinkType """ _validation = { @@ -11249,7 +11258,7 @@ def __init__( self.link_type = None -class ReplicationLinksListResult(msrest.serialization.Model): +class ReplicationLinkListResult(msrest.serialization.Model): """A list of replication links. Variables are only populated by the server, and will be ignored when sending a request. @@ -11274,7 +11283,7 @@ def __init__( self, **kwargs ): - super(ReplicationLinksListResult, self).__init__(**kwargs) + super(ReplicationLinkListResult, self).__init__(**kwargs) self.value = None self.next_link = None @@ -12084,17 +12093,23 @@ class Server(TrackedResource): :param public_network_access: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.sql.models.ServerPublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag :ivar workspace_feature: Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: "Connected", "Disconnected". :vartype workspace_feature: str or ~azure.mgmt.sql.models.ServerWorkspaceFeature :param primary_user_assigned_identity_id: The resource id of a user assigned identity to be used by default. :type primary_user_assigned_identity_id: str + :param federated_client_id: The Client id used for cross tenant CMK scenario. + :type federated_client_id: str :param key_id: A CMK URI of the key to use for encryption. :type key_id: str :param administrators: The Azure Active Directory identity of the server. :type administrators: ~azure.mgmt.sql.models.ServerExternalAdministrator + :param restrict_outbound_network_access: Whether or not to restrict outbound network access for + this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible + values include: "Enabled", "Disabled". + :type restrict_outbound_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag """ _validation = { @@ -12127,8 +12142,10 @@ class Server(TrackedResource): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'workspace_feature': {'key': 'properties.workspaceFeature', 'type': 'str'}, 'primary_user_assigned_identity_id': {'key': 'properties.primaryUserAssignedIdentityId', 'type': 'str'}, + 'federated_client_id': {'key': 'properties.federatedClientId', 'type': 'str'}, 'key_id': {'key': 'properties.keyId', 'type': 'str'}, 'administrators': {'key': 'properties.administrators', 'type': 'ServerExternalAdministrator'}, + 'restrict_outbound_network_access': {'key': 'properties.restrictOutboundNetworkAccess', 'type': 'str'}, } def __init__( @@ -12148,8 +12165,10 @@ def __init__( self.public_network_access = kwargs.get('public_network_access', None) self.workspace_feature = None self.primary_user_assigned_identity_id = kwargs.get('primary_user_assigned_identity_id', None) + self.federated_client_id = kwargs.get('federated_client_id', None) self.key_id = kwargs.get('key_id', None) self.administrators = kwargs.get('administrators', None) + self.restrict_outbound_network_access = kwargs.get('restrict_outbound_network_access', None) class ServerAutomaticTuning(ProxyResource): @@ -13366,17 +13385,23 @@ class ServerUpdate(msrest.serialization.Model): :param public_network_access: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.sql.models.ServerPublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag :ivar workspace_feature: Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: "Connected", "Disconnected". :vartype workspace_feature: str or ~azure.mgmt.sql.models.ServerWorkspaceFeature :param primary_user_assigned_identity_id: The resource id of a user assigned identity to be used by default. :type primary_user_assigned_identity_id: str + :param federated_client_id: The Client id used for cross tenant CMK scenario. + :type federated_client_id: str :param key_id: A CMK URI of the key to use for encryption. :type key_id: str :param administrators: The Azure Active Directory identity of the server. :type administrators: ~azure.mgmt.sql.models.ServerExternalAdministrator + :param restrict_outbound_network_access: Whether or not to restrict outbound network access for + this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible + values include: "Enabled", "Disabled". + :type restrict_outbound_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag """ _validation = { @@ -13399,8 +13424,10 @@ class ServerUpdate(msrest.serialization.Model): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'workspace_feature': {'key': 'properties.workspaceFeature', 'type': 'str'}, 'primary_user_assigned_identity_id': {'key': 'properties.primaryUserAssignedIdentityId', 'type': 'str'}, + 'federated_client_id': {'key': 'properties.federatedClientId', 'type': 'str'}, 'key_id': {'key': 'properties.keyId', 'type': 'str'}, 'administrators': {'key': 'properties.administrators', 'type': 'ServerExternalAdministrator'}, + 'restrict_outbound_network_access': {'key': 'properties.restrictOutboundNetworkAccess', 'type': 'str'}, } def __init__( @@ -13420,8 +13447,10 @@ def __init__( self.public_network_access = kwargs.get('public_network_access', None) self.workspace_feature = None self.primary_user_assigned_identity_id = kwargs.get('primary_user_assigned_identity_id', None) + self.federated_client_id = kwargs.get('federated_client_id', None) self.key_id = kwargs.get('key_id', None) self.administrators = kwargs.get('administrators', None) + self.restrict_outbound_network_access = kwargs.get('restrict_outbound_network_access', None) class ServerUsage(msrest.serialization.Model): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py index 23976b7d80b6..cc85bdc04e28 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_models_py3.py @@ -379,6 +379,10 @@ class BackupShortTermRetentionPolicy(ProxyResource): :param retention_days: The backup retention period in days. This is how many days Point-in-Time Restore will be supported. :type retention_days: int + :param diff_backup_interval_in_hours: The differential backup interval in hours. This is how + many interval hours between each differential backup will be supported. This is only applicable + to live databases but not dropped databases. Possible values include: 12, 24. + :type diff_backup_interval_in_hours: str or ~azure.mgmt.sql.models.DiffBackupIntervalInHours """ _validation = { @@ -392,16 +396,19 @@ class BackupShortTermRetentionPolicy(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'retention_days': {'key': 'properties.retentionDays', 'type': 'int'}, + 'diff_backup_interval_in_hours': {'key': 'properties.diffBackupIntervalInHours', 'type': 'int'}, } def __init__( self, *, retention_days: Optional[int] = None, + diff_backup_interval_in_hours: Optional[Union[int, "DiffBackupIntervalInHours"]] = None, **kwargs ): super(BackupShortTermRetentionPolicy, self).__init__(**kwargs) self.retention_days = retention_days + self.diff_backup_interval_in_hours = diff_backup_interval_in_hours class BackupShortTermRetentionPolicyListResult(msrest.serialization.Model): @@ -11764,22 +11771,25 @@ class ReplicationLink(ProxyResource): :vartype partner_database: str :ivar partner_location: Resource partner location. :vartype partner_location: str - :ivar role: Local replication role. - :vartype role: str - :ivar partner_role: Partner replication role. - :vartype partner_role: str + :ivar role: Local replication role. Possible values include: "Primary", "Secondary", + "NonReadableSecondary", "Source", "Copy". + :vartype role: str or ~azure.mgmt.sql.models.ReplicationRole + :ivar partner_role: Partner replication role. Possible values include: "Primary", "Secondary", + "NonReadableSecondary", "Source", "Copy". + :vartype partner_role: str or ~azure.mgmt.sql.models.ReplicationRole :ivar replication_mode: Replication mode. :vartype replication_mode: str :ivar start_time: Time at which the link was created. :vartype start_time: ~datetime.datetime :ivar percent_complete: Seeding completion percentage for the link. :vartype percent_complete: int - :ivar replication_state: Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). - :vartype replication_state: str + :ivar replication_state: Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). Possible + values include: "PENDING", "SEEDING", "CATCH_UP", "SUSPENDED". + :vartype replication_state: str or ~azure.mgmt.sql.models.ReplicationState :ivar is_termination_allowed: Whether the user is currently allowed to terminate the link. :vartype is_termination_allowed: bool - :ivar link_type: Link type (GEO, NAMED). - :vartype link_type: str + :ivar link_type: Link type (GEO, NAMED). Possible values include: "GEO", "NAMED". + :vartype link_type: str or ~azure.mgmt.sql.models.ReplicationLinkType """ _validation = { @@ -11834,7 +11844,7 @@ def __init__( self.link_type = None -class ReplicationLinksListResult(msrest.serialization.Model): +class ReplicationLinkListResult(msrest.serialization.Model): """A list of replication links. Variables are only populated by the server, and will be ignored when sending a request. @@ -11859,7 +11869,7 @@ def __init__( self, **kwargs ): - super(ReplicationLinksListResult, self).__init__(**kwargs) + super(ReplicationLinkListResult, self).__init__(**kwargs) self.value = None self.next_link = None @@ -12701,17 +12711,23 @@ class Server(TrackedResource): :param public_network_access: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.sql.models.ServerPublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag :ivar workspace_feature: Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: "Connected", "Disconnected". :vartype workspace_feature: str or ~azure.mgmt.sql.models.ServerWorkspaceFeature :param primary_user_assigned_identity_id: The resource id of a user assigned identity to be used by default. :type primary_user_assigned_identity_id: str + :param federated_client_id: The Client id used for cross tenant CMK scenario. + :type federated_client_id: str :param key_id: A CMK URI of the key to use for encryption. :type key_id: str :param administrators: The Azure Active Directory identity of the server. :type administrators: ~azure.mgmt.sql.models.ServerExternalAdministrator + :param restrict_outbound_network_access: Whether or not to restrict outbound network access for + this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible + values include: "Enabled", "Disabled". + :type restrict_outbound_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag """ _validation = { @@ -12744,8 +12760,10 @@ class Server(TrackedResource): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'workspace_feature': {'key': 'properties.workspaceFeature', 'type': 'str'}, 'primary_user_assigned_identity_id': {'key': 'properties.primaryUserAssignedIdentityId', 'type': 'str'}, + 'federated_client_id': {'key': 'properties.federatedClientId', 'type': 'str'}, 'key_id': {'key': 'properties.keyId', 'type': 'str'}, 'administrators': {'key': 'properties.administrators', 'type': 'ServerExternalAdministrator'}, + 'restrict_outbound_network_access': {'key': 'properties.restrictOutboundNetworkAccess', 'type': 'str'}, } def __init__( @@ -12758,10 +12776,12 @@ def __init__( administrator_login_password: Optional[str] = None, version: Optional[str] = None, minimal_tls_version: Optional[str] = None, - public_network_access: Optional[Union[str, "ServerPublicNetworkAccess"]] = None, + public_network_access: Optional[Union[str, "ServerNetworkAccessFlag"]] = None, primary_user_assigned_identity_id: Optional[str] = None, + federated_client_id: Optional[str] = None, key_id: Optional[str] = None, administrators: Optional["ServerExternalAdministrator"] = None, + restrict_outbound_network_access: Optional[Union[str, "ServerNetworkAccessFlag"]] = None, **kwargs ): super(Server, self).__init__(location=location, tags=tags, **kwargs) @@ -12777,8 +12797,10 @@ def __init__( self.public_network_access = public_network_access self.workspace_feature = None self.primary_user_assigned_identity_id = primary_user_assigned_identity_id + self.federated_client_id = federated_client_id self.key_id = key_id self.administrators = administrators + self.restrict_outbound_network_access = restrict_outbound_network_access class ServerAutomaticTuning(ProxyResource): @@ -14053,17 +14075,23 @@ class ServerUpdate(msrest.serialization.Model): :param public_network_access: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: "Enabled", "Disabled". - :type public_network_access: str or ~azure.mgmt.sql.models.ServerPublicNetworkAccess + :type public_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag :ivar workspace_feature: Whether or not existing server has a workspace created and if it allows connection from workspace. Possible values include: "Connected", "Disconnected". :vartype workspace_feature: str or ~azure.mgmt.sql.models.ServerWorkspaceFeature :param primary_user_assigned_identity_id: The resource id of a user assigned identity to be used by default. :type primary_user_assigned_identity_id: str + :param federated_client_id: The Client id used for cross tenant CMK scenario. + :type federated_client_id: str :param key_id: A CMK URI of the key to use for encryption. :type key_id: str :param administrators: The Azure Active Directory identity of the server. :type administrators: ~azure.mgmt.sql.models.ServerExternalAdministrator + :param restrict_outbound_network_access: Whether or not to restrict outbound network access for + this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible + values include: "Enabled", "Disabled". + :type restrict_outbound_network_access: str or ~azure.mgmt.sql.models.ServerNetworkAccessFlag """ _validation = { @@ -14086,8 +14114,10 @@ class ServerUpdate(msrest.serialization.Model): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'workspace_feature': {'key': 'properties.workspaceFeature', 'type': 'str'}, 'primary_user_assigned_identity_id': {'key': 'properties.primaryUserAssignedIdentityId', 'type': 'str'}, + 'federated_client_id': {'key': 'properties.federatedClientId', 'type': 'str'}, 'key_id': {'key': 'properties.keyId', 'type': 'str'}, 'administrators': {'key': 'properties.administrators', 'type': 'ServerExternalAdministrator'}, + 'restrict_outbound_network_access': {'key': 'properties.restrictOutboundNetworkAccess', 'type': 'str'}, } def __init__( @@ -14099,10 +14129,12 @@ def __init__( administrator_login_password: Optional[str] = None, version: Optional[str] = None, minimal_tls_version: Optional[str] = None, - public_network_access: Optional[Union[str, "ServerPublicNetworkAccess"]] = None, + public_network_access: Optional[Union[str, "ServerNetworkAccessFlag"]] = None, primary_user_assigned_identity_id: Optional[str] = None, + federated_client_id: Optional[str] = None, key_id: Optional[str] = None, administrators: Optional["ServerExternalAdministrator"] = None, + restrict_outbound_network_access: Optional[Union[str, "ServerNetworkAccessFlag"]] = None, **kwargs ): super(ServerUpdate, self).__init__(**kwargs) @@ -14118,8 +14150,10 @@ def __init__( self.public_network_access = public_network_access self.workspace_feature = None self.primary_user_assigned_identity_id = primary_user_assigned_identity_id + self.federated_client_id = federated_client_id self.key_id = key_id self.administrators = administrators + self.restrict_outbound_network_access = restrict_outbound_network_access class ServerUsage(msrest.serialization.Model): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_sql_management_client_enums.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_sql_management_client_enums.py index 795b3fc170c9..08176739e084 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_sql_management_client_enums.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/models/_sql_management_client_enums.py @@ -376,6 +376,15 @@ class DayOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): FRIDAY = "Friday" SATURDAY = "Saturday" +class DiffBackupIntervalInHours(with_metaclass(_CaseInsensitiveEnumMeta, int, Enum)): + """The differential backup interval in hours. This is how many interval hours between each + differential backup will be supported. This is only applicable to live databases but not + dropped databases. + """ + + TWELVE = 12 + TWENTY_FOUR = 24 + class DnsRefreshConfigurationPropertiesStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The status of the DNS refresh operation. """ @@ -402,7 +411,7 @@ class EncryptionProtectorName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum CURRENT = "current" -class Enum81(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class Enum77(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): ALL = "All" ERROR = "Error" @@ -818,6 +827,32 @@ class RecommendedSensitivityLabelUpdateKind(with_metaclass(_CaseInsensitiveEnumM ENABLE = "enable" DISABLE = "disable" +class ReplicationLinkType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Link type (GEO, NAMED). + """ + + GEO = "GEO" + NAMED = "NAMED" + +class ReplicationRole(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Local replication role. + """ + + PRIMARY = "Primary" + SECONDARY = "Secondary" + NON_READABLE_SECONDARY = "NonReadableSecondary" + SOURCE = "Source" + COPY = "Copy" + +class ReplicationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). + """ + + PENDING = "PENDING" + SEEDING = "SEEDING" + CATCH_UP = "CATCH_UP" + SUSPENDED = "SUSPENDED" + class ReplicaType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): PRIMARY = "Primary" @@ -931,7 +966,7 @@ class ServerKeyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SERVICE_MANAGED = "ServiceManaged" AZURE_KEY_VAULT = "AzureKeyVault" -class ServerPublicNetworkAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ServerNetworkAccessFlag(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' """ diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py index eec1a7bd1b91..92dc7fbad3cb 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/__init__.py @@ -21,7 +21,6 @@ from ._transparent_data_encryptions_operations import TransparentDataEncryptionsOperations from ._transparent_data_encryption_activities_operations import TransparentDataEncryptionActivitiesOperations from ._server_usages_operations import ServerUsagesOperations -from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._extended_database_blob_auditing_policies_operations import ExtendedDatabaseBlobAuditingPoliciesOperations from ._extended_server_blob_auditing_policies_operations import ExtendedServerBlobAuditingPoliciesOperations from ._server_blob_auditing_policies_operations import ServerBlobAuditingPoliciesOperations @@ -103,7 +102,6 @@ from ._server_dns_aliases_operations import ServerDnsAliasesOperations from ._server_keys_operations import ServerKeysOperations from ._server_operations_operations import ServerOperationsOperations -from ._servers_operations import ServersOperations from ._server_security_alert_policies_operations import ServerSecurityAlertPoliciesOperations from ._server_trust_groups_operations import ServerTrustGroupsOperations from ._server_vulnerability_assessments_operations import ServerVulnerabilityAssessmentsOperations @@ -118,6 +116,7 @@ from ._virtual_network_rules_operations import VirtualNetworkRulesOperations from ._workload_classifiers_operations import WorkloadClassifiersOperations from ._workload_groups_operations import WorkloadGroupsOperations +from ._backup_short_term_retention_policies_operations import BackupShortTermRetentionPoliciesOperations from ._database_extensions_operations import DatabaseExtensionsOperations from ._database_operations_operations import DatabaseOperationsOperations from ._database_usages_operations import DatabaseUsagesOperations @@ -125,6 +124,7 @@ from ._outbound_firewall_rules_operations import OutboundFirewallRulesOperations from ._restorable_dropped_databases_operations import RestorableDroppedDatabasesOperations from ._restorable_dropped_managed_databases_operations import RestorableDroppedManagedDatabasesOperations +from ._servers_operations import ServersOperations from ._usages_operations import UsagesOperations __all__ = [ @@ -143,7 +143,6 @@ 'TransparentDataEncryptionsOperations', 'TransparentDataEncryptionActivitiesOperations', 'ServerUsagesOperations', - 'BackupShortTermRetentionPoliciesOperations', 'ExtendedDatabaseBlobAuditingPoliciesOperations', 'ExtendedServerBlobAuditingPoliciesOperations', 'ServerBlobAuditingPoliciesOperations', @@ -225,7 +224,6 @@ 'ServerDnsAliasesOperations', 'ServerKeysOperations', 'ServerOperationsOperations', - 'ServersOperations', 'ServerSecurityAlertPoliciesOperations', 'ServerTrustGroupsOperations', 'ServerVulnerabilityAssessmentsOperations', @@ -240,6 +238,7 @@ 'VirtualNetworkRulesOperations', 'WorkloadClassifiersOperations', 'WorkloadGroupsOperations', + 'BackupShortTermRetentionPoliciesOperations', 'DatabaseExtensionsOperations', 'DatabaseOperationsOperations', 'DatabaseUsagesOperations', @@ -247,5 +246,6 @@ 'OutboundFirewallRulesOperations', 'RestorableDroppedDatabasesOperations', 'RestorableDroppedManagedDatabasesOperations', + 'ServersOperations', 'UsagesOperations', ] diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py index 67b397b21cf1..2ba2ce255fb3 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_backup_short_term_retention_policies_operations.py @@ -77,7 +77,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -130,7 +130,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -273,7 +273,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -428,7 +428,7 @@ def list_by_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_replication_links_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_replication_links_operations.py index 64021630cd4e..648466320818 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_replication_links_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_replication_links_operations.py @@ -498,27 +498,27 @@ def list_by_database( database_name, # type: str **kwargs # type: Any ): - # type: (...) -> Iterable["_models.ReplicationLinksListResult"] + # type: (...) -> Iterable["_models.ReplicationLinkListResult"] """Gets a list of replication links on database. :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str - :param database_name: The name of the database containing the replication link. + :param database_name: The name of the database. :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ReplicationLinksListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.sql.models.ReplicationLinksListResult] + :return: An iterator like instance of either ReplicationLinkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.sql.models.ReplicationLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinksListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinkListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -548,7 +548,7 @@ def prepare_request(next_link=None): return request def extract_data(pipeline_response): - deserialized = self._deserialize('ReplicationLinksListResult', pipeline_response) + deserialized = self._deserialize('ReplicationLinkListResult', pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -576,7 +576,7 @@ def get( resource_group_name, # type: str server_name, # type: str database_name, # type: str - replication_link_name, # type: str + link_id, # type: str **kwargs # type: Any ): # type: (...) -> "_models.ReplicationLink" @@ -585,12 +585,12 @@ def get( :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str - :param database_name: The name of the database containing the replication link. + :param database_name: The name of the database. :type database_name: str - :param replication_link_name: The name of the replication link. - :type replication_link_name: str + :param link_id: The name of the replication link. + :type link_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: ReplicationLink, or the result of cls(response) :rtype: ~azure.mgmt.sql.models.ReplicationLink @@ -601,7 +601,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -610,7 +610,7 @@ def get( 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), 'serverName': self._serialize.url("server_name", server_name, 'str'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), - 'replicationLinkName': self._serialize.url("replication_link_name", replication_link_name, 'str'), + 'linkId': self._serialize.url("link_id", link_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), } url = self._client.format_url(url, **path_format_arguments) @@ -637,7 +637,7 @@ def get( return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{replicationLinkName}'} # type: ignore + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks/{linkId}'} # type: ignore def list_by_server( self, @@ -645,25 +645,25 @@ def list_by_server( server_name, # type: str **kwargs # type: Any ): - # type: (...) -> Iterable["_models.ReplicationLinksListResult"] + # type: (...) -> Iterable["_models.ReplicationLinkListResult"] """Gets a list of replication links. :param resource_group_name: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. :type resource_group_name: str - :param server_name: The name of the server containing the replication link. + :param server_name: The name of the server. :type server_name: str :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ReplicationLinksListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.sql.models.ReplicationLinksListResult] + :return: An iterator like instance of either ReplicationLinkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.sql.models.ReplicationLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinksListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ReplicationLinkListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -692,7 +692,7 @@ def prepare_request(next_link=None): return request def extract_data(pipeline_response): - deserialized = self._deserialize('ReplicationLinksListResult', pipeline_response) + deserialized = self._deserialize('ReplicationLinkListResult', pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_servers_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_servers_operations.py index b562c9484930..96a82d70fa4d 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_servers_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_servers_operations.py @@ -71,7 +71,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -151,7 +151,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" # Construct URL @@ -202,7 +202,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -333,7 +333,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -443,7 +443,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -579,7 +579,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -644,7 +644,7 @@ def _import_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -780,7 +780,7 @@ def check_name_availability( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-11-01-preview" + api_version = "2021-02-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_sync_groups_operations.py b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_sync_groups_operations.py index 549c1297970f..a3256265690f 100644 --- a/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_sync_groups_operations.py +++ b/sdk/sql/azure-mgmt-sql/azure/mgmt/sql/operations/_sync_groups_operations.py @@ -333,7 +333,7 @@ def list_logs( sync_group_name, # type: str start_time, # type: str end_time, # type: str - type, # type: Union[str, "_models.Enum81"] + type, # type: Union[str, "_models.Enum77"] continuation_token_parameter=None, # type: Optional[str] **kwargs # type: Any ): @@ -354,7 +354,7 @@ def list_logs( :param end_time: Get logs generated before this time. :type end_time: str :param type: The types of logs to retrieve. - :type type: str or ~azure.mgmt.sql.models.Enum81 + :type type: str or ~azure.mgmt.sql.models.Enum77 :param continuation_token_parameter: The continuation token for this operation. :type continuation_token_parameter: str :keyword callable cls: A custom type or function that will be passed the direct response diff --git a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_agent.yaml b/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_agent.yaml deleted file mode 100644 index f67ecd7daa00..000000000000 --- a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_agent.yaml +++ /dev/null @@ -1,1104 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"administratorLogin": "dummylogin", - "administratorLoginPassword": "Un53cuRE!", "version": "12.0"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '136' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertLogicalServer","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '74' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:19 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"InProgress","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:52:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/395ca08d-b932-496f-9f63-9ed5d0f21f80?api-version=2020-11-01-preview - response: - body: - string: '{"name":"395ca08d-b932-496f-9f63-9ed5d0f21f80","status":"Succeeded","startTime":"2021-05-24T06:52:19.237Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"kind":"v12.0","properties":{"administratorLogin":"dummylogin","version":"12.0","state":"Ready","fullyQualifiedDomainName":"myserverxpxy.database.windows.net","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy","name":"myserverxpxy","type":"Microsoft.Sql/servers"}' - headers: - cache-control: - - no-cache - content-length: - - '498' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2021-05-24T06:53:05.473Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '76' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - response: - body: - string: '{"name":"49ce9480-c9da-453c-885e-1662673807f7","status":"InProgress","startTime":"2021-05-24T06:53:05.473Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - response: - body: - string: '{"name":"49ce9480-c9da-453c-885e-1662673807f7","status":"InProgress","startTime":"2021-05-24T06:53:05.473Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - response: - body: - string: '{"name":"49ce9480-c9da-453c-885e-1662673807f7","status":"InProgress","startTime":"2021-05-24T06:53:05.473Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:53:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/49ce9480-c9da-453c-885e-1662673807f7?api-version=2021-02-01-preview - response: - body: - string: '{"name":"49ce9480-c9da-453c-885e-1662673807f7","status":"Succeeded","startTime":"2021-05-24T06:53:05.473Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"1e48db4d-d28c-46dc-9342-677541b4fb7c","creationDate":"2021-05-24T06:53:57.52Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":68719476736,"readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"currentBackupStorageRedundancy":"Geo","requestedBackupStorageRedundancy":"Geo","maintenanceConfigurationId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default","isLedgerOn":false,"isInfraEncryptionEnabled":false},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase","name":"mydatabase","type":"Microsoft.Sql/servers/databases"}' - headers: - cache-control: - - no-cache - content-length: - - '1258' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"syncDatabaseId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '251' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"CreateSyncAgent","startTime":"2021-05-24T06:54:06.143Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncAgentOperationResults/7a45b3f1-cfef-42fe-9a50-8452b599d439?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncAgentOperationResults/7a45b3f1-cfef-42fe-9a50-8452b599d439?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent","name":"mysyncagent","type":"Microsoft.Sql/servers/syncAgents"}' - headers: - cache-control: - - no-cache - content-length: - - '535' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase","state":"NeverConnected","isUpToDate":true,"expiryTime":"9999-12-31T23:59:59.9999999Z","version":"4.2.0.0"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent","name":"mysyncagent","type":"Microsoft.Sql/servers/syncAgents"}' - headers: - cache-control: - - no-cache - content-length: - - '642' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent/generateKey?api-version=2020-11-01-preview - response: - body: - string: '{"syncAgentKey":"410a1001-132a-49a3-ae95-7790d7c64f7c:LWqQIZ7uPYB4jpLoffhHI3+nSJH8zF27euMSfhnus8s=:bXlzZXJ2ZXJ4cHh5LmRhdGFiYXNlLndpbmRvd3MubmV04oGHbXlkYXRhYmFzZQ=="}' - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncAgent","startTime":"2021-05-24T06:54:22.3Z"}' - headers: - cache-control: - - no-cache - content-length: - - '66' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:22 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncAgentOperationResults/8096b485-5fcf-412a-acd0-af2f782f8ef2?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncAgentOperationResults/8096b485-5fcf-412a-acd0-af2f782f8ef2?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/syncAgents/mysyncagent","name":"mysyncagent","type":"Microsoft.Sql/servers/syncAgents"}' - headers: - cache-control: - - no-cache - content-length: - - '303' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"DropLogicalDatabase","startTime":"2021-05-24T06:54:37.69Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/0f1e681b-085b-41c4-8fc6-bd285dbb5b0e?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '73' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/0f1e681b-085b-41c4-8fc6-bd285dbb5b0e?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/0f1e681b-085b-41c4-8fc6-bd285dbb5b0e?api-version=2021-02-01-preview - response: - body: - string: '{"name":"0f1e681b-085b-41c4-8fc6-bd285dbb5b0e","status":"Succeeded","startTime":"2021-05-24T06:54:37.69Z"}' - headers: - cache-control: - - no-cache - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropLogicalServer","startTime":"2021-05-24T06:54:53.02Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/f2b5fee0-fd37-49bb-ae43-1bc18b21f6d7?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '71' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:54:52 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/f2b5fee0-fd37-49bb-ae43-1bc18b21f6d7?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/f2b5fee0-fd37-49bb-ae43-1bc18b21f6d7?api-version=2020-11-01-preview - response: - body: - string: '{"name":"f2b5fee0-fd37-49bb-ae43-1bc18b21f6d7","status":"Succeeded","startTime":"2021-05-24T06:54:53.02Z"}' - headers: - cache-control: - - no-cache - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_group.yaml b/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_group.yaml deleted file mode 100644 index 0195c1dc4423..000000000000 --- a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_group.yaml +++ /dev/null @@ -1,2651 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"administratorLogin": "dummylogin", - "administratorLoginPassword": "Un53cuRE!", "version": "12.0"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '136' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertLogicalServer","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '73' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:10 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:55:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:56:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:56:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:56:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:57:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:57:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:57:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:57:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:58:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:58:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:58:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:58:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:59:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:59:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:59:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 06:59:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"InProgress","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/b1c919a7-55ae-469d-a735-a6e3a6dbf460?api-version=2020-11-01-preview - response: - body: - string: '{"name":"b1c919a7-55ae-469d-a735-a6e3a6dbf460","status":"Succeeded","startTime":"2021-05-24T06:55:10.48Z"}' - headers: - cache-control: - - no-cache - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"kind":"v12.0","properties":{"administratorLogin":"dummylogin","version":"12.0","state":"Ready","fullyQualifiedDomainName":"myserverxpxy.database.windows.net","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy","name":"myserverxpxy","type":"Microsoft.Sql/servers"}' - headers: - cache-control: - - no-cache - content-length: - - '498' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2021-05-24T07:00:48.597Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '76' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:00:48 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - response: - body: - string: '{"name":"55bd9872-83cc-43b2-a1cf-3989ce4b5378","status":"InProgress","startTime":"2021-05-24T07:00:48.597Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - response: - body: - string: '{"name":"55bd9872-83cc-43b2-a1cf-3989ce4b5378","status":"InProgress","startTime":"2021-05-24T07:00:48.597Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - response: - body: - string: '{"name":"55bd9872-83cc-43b2-a1cf-3989ce4b5378","status":"InProgress","startTime":"2021-05-24T07:00:48.597Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/55bd9872-83cc-43b2-a1cf-3989ce4b5378?api-version=2021-02-01-preview - response: - body: - string: '{"name":"55bd9872-83cc-43b2-a1cf-3989ce4b5378","status":"Succeeded","startTime":"2021-05-24T07:00:48.597Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"9b4271d5-706a-4329-86c7-6464fc64eea5","creationDate":"2021-05-24T07:01:36.05Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":68719476736,"readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"currentBackupStorageRedundancy":"Geo","requestedBackupStorageRedundancy":"Geo","maintenanceConfigurationId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default","isLedgerOn":false,"isInfraEncryptionEnabled":false},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase","name":"mydatabase","type":"Microsoft.Sql/servers/databases"}' - headers: - cache-control: - - no-cache - content-length: - - '1258' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2021-05-24T07:01:49.973Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '76' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:01:49 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - response: - body: - string: '{"name":"e9d05729-7d0f-4ce1-9800-53cbf16060de","status":"InProgress","startTime":"2021-05-24T07:01:49.973Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - response: - body: - string: '{"name":"e9d05729-7d0f-4ce1-9800-53cbf16060de","status":"InProgress","startTime":"2021-05-24T07:01:49.973Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - response: - body: - string: '{"name":"e9d05729-7d0f-4ce1-9800-53cbf16060de","status":"InProgress","startTime":"2021-05-24T07:01:49.973Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/e9d05729-7d0f-4ce1-9800-53cbf16060de?api-version=2021-02-01-preview - response: - body: - string: '{"name":"e9d05729-7d0f-4ce1-9800-53cbf16060de","status":"Succeeded","startTime":"2021-05-24T07:01:49.973Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"8fb9a209-6e33-4cac-b894-bb0fa01ae563","creationDate":"2021-05-24T07:02:37.533Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":68719476736,"readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"currentBackupStorageRedundancy":"Geo","requestedBackupStorageRedundancy":"Geo","maintenanceConfigurationId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default","isLedgerOn":false,"isInfraEncryptionEnabled":false},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase","name":"mysyncdatabase","type":"Microsoft.Sql/servers/databases"}' - headers: - cache-control: - - no-cache - content-length: - - '1267' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"interval": -1, "conflictResolutionPolicy": "HubWin", "syncDatabaseId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase", - "hubDatabaseUserName": "hubUser", "usePrivateLinkConnection": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '378' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:02:49 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:03:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:03:20 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:03:35 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:03:51 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:02:50.503Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:06 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/98292d65-e034-4a2a-8e8b-cd1dde12034d?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"interval":-1,"lastSyncTime":"0001-01-01T00:00:00Z","conflictResolutionPolicy":"HubWin","syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase","syncState":"Good","enableConflictLogging":false,"conflictLoggingRetentionInDays":30,"usePrivateLinkConnection":false,"privateEndpointName":""},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '801' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"interval":-1,"lastSyncTime":"0001-01-01T00:00:00Z","conflictResolutionPolicy":"HubWin","syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase","hubDatabaseUserName":"hubUser","syncState":"NotReady","usePrivateLinkConnection":false,"privateEndpointName":""},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '771' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/refreshHubSchema?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"RefrehSyncHubFullSchema","startTime":"2021-05-24T07:04:22.457Z"}' - headers: - cache-control: - - no-cache - content-length: - - '78' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:21 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/refreshHubSchemaOperationResults/4ef4f061-75ee-45db-ba4f-2b340e87cdcd?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/refreshHubSchemaOperationResults/4ef4f061-75ee-45db-ba4f-2b340e87cdcd?api-version=2020-11-01-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 24 May 2021 07:04:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"interval": -1, "conflictResolutionPolicy": "HubWin", "syncDatabaseId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase", - "hubDatabaseUserName": "hubUser", "hubDatabasePassword": "hubPassword", "usePrivateLinkConnection": - false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '416' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:04:37.77Z"}' - headers: - cache-control: - - no-cache - content-length: - - '69' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/2856772b-bf81-4f12-92c6-7e802ef31975?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/2856772b-bf81-4f12-92c6-7e802ef31975?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"interval":-1,"lastSyncTime":"0001-01-01T00:00:00Z","conflictResolutionPolicy":"HubWin","syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Sql/servers//databases/","syncState":"Good","usePrivateLinkConnection":false,"privateEndpointName":""},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '629' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/cancelSync?api-version=2020-11-01-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 24 May 2021 07:04:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncGroup","startTime":"2021-05-24T07:04:53.567Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:04:53 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/11b911f5-1e29-4a54-93d3-3ea0e0944da3?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/11b911f5-1e29-4a54-93d3-3ea0e0944da3?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"lastSyncTime":"0001-01-01T00:00:00Z","syncState":"NotReady"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '394' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"DropLogicalDatabase","startTime":"2021-05-24T07:05:08.863Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/fac71a31-020f-4a1a-8283-422150f394e5?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '74' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:08 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/fac71a31-020f-4a1a-8283-422150f394e5?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/fac71a31-020f-4a1a-8283-422150f394e5?api-version=2021-02-01-preview - response: - body: - string: '{"name":"fac71a31-020f-4a1a-8283-422150f394e5","status":"Succeeded","startTime":"2021-05-24T07:05:08.863Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"DropLogicalDatabase","startTime":"2021-05-24T07:05:24.16Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/71ae13b5-e5d3-4fd8-9df2-2f9e464de010?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '73' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:24 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/71ae13b5-e5d3-4fd8-9df2-2f9e464de010?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/71ae13b5-e5d3-4fd8-9df2-2f9e464de010?api-version=2021-02-01-preview - response: - body: - string: '{"name":"71ae13b5-e5d3-4fd8-9df2-2f9e464de010","status":"Succeeded","startTime":"2021-05-24T07:05:24.16Z"}' - headers: - cache-control: - - no-cache - content-length: - - '106' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropLogicalServer","startTime":"2021-05-24T07:05:39.427Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/01ab0397-5137-4aaf-b045-0312005edd52?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '72' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:39 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/01ab0397-5137-4aaf-b045-0312005edd52?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/01ab0397-5137-4aaf-b045-0312005edd52?api-version=2020-11-01-preview - response: - body: - string: '{"name":"01ab0397-5137-4aaf-b045-0312005edd52","status":"Succeeded","startTime":"2021-05-24T07:05:39.427Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_member.yaml b/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_member.yaml deleted file mode 100644 index f5ea6da1a175..000000000000 --- a/sdk/sql/azure-mgmt-sql/tests/recordings/test_cli_mgmt_sql_sync.test_sync_member.yaml +++ /dev/null @@ -1,2822 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"administratorLogin": "dummylogin", - "administratorLoginPassword": "Un53cuRE!", "version": "12.0"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '136' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertLogicalServer","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '74' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:56 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:05:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:06:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:06:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:06:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:06:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:07:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:07:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:07:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:07:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:08:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:08:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:08:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:08:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:09:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:09:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:09:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:09:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:10:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:10:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:10:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:10:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"InProgress","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/473b1a69-8010-47d2-b331-dea1f9edb560?api-version=2020-11-01-preview - response: - body: - string: '{"name":"473b1a69-8010-47d2-b331-dea1f9edb560","status":"Succeeded","startTime":"2021-05-24T07:05:56.613Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"kind":"v12.0","properties":{"administratorLogin":"dummylogin","version":"12.0","state":"Ready","fullyQualifiedDomainName":"myserverxpxy.database.windows.net","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy","name":"myserverxpxy","type":"Microsoft.Sql/servers"}' - headers: - cache-control: - - no-cache - content-length: - - '498' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2021-05-24T07:11:34.383Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1f28b746-072e-49f3-a113-b38aafcddd8d?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '76' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:33 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/1f28b746-072e-49f3-a113-b38aafcddd8d?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1f28b746-072e-49f3-a113-b38aafcddd8d?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1f28b746-072e-49f3-a113-b38aafcddd8d","status":"InProgress","startTime":"2021-05-24T07:11:34.383Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:11:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1f28b746-072e-49f3-a113-b38aafcddd8d?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1f28b746-072e-49f3-a113-b38aafcddd8d","status":"InProgress","startTime":"2021-05-24T07:11:34.383Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1f28b746-072e-49f3-a113-b38aafcddd8d?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1f28b746-072e-49f3-a113-b38aafcddd8d","status":"Succeeded","startTime":"2021-05-24T07:11:34.383Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"6e0d8a73-af86-459e-a13e-d9fa84876f88","creationDate":"2021-05-24T07:12:14.023Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":68719476736,"readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"currentBackupStorageRedundancy":"Geo","requestedBackupStorageRedundancy":"Geo","maintenanceConfigurationId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default","isLedgerOn":false,"isInfraEncryptionEnabled":false},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase","name":"mydatabase","type":"Microsoft.Sql/servers/databases"}' - headers: - cache-control: - - no-cache - content-length: - - '1259' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"CreateLogicalDatabase","startTime":"2021-05-24T07:12:20.273Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '76' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:19 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1b2974c3-9caa-4f35-8ea6-bb05301cc13a","status":"InProgress","startTime":"2021-05-24T07:12:20.273Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1b2974c3-9caa-4f35-8ea6-bb05301cc13a","status":"InProgress","startTime":"2021-05-24T07:12:20.273Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:12:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1b2974c3-9caa-4f35-8ea6-bb05301cc13a","status":"InProgress","startTime":"2021-05-24T07:12:20.273Z"}' - headers: - cache-control: - - no-cache - content-length: - - '108' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/1b2974c3-9caa-4f35-8ea6-bb05301cc13a?api-version=2021-02-01-preview - response: - body: - string: '{"name":"1b2974c3-9caa-4f35-8ea6-bb05301cc13a","status":"Succeeded","startTime":"2021-05-24T07:12:20.273Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"sku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"kind":"v12.0,user,vcore","properties":{"collation":"SQL_Latin1_General_CP1_CI_AS","maxSizeBytes":34359738368,"status":"Online","databaseId":"95780eea-33e4-4229-a146-1a0a0f8de288","creationDate":"2021-05-24T07:13:08.647Z","currentServiceObjectiveName":"GP_Gen5_2","requestedServiceObjectiveName":"GP_Gen5_2","defaultSecondaryLocation":"westus","catalogCollation":"SQL_Latin1_General_CP1_CI_AS","zoneRedundant":false,"licenseType":"LicenseIncluded","maxLogSizeBytes":68719476736,"readScale":"Disabled","currentSku":{"name":"GP_Gen5","tier":"GeneralPurpose","family":"Gen5","capacity":2},"currentBackupStorageRedundancy":"Geo","requestedBackupStorageRedundancy":"Geo","maintenanceConfigurationId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default","isLedgerOn":false,"isInfraEncryptionEnabled":false},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase","name":"mysyncdatabase","type":"Microsoft.Sql/servers/databases"}' - headers: - cache-control: - - no-cache - content-length: - - '1267' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"interval": -1, "conflictResolutionPolicy": "HubWin", "syncDatabaseId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase", - "hubDatabaseUserName": "hubUser", "usePrivateLinkConnection": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '378' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:13:20.79Z"}' - headers: - cache-control: - - no-cache - content-length: - - '69' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:20 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:13:20.79Z"}' - headers: - cache-control: - - no-cache - content-length: - - '69' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:35 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncGroup","startTime":"2021-05-24T07:13:20.79Z"}' - headers: - cache-control: - - no-cache - content-length: - - '69' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:13:50 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/8ff3ee54-011d-4b57-a129-32ad36564427?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"interval":-1,"lastSyncTime":"0001-01-01T00:00:00Z","conflictResolutionPolicy":"HubWin","syncDatabaseId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase","syncState":"Good","enableConflictLogging":false,"conflictLoggingRetentionInDays":30,"usePrivateLinkConnection":false,"privateEndpointName":""},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '801' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 201 - message: Created -- request: - body: '{"properties": {"databaseType": "AzureSqlDatabase", "usePrivateLinkConnection": - false, "serverName": "myserverxpxy", "databaseName": "mydatabase", "userName": - "dummylogin", "password": "Un53cuRE!", "syncDirection": "Bidirectional"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '232' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncMember","startTime":"2021-05-24T07:14:06.29Z"}' - headers: - cache-control: - - no-cache - content-length: - - '70' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/770967bf-2b04-4712-95b0-c46c4dd4c14e?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/770967bf-2b04-4712-95b0-c46c4dd4c14e?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"databaseType":"AzureSqlDatabase","usePrivateLinkConnection":false,"privateEndpointName":"","serverName":"myserverxpxy","databaseName":"mydatabase","syncDirection":"Bidirectional","skipInitSync":false},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember","name":"mysyncmember","type":"Microsoft.Sql/servers/databases/syncGroups/syncMembers"}' - headers: - cache-control: - - no-cache - content-length: - - '572' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"databaseType":"AzureSqlDatabase","syncMemberAzureDatabaseResourceId":"","usePrivateLinkConnection":false,"privateEndpointName":"","serverName":"myserverxpxy","databaseName":"mydatabase","userName":"dummylogin","syncDirection":"Bidirectional","syncState":"UnProvisioned","skipInitSync":false},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember","name":"mysyncmember","type":"Microsoft.Sql/servers/databases/syncGroups/syncMembers"}' - headers: - cache-control: - - no-cache - content-length: - - '663' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember/refreshSchema?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"RefrehSyncMemberSchema","startTime":"2021-05-24T07:14:22.273Z"}' - headers: - cache-control: - - no-cache - content-length: - - '77' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:21 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember/refreshSchemaOperationResults/936c783e-26d0-4dfd-8fb6-ec3689cbc431?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember/refreshSchemaOperationResults/936c783e-26d0-4dfd-8fb6-ec3689cbc431?api-version=2020-11-01-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 24 May 2021 07:14:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"usePrivateLinkConnection": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '51' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"UpsertSyncMember","startTime":"2021-05-24T07:14:37.617Z"}' - headers: - cache-control: - - no-cache - content-length: - - '71' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/91ded499-98c9-4a92-b5c7-3f223dec279f?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/91ded499-98c9-4a92-b5c7-3f223dec279f?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"skipInitSync":false},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember","name":"mysyncmember","type":"Microsoft.Sql/servers/databases/syncGroups/syncMembers"}' - headers: - cache-control: - - no-cache - content-length: - - '392' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncMember","startTime":"2021-05-24T07:14:53.04Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:14:53 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncMember","startTime":"2021-05-24T07:14:53.04Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:15:07 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncMember","startTime":"2021-05-24T07:14:53.04Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:15:22 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncMember","startTime":"2021-05-24T07:14:53.04Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:15:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncMember","startTime":"2021-05-24T07:14:53.04Z"}' - headers: - cache-control: - - no-cache - content-length: - - '68' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:15:53 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncMemberOperationResults/d134a355-c65d-47c7-ba04-9a8868a5c252?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"skipInitSync":false},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/syncMembers/mysyncmember","name":"mysyncmember","type":"Microsoft.Sql/servers/databases/syncGroups/syncMembers"}' - headers: - cache-control: - - no-cache - content-length: - - '392' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup/cancelSync?api-version=2020-11-01-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Mon, 24 May 2021 07:16:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropSyncGroup","startTime":"2021-05-24T07:16:09.26Z"}' - headers: - cache-control: - - no-cache - content-length: - - '67' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:08 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/df044a54-240c-420c-9993-b153afafa02b?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/syncGroupOperationResults/df044a54-240c-420c-9993-b153afafa02b?api-version=2020-11-01-preview - response: - body: - string: '{"properties":{"lastSyncTime":"0001-01-01T00:00:00Z","syncState":"NotReady"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase/syncGroups/mysyncgroup","name":"mysyncgroup","type":"Microsoft.Sql/servers/databases/syncGroups"}' - headers: - cache-control: - - no-cache - content-length: - - '394' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mydatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"DropLogicalDatabase","startTime":"2021-05-24T07:16:24.587Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/384e6bf5-9305-40cc-8fbd-263fa9f2e2b9?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '74' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:23 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/384e6bf5-9305-40cc-8fbd-263fa9f2e2b9?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/384e6bf5-9305-40cc-8fbd-263fa9f2e2b9?api-version=2021-02-01-preview - response: - body: - string: '{"name":"384e6bf5-9305-40cc-8fbd-263fa9f2e2b9","status":"Succeeded","startTime":"2021-05-24T07:16:24.587Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy/databases/mysyncdatabase?api-version=2021-02-01-preview - response: - body: - string: '{"operation":"DropLogicalDatabase","startTime":"2021-05-24T07:16:39.963Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/09150e0a-29c7-4d54-8729-d4bdcb001fac?api-version=2021-02-01-preview - cache-control: - - no-cache - content-length: - - '74' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:40 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseOperationResults/09150e0a-29c7-4d54-8729-d4bdcb001fac?api-version=2021-02-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/databaseAzureAsyncOperation/09150e0a-29c7-4d54-8729-d4bdcb001fac?api-version=2021-02-01-preview - response: - body: - string: '{"name":"09150e0a-29c7-4d54-8729-d4bdcb001fac","status":"Succeeded","startTime":"2021-05-24T07:16:39.963Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/servers/myserverxpxy?api-version=2020-11-01-preview - response: - body: - string: '{"operation":"DropLogicalServer","startTime":"2021-05-24T07:16:55.417Z"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/53f0b523-5889-4b70-82c4-5bf063fd4858?api-version=2020-11-01-preview - cache-control: - - no-cache - content-length: - - '72' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:16:55 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverOperationResults/53f0b523-5889-4b70-82c4-5bf063fd4858?api-version=2020-11-01-preview - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14995' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-sql/0.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Sql/locations/eastus/serverAzureAsyncOperation/53f0b523-5889-4b70-82c4-5bf063fd4858?api-version=2020-11-01-preview - response: - body: - string: '{"name":"53f0b523-5889-4b70-82c4-5bf063fd4858","status":"Succeeded","startTime":"2021-05-24T07:16:55.417Z"}' - headers: - cache-control: - - no-cache - content-length: - - '107' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 24 May 2021 07:17:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/sql/azure-mgmt-sql/tests/test_cli_mgmt_sql_sync.py b/sdk/sql/azure-mgmt-sql/tests/test_cli_mgmt_sql_sync.py index 652033be00cc..0d4a32204cf4 100644 --- a/sdk/sql/azure-mgmt-sql/tests/test_cli_mgmt_sql_sync.py +++ b/sdk/sql/azure-mgmt-sql/tests/test_cli_mgmt_sql_sync.py @@ -26,6 +26,7 @@ def setUp(self): azure.mgmt.sql.SqlManagementClient ) + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_sync_member(self, resource_group): @@ -162,6 +163,7 @@ def test_sync_member(self, resource_group): result = self.mgmt_client.servers.begin_delete(resource_group_name=RESOURCE_GROUP, server_name=SERVER_NAME) result = result.result() + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_sync_group(self, resource_group): @@ -295,6 +297,7 @@ def test_sync_group(self, resource_group): result = self.mgmt_client.servers.begin_delete(resource_group_name=RESOURCE_GROUP, server_name=SERVER_NAME) result = result.result() + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_sync_agent(self, resource_group): From fae360555c8bf43315fd8ced8b970ba50f2ad78a Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 21 Jun 2021 10:16:52 +0800 Subject: [PATCH 13/45] [AutoRelease] t2-containerservice-2021-06-17-11581 (#19292) * CodeGen from PR 14709 in Azure/azure-rest-api-specs java mgmt, aks, add needed json (#14709) * version,CHANGELOG * test * test config Co-authored-by: SDKAuto Co-authored-by: PythonSdkPipelines Co-authored-by: Zed <601306339@qq.com> --- .../azure-mgmt-containerservice/CHANGELOG.md | 16 + .../azure-mgmt-containerservice/_meta.json | 11 +- .../_container_service_client.py | 28 +- .../azure/mgmt/containerservice/_version.py | 2 +- .../aio/_container_service_client.py | 28 +- .../azure/mgmt/containerservice/models.py | 2 +- .../v2017_07_01/_container_service_client.py | 19 + .../v2017_07_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../_container_services_operations.py | 24 +- .../_container_services_operations.py | 8 +- .../v2018_03_31/_container_service_client.py | 19 + .../v2018_03_31/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../_managed_clusters_operations.py | 54 +- .../v2018_03_31/aio/operations/_operations.py | 2 +- .../_managed_clusters_operations.py | 20 +- .../_container_service_client.py | 19 + .../v2018_08_01_preview/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../_managed_clusters_operations.py | 54 +- .../aio/operations/_operations.py | 2 +- .../_managed_clusters_operations.py | 20 +- .../_container_service_client.py | 19 + .../v2018_09_30_preview/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + ..._open_shift_managed_clusters_operations.py | 30 +- ..._open_shift_managed_clusters_operations.py | 12 +- .../v2019_02_01/_container_service_client.py | 19 + .../v2019_02_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 20 +- .../_managed_clusters_operations.py | 54 +- .../v2019_02_01/aio/operations/_operations.py | 2 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 20 +- .../v2019_04_01/_container_service_client.py | 19 + .../v2019_04_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 20 +- .../_managed_clusters_operations.py | 54 +- .../v2019_04_01/aio/operations/_operations.py | 2 +- .../v2019_04_01/models/_models.py | 4 +- .../v2019_04_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 20 +- .../v2019_04_30/_container_service_client.py | 19 + .../v2019_04_30/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + ..._open_shift_managed_clusters_operations.py | 30 +- ..._open_shift_managed_clusters_operations.py | 12 +- .../v2019_06_01/_container_service_client.py | 19 + .../v2019_06_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 54 +- .../v2019_06_01/aio/operations/_operations.py | 2 +- .../v2019_06_01/models/_models.py | 4 +- .../v2019_06_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 20 +- .../v2019_08_01/_container_service_client.py | 19 + .../v2019_08_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 62 +- .../v2019_08_01/aio/operations/_operations.py | 2 +- .../v2019_08_01/models/_models.py | 4 +- .../v2019_08_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../_container_service_client.py | 19 + .../v2019_09_30_preview/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + ..._open_shift_managed_clusters_operations.py | 30 +- ..._open_shift_managed_clusters_operations.py | 12 +- .../v2019_10_01/_container_service_client.py | 19 + .../v2019_10_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 64 +- .../v2019_10_01/aio/operations/_operations.py | 2 +- .../v2019_10_01/models/_models.py | 4 +- .../v2019_10_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../_container_service_client.py | 19 + .../v2019_10_27_preview/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + ..._open_shift_managed_clusters_operations.py | 30 +- ..._open_shift_managed_clusters_operations.py | 12 +- .../v2019_11_01/_container_service_client.py | 19 + .../v2019_11_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 64 +- .../v2019_11_01/aio/operations/_operations.py | 2 +- .../v2019_11_01/models/_models.py | 4 +- .../v2019_11_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../v2020_01_01/_container_service_client.py | 19 + .../v2020_01_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 64 +- .../v2020_01_01/aio/operations/_operations.py | 2 +- .../v2020_01_01/models/_models.py | 4 +- .../v2020_01_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../v2020_02_01/_container_service_client.py | 19 + .../v2020_02_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 64 +- .../v2020_02_01/aio/operations/_operations.py | 2 +- .../v2020_02_01/models/_models.py | 4 +- .../v2020_02_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../v2020_03_01/_container_service_client.py | 19 + .../v2020_03_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 64 +- .../v2020_03_01/aio/operations/_operations.py | 2 +- .../v2020_03_01/models/_models.py | 4 +- .../v2020_03_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 24 +- .../v2020_04_01/_container_service_client.py | 19 + .../v2020_04_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 69 +- .../v2020_04_01/aio/operations/_operations.py | 2 +- .../v2020_04_01/models/_models.py | 4 +- .../v2020_04_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 29 +- .../v2020_06_01/_container_service_client.py | 19 + .../v2020_06_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 24 +- .../_managed_clusters_operations.py | 69 +- .../v2020_06_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../v2020_06_01/models/_models.py | 4 +- .../v2020_06_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 8 +- .../_managed_clusters_operations.py | 29 +- ...private_endpoint_connections_operations.py | 4 +- .../v2020_07_01/_container_service_client.py | 19 + .../v2020_07_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_managed_clusters_operations.py | 69 +- .../v2020_07_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../v2020_07_01/models/_models.py | 4 +- .../v2020_07_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 29 +- ...private_endpoint_connections_operations.py | 4 +- .../v2020_09_01/_container_service_client.py | 19 + .../v2020_09_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_managed_clusters_operations.py | 85 +- .../v2020_09_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../_private_link_resources_operations.py | 2 +- ...olve_private_link_service_id_operations.py | 2 +- .../v2020_09_01/models/_models.py | 4 +- .../v2020_09_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 37 +- ...private_endpoint_connections_operations.py | 4 +- .../v2020_11_01/_container_service_client.py | 19 + .../v2020_11_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_managed_clusters_operations.py | 85 +- .../v2020_11_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../_private_link_resources_operations.py | 2 +- ...olve_private_link_service_id_operations.py | 2 +- .../v2020_11_01/models/_models.py | 4 +- .../v2020_11_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 37 +- ...private_endpoint_connections_operations.py | 4 +- .../v2020_12_01/_container_service_client.py | 19 + .../v2020_12_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_maintenance_configurations_operations.py | 8 +- .../_managed_clusters_operations.py | 85 +- .../v2020_12_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../_private_link_resources_operations.py | 2 +- ...olve_private_link_service_id_operations.py | 2 +- .../v2020_12_01/models/_models.py | 4 +- .../v2020_12_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 37 +- ...private_endpoint_connections_operations.py | 4 +- .../v2021_02_01/_container_service_client.py | 19 + .../v2021_02_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_maintenance_configurations_operations.py | 8 +- .../_managed_clusters_operations.py | 85 +- .../v2021_02_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../_private_link_resources_operations.py | 2 +- ...olve_private_link_service_id_operations.py | 2 +- .../v2021_02_01/models/_models.py | 4 +- .../v2021_02_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 37 +- ...private_endpoint_connections_operations.py | 4 +- .../v2021_03_01/_container_service_client.py | 19 + .../v2021_03_01/_metadata.json | 10 +- .../aio/_container_service_client.py | 18 + .../aio/operations/_agent_pools_operations.py | 32 +- .../_maintenance_configurations_operations.py | 8 +- .../_managed_clusters_operations.py | 97 +- .../v2021_03_01/aio/operations/_operations.py | 2 +- ...private_endpoint_connections_operations.py | 14 +- .../_private_link_resources_operations.py | 2 +- ...olve_private_link_service_id_operations.py | 2 +- .../v2021_03_01/models/_models.py | 4 +- .../v2021_03_01/models/_models_py3.py | 4 +- .../operations/_agent_pools_operations.py | 12 +- .../_managed_clusters_operations.py | 41 +- ...private_endpoint_connections_operations.py | 4 +- .../containerservice/v2021_05_01/__init__.py | 16 + .../v2021_05_01/_configuration.py | 70 + .../v2021_05_01/_container_service_client.py | 119 + .../v2021_05_01/_metadata.json | 109 + .../v2021_05_01/aio/__init__.py | 10 + .../v2021_05_01/aio/_configuration.py | 66 + .../aio/_container_service_client.py | 112 + .../v2021_05_01/aio/operations/__init__.py | 25 + .../aio/operations/_agent_pools_operations.py | 689 +++ .../_maintenance_configurations_operations.py | 317 ++ .../_managed_clusters_operations.py | 1844 ++++++++ .../v2021_05_01/aio/operations/_operations.py | 104 + ...private_endpoint_connections_operations.py | 357 ++ .../_private_link_resources_operations.py | 102 + ...olve_private_link_service_id_operations.py | 110 + .../v2021_05_01/models/__init__.py | 313 ++ .../models/_container_service_client_enums.py | 438 ++ .../v2021_05_01/models/_models.py | 3608 +++++++++++++++ .../v2021_05_01/models/_models_py3.py | 4052 +++++++++++++++++ .../v2021_05_01/operations/__init__.py | 25 + .../operations/_agent_pools_operations.py | 703 +++ .../_maintenance_configurations_operations.py | 325 ++ .../_managed_clusters_operations.py | 1877 ++++++++ .../v2021_05_01/operations/_operations.py | 109 + ...private_endpoint_connections_operations.py | 366 ++ .../_private_link_resources_operations.py | 107 + ...olve_private_link_service_id_operations.py | 115 + .../containerservice/v2021_05_01/py.typed | 1 + .../test_mgmt_aks.test_agentPools.yaml | 808 ---- .../test_mgmt_aks.test_managed_clusters.yaml | 1210 ----- ...st_mgmt_aks.test_privateLinkResources.yaml | 827 ---- ..._aks.test_resolvePrivateLinkServiceId.yaml | 786 ---- .../tests/test_mgmt_aks.py | 5 + 271 files changed, 18597 insertions(+), 5303 deletions(-) create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/__init__.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_configuration.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_container_service_client.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_metadata.json create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/__init__.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_configuration.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_container_service_client.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/__init__.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_agent_pools_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_maintenance_configurations_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_managed_clusters_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_link_resources_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/__init__.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_container_service_client_enums.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models_py3.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/__init__.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_agent_pools_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_maintenance_configurations_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_managed_clusters_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_endpoint_connections_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_link_resources_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_resolve_private_link_service_id_operations.py create mode 100644 sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/py.typed delete mode 100644 sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_agentPools.yaml delete mode 100644 sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_managed_clusters.yaml delete mode 100644 sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_privateLinkResources.yaml delete mode 100644 sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_resolvePrivateLinkServiceId.yaml diff --git a/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md b/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md index e7e64dd7dbfa..2a93b51e3660 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md +++ b/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md @@ -1,5 +1,21 @@ # Release History +## 16.0.0 (2021-06-17) + +**Features** + + - Model ManagedClusterAgentPoolProfile has a new parameter enable_ultra_ssd + - Model ManagedClusterAPIServerAccessProfile has a new parameter enable_private_cluster_public_fqdn + - Model AgentPool has a new parameter enable_ultra_ssd + - Model ManagedClusterAgentPoolProfileProperties has a new parameter enable_ultra_ssd + - Added operation ManagedClustersOperations.list_outbound_network_dependencies_endpoints + +**Breaking changes** + + - Operation ManagedClustersOperations.list_cluster_admin_credentials has a new signature + - Operation ManagedClustersOperations.list_cluster_monitoring_user_credentials has a new signature + - Operation ManagedClustersOperations.list_cluster_user_credentials has a new signature + ## 15.1.0 (2021-04-07) **Features** diff --git a/sdk/containerservice/azure-mgmt-containerservice/_meta.json b/sdk/containerservice/azure-mgmt-containerservice/_meta.json index 43f01dad6001..239763438918 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/_meta.json +++ b/sdk/containerservice/azure-mgmt-containerservice/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.0.6369", - "use": "@autorest/python@5.6.2", - "commit": "8c3c899722a412e9e61264459d6426e64925cd68", + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.0", + "@autorest/modelerfour@4.19.2" + ], + "commit": "1f0bb3f63b1664ace42cfdf646d8b2382d7b7b22", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.2 --version=3.0.6369", + "autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/containerservice/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py index f1c8187ac2b3..e869970cf5d8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_container_service_client.py @@ -23,6 +23,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse class _SDKClient(object): def __init__(self, *args, **kwargs): @@ -55,7 +56,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient): :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2021-03-01' + DEFAULT_API_VERSION = '2021-05-01' _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -116,6 +117,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-12-01: :mod:`v2020_12_01.models` * 2021-02-01: :mod:`v2021_02_01.models` * 2021-03-01: :mod:`v2021_03_01.models` + * 2021-05-01: :mod:`v2021_05_01.models` """ if api_version == '2017-07-01': from .v2017_07_01 import models @@ -189,6 +191,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-03-01': from .v2021_03_01 import models return models + elif api_version == '2021-05-01': + from .v2021_05_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -212,6 +217,7 @@ def agent_pools(self): * 2020-12-01: :class:`AgentPoolsOperations` * 2021-02-01: :class:`AgentPoolsOperations` * 2021-03-01: :class:`AgentPoolsOperations` + * 2021-05-01: :class:`AgentPoolsOperations` """ api_version = self._get_api_version('agent_pools') if api_version == '2019-02-01': @@ -248,6 +254,8 @@ def agent_pools(self): from .v2021_02_01.operations import AgentPoolsOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import AgentPoolsOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import AgentPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -272,6 +280,7 @@ def maintenance_configurations(self): * 2020-12-01: :class:`MaintenanceConfigurationsOperations` * 2021-02-01: :class:`MaintenanceConfigurationsOperations` * 2021-03-01: :class:`MaintenanceConfigurationsOperations` + * 2021-05-01: :class:`MaintenanceConfigurationsOperations` """ api_version = self._get_api_version('maintenance_configurations') if api_version == '2020-12-01': @@ -280,6 +289,8 @@ def maintenance_configurations(self): from .v2021_02_01.operations import MaintenanceConfigurationsOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import MaintenanceConfigurationsOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import MaintenanceConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -307,6 +318,7 @@ def managed_clusters(self): * 2020-12-01: :class:`ManagedClustersOperations` * 2021-02-01: :class:`ManagedClustersOperations` * 2021-03-01: :class:`ManagedClustersOperations` + * 2021-05-01: :class:`ManagedClustersOperations` """ api_version = self._get_api_version('managed_clusters') if api_version == '2018-03-31': @@ -347,6 +359,8 @@ def managed_clusters(self): from .v2021_02_01.operations import ManagedClustersOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import ManagedClustersOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import ManagedClustersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -396,6 +410,7 @@ def operations(self): * 2020-12-01: :class:`Operations` * 2021-02-01: :class:`Operations` * 2021-03-01: :class:`Operations` + * 2021-05-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2018-03-31': @@ -436,6 +451,8 @@ def operations(self): from .v2021_02_01.operations import Operations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import Operations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -451,6 +468,7 @@ def private_endpoint_connections(self): * 2020-12-01: :class:`PrivateEndpointConnectionsOperations` * 2021-02-01: :class:`PrivateEndpointConnectionsOperations` * 2021-03-01: :class:`PrivateEndpointConnectionsOperations` + * 2021-05-01: :class:`PrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('private_endpoint_connections') if api_version == '2020-06-01': @@ -467,6 +485,8 @@ def private_endpoint_connections(self): from .v2021_02_01.operations import PrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import PrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import PrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -480,6 +500,7 @@ def private_link_resources(self): * 2020-12-01: :class:`PrivateLinkResourcesOperations` * 2021-02-01: :class:`PrivateLinkResourcesOperations` * 2021-03-01: :class:`PrivateLinkResourcesOperations` + * 2021-05-01: :class:`PrivateLinkResourcesOperations` """ api_version = self._get_api_version('private_link_resources') if api_version == '2020-09-01': @@ -492,6 +513,8 @@ def private_link_resources(self): from .v2021_02_01.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import PrivateLinkResourcesOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import PrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -505,6 +528,7 @@ def resolve_private_link_service_id(self): * 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations` + * 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations` """ api_version = self._get_api_version('resolve_private_link_service_id') if api_version == '2020-09-01': @@ -517,6 +541,8 @@ def resolve_private_link_service_id(self): from .v2021_02_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass elif api_version == '2021-03-01': from .v2021_03_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass + elif api_version == '2021-05-01': + from .v2021_05_01.operations import ResolvePrivateLinkServiceIdOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py index 2ced90f9e678..ef6549b6f33f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/_version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "15.1.0" +VERSION = "16.0.0" diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py index 875e2c7e8f50..eb812166ae6d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/aio/_container_service_client.py @@ -11,6 +11,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin @@ -53,7 +54,7 @@ class ContainerServiceClient(MultiApiClientMixin, _SDKClient): :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2021-03-01' + DEFAULT_API_VERSION = '2021-05-01' _PROFILE_TAG = "azure.mgmt.containerservice.ContainerServiceClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -114,6 +115,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-12-01: :mod:`v2020_12_01.models` * 2021-02-01: :mod:`v2021_02_01.models` * 2021-03-01: :mod:`v2021_03_01.models` + * 2021-05-01: :mod:`v2021_05_01.models` """ if api_version == '2017-07-01': from ..v2017_07_01 import models @@ -187,6 +189,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2021-03-01': from ..v2021_03_01 import models return models + elif api_version == '2021-05-01': + from ..v2021_05_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -210,6 +215,7 @@ def agent_pools(self): * 2020-12-01: :class:`AgentPoolsOperations` * 2021-02-01: :class:`AgentPoolsOperations` * 2021-03-01: :class:`AgentPoolsOperations` + * 2021-05-01: :class:`AgentPoolsOperations` """ api_version = self._get_api_version('agent_pools') if api_version == '2019-02-01': @@ -246,6 +252,8 @@ def agent_pools(self): from ..v2021_02_01.aio.operations import AgentPoolsOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import AgentPoolsOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import AgentPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'agent_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -270,6 +278,7 @@ def maintenance_configurations(self): * 2020-12-01: :class:`MaintenanceConfigurationsOperations` * 2021-02-01: :class:`MaintenanceConfigurationsOperations` * 2021-03-01: :class:`MaintenanceConfigurationsOperations` + * 2021-05-01: :class:`MaintenanceConfigurationsOperations` """ api_version = self._get_api_version('maintenance_configurations') if api_version == '2020-12-01': @@ -278,6 +287,8 @@ def maintenance_configurations(self): from ..v2021_02_01.aio.operations import MaintenanceConfigurationsOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import MaintenanceConfigurationsOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import MaintenanceConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'maintenance_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -305,6 +316,7 @@ def managed_clusters(self): * 2020-12-01: :class:`ManagedClustersOperations` * 2021-02-01: :class:`ManagedClustersOperations` * 2021-03-01: :class:`ManagedClustersOperations` + * 2021-05-01: :class:`ManagedClustersOperations` """ api_version = self._get_api_version('managed_clusters') if api_version == '2018-03-31': @@ -345,6 +357,8 @@ def managed_clusters(self): from ..v2021_02_01.aio.operations import ManagedClustersOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import ManagedClustersOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import ManagedClustersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'managed_clusters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -394,6 +408,7 @@ def operations(self): * 2020-12-01: :class:`Operations` * 2021-02-01: :class:`Operations` * 2021-03-01: :class:`Operations` + * 2021-05-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2018-03-31': @@ -434,6 +449,8 @@ def operations(self): from ..v2021_02_01.aio.operations import Operations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import Operations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -449,6 +466,7 @@ def private_endpoint_connections(self): * 2020-12-01: :class:`PrivateEndpointConnectionsOperations` * 2021-02-01: :class:`PrivateEndpointConnectionsOperations` * 2021-03-01: :class:`PrivateEndpointConnectionsOperations` + * 2021-05-01: :class:`PrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('private_endpoint_connections') if api_version == '2020-06-01': @@ -465,6 +483,8 @@ def private_endpoint_connections(self): from ..v2021_02_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import PrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -478,6 +498,7 @@ def private_link_resources(self): * 2020-12-01: :class:`PrivateLinkResourcesOperations` * 2021-02-01: :class:`PrivateLinkResourcesOperations` * 2021-03-01: :class:`PrivateLinkResourcesOperations` + * 2021-05-01: :class:`PrivateLinkResourcesOperations` """ api_version = self._get_api_version('private_link_resources') if api_version == '2020-09-01': @@ -490,6 +511,8 @@ def private_link_resources(self): from ..v2021_02_01.aio.operations import PrivateLinkResourcesOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import PrivateLinkResourcesOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import PrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -503,6 +526,7 @@ def resolve_private_link_service_id(self): * 2020-12-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-02-01: :class:`ResolvePrivateLinkServiceIdOperations` * 2021-03-01: :class:`ResolvePrivateLinkServiceIdOperations` + * 2021-05-01: :class:`ResolvePrivateLinkServiceIdOperations` """ api_version = self._get_api_version('resolve_private_link_service_id') if api_version == '2020-09-01': @@ -515,6 +539,8 @@ def resolve_private_link_service_id(self): from ..v2021_02_01.aio.operations import ResolvePrivateLinkServiceIdOperations as OperationClass elif api_version == '2021-03-01': from ..v2021_03_01.aio.operations import ResolvePrivateLinkServiceIdOperations as OperationClass + elif api_version == '2021-05-01': + from ..v2021_05_01.aio.operations import ResolvePrivateLinkServiceIdOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resolve_private_link_service_id'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/models.py index 8df8a6c377d6..46a4c060a97a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/models.py @@ -6,4 +6,4 @@ # -------------------------------------------------------------------------- from .v2017_07_01.models import * from .v2019_04_30.models import * -from .v2021_03_01.models import * +from .v2021_05_01.models import * diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_container_service_client.py index 3cee928b8c52..2e860be77ae9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import ContainerServicesOperations @@ -56,6 +57,24 @@ def __init__( self.container_services = ContainerServicesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_metadata.json index 07d56f07cc22..127b019c1259 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -99,11 +99,5 @@ }, "operation_groups": { "container_services": "ContainerServicesOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/_container_service_client.py index 158bd2233233..3285c25911c2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -53,6 +54,23 @@ def __init__( self.container_services = ContainerServicesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/operations/_container_services_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/operations/_container_services_operations.py index a76657ea49b3..a837c0c06264 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/operations/_container_services_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/aio/operations/_container_services_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ContainerServiceListResult"]: """Gets a list of container services in the specified subscription. @@ -118,7 +118,7 @@ async def _create_or_update_initial( resource_group_name: str, container_service_name: str, parameters: "_models.ContainerService", - **kwargs + **kwargs: Any ) -> "_models.ContainerService": cls = kwargs.pop('cls', None) # type: ClsType["_models.ContainerService"] error_map = { @@ -178,7 +178,7 @@ async def begin_create_or_update( resource_group_name: str, container_service_name: str, parameters: "_models.ContainerService", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ContainerService"]: """Creates or updates a container service. @@ -194,8 +194,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2017_07_01.models.ContainerService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ContainerService or the result of cls(response) @@ -252,7 +252,7 @@ async def get( self, resource_group_name: str, container_service_name: str, - **kwargs + **kwargs: Any ) -> "_models.ContainerService": """Gets the properties of the specified container service. @@ -315,7 +315,7 @@ async def _delete_initial( self, resource_group_name: str, container_service_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -357,7 +357,7 @@ async def begin_delete( self, resource_group_name: str, container_service_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes the specified container service. @@ -373,8 +373,8 @@ async def begin_delete( :type container_service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -426,7 +426,7 @@ def get_long_running_output(pipeline_response): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ContainerServiceListResult"]: """Gets a list of container services in the specified resource group. @@ -501,7 +501,7 @@ async def list_orchestrators( self, location: str, resource_type: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.OrchestratorVersionProfileListResult": """Gets a list of supported orchestrators in the specified subscription. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/operations/_container_services_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/operations/_container_services_operations.py index 139032481c93..93392d039d2e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/operations/_container_services_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2017_07_01/operations/_container_services_operations.py @@ -201,8 +201,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2017_07_01.models.ContainerService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ContainerService or the result of cls(response) @@ -383,8 +383,8 @@ def begin_delete( :type container_service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_container_service_client.py index 2be5f8d44ed9..fa1dd4a39cea 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -61,6 +62,24 @@ def __init__( self.managed_clusters = ManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_metadata.json index 62246f8fdf7d..6f42ac81759c 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -100,11 +100,5 @@ "operation_groups": { "operations": "Operations", "managed_clusters": "ManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/_container_service_client.py index e3fdaab84a81..3818543a33b1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -58,6 +59,23 @@ def __init__( self.managed_clusters = ManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_managed_clusters_operations.py index df792ebd9d05..628d13391185 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -794,7 +794,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -806,8 +806,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -861,7 +861,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -909,7 +909,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -924,8 +924,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -980,7 +980,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1028,7 +1028,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1043,8 +1043,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_operations.py index 560a7a4ed18a..8c05d7d4a6d8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/operations/_managed_clusters_operations.py index 6eaa6a7e7874..9cff3df58547 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_03_31/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -823,8 +823,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -943,8 +943,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1064,8 +1064,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2018_03_31.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_container_service_client.py index 5f4bbc23f58e..599f95587e3e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -61,6 +62,24 @@ def __init__( self.managed_clusters = ManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_metadata.json index c8df28967eec..f128c982311f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -100,11 +100,5 @@ "operation_groups": { "operations": "Operations", "managed_clusters": "ManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/_container_service_client.py index 0dc2b758039d..8407b4ff82ed 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -58,6 +59,23 @@ def __init__( self.managed_clusters = ManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_managed_clusters_operations.py index 739005b5e6ba..94aad6069c29 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -794,7 +794,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -806,8 +806,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -861,7 +861,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -911,7 +911,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -926,8 +926,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -982,7 +982,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1032,7 +1032,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1047,8 +1047,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_operations.py index df4a89291363..082a16159246 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/operations/_managed_clusters_operations.py index a29a84bcb620..25730ea530da 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_08_01_preview/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -823,8 +823,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -945,8 +945,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2018_08_01_preview.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_container_service_client.py index 93a72236fd2f..7c5e208efa4a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import OpenShiftManagedClustersOperations @@ -56,6 +57,24 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_metadata.json index 7b7a0a683469..527d5ea4447d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -99,11 +99,5 @@ }, "operation_groups": { "open_shift_managed_clusters": "OpenShiftManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/_container_service_client.py index e0f4ae5da23a..9dfecdc93039 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -53,6 +54,23 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py index bed00f34483f..468b8a8564ee 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Gets a list of OpenShift managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Lists OpenShift managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": """Gets a OpenShift managed cluster. @@ -250,7 +250,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -307,7 +307,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Creates or updates an OpenShift managed cluster. @@ -323,8 +323,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_09_30_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -382,7 +382,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -435,7 +435,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Updates tags on an OpenShift managed cluster. @@ -449,8 +449,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_09_30_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -507,7 +507,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -551,7 +551,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an OpenShift managed cluster. @@ -563,8 +563,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/operations/_open_shift_managed_clusters_operations.py index 1fb1b4db2e78..129bd3125edc 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2018_09_30_preview/operations/_open_shift_managed_clusters_operations.py @@ -332,8 +332,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2018_09_30_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -460,8 +460,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2018_09_30_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -576,8 +576,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_container_service_client.py index 897ebbf34748..a9fe8219bac1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_metadata.json index 91d49fe4f7f2..b96b9bf7e379 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/_container_service_client.py index 6d4b78460776..8b7011b35bb6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_agent_pools_operations.py index 0904a23b6eb5..d46496ed47c8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, managed_cluster_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, managed_cluster_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( managed_cluster_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( managed_cluster_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, managed_cluster_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, managed_cluster_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_managed_clusters_operations.py index 9e958422d0a1..256fab22c34f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -796,7 +796,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -808,8 +808,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -863,7 +863,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -913,7 +913,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -928,8 +928,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -984,7 +984,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1034,7 +1034,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1049,8 +1049,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_operations.py index 8379386a6db3..bf7451b63640 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_agent_pools_operations.py index 8528340f7b09..530b6f94679e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_managed_clusters_operations.py index f18e2be75381..b0797abf9f06 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -825,8 +825,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -947,8 +947,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1070,8 +1070,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_container_service_client.py index 7cb4e3cd14d5..22aedc7879c6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_metadata.json index 102d140bd665..694625c2ddd5 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/_container_service_client.py index 9cc23310aac0..d5378ac4cf36 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_agent_pools_operations.py index f2682efd6f09..b6f289badc9e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_managed_clusters_operations.py index ed10aee7e9f6..270cecf7d033 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -796,7 +796,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -808,8 +808,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -863,7 +863,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -913,7 +913,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -928,8 +928,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -984,7 +984,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1034,7 +1034,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1049,8 +1049,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_operations.py index b733984055e7..88f0e670aba7 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models.py index 2925df9f1128..df83703d36e8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models.py @@ -1345,8 +1345,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models_py3.py index 55e72f8a9b25..169658545b0e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/_models_py3.py @@ -1473,8 +1473,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_agent_pools_operations.py index a9b374fcb1fd..726d0444d0b1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_managed_clusters_operations.py index df88b6d399a4..31e63da00d3e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -825,8 +825,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -947,8 +947,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1070,8 +1070,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_container_service_client.py index e3ce589a2214..2576124f89b4 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import OpenShiftManagedClustersOperations @@ -56,6 +57,24 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_metadata.json index 89d23824863c..c0083791de27 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -99,11 +99,5 @@ }, "operation_groups": { "open_shift_managed_clusters": "OpenShiftManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/_container_service_client.py index e10d260fbe74..3a448d559036 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -53,6 +54,23 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/operations/_open_shift_managed_clusters_operations.py index db1459a67ed5..4c4c1284a4fe 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/aio/operations/_open_shift_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Gets a list of OpenShift managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Lists OpenShift managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": """Gets a OpenShift managed cluster. @@ -250,7 +250,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -307,7 +307,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Creates or updates an OpenShift managed cluster. @@ -323,8 +323,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_30.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -382,7 +382,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -435,7 +435,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Updates tags on an OpenShift managed cluster. @@ -449,8 +449,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_04_30.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -507,7 +507,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -551,7 +551,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an OpenShift managed cluster. @@ -563,8 +563,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/_open_shift_managed_clusters_operations.py index e5477ba36c78..3f57b1488dfa 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/_open_shift_managed_clusters_operations.py @@ -332,8 +332,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_04_30.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -460,8 +460,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_04_30.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -576,8 +576,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_container_service_client.py index 6856da65a4c1..0fb733300978 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_metadata.json index e4319f458093..530774a9ce99 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/_container_service_client.py index 02676a122620..1ae64bd86d6d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_agent_pools_operations.py index 25609ceae7bf..e8d330c85f49 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_managed_clusters_operations.py index 459330df051f..8dcc047d0b87 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -796,7 +796,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -808,8 +808,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -863,7 +863,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -913,7 +913,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -928,8 +928,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -984,7 +984,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1034,7 +1034,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1049,8 +1049,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_operations.py index b351b34e81af..10c9632ba710 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models.py index 5b4ca0605a1f..dca12d03bc63 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models.py @@ -1546,8 +1546,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models_py3.py index 0e3e096fedb5..f913dba7cf93 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/models/_models_py3.py @@ -1699,8 +1699,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_agent_pools_operations.py index f30709f3b076..40ec7a9456c6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_managed_clusters_operations.py index 87f684eca2e6..8b63f1c8e75e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -825,8 +825,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -947,8 +947,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1070,8 +1070,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_06_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_container_service_client.py index 2a0e8e8b91c8..4ec0537531d2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_metadata.json index 0a2cec7c6e94..1fa565fb2b00 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/_container_service_client.py index a34894df5b6e..bd3e68d0725c 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_agent_pools_operations.py index b888cc4e524f..ea719c3e7333 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_managed_clusters_operations.py index 93bf12c16f3f..56d3e4411362 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -496,7 +496,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -553,7 +553,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -568,8 +568,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -627,7 +627,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -680,7 +680,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -694,8 +694,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +752,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -796,7 +796,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -808,8 +808,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -863,7 +863,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -913,7 +913,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -928,8 +928,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -984,7 +984,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1034,7 +1034,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1049,8 +1049,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1104,7 +1104,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1148,7 +1148,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1160,8 +1160,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_operations.py index 2706434a0a43..13937ec4f230 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models.py index 38c6127ee2b3..a950018c9bc8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models.py @@ -1674,8 +1674,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models_py3.py index 9b764f1ada6b..e22734d7fb65 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/models/_models_py3.py @@ -1842,8 +1842,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_agent_pools_operations.py index 9e704dd24527..b3a097f9471f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_managed_clusters_operations.py index 51fc936d91f9..a18598a8f0e3 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/operations/_managed_clusters_operations.py @@ -581,8 +581,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -709,8 +709,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -825,8 +825,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -947,8 +947,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1070,8 +1070,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_08_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_container_service_client.py index fd1d53bbbcbc..42b38932f4d5 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import OpenShiftManagedClustersOperations @@ -56,6 +57,24 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_metadata.json index 28c3a71c4d80..7913ed486272 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -99,11 +99,5 @@ }, "operation_groups": { "open_shift_managed_clusters": "OpenShiftManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/_container_service_client.py index b388feea557f..0ef568975f85 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -53,6 +54,23 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py index 1bb7f4b78576..93c5bc900c0e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/aio/operations/_open_shift_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Gets a list of OpenShift managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Lists OpenShift managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": """Gets a OpenShift managed cluster. @@ -250,7 +250,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -307,7 +307,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Creates or updates an OpenShift managed cluster. @@ -323,8 +323,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_09_30_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -382,7 +382,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -435,7 +435,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Updates tags on an OpenShift managed cluster. @@ -449,8 +449,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_09_30_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -507,7 +507,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -551,7 +551,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an OpenShift managed cluster. @@ -563,8 +563,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/operations/_open_shift_managed_clusters_operations.py index 8d37ae176afb..ea84df6b05f6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_09_30_preview/operations/_open_shift_managed_clusters_operations.py @@ -332,8 +332,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_09_30_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -460,8 +460,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_09_30_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -576,8 +576,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_container_service_client.py index fb9d664adbdd..28f618b3d457 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_metadata.json index 8a39e680fa3c..e1b591667702 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/_container_service_client.py index 8413ea351d39..fdb5c98d50b8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_agent_pools_operations.py index 75dfc144291c..193966939d79 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_managed_clusters_operations.py index efbfa736949c..1f1b22261f2c 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -496,7 +496,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -557,7 +557,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -614,7 +614,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -629,8 +629,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -688,7 +688,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -741,7 +741,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -755,8 +755,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -813,7 +813,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -857,7 +857,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -869,8 +869,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -924,7 +924,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -974,7 +974,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -989,8 +989,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1045,7 +1045,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1095,7 +1095,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1110,8 +1110,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1165,7 +1165,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1209,7 +1209,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1221,8 +1221,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_operations.py index 2eb36c4de3f6..9886838a8453 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models.py index 17a96c3928dc..8f85317aa742 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models.py @@ -1679,8 +1679,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models_py3.py index 48db426374d8..f2756b5b6910 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/models/_models_py3.py @@ -1847,8 +1847,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_agent_pools_operations.py index 61067fbca0fc..0b69b1a3ed77 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_managed_clusters_operations.py index 0c2ac447157c..45ade0b39bf2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_01/operations/_managed_clusters_operations.py @@ -643,8 +643,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -771,8 +771,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -887,8 +887,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1009,8 +1009,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1132,8 +1132,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_10_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1245,8 +1245,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_container_service_client.py index 707fe4b89d6b..0a7d86edd4c3 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import OpenShiftManagedClustersOperations @@ -56,6 +57,24 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_metadata.json index 7a75400d7609..1b646a89099e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -99,11 +99,5 @@ }, "operation_groups": { "open_shift_managed_clusters": "OpenShiftManagedClustersOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/_container_service_client.py index b9c485095614..0dfb6437b331 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -53,6 +54,23 @@ def __init__( self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/operations/_open_shift_managed_clusters_operations.py index 96f171e0d893..724e35c85463 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/aio/operations/_open_shift_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Gets a list of OpenShift managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OpenShiftManagedClusterListResult"]: """Lists OpenShift managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": """Gets a OpenShift managed cluster. @@ -250,7 +250,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -307,7 +307,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.OpenShiftManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Creates or updates an OpenShift managed cluster. @@ -323,8 +323,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_27_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -382,7 +382,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.OpenShiftManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.OpenShiftManagedCluster"] error_map = { @@ -435,7 +435,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.OpenShiftManagedCluster"]: """Updates tags on an OpenShift managed cluster. @@ -449,8 +449,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_10_27_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -507,7 +507,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -551,7 +551,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an OpenShift managed cluster. @@ -563,8 +563,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/operations/_open_shift_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/operations/_open_shift_managed_clusters_operations.py index 6f0a2eeadd2f..c36097106531 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/operations/_open_shift_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_10_27_preview/operations/_open_shift_managed_clusters_operations.py @@ -332,8 +332,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_10_27_preview.models.OpenShiftManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -460,8 +460,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_10_27_preview.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either OpenShiftManagedCluster or the result of cls(response) @@ -576,8 +576,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_container_service_client.py index 7a6dc0b15541..655c1d5542c5 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_metadata.json index 1cad907dea24..15c44cead249 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/_container_service_client.py index a390076b12fd..c59cd70c860d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_agent_pools_operations.py index c2e8547cedd5..cab503f35d2a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_managed_clusters_operations.py index 83e6e605ffe0..2ed48ab7aff9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -496,7 +496,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -557,7 +557,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -614,7 +614,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -629,8 +629,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -688,7 +688,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -741,7 +741,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -755,8 +755,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -813,7 +813,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -857,7 +857,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -869,8 +869,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -924,7 +924,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -974,7 +974,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -989,8 +989,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1045,7 +1045,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1095,7 +1095,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1110,8 +1110,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1165,7 +1165,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1209,7 +1209,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1221,8 +1221,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_operations.py index ff49fe3300a6..cc75555ff1e9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models.py index 1ca10a436783..3d2b8bcd4d3e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models.py @@ -1813,8 +1813,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models_py3.py index 871d19415926..36e3e5e3b717 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/models/_models_py3.py @@ -2003,8 +2003,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_agent_pools_operations.py index 2e90d4267621..ef0928915345 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_managed_clusters_operations.py index c7d0948a4cba..13e1ff162395 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_11_01/operations/_managed_clusters_operations.py @@ -643,8 +643,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -771,8 +771,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -887,8 +887,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1009,8 +1009,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1132,8 +1132,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2019_11_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1245,8 +1245,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_container_service_client.py index 49557a768a06..0ed95341a464 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_metadata.json index 63678c7c2f1b..699309263a9b 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/_container_service_client.py index 86884d06ad63..698b5be73573 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_agent_pools_operations.py index 045c87300801..06b457b7e87e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_managed_clusters_operations.py index f1cde5f7dde8..cb3a5f7fcd6f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -496,7 +496,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -557,7 +557,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -614,7 +614,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -629,8 +629,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -688,7 +688,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -741,7 +741,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -755,8 +755,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -813,7 +813,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -857,7 +857,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -869,8 +869,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -924,7 +924,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -974,7 +974,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -989,8 +989,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1045,7 +1045,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1095,7 +1095,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1110,8 +1110,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1165,7 +1165,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1209,7 +1209,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1221,8 +1221,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_operations.py index 3587cf8a20fe..756a0c920e26 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models.py index ffeca6dab22d..964bcab5bc96 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models.py @@ -1818,8 +1818,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models_py3.py index c1946ff5b642..53b4154aae91 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/models/_models_py3.py @@ -2009,8 +2009,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_agent_pools_operations.py index d7952f981427..b67aa95e410f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_managed_clusters_operations.py index 31f4bc53bf23..534320126360 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_01_01/operations/_managed_clusters_operations.py @@ -643,8 +643,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -771,8 +771,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -887,8 +887,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1009,8 +1009,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1132,8 +1132,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_01_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1245,8 +1245,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_container_service_client.py index a4cc4b0882b8..711d896e476a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_metadata.json index beef5ba97835..088d7dcb2ee4 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/_container_service_client.py index a29c1f62ae1f..4278545ab29e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_agent_pools_operations.py index a61611e288a6..345f02355041 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_managed_clusters_operations.py index 02512bcc1633..dbf199573ef0 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -496,7 +496,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -557,7 +557,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -614,7 +614,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -629,8 +629,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -688,7 +688,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -741,7 +741,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -755,8 +755,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -813,7 +813,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -857,7 +857,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -869,8 +869,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -924,7 +924,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -974,7 +974,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -989,8 +989,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1045,7 +1045,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1095,7 +1095,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1110,8 +1110,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1165,7 +1165,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1209,7 +1209,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1221,8 +1221,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_operations.py index f800c263f5a9..76a28f792c3d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models.py index f41c97d408a5..98d35b851d5a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models.py @@ -1892,8 +1892,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models_py3.py index 470108f5d0e8..866f4a6a0cd4 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/models/_models_py3.py @@ -2097,8 +2097,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_agent_pools_operations.py index c304f24cd792..ca4398f730a8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_managed_clusters_operations.py index ae6042355571..803c15dd88bc 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_02_01/operations/_managed_clusters_operations.py @@ -643,8 +643,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -771,8 +771,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -887,8 +887,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1009,8 +1009,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1132,8 +1132,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1245,8 +1245,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_container_service_client.py index a6b69e4368df..1ead889709f3 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_metadata.json index cec3fa0a29a2..be9bcb3d1617 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/_container_service_client.py index 8423faf1bbc7..efd29a0a8488 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_agent_pools_operations.py index 97ae5dd66a9d..5e6b57b5f718 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_managed_clusters_operations.py index 53af49114e5a..953d21bbe7cc 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,7 +251,7 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. @@ -315,7 +315,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -375,7 +375,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -435,7 +435,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -496,7 +496,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -557,7 +557,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -614,7 +614,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -629,8 +629,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -688,7 +688,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -741,7 +741,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -755,8 +755,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -813,7 +813,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -857,7 +857,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -869,8 +869,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -924,7 +924,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -974,7 +974,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -989,8 +989,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1045,7 +1045,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1095,7 +1095,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1110,8 +1110,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1165,7 +1165,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1209,7 +1209,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1221,8 +1221,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_operations.py index 64d3e7c914d2..77253c807bab 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models.py index 09d708fbff7d..cda9782de634 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models.py @@ -2069,8 +2069,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models_py3.py index 4b2d8753e87d..987b2ad687c9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/models/_models_py3.py @@ -2302,8 +2302,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_agent_pools_operations.py index e8089577f91b..5a05ac816ee0 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_managed_clusters_operations.py index e208ab0729c5..770680ab390c 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01/operations/_managed_clusters_operations.py @@ -643,8 +643,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -771,8 +771,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -887,8 +887,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1009,8 +1009,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1132,8 +1132,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_03_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1245,8 +1245,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_container_service_client.py index 66bcce6cba31..dc3399c5193d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -66,6 +67,24 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_metadata.json index 26191b2254b1..3cfbd62fd7a2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -101,11 +101,5 @@ "operations": "Operations", "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/_container_service_client.py index ebcae96d1f69..83d1d5360eca 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -63,6 +64,23 @@ def __init__( self.agent_pools = AgentPoolsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_agent_pools_operations.py index c8236f84a86a..90d713cec48e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_managed_clusters_operations.py index bbc733654b7e..e00bffaed520 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_operations.py index 42a7caaf641e..0e4c1d757bab 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models.py index 39ffcd564d73..ac88bc74286e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models.py @@ -2119,8 +2119,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models_py3.py index 40d77128698f..ef288e59a6dd 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/models/_models_py3.py @@ -2361,8 +2361,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_agent_pools_operations.py index 128634611e2b..14c0b9dc0e62 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_managed_clusters_operations.py index a9ecf61ffbc0..ec95d1eeef78 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_04_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_04_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_container_service_client.py index e04e3280a3b1..52366da65473 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -71,6 +72,24 @@ def __init__( self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_metadata.json index 2e458e396b3b..ae0a36f7b30d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -102,11 +102,5 @@ "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations", "private_endpoint_connections": "PrivateEndpointConnectionsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/_container_service_client.py index eede4a6bce4a..2190cbfcc728 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -68,6 +69,23 @@ def __init__( self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_agent_pools_operations.py index 765f3d6f255b..acdf31fb0737 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_managed_clusters_operations.py index cb5373c7f503..5e413190eea8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_operations.py index fb54f5d21718..9e5d12506455 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_private_endpoint_connections_operations.py index a826fe0fdd0a..ddfd1b3fcaa1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models.py index a6c4b5e1b1b2..d3372d3b68ea 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models.py @@ -2173,8 +2173,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models_py3.py index f5beac2bdfcd..59114154b9c1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/models/_models_py3.py @@ -2420,8 +2420,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_agent_pools_operations.py index 71b2b09aab9c..d8b2c8f104a2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_managed_clusters_operations.py index db4aa3798bee..79597e85ac0a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_06_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_private_endpoint_connections_operations.py index 2720166572aa..940609124550 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_06_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_container_service_client.py index c1519f04fcc7..4c49ee53c923 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -71,6 +72,24 @@ def __init__( self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_metadata.json index 22c8d409e0d3..076bd3038b1f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -102,11 +102,5 @@ "managed_clusters": "ManagedClustersOperations", "agent_pools": "AgentPoolsOperations", "private_endpoint_connections": "PrivateEndpointConnectionsOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/_container_service_client.py index 17a445735970..fc82febbef22 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -68,6 +69,23 @@ def __init__( self.private_endpoint_connections = PrivateEndpointConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_agent_pools_operations.py index bf63d15a2b37..c58fb19e26e5 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_managed_clusters_operations.py index b996ad2e7491..e7fde1583765 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_operations.py index d0b45f527cc0..480694353cca 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_private_endpoint_connections_operations.py index bd0e6e6f2f4a..8e63578c9cc4 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models.py index 3d7dd6cc0639..7375431406e2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models.py @@ -2176,8 +2176,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models_py3.py index a6098e26b4e0..4da9513883fa 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/models/_models_py3.py @@ -2420,8 +2420,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_agent_pools_operations.py index d4674dc18264..8a2b18493892 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_managed_clusters_operations.py index 7d4b51f2f42f..4435bf5a3193 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_07_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_private_endpoint_connections_operations.py index f87f5fe43801..e873861ec435 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_07_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_container_service_client.py index 0f4bbcd70e01..9af2ef000947 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -81,6 +82,24 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_metadata.json index ae352a73d5af..304155a4e9f2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -104,11 +104,5 @@ "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/_container_service_client.py index 00bd95d7540a..2f5ee72ecf97 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -78,6 +79,23 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_agent_pools_operations.py index 903412c644a2..7121bd6dd11f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_managed_clusters_operations.py index 017320726d58..3c96359082d7 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1278,7 +1279,7 @@ async def _stop_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1322,7 +1323,7 @@ async def begin_stop( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stop Managed Cluster. @@ -1334,8 +1335,8 @@ async def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1388,7 +1389,7 @@ async def _start_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1432,7 +1433,7 @@ async def begin_start( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Start Managed Cluster. @@ -1444,8 +1445,8 @@ async def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_operations.py index 98ecbd76ed7b..2e2b81990650 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_endpoint_connections_operations.py index 4e898eaf3c5e..b60f69b046bc 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_link_resources_operations.py index b5d7f783dd95..a0ded34dea0f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_private_link_resources_operations.py @@ -44,7 +44,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_resolve_private_link_service_id_operations.py index 4a271e7c6c6a..9be4779ead50 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -45,7 +45,7 @@ async def post( resource_group_name: str, resource_name: str, parameters: "_models.PrivateLinkResource", - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models.py index b0b7e80f5f7c..b3e1c915e78d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models.py @@ -2245,8 +2245,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models_py3.py index fb4a99ef02fd..e03a520ece89 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/models/_models_py3.py @@ -2499,8 +2499,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_agent_pools_operations.py index e28a90c72477..0f557b922bfb 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_managed_clusters_operations.py index f73c6ad1f5b2..9588b4280b5c 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_09_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1360,8 +1361,8 @@ def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1472,8 +1473,8 @@ def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_private_endpoint_connections_operations.py index 4187f0bb3c77..9bad5e24e3b8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_09_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_container_service_client.py index eae3d62eaf35..c02eb1438f93 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -81,6 +82,24 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_metadata.json index 57a5f7ecada5..13ae430b21bf 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -104,11 +104,5 @@ "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/_container_service_client.py index 7639433606c8..ad0961b95582 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -78,6 +79,23 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_agent_pools_operations.py index cc45a97658d6..301b72164b13 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_managed_clusters_operations.py index 17ccd29481cf..56df5ad96610 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1278,7 +1279,7 @@ async def _stop_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1322,7 +1323,7 @@ async def begin_stop( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stop Managed Cluster. @@ -1334,8 +1335,8 @@ async def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1388,7 +1389,7 @@ async def _start_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1432,7 +1433,7 @@ async def begin_start( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Start Managed Cluster. @@ -1444,8 +1445,8 @@ async def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_operations.py index b73d747eee15..e45649a540d1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_endpoint_connections_operations.py index f8de685f0f43..d3e062d376cb 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_link_resources_operations.py index 7cf59cd9ad12..0ef87c7f6588 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_private_link_resources_operations.py @@ -44,7 +44,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_resolve_private_link_service_id_operations.py index c85ec8498480..4d014c40a741 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -45,7 +45,7 @@ async def post( resource_group_name: str, resource_name: str, parameters: "_models.PrivateLinkResource", - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models.py index 207a93291b74..3fdf8440b368 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models.py @@ -2566,8 +2566,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models_py3.py index 79ff6b80d73a..8972e36ac26b 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/models/_models_py3.py @@ -2866,8 +2866,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_agent_pools_operations.py index ea1b816b5498..d9a08ea6974f 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_managed_clusters_operations.py index 4e3150bd34fb..6195140bd8cd 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_11_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1360,8 +1361,8 @@ def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1472,8 +1473,8 @@ def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_private_endpoint_connections_operations.py index 487e32ccb6cf..07d600df0d06 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_11_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_container_service_client.py index 7f144e5ad556..99757c3b1606 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -86,6 +87,24 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_metadata.json index ffc0cb060485..644147f38501 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -105,11 +105,5 @@ "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/_container_service_client.py index ef865a1fedb2..886a31c0e7be 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -83,6 +84,23 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_agent_pools_operations.py index d64225fa871c..44c927942f07 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_maintenance_configurations_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_maintenance_configurations_operations.py index 9083d57b835c..2093362e5e0a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_maintenance_configurations_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_maintenance_configurations_operations.py @@ -45,7 +45,7 @@ def list_by_managed_cluster( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]: """Gets a list of maintenance configurations in the specified managed cluster. @@ -123,7 +123,7 @@ async def get( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Gets the maintenance configuration. @@ -188,7 +188,7 @@ async def create_or_update( resource_name: str, config_name: str, parameters: "_models.MaintenanceConfiguration", - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Creates or updates a maintenance configurations. @@ -260,7 +260,7 @@ async def delete( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a maintenance configuration. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_managed_clusters_operations.py index 862d1650003e..5632558d944e 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1278,7 +1279,7 @@ async def _stop_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1322,7 +1323,7 @@ async def begin_stop( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stop Managed Cluster. @@ -1334,8 +1335,8 @@ async def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1388,7 +1389,7 @@ async def _start_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1432,7 +1433,7 @@ async def begin_start( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Start Managed Cluster. @@ -1444,8 +1445,8 @@ async def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_operations.py index 41cc6e56532f..b667836960f6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_endpoint_connections_operations.py index b7387d6e8cf9..3571ebaa53be 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_link_resources_operations.py index a7c4a66aa935..c61ba658b051 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_private_link_resources_operations.py @@ -44,7 +44,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_resolve_private_link_service_id_operations.py index b085c8210934..bbaa926aee3a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -45,7 +45,7 @@ async def post( resource_group_name: str, resource_name: str, parameters: "_models.PrivateLinkResource", - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models.py index 2f98c3a8795c..27b37a8358b6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models.py @@ -2691,8 +2691,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models_py3.py index 3c9cd59f3309..2b54a24fe948 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/models/_models_py3.py @@ -3007,8 +3007,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_agent_pools_operations.py index 4f63fca95cd4..d5e36d9ff138 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_managed_clusters_operations.py index 113e45025ea9..e424b7722048 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2020_12_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1360,8 +1361,8 @@ def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1472,8 +1473,8 @@ def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_private_endpoint_connections_operations.py index f466bb9d6f72..2fafddf90524 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_12_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_container_service_client.py index c5c479a47002..be125a8e9551 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -86,6 +87,24 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_metadata.json index 9bfbb2fbce18..9f5ff3094d79 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -105,11 +105,5 @@ "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/_container_service_client.py index 2f5e43008fb2..bf69044c6d2d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -83,6 +84,23 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_agent_pools_operations.py index 666e73c414a1..975b1fb91d94 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_maintenance_configurations_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_maintenance_configurations_operations.py index 20a50c77ec83..82cfe2c538e5 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_maintenance_configurations_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_maintenance_configurations_operations.py @@ -45,7 +45,7 @@ def list_by_managed_cluster( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]: """Gets a list of maintenance configurations in the specified managed cluster. @@ -123,7 +123,7 @@ async def get( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Gets the maintenance configuration. @@ -188,7 +188,7 @@ async def create_or_update( resource_name: str, config_name: str, parameters: "_models.MaintenanceConfiguration", - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Creates or updates a maintenance configurations. @@ -260,7 +260,7 @@ async def delete( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a maintenance configuration. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_managed_clusters_operations.py index 83402e01215a..5c467d62f8cd 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_managed_clusters_operations.py @@ -45,7 +45,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -189,7 +189,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -251,14 +251,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -318,7 +319,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -378,7 +379,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -438,7 +439,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -499,7 +500,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -560,7 +561,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -617,7 +618,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -632,8 +633,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -691,7 +692,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -744,7 +745,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -758,8 +759,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -816,7 +817,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -860,7 +861,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -872,8 +873,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -927,7 +928,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -977,7 +978,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -992,8 +993,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1048,7 +1049,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1098,7 +1099,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1113,8 +1114,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1168,7 +1169,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1212,7 +1213,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1224,8 +1225,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1278,7 +1279,7 @@ async def _stop_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1322,7 +1323,7 @@ async def begin_stop( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stop Managed Cluster. @@ -1334,8 +1335,8 @@ async def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1388,7 +1389,7 @@ async def _start_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1432,7 +1433,7 @@ async def begin_start( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Start Managed Cluster. @@ -1444,8 +1445,8 @@ async def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_operations.py index e7ec8c6b673b..09097b82f979 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py index 1a56bd404ea1..e7d9851003f8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_link_resources_operations.py index be857a37de33..b8487924c2a3 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_private_link_resources_operations.py @@ -44,7 +44,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_resolve_private_link_service_id_operations.py index 1880dac4f9d2..305883969cbd 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -45,7 +45,7 @@ async def post( resource_group_name: str, resource_name: str, parameters: "_models.PrivateLinkResource", - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models.py index eec49a069594..38867a0ffcfb 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models.py @@ -2730,8 +2730,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models_py3.py index 976ea2076e1e..929336d1e81b 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/models/_models_py3.py @@ -3052,8 +3052,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_agent_pools_operations.py index 832e783c069f..34e49348e971 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_managed_clusters_operations.py index 0d1c6fa5d7cb..e6bd81eeb636 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_managed_clusters_operations.py @@ -265,8 +265,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -646,8 +647,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -774,8 +775,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -890,8 +891,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1012,8 +1013,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1135,8 +1136,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2021_02_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1248,8 +1249,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1360,8 +1361,8 @@ def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1472,8 +1473,8 @@ def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_private_endpoint_connections_operations.py index 777008fc8948..3773209d1a70 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_02_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_container_service_client.py index 99904ac87f39..0a6d4504ffdc 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_container_service_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import ContainerServiceClientConfiguration from .operations import Operations @@ -86,6 +87,24 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_metadata.json index d83503e67b44..da52cae2a1c0 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_metadata.json +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/_metadata.json @@ -10,8 +10,8 @@ "azure_arm": true, "has_lro_operations": true, "client_side_validation": false, - "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}", - "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}}}" + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -105,11 +105,5 @@ "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" - }, - "operation_mixins": { - "sync_imports": "None", - "async_imports": "None", - "operations": { - } } } \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/_container_service_client.py index 821e71ba74e4..2e9ff14d4f28 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/_container_service_client.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/_container_service_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -83,6 +84,23 @@ def __init__( self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_agent_pools_operations.py index a8ed2558d182..dc1ad4ec91a2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_agent_pools_operations.py @@ -47,7 +47,7 @@ def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.AgentPoolListResult"]: """Gets a list of agent pools in the specified managed cluster. @@ -125,7 +125,7 @@ async def get( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPool": """Gets the agent pool. @@ -190,7 +190,7 @@ async def _create_or_update_initial( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> "_models.AgentPool": cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] error_map = { @@ -249,7 +249,7 @@ async def begin_create_or_update( resource_name: str, agent_pool_name: str, parameters: "_models.AgentPool", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Creates or updates an agent pool. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) @@ -326,7 +326,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -372,7 +372,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an agent pool. @@ -386,8 +386,8 @@ async def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -443,7 +443,7 @@ async def get_upgrade_profile( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolUpgradeProfile": """Gets upgrade profile for an agent pool. @@ -507,7 +507,7 @@ async def get_available_agent_pool_versions( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.AgentPoolAvailableVersions": """Gets a list of supported versions for the specified agent pool. @@ -568,7 +568,7 @@ async def _upgrade_node_image_version_initial( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.AgentPool"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] error_map = { @@ -619,7 +619,7 @@ async def begin_upgrade_node_image_version( resource_group_name: str, resource_name: str, agent_pool_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.AgentPool"]: """Upgrade node image version of an agent pool to the latest. @@ -633,8 +633,8 @@ async def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_maintenance_configurations_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_maintenance_configurations_operations.py index 44fbd9a91f44..a3ca5505ab61 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_maintenance_configurations_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_maintenance_configurations_operations.py @@ -45,7 +45,7 @@ def list_by_managed_cluster( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]: """Gets a list of maintenance configurations in the specified managed cluster. @@ -123,7 +123,7 @@ async def get( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Gets the maintenance configuration. @@ -188,7 +188,7 @@ async def create_or_update( resource_name: str, config_name: str, parameters: "_models.MaintenanceConfiguration", - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Creates or updates a maintenance configurations. @@ -260,7 +260,7 @@ async def delete( resource_group_name: str, resource_name: str, config_name: str, - **kwargs + **kwargs: Any ) -> None: """Deletes a maintenance configuration. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_managed_clusters_operations.py index 097122b56760..f08bf28f36a9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_managed_clusters_operations.py @@ -47,7 +47,7 @@ async def get_os_options( self, location: str, resource_type: Optional[str] = None, - **kwargs + **kwargs: Any ) -> "_models.OSOptionProfile": """Gets supported OS options in the specified subscription. @@ -106,7 +106,7 @@ async def get_os_options( def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Gets a list of managed clusters in the specified subscription. @@ -176,7 +176,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ManagedClusterListResult"]: """Lists managed clusters in the specified subscription and resource group. @@ -250,7 +250,7 @@ async def get_upgrade_profile( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterUpgradeProfile": """Gets upgrade profile for a managed cluster. @@ -312,14 +312,15 @@ async def get_access_profile( resource_group_name: str, resource_name: str, role_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedClusterAccessProfile": """Gets an access profile of a managed cluster. Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -379,7 +380,7 @@ async def list_cluster_admin_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster admin credential of a managed cluster. @@ -439,7 +440,7 @@ async def list_cluster_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster user credential of a managed cluster. @@ -499,7 +500,7 @@ async def list_cluster_monitoring_user_credentials( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.CredentialResults": """Gets cluster monitoring user credential of a managed cluster. @@ -560,7 +561,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": """Gets a managed cluster. @@ -621,7 +622,7 @@ async def _create_or_update_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -678,7 +679,7 @@ async def begin_create_or_update( resource_group_name: str, resource_name: str, parameters: "_models.ManagedCluster", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Creates or updates a managed cluster. @@ -693,8 +694,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -752,7 +753,7 @@ async def _update_tags_initial( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> "_models.ManagedCluster": cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] error_map = { @@ -805,7 +806,7 @@ async def begin_update_tags( resource_group_name: str, resource_name: str, parameters: "_models.TagsObject", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ManagedCluster"]: """Updates tags on a managed cluster. @@ -819,8 +820,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) @@ -877,7 +878,7 @@ async def _delete_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -921,7 +922,7 @@ async def begin_delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a managed cluster. @@ -933,8 +934,8 @@ async def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -988,7 +989,7 @@ async def _reset_service_principal_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1038,7 +1039,7 @@ async def begin_reset_service_principal_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterServicePrincipalProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset Service Principal Profile of a managed cluster. @@ -1053,8 +1054,8 @@ async def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1109,7 +1110,7 @@ async def _reset_aad_profile_initial( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1159,7 +1160,7 @@ async def begin_reset_aad_profile( resource_group_name: str, resource_name: str, parameters: "_models.ManagedClusterAADProfile", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Reset AAD Profile of a managed cluster. @@ -1174,8 +1175,8 @@ async def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1229,7 +1230,7 @@ async def _rotate_cluster_certificates_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1273,7 +1274,7 @@ async def begin_rotate_cluster_certificates( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Rotate certificates of a managed cluster. @@ -1285,8 +1286,8 @@ async def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1339,7 +1340,7 @@ async def _stop_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1383,7 +1384,7 @@ async def begin_stop( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Stop Managed Cluster. @@ -1395,8 +1396,8 @@ async def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1449,7 +1450,7 @@ async def _start_initial( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -1493,7 +1494,7 @@ async def begin_start( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Start Managed Cluster. @@ -1505,8 +1506,8 @@ async def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1560,7 +1561,7 @@ async def _run_command_initial( resource_group_name: str, resource_name: str, request_payload: "_models.RunCommandRequest", - **kwargs + **kwargs: Any ) -> Optional["_models.RunCommandResult"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] error_map = { @@ -1615,7 +1616,7 @@ async def begin_run_command( resource_group_name: str, resource_name: str, request_payload: "_models.RunCommandRequest", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.RunCommandResult"]: """Run Command against Managed Kubernetes Service. @@ -1630,8 +1631,8 @@ async def begin_run_command( :type request_payload: ~azure.mgmt.containerservice.v2021_03_01.models.RunCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RunCommandResult or the result of cls(response) @@ -1689,7 +1690,7 @@ async def get_command_result( resource_group_name: str, resource_name: str, command_id: str, - **kwargs + **kwargs: Any ) -> Optional["_models.RunCommandResult"]: """Get command result. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_operations.py index 90138899301f..dc25a3e45be6 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Gets a list of compute operations. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_endpoint_connections_operations.py index 8f22f2d97659..96c6c0ee9532 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_endpoint_connections_operations.py @@ -46,7 +46,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnectionListResult": """Gets a list of private endpoint connections in the specified managed cluster. @@ -108,7 +108,7 @@ async def get( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets the private endpoint connection. @@ -173,7 +173,7 @@ async def update( resource_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Updates a private endpoint connection. @@ -244,7 +244,7 @@ async def _delete_initial( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { @@ -290,7 +290,7 @@ async def begin_delete( resource_group_name: str, resource_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -304,8 +304,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_link_resources_operations.py index 740f9198880f..7569378b2b7d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_link_resources_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_private_link_resources_operations.py @@ -44,7 +44,7 @@ async def list( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResourcesListResult": """Gets a list of private link resources in the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_resolve_private_link_service_id_operations.py index f15321784859..0cdd4fdc4eb9 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_resolve_private_link_service_id_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -45,7 +45,7 @@ async def post( resource_group_name: str, resource_name: str, parameters: "_models.PrivateLinkResource", - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link service ID for the specified managed cluster. diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models.py index 7c2c8fcc86fc..4d765ffb80c1 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models.py @@ -2757,8 +2757,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models_py3.py index 7ebf64b2e242..f517e3867257 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models_py3.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/models/_models_py3.py @@ -3104,8 +3104,8 @@ class ManagedClusterWindowsProfile(msrest.serialization.Model): character :code:`
`:code:`
` **Max-length:** 20 characters. :type admin_username: str :param admin_password: Specifies the password of the administrator account. - :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` **Max- - length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_agent_pools_operations.py index d79fda8ebaeb..5861176d4972 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_agent_pools_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_agent_pools_operations.py @@ -273,8 +273,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.AgentPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) @@ -396,8 +396,8 @@ def begin_delete( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -647,8 +647,8 @@ def begin_upgrade_node_image_version( :type agent_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_managed_clusters_operations.py index 6288819bdb19..3592c69d5251 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_managed_clusters_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_managed_clusters_operations.py @@ -327,8 +327,9 @@ def get_access_profile( Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name. **WARNING**\ : This API will be deprecated. Instead use - `ListClusterUserCredentials `_ or `ListClusterAdminCredentials + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials `_ . :param resource_group_name: The name of the resource group. @@ -708,8 +709,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedCluster :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -836,8 +837,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) @@ -952,8 +953,8 @@ def begin_delete( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1074,8 +1075,8 @@ def begin_reset_service_principal_profile( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedClusterServicePrincipalProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1197,8 +1198,8 @@ def begin_reset_aad_profile( :type parameters: ~azure.mgmt.containerservice.v2021_03_01.models.ManagedClusterAADProfile :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1310,8 +1311,8 @@ def begin_rotate_cluster_certificates( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1422,8 +1423,8 @@ def begin_stop( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1534,8 +1535,8 @@ def begin_start( :type resource_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1661,8 +1662,8 @@ def begin_run_command( :type request_payload: ~azure.mgmt.containerservice.v2021_03_01.models.RunCommandRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RunCommandResult or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_private_endpoint_connections_operations.py index 34cd5bafa733..c6f1dd0ec7e2 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_03_01/operations/_private_endpoint_connections_operations.py @@ -313,8 +313,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/__init__.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/__init__.py new file mode 100644 index 000000000000..eb3d7ba7a265 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._container_service_client import ContainerServiceClient +__all__ = ['ContainerServiceClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_configuration.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_configuration.py new file mode 100644 index 000000000000..9a90721ebc2b --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_configuration.py @@ -0,0 +1,70 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class ContainerServiceClientConfiguration(Configuration): + """Configuration for ContainerServiceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(ContainerServiceClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-05-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_container_service_client.py new file mode 100644 index 000000000000..c6f8ea5a9a81 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_container_service_client.py @@ -0,0 +1,119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import ContainerServiceClientConfiguration +from .operations import Operations +from .operations import ManagedClustersOperations +from .operations import MaintenanceConfigurationsOperations +from .operations import AgentPoolsOperations +from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import ResolvePrivateLinkServiceIdOperations +from . import models + + +class ContainerServiceClient(object): + """The Container Service Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.containerservice.v2021_05_01.operations.Operations + :ivar managed_clusters: ManagedClustersOperations operations + :vartype managed_clusters: azure.mgmt.containerservice.v2021_05_01.operations.ManagedClustersOperations + :ivar maintenance_configurations: MaintenanceConfigurationsOperations operations + :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_05_01.operations.MaintenanceConfigurationsOperations + :ivar agent_pools: AgentPoolsOperations operations + :vartype agent_pools: azure.mgmt.containerservice.v2021_05_01.operations.AgentPoolsOperations + :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations + :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_05_01.operations.PrivateEndpointConnectionsOperations + :ivar private_link_resources: PrivateLinkResourcesOperations operations + :vartype private_link_resources: azure.mgmt.containerservice.v2021_05_01.operations.PrivateLinkResourcesOperations + :ivar resolve_private_link_service_id: ResolvePrivateLinkServiceIdOperations operations + :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_05_01.operations.ResolvePrivateLinkServiceIdOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = ContainerServiceClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.managed_clusters = ManagedClustersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.maintenance_configurations = MaintenanceConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.agent_pools = AgentPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_link_resources = PrivateLinkResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> ContainerServiceClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_metadata.json b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_metadata.json new file mode 100644 index 000000000000..3fa743352586 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/_metadata.json @@ -0,0 +1,109 @@ +{ + "chosen_version": "2021-05-01", + "total_api_version_list": ["2021-05-01"], + "client": { + "name": "ContainerServiceClient", + "filename": "_container_service_client", + "description": "The Container Service Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"ContainerServiceClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "operations": "Operations", + "managed_clusters": "ManagedClustersOperations", + "maintenance_configurations": "MaintenanceConfigurationsOperations", + "agent_pools": "AgentPoolsOperations", + "private_endpoint_connections": "PrivateEndpointConnectionsOperations", + "private_link_resources": "PrivateLinkResourcesOperations", + "resolve_private_link_service_id": "ResolvePrivateLinkServiceIdOperations" + } +} \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/__init__.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/__init__.py new file mode 100644 index 000000000000..4ad2bb20096a --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._container_service_client import ContainerServiceClient +__all__ = ['ContainerServiceClient'] diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_configuration.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_configuration.py new file mode 100644 index 000000000000..de11b983ca12 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_configuration.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class ContainerServiceClientConfiguration(Configuration): + """Configuration for ContainerServiceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(ContainerServiceClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = "2021-05-01" + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-containerservice/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_container_service_client.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_container_service_client.py new file mode 100644 index 000000000000..6134e940c073 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/_container_service_client.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import ContainerServiceClientConfiguration +from .operations import Operations +from .operations import ManagedClustersOperations +from .operations import MaintenanceConfigurationsOperations +from .operations import AgentPoolsOperations +from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import ResolvePrivateLinkServiceIdOperations +from .. import models + + +class ContainerServiceClient(object): + """The Container Service Client. + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.containerservice.v2021_05_01.aio.operations.Operations + :ivar managed_clusters: ManagedClustersOperations operations + :vartype managed_clusters: azure.mgmt.containerservice.v2021_05_01.aio.operations.ManagedClustersOperations + :ivar maintenance_configurations: MaintenanceConfigurationsOperations operations + :vartype maintenance_configurations: azure.mgmt.containerservice.v2021_05_01.aio.operations.MaintenanceConfigurationsOperations + :ivar agent_pools: AgentPoolsOperations operations + :vartype agent_pools: azure.mgmt.containerservice.v2021_05_01.aio.operations.AgentPoolsOperations + :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations + :vartype private_endpoint_connections: azure.mgmt.containerservice.v2021_05_01.aio.operations.PrivateEndpointConnectionsOperations + :ivar private_link_resources: PrivateLinkResourcesOperations operations + :vartype private_link_resources: azure.mgmt.containerservice.v2021_05_01.aio.operations.PrivateLinkResourcesOperations + :ivar resolve_private_link_service_id: ResolvePrivateLinkServiceIdOperations operations + :vartype resolve_private_link_service_id: azure.mgmt.containerservice.v2021_05_01.aio.operations.ResolvePrivateLinkServiceIdOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = ContainerServiceClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.managed_clusters = ManagedClustersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.maintenance_configurations = MaintenanceConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.agent_pools = AgentPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_link_resources = PrivateLinkResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.resolve_private_link_service_id = ResolvePrivateLinkServiceIdOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "ContainerServiceClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/__init__.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/__init__.py new file mode 100644 index 000000000000..3942e0ca6a01 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/__init__.py @@ -0,0 +1,25 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._managed_clusters_operations import ManagedClustersOperations +from ._maintenance_configurations_operations import MaintenanceConfigurationsOperations +from ._agent_pools_operations import AgentPoolsOperations +from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._resolve_private_link_service_id_operations import ResolvePrivateLinkServiceIdOperations + +__all__ = [ + 'Operations', + 'ManagedClustersOperations', + 'MaintenanceConfigurationsOperations', + 'AgentPoolsOperations', + 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'ResolvePrivateLinkServiceIdOperations', +] diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_agent_pools_operations.py new file mode 100644 index 000000000000..0509972712f3 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_agent_pools_operations.py @@ -0,0 +1,689 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AgentPoolsOperations: + """AgentPoolsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.AgentPoolListResult"]: + """Gets a list of agent pools in the specified managed cluster. + + Gets a list of agent pools in the specified managed cluster. The operation returns properties + of each agent pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AgentPoolListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools'} # type: ignore + + async def get( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> "_models.AgentPool": + """Gets the agent pool. + + Gets the details of the agent pool by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPool, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + parameters: "_models.AgentPool", + **kwargs: Any + ) -> "_models.AgentPool": + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AgentPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + parameters: "_models.AgentPool", + **kwargs: Any + ) -> AsyncLROPoller["_models.AgentPool"]: + """Creates or updates an agent pool. + + Creates or updates an agent pool in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :param parameters: Parameters supplied to the Create or Update an agent pool operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either AgentPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes an agent pool. + + Deletes the agent pool in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + async def get_upgrade_profile( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> "_models.AgentPoolUpgradeProfile": + """Gets upgrade profile for an agent pool. + + Gets the details of the upgrade profile for an agent pool with a specified resource group and + managed cluster name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPoolUpgradeProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolUpgradeProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_upgrade_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPoolUpgradeProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default'} # type: ignore + + async def get_available_agent_pool_versions( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.AgentPoolAvailableVersions": + """Gets a list of supported versions for the specified agent pool. + + Gets a list of supported versions for the specified agent pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPoolAvailableVersions, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersions + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolAvailableVersions"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_available_agent_pool_versions.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPoolAvailableVersions', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_available_agent_pool_versions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions'} # type: ignore + + async def _upgrade_node_image_version_initial( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> Optional["_models.AgentPool"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._upgrade_node_image_version_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 202: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _upgrade_node_image_version_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion'} # type: ignore + + async def begin_upgrade_node_image_version( + self, + resource_group_name: str, + resource_name: str, + agent_pool_name: str, + **kwargs: Any + ) -> AsyncLROPoller["_models.AgentPool"]: + """Upgrade node image version of an agent pool to the latest. + + Upgrade node image version of an agent pool to the latest. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._upgrade_node_image_version_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_upgrade_node_image_version.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_maintenance_configurations_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_maintenance_configurations_operations.py new file mode 100644 index 000000000000..b10621f7b93f --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_maintenance_configurations_operations.py @@ -0,0 +1,317 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class MaintenanceConfigurationsOperations: + """MaintenanceConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_managed_cluster( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.MaintenanceConfigurationListResult"]: + """Gets a list of maintenance configurations in the specified managed cluster. + + Gets a list of maintenance configurations in the specified managed cluster. The operation + returns properties of each maintenance configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MaintenanceConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_managed_cluster.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('MaintenanceConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_managed_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations'} # type: ignore + + async def get( + self, + resource_group_name: str, + resource_name: str, + config_name: str, + **kwargs: Any + ) -> "_models.MaintenanceConfiguration": + """Gets the maintenance configuration. + + Gets the details of maintenance configurations by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MaintenanceConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore + + async def create_or_update( + self, + resource_group_name: str, + resource_name: str, + config_name: str, + parameters: "_models.MaintenanceConfiguration", + **kwargs: Any + ) -> "_models.MaintenanceConfiguration": + """Creates or updates a maintenance configurations. + + Creates or updates a maintenance configuration in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :param parameters: Parameters supplied to the Create or Update a default maintenance + configuration. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MaintenanceConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'MaintenanceConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore + + async def delete( + self, + resource_group_name: str, + resource_name: str, + config_name: str, + **kwargs: Any + ) -> None: + """Deletes a maintenance configuration. + + Deletes the maintenance configuration in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_managed_clusters_operations.py new file mode 100644 index 000000000000..4fc5b8a65492 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_managed_clusters_operations.py @@ -0,0 +1,1844 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ManagedClustersOperations: + """ManagedClustersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get_os_options( + self, + location: str, + resource_type: Optional[str] = None, + **kwargs: Any + ) -> "_models.OSOptionProfile": + """Gets supported OS options in the specified subscription. + + Gets supported OS options in the specified subscription. + + :param location: The name of a supported Azure region. + :type location: str + :param resource_type: resource type for which the OS options needs to be returned. + :type resource_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OSOptionProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSOptionProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_os_options.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if resource_type is not None: + query_parameters['resource-type'] = self._serialize.query("resource_type", resource_type, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OSOptionProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_os_options.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default'} # type: ignore + + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.ManagedClusterListResult"]: + """Gets a list of managed clusters in the specified subscription. + + Gets a list of managed clusters in the specified subscription. The operation returns properties + of each managed cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.ManagedClusterListResult"]: + """Lists managed clusters in the specified subscription and resource group. + + Lists managed clusters in the specified subscription and resource group. The operation returns + properties of each managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore + + async def get_upgrade_profile( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.ManagedClusterUpgradeProfile": + """Gets upgrade profile for a managed cluster. + + Gets the details of the upgrade profile for a managed cluster with a specified resource group + and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedClusterUpgradeProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterUpgradeProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_upgrade_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedClusterUpgradeProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default'} # type: ignore + + async def get_access_profile( + self, + resource_group_name: str, + resource_name: str, + role_name: str, + **kwargs: Any + ) -> "_models.ManagedClusterAccessProfile": + """Gets an access profile of a managed cluster. + + Gets the accessProfile for the specified role name of the managed cluster with a specified + resource group and name. **WARNING**\ : This API will be deprecated. Instead use + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials + `_ . + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param role_name: The name of the role for managed cluster accessProfile resource. + :type role_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedClusterAccessProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAccessProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_access_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedClusterAccessProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_access_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential'} # type: ignore + + async def list_cluster_admin_credentials( + self, + resource_group_name: str, + resource_name: str, + server_fqdn: Optional[str] = None, + **kwargs: Any + ) -> "_models.CredentialResults": + """Gets cluster admin credential of a managed cluster. + + Gets cluster admin credential of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_admin_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_admin_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential'} # type: ignore + + async def list_cluster_user_credentials( + self, + resource_group_name: str, + resource_name: str, + server_fqdn: Optional[str] = None, + **kwargs: Any + ) -> "_models.CredentialResults": + """Gets cluster user credential of a managed cluster. + + Gets cluster user credential of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_user_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore + + async def list_cluster_monitoring_user_credentials( + self, + resource_group_name: str, + resource_name: str, + server_fqdn: Optional[str] = None, + **kwargs: Any + ) -> "_models.CredentialResults": + """Gets cluster monitoring user credential of a managed cluster. + + Gets cluster monitoring user credential of the managed cluster with a specified resource group + and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_monitoring_user_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_monitoring_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential'} # type: ignore + + async def get( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.ManagedCluster": + """Gets a managed cluster. + + Gets the details of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedCluster, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedCluster", + **kwargs: Any + ) -> "_models.ManagedCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedCluster') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedCluster", + **kwargs: Any + ) -> AsyncLROPoller["_models.ManagedCluster"]: + """Creates or updates a managed cluster. + + Creates or updates a managed cluster with the specified configuration for agents and Kubernetes + version. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.TagsObject", + **kwargs: Any + ) -> "_models.ManagedCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.TagsObject", + **kwargs: Any + ) -> AsyncLROPoller["_models.ManagedCluster"]: + """Updates tags on a managed cluster. + + Updates a managed cluster with the specified tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ManagedCluster or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a managed cluster. + + Deletes the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + async def _reset_service_principal_profile_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedClusterServicePrincipalProfile", + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_service_principal_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedClusterServicePrincipalProfile') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_service_principal_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore + + async def begin_reset_service_principal_profile( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedClusterServicePrincipalProfile", + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Reset Service Principal Profile of a managed cluster. + + Update the service principal Profile for a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a + Managed Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_service_principal_profile_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_service_principal_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore + + async def _reset_aad_profile_initial( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedClusterAADProfile", + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_aad_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedClusterAADProfile') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_aad_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore + + async def begin_reset_aad_profile( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.ManagedClusterAADProfile", + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Reset AAD Profile of a managed cluster. + + Update the AAD Profile for a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed + Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_aad_profile_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_aad_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore + + async def _rotate_cluster_certificates_initial( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._rotate_cluster_certificates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _rotate_cluster_certificates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates'} # type: ignore + + async def begin_rotate_cluster_certificates( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Rotate certificates of a managed cluster. + + Rotate certificates of a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._rotate_cluster_certificates_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_rotate_cluster_certificates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates'} # type: ignore + + async def _stop_initial( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop'} # type: ignore + + async def begin_stop( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Stop Managed Cluster. + + Stops a Running Managed Cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop'} # type: ignore + + async def _start_initial( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start'} # type: ignore + + async def begin_start( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Start Managed Cluster. + + Starts a Stopped Managed Cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start'} # type: ignore + + async def _run_command_initial( + self, + resource_group_name: str, + resource_name: str, + request_payload: "_models.RunCommandRequest", + **kwargs: Any + ) -> Optional["_models.RunCommandResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._run_command_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_payload, 'RunCommandRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _run_command_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand'} # type: ignore + + async def begin_run_command( + self, + resource_group_name: str, + resource_name: str, + request_payload: "_models.RunCommandRequest", + **kwargs: Any + ) -> AsyncLROPoller["_models.RunCommandResult"]: + """Run Command against Managed Kubernetes Service. + + Submit a command to run against managed kubernetes service, it will create a pod to run the + command. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param request_payload: Parameters supplied to the RunCommand operation. + :type request_payload: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either RunCommandResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RunCommandResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._run_command_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + request_payload=request_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_run_command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand'} # type: ignore + + async def get_command_result( + self, + resource_group_name: str, + resource_name: str, + command_id: str, + **kwargs: Any + ) -> Optional["_models.RunCommandResult"]: + """Get command result. + + Get command result from previous runCommand invoke. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param command_id: Id of the command request. + :type command_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RunCommandResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult or None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_command_result.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'commandId': self._serialize.url("command_id", command_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_command_result.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}'} # type: ignore + + def list_outbound_network_dependencies_endpoints( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> AsyncIterable["_models.OutboundEnvironmentEndpointCollection"]: + """Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. + + Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the + specified managed cluster. The operation returns properties of each egress endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OutboundEnvironmentEndpointCollection or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpointCollection] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundEnvironmentEndpointCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_outbound_network_dependencies_endpoints.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OutboundEnvironmentEndpointCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_operations.py new file mode 100644 index 000000000000..5bb49c542c2a --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs: Any + ) -> AsyncIterable["_models.OperationListResult"]: + """Gets a list of compute operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.ContainerService/operations'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py new file mode 100644 index 000000000000..5881a84458da --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_endpoint_connections_operations.py @@ -0,0 +1,357 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PrivateEndpointConnectionsOperations: + """PrivateEndpointConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.PrivateEndpointConnectionListResult": + """Gets a list of private endpoint connections in the specified managed cluster. + + Gets a list of private endpoint connections in the specified managed cluster. The operation + returns properties of each private endpoint connection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnectionListResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections'} # type: ignore + + async def get( + self, + resource_group_name: str, + resource_name: str, + private_endpoint_connection_name: str, + **kwargs: Any + ) -> "_models.PrivateEndpointConnection": + """Gets the private endpoint connection. + + Gets the details of the private endpoint connection by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + async def update( + self, + resource_group_name: str, + resource_name: str, + private_endpoint_connection_name: str, + parameters: "_models.PrivateEndpointConnection", + **kwargs: Any + ) -> "_models.PrivateEndpointConnection": + """Updates a private endpoint connection. + + Updates a private endpoint connection in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :param parameters: Parameters supplied to the Update a private endpoint connection operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + resource_name: str, + private_endpoint_connection_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + resource_name: str, + private_endpoint_connection_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a private endpoint connection. + + Deletes the private endpoint connection in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + private_endpoint_connection_name=private_endpoint_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_link_resources_operations.py new file mode 100644 index 000000000000..dd9f79796f64 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_private_link_resources_operations.py @@ -0,0 +1,102 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PrivateLinkResourcesOperations: + """PrivateLinkResourcesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + resource_group_name: str, + resource_name: str, + **kwargs: Any + ) -> "_models.PrivateLinkResourcesListResult": + """Gets a list of private link resources in the specified managed cluster. + + Gets a list of private link resources in the specified managed cluster. The operation returns + properties of each private link resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkResourcesListResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResourcesListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourcesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkResourcesListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateLinkResources'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py new file mode 100644 index 000000000000..930df4ecfc50 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/aio/operations/_resolve_private_link_service_id_operations.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ResolvePrivateLinkServiceIdOperations: + """ResolvePrivateLinkServiceIdOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def post( + self, + resource_group_name: str, + resource_name: str, + parameters: "_models.PrivateLinkResource", + **kwargs: Any + ) -> "_models.PrivateLinkResource": + """Gets the private link service ID for the specified managed cluster. + + Gets the private link service ID the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters (name, groupId) supplied in order to resolve a private link + service ID. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkResource, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.post.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateLinkResource') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + post.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/__init__.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/__init__.py new file mode 100644 index 000000000000..5ef1b816ad04 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/__init__.py @@ -0,0 +1,313 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AgentPool + from ._models_py3 import AgentPoolAvailableVersions + from ._models_py3 import AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem + from ._models_py3 import AgentPoolListResult + from ._models_py3 import AgentPoolUpgradeProfile + from ._models_py3 import AgentPoolUpgradeProfilePropertiesUpgradesItem + from ._models_py3 import AgentPoolUpgradeSettings + from ._models_py3 import CloudError + from ._models_py3 import CloudErrorBody + from ._models_py3 import Components1Q1Og48SchemasManagedclusterAllof1 + from ._models_py3 import Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties + from ._models_py3 import ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties + from ._models_py3 import ContainerServiceDiagnosticsProfile + from ._models_py3 import ContainerServiceLinuxProfile + from ._models_py3 import ContainerServiceMasterProfile + from ._models_py3 import ContainerServiceNetworkProfile + from ._models_py3 import ContainerServiceSshConfiguration + from ._models_py3 import ContainerServiceSshPublicKey + from ._models_py3 import ContainerServiceVMDiagnostics + from ._models_py3 import CredentialResult + from ._models_py3 import CredentialResults + from ._models_py3 import EndpointDependency + from ._models_py3 import EndpointDetail + from ._models_py3 import ExtendedLocation + from ._models_py3 import KubeletConfig + from ._models_py3 import LinuxOSConfig + from ._models_py3 import MaintenanceConfiguration + from ._models_py3 import MaintenanceConfigurationListResult + from ._models_py3 import ManagedCluster + from ._models_py3 import ManagedClusterAADProfile + from ._models_py3 import ManagedClusterAPIServerAccessProfile + from ._models_py3 import ManagedClusterAccessProfile + from ._models_py3 import ManagedClusterAddonProfile + from ._models_py3 import ManagedClusterAddonProfileIdentity + from ._models_py3 import ManagedClusterAgentPoolProfile + from ._models_py3 import ManagedClusterAgentPoolProfileProperties + from ._models_py3 import ManagedClusterAutoUpgradeProfile + from ._models_py3 import ManagedClusterHTTPProxyConfig + from ._models_py3 import ManagedClusterIdentity + from ._models_py3 import ManagedClusterListResult + from ._models_py3 import ManagedClusterLoadBalancerProfile + from ._models_py3 import ManagedClusterLoadBalancerProfileManagedOutboundIPs + from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPPrefixes + from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPs + from ._models_py3 import ManagedClusterPodIdentity + from ._models_py3 import ManagedClusterPodIdentityException + from ._models_py3 import ManagedClusterPodIdentityProfile + from ._models_py3 import ManagedClusterPodIdentityProvisioningInfo + from ._models_py3 import ManagedClusterPoolUpgradeProfile + from ._models_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem + from ._models_py3 import ManagedClusterPropertiesAutoScalerProfile + from ._models_py3 import ManagedClusterSKU + from ._models_py3 import ManagedClusterServicePrincipalProfile + from ._models_py3 import ManagedClusterUpgradeProfile + from ._models_py3 import ManagedClusterWindowsProfile + from ._models_py3 import OSOptionProfile + from ._models_py3 import OSOptionProperty + from ._models_py3 import OperationListResult + from ._models_py3 import OperationValue + from ._models_py3 import OutboundEnvironmentEndpoint + from ._models_py3 import OutboundEnvironmentEndpointCollection + from ._models_py3 import PowerState + from ._models_py3 import PrivateEndpoint + from ._models_py3 import PrivateEndpointConnection + from ._models_py3 import PrivateEndpointConnectionListResult + from ._models_py3 import PrivateLinkResource + from ._models_py3 import PrivateLinkResourcesListResult + from ._models_py3 import PrivateLinkServiceConnectionState + from ._models_py3 import Resource + from ._models_py3 import ResourceReference + from ._models_py3 import RunCommandRequest + from ._models_py3 import RunCommandResult + from ._models_py3 import SubResource + from ._models_py3 import SysctlConfig + from ._models_py3 import SystemData + from ._models_py3 import TagsObject + from ._models_py3 import TimeInWeek + from ._models_py3 import TimeSpan + from ._models_py3 import UserAssignedIdentity +except (SyntaxError, ImportError): + from ._models import AgentPool # type: ignore + from ._models import AgentPoolAvailableVersions # type: ignore + from ._models import AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem # type: ignore + from ._models import AgentPoolListResult # type: ignore + from ._models import AgentPoolUpgradeProfile # type: ignore + from ._models import AgentPoolUpgradeProfilePropertiesUpgradesItem # type: ignore + from ._models import AgentPoolUpgradeSettings # type: ignore + from ._models import CloudError # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import Components1Q1Og48SchemasManagedclusterAllof1 # type: ignore + from ._models import Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties # type: ignore + from ._models import ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties # type: ignore + from ._models import ContainerServiceDiagnosticsProfile # type: ignore + from ._models import ContainerServiceLinuxProfile # type: ignore + from ._models import ContainerServiceMasterProfile # type: ignore + from ._models import ContainerServiceNetworkProfile # type: ignore + from ._models import ContainerServiceSshConfiguration # type: ignore + from ._models import ContainerServiceSshPublicKey # type: ignore + from ._models import ContainerServiceVMDiagnostics # type: ignore + from ._models import CredentialResult # type: ignore + from ._models import CredentialResults # type: ignore + from ._models import EndpointDependency # type: ignore + from ._models import EndpointDetail # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import KubeletConfig # type: ignore + from ._models import LinuxOSConfig # type: ignore + from ._models import MaintenanceConfiguration # type: ignore + from ._models import MaintenanceConfigurationListResult # type: ignore + from ._models import ManagedCluster # type: ignore + from ._models import ManagedClusterAADProfile # type: ignore + from ._models import ManagedClusterAPIServerAccessProfile # type: ignore + from ._models import ManagedClusterAccessProfile # type: ignore + from ._models import ManagedClusterAddonProfile # type: ignore + from ._models import ManagedClusterAddonProfileIdentity # type: ignore + from ._models import ManagedClusterAgentPoolProfile # type: ignore + from ._models import ManagedClusterAgentPoolProfileProperties # type: ignore + from ._models import ManagedClusterAutoUpgradeProfile # type: ignore + from ._models import ManagedClusterHTTPProxyConfig # type: ignore + from ._models import ManagedClusterIdentity # type: ignore + from ._models import ManagedClusterListResult # type: ignore + from ._models import ManagedClusterLoadBalancerProfile # type: ignore + from ._models import ManagedClusterLoadBalancerProfileManagedOutboundIPs # type: ignore + from ._models import ManagedClusterLoadBalancerProfileOutboundIPPrefixes # type: ignore + from ._models import ManagedClusterLoadBalancerProfileOutboundIPs # type: ignore + from ._models import ManagedClusterPodIdentity # type: ignore + from ._models import ManagedClusterPodIdentityException # type: ignore + from ._models import ManagedClusterPodIdentityProfile # type: ignore + from ._models import ManagedClusterPodIdentityProvisioningInfo # type: ignore + from ._models import ManagedClusterPoolUpgradeProfile # type: ignore + from ._models import ManagedClusterPoolUpgradeProfileUpgradesItem # type: ignore + from ._models import ManagedClusterPropertiesAutoScalerProfile # type: ignore + from ._models import ManagedClusterSKU # type: ignore + from ._models import ManagedClusterServicePrincipalProfile # type: ignore + from ._models import ManagedClusterUpgradeProfile # type: ignore + from ._models import ManagedClusterWindowsProfile # type: ignore + from ._models import OSOptionProfile # type: ignore + from ._models import OSOptionProperty # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import OperationValue # type: ignore + from ._models import OutboundEnvironmentEndpoint # type: ignore + from ._models import OutboundEnvironmentEndpointCollection # type: ignore + from ._models import PowerState # type: ignore + from ._models import PrivateEndpoint # type: ignore + from ._models import PrivateEndpointConnection # type: ignore + from ._models import PrivateEndpointConnectionListResult # type: ignore + from ._models import PrivateLinkResource # type: ignore + from ._models import PrivateLinkResourcesListResult # type: ignore + from ._models import PrivateLinkServiceConnectionState # type: ignore + from ._models import Resource # type: ignore + from ._models import ResourceReference # type: ignore + from ._models import RunCommandRequest # type: ignore + from ._models import RunCommandResult # type: ignore + from ._models import SubResource # type: ignore + from ._models import SysctlConfig # type: ignore + from ._models import SystemData # type: ignore + from ._models import TagsObject # type: ignore + from ._models import TimeInWeek # type: ignore + from ._models import TimeSpan # type: ignore + from ._models import UserAssignedIdentity # type: ignore + +from ._container_service_client_enums import ( + AgentPoolMode, + AgentPoolType, + Code, + ConnectionStatus, + ContainerServiceStorageProfileTypes, + ContainerServiceVMSizeTypes, + Count, + CreatedByType, + Expander, + ExtendedLocationTypes, + GPUInstanceProfile, + KubeletDiskType, + LicenseType, + LoadBalancerSku, + ManagedClusterPodIdentityProvisioningState, + ManagedClusterSKUName, + ManagedClusterSKUTier, + NetworkMode, + NetworkPlugin, + NetworkPolicy, + OSDiskType, + OSSKU, + OSType, + OutboundType, + PrivateEndpointConnectionProvisioningState, + ResourceIdentityType, + ScaleSetEvictionPolicy, + ScaleSetPriority, + UpgradeChannel, + WeekDay, +) + +__all__ = [ + 'AgentPool', + 'AgentPoolAvailableVersions', + 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem', + 'AgentPoolListResult', + 'AgentPoolUpgradeProfile', + 'AgentPoolUpgradeProfilePropertiesUpgradesItem', + 'AgentPoolUpgradeSettings', + 'CloudError', + 'CloudErrorBody', + 'Components1Q1Og48SchemasManagedclusterAllof1', + 'Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties', + 'ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties', + 'ContainerServiceDiagnosticsProfile', + 'ContainerServiceLinuxProfile', + 'ContainerServiceMasterProfile', + 'ContainerServiceNetworkProfile', + 'ContainerServiceSshConfiguration', + 'ContainerServiceSshPublicKey', + 'ContainerServiceVMDiagnostics', + 'CredentialResult', + 'CredentialResults', + 'EndpointDependency', + 'EndpointDetail', + 'ExtendedLocation', + 'KubeletConfig', + 'LinuxOSConfig', + 'MaintenanceConfiguration', + 'MaintenanceConfigurationListResult', + 'ManagedCluster', + 'ManagedClusterAADProfile', + 'ManagedClusterAPIServerAccessProfile', + 'ManagedClusterAccessProfile', + 'ManagedClusterAddonProfile', + 'ManagedClusterAddonProfileIdentity', + 'ManagedClusterAgentPoolProfile', + 'ManagedClusterAgentPoolProfileProperties', + 'ManagedClusterAutoUpgradeProfile', + 'ManagedClusterHTTPProxyConfig', + 'ManagedClusterIdentity', + 'ManagedClusterListResult', + 'ManagedClusterLoadBalancerProfile', + 'ManagedClusterLoadBalancerProfileManagedOutboundIPs', + 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes', + 'ManagedClusterLoadBalancerProfileOutboundIPs', + 'ManagedClusterPodIdentity', + 'ManagedClusterPodIdentityException', + 'ManagedClusterPodIdentityProfile', + 'ManagedClusterPodIdentityProvisioningInfo', + 'ManagedClusterPoolUpgradeProfile', + 'ManagedClusterPoolUpgradeProfileUpgradesItem', + 'ManagedClusterPropertiesAutoScalerProfile', + 'ManagedClusterSKU', + 'ManagedClusterServicePrincipalProfile', + 'ManagedClusterUpgradeProfile', + 'ManagedClusterWindowsProfile', + 'OSOptionProfile', + 'OSOptionProperty', + 'OperationListResult', + 'OperationValue', + 'OutboundEnvironmentEndpoint', + 'OutboundEnvironmentEndpointCollection', + 'PowerState', + 'PrivateEndpoint', + 'PrivateEndpointConnection', + 'PrivateEndpointConnectionListResult', + 'PrivateLinkResource', + 'PrivateLinkResourcesListResult', + 'PrivateLinkServiceConnectionState', + 'Resource', + 'ResourceReference', + 'RunCommandRequest', + 'RunCommandResult', + 'SubResource', + 'SysctlConfig', + 'SystemData', + 'TagsObject', + 'TimeInWeek', + 'TimeSpan', + 'UserAssignedIdentity', + 'AgentPoolMode', + 'AgentPoolType', + 'Code', + 'ConnectionStatus', + 'ContainerServiceStorageProfileTypes', + 'ContainerServiceVMSizeTypes', + 'Count', + 'CreatedByType', + 'Expander', + 'ExtendedLocationTypes', + 'GPUInstanceProfile', + 'KubeletDiskType', + 'LicenseType', + 'LoadBalancerSku', + 'ManagedClusterPodIdentityProvisioningState', + 'ManagedClusterSKUName', + 'ManagedClusterSKUTier', + 'NetworkMode', + 'NetworkPlugin', + 'NetworkPolicy', + 'OSDiskType', + 'OSSKU', + 'OSType', + 'OutboundType', + 'PrivateEndpointConnectionProvisioningState', + 'ResourceIdentityType', + 'ScaleSetEvictionPolicy', + 'ScaleSetPriority', + 'UpgradeChannel', + 'WeekDay', +] diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_container_service_client_enums.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_container_service_client_enums.py new file mode 100644 index 000000000000..bdf1668dad13 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_container_service_client_enums.py @@ -0,0 +1,438 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class AgentPoolMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """AgentPoolMode represents mode of an agent pool. + """ + + SYSTEM = "System" + USER = "User" + +class AgentPoolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """AgentPoolType represents types of an agent pool. + """ + + VIRTUAL_MACHINE_SCALE_SETS = "VirtualMachineScaleSets" + AVAILABILITY_SET = "AvailabilitySet" + +class Code(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tells whether the cluster is Running or Stopped + """ + + RUNNING = "Running" + STOPPED = "Stopped" + +class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The private link service connection status. + """ + + PENDING = "Pending" + APPROVED = "Approved" + REJECTED = "Rejected" + DISCONNECTED = "Disconnected" + +class ContainerServiceStorageProfileTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Storage profile specifies what kind of storage used. Choose from StorageAccount and + ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice. + """ + + STORAGE_ACCOUNT = "StorageAccount" + MANAGED_DISKS = "ManagedDisks" + +class ContainerServiceVMSizeTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Size of agent VMs. + """ + + STANDARD_A1 = "Standard_A1" + STANDARD_A10 = "Standard_A10" + STANDARD_A11 = "Standard_A11" + STANDARD_A1_V2 = "Standard_A1_v2" + STANDARD_A2 = "Standard_A2" + STANDARD_A2_V2 = "Standard_A2_v2" + STANDARD_A2_M_V2 = "Standard_A2m_v2" + STANDARD_A3 = "Standard_A3" + STANDARD_A4 = "Standard_A4" + STANDARD_A4_V2 = "Standard_A4_v2" + STANDARD_A4_M_V2 = "Standard_A4m_v2" + STANDARD_A5 = "Standard_A5" + STANDARD_A6 = "Standard_A6" + STANDARD_A7 = "Standard_A7" + STANDARD_A8 = "Standard_A8" + STANDARD_A8_V2 = "Standard_A8_v2" + STANDARD_A8_M_V2 = "Standard_A8m_v2" + STANDARD_A9 = "Standard_A9" + STANDARD_B2_MS = "Standard_B2ms" + STANDARD_B2_S = "Standard_B2s" + STANDARD_B4_MS = "Standard_B4ms" + STANDARD_B8_MS = "Standard_B8ms" + STANDARD_D1 = "Standard_D1" + STANDARD_D11 = "Standard_D11" + STANDARD_D11_V2 = "Standard_D11_v2" + STANDARD_D11_V2_PROMO = "Standard_D11_v2_Promo" + STANDARD_D12 = "Standard_D12" + STANDARD_D12_V2 = "Standard_D12_v2" + STANDARD_D12_V2_PROMO = "Standard_D12_v2_Promo" + STANDARD_D13 = "Standard_D13" + STANDARD_D13_V2 = "Standard_D13_v2" + STANDARD_D13_V2_PROMO = "Standard_D13_v2_Promo" + STANDARD_D14 = "Standard_D14" + STANDARD_D14_V2 = "Standard_D14_v2" + STANDARD_D14_V2_PROMO = "Standard_D14_v2_Promo" + STANDARD_D15_V2 = "Standard_D15_v2" + STANDARD_D16_V3 = "Standard_D16_v3" + STANDARD_D16_S_V3 = "Standard_D16s_v3" + STANDARD_D1_V2 = "Standard_D1_v2" + STANDARD_D2 = "Standard_D2" + STANDARD_D2_V2 = "Standard_D2_v2" + STANDARD_D2_V2_PROMO = "Standard_D2_v2_Promo" + STANDARD_D2_V3 = "Standard_D2_v3" + STANDARD_D2_S_V3 = "Standard_D2s_v3" + STANDARD_D3 = "Standard_D3" + STANDARD_D32_V3 = "Standard_D32_v3" + STANDARD_D32_S_V3 = "Standard_D32s_v3" + STANDARD_D3_V2 = "Standard_D3_v2" + STANDARD_D3_V2_PROMO = "Standard_D3_v2_Promo" + STANDARD_D4 = "Standard_D4" + STANDARD_D4_V2 = "Standard_D4_v2" + STANDARD_D4_V2_PROMO = "Standard_D4_v2_Promo" + STANDARD_D4_V3 = "Standard_D4_v3" + STANDARD_D4_S_V3 = "Standard_D4s_v3" + STANDARD_D5_V2 = "Standard_D5_v2" + STANDARD_D5_V2_PROMO = "Standard_D5_v2_Promo" + STANDARD_D64_V3 = "Standard_D64_v3" + STANDARD_D64_S_V3 = "Standard_D64s_v3" + STANDARD_D8_V3 = "Standard_D8_v3" + STANDARD_D8_S_V3 = "Standard_D8s_v3" + STANDARD_DS1 = "Standard_DS1" + STANDARD_DS11 = "Standard_DS11" + STANDARD_DS11_V2 = "Standard_DS11_v2" + STANDARD_DS11_V2_PROMO = "Standard_DS11_v2_Promo" + STANDARD_DS12 = "Standard_DS12" + STANDARD_DS12_V2 = "Standard_DS12_v2" + STANDARD_DS12_V2_PROMO = "Standard_DS12_v2_Promo" + STANDARD_DS13 = "Standard_DS13" + STANDARD_DS13_2_V2 = "Standard_DS13-2_v2" + STANDARD_DS13_4_V2 = "Standard_DS13-4_v2" + STANDARD_DS13_V2 = "Standard_DS13_v2" + STANDARD_DS13_V2_PROMO = "Standard_DS13_v2_Promo" + STANDARD_DS14 = "Standard_DS14" + STANDARD_DS14_4_V2 = "Standard_DS14-4_v2" + STANDARD_DS14_8_V2 = "Standard_DS14-8_v2" + STANDARD_DS14_V2 = "Standard_DS14_v2" + STANDARD_DS14_V2_PROMO = "Standard_DS14_v2_Promo" + STANDARD_DS15_V2 = "Standard_DS15_v2" + STANDARD_DS1_V2 = "Standard_DS1_v2" + STANDARD_DS2 = "Standard_DS2" + STANDARD_DS2_V2 = "Standard_DS2_v2" + STANDARD_DS2_V2_PROMO = "Standard_DS2_v2_Promo" + STANDARD_DS3 = "Standard_DS3" + STANDARD_DS3_V2 = "Standard_DS3_v2" + STANDARD_DS3_V2_PROMO = "Standard_DS3_v2_Promo" + STANDARD_DS4 = "Standard_DS4" + STANDARD_DS4_V2 = "Standard_DS4_v2" + STANDARD_DS4_V2_PROMO = "Standard_DS4_v2_Promo" + STANDARD_DS5_V2 = "Standard_DS5_v2" + STANDARD_DS5_V2_PROMO = "Standard_DS5_v2_Promo" + STANDARD_E16_V3 = "Standard_E16_v3" + STANDARD_E16_S_V3 = "Standard_E16s_v3" + STANDARD_E2_V3 = "Standard_E2_v3" + STANDARD_E2_S_V3 = "Standard_E2s_v3" + STANDARD_E32_16_S_V3 = "Standard_E32-16s_v3" + STANDARD_E32_8_S_V3 = "Standard_E32-8s_v3" + STANDARD_E32_V3 = "Standard_E32_v3" + STANDARD_E32_S_V3 = "Standard_E32s_v3" + STANDARD_E4_V3 = "Standard_E4_v3" + STANDARD_E4_S_V3 = "Standard_E4s_v3" + STANDARD_E64_16_S_V3 = "Standard_E64-16s_v3" + STANDARD_E64_32_S_V3 = "Standard_E64-32s_v3" + STANDARD_E64_V3 = "Standard_E64_v3" + STANDARD_E64_S_V3 = "Standard_E64s_v3" + STANDARD_E8_V3 = "Standard_E8_v3" + STANDARD_E8_S_V3 = "Standard_E8s_v3" + STANDARD_F1 = "Standard_F1" + STANDARD_F16 = "Standard_F16" + STANDARD_F16_S = "Standard_F16s" + STANDARD_F16_S_V2 = "Standard_F16s_v2" + STANDARD_F1_S = "Standard_F1s" + STANDARD_F2 = "Standard_F2" + STANDARD_F2_S = "Standard_F2s" + STANDARD_F2_S_V2 = "Standard_F2s_v2" + STANDARD_F32_S_V2 = "Standard_F32s_v2" + STANDARD_F4 = "Standard_F4" + STANDARD_F4_S = "Standard_F4s" + STANDARD_F4_S_V2 = "Standard_F4s_v2" + STANDARD_F64_S_V2 = "Standard_F64s_v2" + STANDARD_F72_S_V2 = "Standard_F72s_v2" + STANDARD_F8 = "Standard_F8" + STANDARD_F8_S = "Standard_F8s" + STANDARD_F8_S_V2 = "Standard_F8s_v2" + STANDARD_G1 = "Standard_G1" + STANDARD_G2 = "Standard_G2" + STANDARD_G3 = "Standard_G3" + STANDARD_G4 = "Standard_G4" + STANDARD_G5 = "Standard_G5" + STANDARD_GS1 = "Standard_GS1" + STANDARD_GS2 = "Standard_GS2" + STANDARD_GS3 = "Standard_GS3" + STANDARD_GS4 = "Standard_GS4" + STANDARD_GS4_4 = "Standard_GS4-4" + STANDARD_GS4_8 = "Standard_GS4-8" + STANDARD_GS5 = "Standard_GS5" + STANDARD_GS5_16 = "Standard_GS5-16" + STANDARD_GS5_8 = "Standard_GS5-8" + STANDARD_H16 = "Standard_H16" + STANDARD_H16_M = "Standard_H16m" + STANDARD_H16_MR = "Standard_H16mr" + STANDARD_H16_R = "Standard_H16r" + STANDARD_H8 = "Standard_H8" + STANDARD_H8_M = "Standard_H8m" + STANDARD_L16_S = "Standard_L16s" + STANDARD_L32_S = "Standard_L32s" + STANDARD_L4_S = "Standard_L4s" + STANDARD_L8_S = "Standard_L8s" + STANDARD_M128_32_MS = "Standard_M128-32ms" + STANDARD_M128_64_MS = "Standard_M128-64ms" + STANDARD_M128_MS = "Standard_M128ms" + STANDARD_M128_S = "Standard_M128s" + STANDARD_M64_16_MS = "Standard_M64-16ms" + STANDARD_M64_32_MS = "Standard_M64-32ms" + STANDARD_M64_MS = "Standard_M64ms" + STANDARD_M64_S = "Standard_M64s" + STANDARD_NC12 = "Standard_NC12" + STANDARD_NC12_S_V2 = "Standard_NC12s_v2" + STANDARD_NC12_S_V3 = "Standard_NC12s_v3" + STANDARD_NC24 = "Standard_NC24" + STANDARD_NC24_R = "Standard_NC24r" + STANDARD_NC24_RS_V2 = "Standard_NC24rs_v2" + STANDARD_NC24_RS_V3 = "Standard_NC24rs_v3" + STANDARD_NC24_S_V2 = "Standard_NC24s_v2" + STANDARD_NC24_S_V3 = "Standard_NC24s_v3" + STANDARD_NC6 = "Standard_NC6" + STANDARD_NC6_S_V2 = "Standard_NC6s_v2" + STANDARD_NC6_S_V3 = "Standard_NC6s_v3" + STANDARD_ND12_S = "Standard_ND12s" + STANDARD_ND24_RS = "Standard_ND24rs" + STANDARD_ND24_S = "Standard_ND24s" + STANDARD_ND6_S = "Standard_ND6s" + STANDARD_NV12 = "Standard_NV12" + STANDARD_NV24 = "Standard_NV24" + STANDARD_NV6 = "Standard_NV6" + +class Count(with_metaclass(_CaseInsensitiveEnumMeta, int, Enum)): + """Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The + default value is 1. + """ + + ONE = 1 + THREE = 3 + FIVE = 5 + +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class Expander(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + LEAST_WASTE = "least-waste" + MOST_PODS = "most-pods" + PRIORITY = "priority" + RANDOM = "random" + +class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of extendedLocation. + """ + + EDGE_ZONE = "EdgeZone" + +class GPUInstanceProfile(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU. + Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. + """ + + MIG1_G = "MIG1g" + MIG2_G = "MIG2g" + MIG3_G = "MIG3g" + MIG4_G = "MIG4g" + MIG7_G = "MIG7g" + +class KubeletDiskType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and + Kubelet ephemeral storage. Allowed values: 'OS', 'Temporary' (preview). + """ + + OS = "OS" + TEMPORARY = "Temporary" + +class LicenseType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User + Benefits for Windows VMs. + """ + + NONE = "None" + WINDOWS_SERVER = "Windows_Server" + +class LoadBalancerSku(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The load balancer sku for the managed cluster. + """ + + STANDARD = "standard" + BASIC = "basic" + +class ManagedClusterPodIdentityProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current provisioning state of the pod identity. + """ + + ASSIGNED = "Assigned" + UPDATING = "Updating" + DELETING = "Deleting" + FAILED = "Failed" + +class ManagedClusterSKUName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of a managed cluster SKU. + """ + + BASIC = "Basic" + +class ManagedClusterSKUTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a managed cluster SKU. + """ + + PAID = "Paid" + FREE = "Free" + +class NetworkMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Network mode used for building Kubernetes network. + """ + + TRANSPARENT = "transparent" + BRIDGE = "bridge" + +class NetworkPlugin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Network plugin used for building Kubernetes network. + """ + + AZURE = "azure" + KUBENET = "kubenet" + +class NetworkPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Network policy used for building Kubernetes network. + """ + + CALICO = "calico" + AZURE = "azure" + +class OSDiskType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """OSDiskType represents the type of an OS disk on an agent pool. + """ + + MANAGED = "Managed" + EPHEMERAL = "Ephemeral" + +class OSSKU(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner for Linux + OSType. Not applicable to Windows OSType. + """ + + UBUNTU = "Ubuntu" + CBL_MARINER = "CBLMariner" + +class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. + """ + + LINUX = "Linux" + WINDOWS = "Windows" + +class OutboundType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The outbound (egress) routing method. + """ + + LOAD_BALANCER = "loadBalancer" + USER_DEFINED_ROUTING = "userDefinedRouting" + +class PrivateEndpointConnectionProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current provisioning state. + """ + + SUCCEEDED = "Succeeded" + CREATING = "Creating" + DELETING = "Deleting" + FAILED = "Failed" + +class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly + created identity in master components and an auto-created user assigned identity in MC_ + resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service + principal will be used instead. + """ + + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + NONE = "None" + +class ScaleSetEvictionPolicy(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale + set. Default to Delete. + """ + + DELETE = "Delete" + DEALLOCATE = "Deallocate" + +class ScaleSetPriority(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular. + """ + + SPOT = "Spot" + REGULAR = "Regular" + +class UpgradeChannel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """upgrade channel for auto upgrade. + """ + + RAPID = "rapid" + STABLE = "stable" + PATCH = "patch" + NODE_IMAGE = "node-image" + NONE = "none" + +class WeekDay(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The weekday enum. + """ + + SUNDAY = "Sunday" + MONDAY = "Monday" + TUESDAY = "Tuesday" + WEDNESDAY = "Wednesday" + THURSDAY = "Thursday" + FRIDAY = "Friday" + SATURDAY = "Saturday" diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models.py new file mode 100644 index 000000000000..0df038e3e8e0 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models.py @@ -0,0 +1,3608 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import msrest.serialization + + +class SubResource(msrest.serialization.Model): + """Reference to another subresource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class AgentPool(SubResource): + """Agent Pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values + include: "VirtualMachineScaleSets", "AvailabilitySet". + :type type_properties_type: str or + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'count': {'key': 'properties.count', 'type': 'int'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'properties.osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'properties.osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'properties.kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'properties.vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'properties.podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'properties.maxPods', 'type': 'int'}, + 'os_type': {'key': 'properties.osType', 'type': 'str'}, + 'os_sku': {'key': 'properties.osSKU', 'type': 'str'}, + 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, + 'min_count': {'key': 'properties.minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'properties.nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'properties.upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'properties.enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'properties.nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'properties.scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'properties.scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'properties.spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'properties.tags', 'type': '{str}'}, + 'node_labels': {'key': 'properties.nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'properties.nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'properties.proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'properties.kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'properties.linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'properties.enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'properties.enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'properties.enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'properties.gpuInstanceProfile', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPool, self).__init__(**kwargs) + self.count = kwargs.get('count', None) + self.vm_size = kwargs.get('vm_size', None) + self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) + self.os_disk_type = kwargs.get('os_disk_type', None) + self.kubelet_disk_type = kwargs.get('kubelet_disk_type', None) + self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) + self.pod_subnet_id = kwargs.get('pod_subnet_id', None) + self.max_pods = kwargs.get('max_pods', None) + self.os_type = kwargs.get('os_type', "Linux") + self.os_sku = kwargs.get('os_sku', None) + self.max_count = kwargs.get('max_count', None) + self.min_count = kwargs.get('min_count', None) + self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) + self.type_properties_type = kwargs.get('type_properties_type', None) + self.mode = kwargs.get('mode', None) + self.orchestrator_version = kwargs.get('orchestrator_version', None) + self.node_image_version = None + self.upgrade_settings = kwargs.get('upgrade_settings', None) + self.provisioning_state = None + self.power_state = None + self.availability_zones = kwargs.get('availability_zones', None) + self.enable_node_public_ip = kwargs.get('enable_node_public_ip', None) + self.node_public_ip_prefix_id = kwargs.get('node_public_ip_prefix_id', None) + self.scale_set_priority = kwargs.get('scale_set_priority', "Regular") + self.scale_set_eviction_policy = kwargs.get('scale_set_eviction_policy', "Delete") + self.spot_max_price = kwargs.get('spot_max_price', -1) + self.tags = kwargs.get('tags', None) + self.node_labels = kwargs.get('node_labels', None) + self.node_taints = kwargs.get('node_taints', None) + self.proximity_placement_group_id = kwargs.get('proximity_placement_group_id', None) + self.kubelet_config = kwargs.get('kubelet_config', None) + self.linux_os_config = kwargs.get('linux_os_config', None) + self.enable_encryption_at_host = kwargs.get('enable_encryption_at_host', None) + self.enable_ultra_ssd = kwargs.get('enable_ultra_ssd', None) + self.enable_fips = kwargs.get('enable_fips', None) + self.gpu_instance_profile = kwargs.get('gpu_instance_profile', None) + + +class AgentPoolAvailableVersions(msrest.serialization.Model): + """The list of available versions for an agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Id of the agent pool available versions. + :vartype id: str + :ivar name: Name of the agent pool available versions. + :vartype name: str + :ivar type: Type of the agent pool available versions. + :vartype type: str + :param agent_pool_versions: List of versions available for agent pool. + :type agent_pool_versions: + list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'agent_pool_versions': {'key': 'properties.agentPoolVersions', 'type': '[AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolAvailableVersions, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.agent_pool_versions = kwargs.get('agent_pool_versions', None) + + +class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem(msrest.serialization.Model): + """AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem. + + :param default: Whether this version is the default agent pool version. + :type default: bool + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'default': {'key': 'default', 'type': 'bool'}, + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem, self).__init__(**kwargs) + self.default = kwargs.get('default', None) + self.kubernetes_version = kwargs.get('kubernetes_version', None) + self.is_preview = kwargs.get('is_preview', None) + + +class AgentPoolListResult(msrest.serialization.Model): + """The response from the List Agent Pools operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of agent pools. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :ivar next_link: The URL to get the next set of agent pool results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AgentPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AgentPoolUpgradeProfile(msrest.serialization.Model): + """The list of available upgrades for an agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the agent pool upgrade profile. + :vartype id: str + :ivar name: Name of the agent pool upgrade profile. + :vartype name: str + :ivar type: Type of the agent pool upgrade profile. + :vartype type: str + :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. + Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param upgrades: List of orchestrator types and versions available for upgrade. + :type upgrades: + list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] + :param latest_node_image_version: LatestNodeImageVersion is the latest AKS supported node image + version. + :type latest_node_image_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kubernetes_version': {'required': True}, + 'os_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'os_type': {'key': 'properties.osType', 'type': 'str'}, + 'upgrades': {'key': 'properties.upgrades', 'type': '[AgentPoolUpgradeProfilePropertiesUpgradesItem]'}, + 'latest_node_image_version': {'key': 'properties.latestNodeImageVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolUpgradeProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.kubernetes_version = kwargs['kubernetes_version'] + self.os_type = kwargs.get('os_type', "Linux") + self.upgrades = kwargs.get('upgrades', None) + self.latest_node_image_version = kwargs.get('latest_node_image_version', None) + + +class AgentPoolUpgradeProfilePropertiesUpgradesItem(msrest.serialization.Model): + """AgentPoolUpgradeProfilePropertiesUpgradesItem. + + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolUpgradeProfilePropertiesUpgradesItem, self).__init__(**kwargs) + self.kubernetes_version = kwargs.get('kubernetes_version', None) + self.is_preview = kwargs.get('is_preview', None) + + +class AgentPoolUpgradeSettings(msrest.serialization.Model): + """Settings for upgrading an agentpool. + + :param max_surge: Count or percentage of additional nodes to be added during upgrade. If empty + uses AKS default. + :type max_surge: str + """ + + _attribute_map = { + 'max_surge': {'key': 'maxSurge', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AgentPoolUpgradeSettings, self).__init__(**kwargs) + self.max_surge = kwargs.get('max_surge', None) + + +class CloudError(msrest.serialization.Model): + """An error response from the Container service. + + :param error: Details about the error. + :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'CloudErrorBody'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudError, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the Container service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.target = kwargs.get('target', None) + self.details = kwargs.get('details', None) + + +class Components1Q1Og48SchemasManagedclusterAllof1(msrest.serialization.Model): + """Components1Q1Og48SchemasManagedclusterAllof1. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param identity: The identity of the managed cluster, if configured. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Represents the Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar max_agent_pools: The max number of agent pools for the managed cluster. + :vartype max_agent_pools: int + :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :type kubernetes_version: str + :param dns_prefix: DNS prefix specified when creating the managed cluster. + :type dns_prefix: str + :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom + private dns zone. + :type fqdn_subdomain: str + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + :ivar private_fqdn: FQDN of private cluster. + :vartype private_fqdn: str + :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :vartype azure_portal_fqdn: str + :param agent_pool_profiles: Properties of the agent pool. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: Profile for Linux VMs in the container service cluster. + :type linux_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile + :param windows_profile: Profile for Windows VMs in the container service cluster. + :type windows_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + :param service_principal_profile: Information about a service principal identity for the + cluster to use for manipulating Azure APIs. + :type service_principal_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: Profile of managed cluster add-on. + :type addon_profiles: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: Profile of managed cluster pod identity. + :type pod_identity_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: Name of the resource group containing agent pool nodes. + :type node_resource_group: str + :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :type enable_rbac: bool + :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security + policy (preview). This feature is set for removal on October 15th, 2020. Learn more at + aka.ms/aks/azpodpolicy. + :type enable_pod_security_policy: bool + :param network_profile: Profile of network configuration. + :type network_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile + :param aad_profile: Profile of Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: Profile of auto upgrade configuration. + :type auto_upgrade_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. + :type auto_scaler_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: Access profile for managed cluster API server. + :type api_server_access_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling + encryption at rest. + :type disk_encryption_set_id: str + :param identity_profile: Identities associated with the cluster. + :type identity_profile: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + :param private_link_resources: Private link resources associated with the cluster. + :type private_link_resources: + list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credential will be disabled for + this cluster. Expected to only be used for AAD clusters. + :type disable_local_accounts: bool + :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :type http_proxy_config: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'max_agent_pools': {'readonly': True}, + 'fqdn': {'readonly': True}, + 'private_fqdn': {'readonly': True}, + 'azure_portal_fqdn': {'readonly': True}, + } + + _attribute_map = { + 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, + 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, + 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, + 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, + 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, + 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, + 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, + 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, + 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, + 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, + 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, + 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, + 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, + 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(Components1Q1Og48SchemasManagedclusterAllof1, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) + self.provisioning_state = None + self.power_state = None + self.max_agent_pools = None + self.kubernetes_version = kwargs.get('kubernetes_version', None) + self.dns_prefix = kwargs.get('dns_prefix', None) + self.fqdn_subdomain = kwargs.get('fqdn_subdomain', None) + self.fqdn = None + self.private_fqdn = None + self.azure_portal_fqdn = None + self.agent_pool_profiles = kwargs.get('agent_pool_profiles', None) + self.linux_profile = kwargs.get('linux_profile', None) + self.windows_profile = kwargs.get('windows_profile', None) + self.service_principal_profile = kwargs.get('service_principal_profile', None) + self.addon_profiles = kwargs.get('addon_profiles', None) + self.pod_identity_profile = kwargs.get('pod_identity_profile', None) + self.node_resource_group = kwargs.get('node_resource_group', None) + self.enable_rbac = kwargs.get('enable_rbac', None) + self.enable_pod_security_policy = kwargs.get('enable_pod_security_policy', None) + self.network_profile = kwargs.get('network_profile', None) + self.aad_profile = kwargs.get('aad_profile', None) + self.auto_upgrade_profile = kwargs.get('auto_upgrade_profile', None) + self.auto_scaler_profile = kwargs.get('auto_scaler_profile', None) + self.api_server_access_profile = kwargs.get('api_server_access_profile', None) + self.disk_encryption_set_id = kwargs.get('disk_encryption_set_id', None) + self.identity_profile = kwargs.get('identity_profile', None) + self.private_link_resources = kwargs.get('private_link_resources', None) + self.disable_local_accounts = kwargs.get('disable_local_accounts', None) + self.http_proxy_config = kwargs.get('http_proxy_config', None) + + +class Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class UserAssignedIdentity(msrest.serialization.Model): + """UserAssignedIdentity. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UserAssignedIdentity, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.client_id = kwargs.get('client_id', None) + self.object_id = kwargs.get('object_id', None) + + +class ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties(UserAssignedIdentity): + """ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties, self).__init__(**kwargs) + + +class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): + """Profile for diagnostics on the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. + :type vm_diagnostics: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMDiagnostics + """ + + _validation = { + 'vm_diagnostics': {'required': True}, + } + + _attribute_map = { + 'vm_diagnostics': {'key': 'vmDiagnostics', 'type': 'ContainerServiceVMDiagnostics'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceDiagnosticsProfile, self).__init__(**kwargs) + self.vm_diagnostics = kwargs['vm_diagnostics'] + + +class ContainerServiceLinuxProfile(msrest.serialization.Model): + """Profile for Linux VMs in the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param admin_username: Required. The administrator username to use for Linux VMs. + :type admin_username: str + :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. + :type ssh: ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshConfiguration + """ + + _validation = { + 'admin_username': {'required': True, 'pattern': r'^[A-Za-z][-A-Za-z0-9_]*$'}, + 'ssh': {'required': True}, + } + + _attribute_map = { + 'admin_username': {'key': 'adminUsername', 'type': 'str'}, + 'ssh': {'key': 'ssh', 'type': 'ContainerServiceSshConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceLinuxProfile, self).__init__(**kwargs) + self.admin_username = kwargs['admin_username'] + self.ssh = kwargs['ssh'] + + +class ContainerServiceMasterProfile(msrest.serialization.Model): + """Profile for the container service master. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, + 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". + :type count: str or ~azure.mgmt.containerservice.v2021_05_01.models.Count + :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. + :type dns_prefix: str + :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", + "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", + "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", + "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", + "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", + "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", + "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", + "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", + "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", + "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", + "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", + "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", + "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", + "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", + "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", + "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", + "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", + "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", + "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", + "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", + "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", + "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", + "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", + "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", + "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", + "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", + "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", + "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", + "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", + "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", + "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", + "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", + "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", + "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", + "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", + "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", + "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", + "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". + :type vm_size: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMSizeTypes + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. + :type vnet_subnet_id: str + :param first_consecutive_static_ip: FirstConsecutiveStaticIP used to specify the first static + ip of masters. + :type first_consecutive_static_ip: str + :param storage_profile: Storage profile specifies what kind of storage used. Choose from + StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the + orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". + :type storage_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceStorageProfileTypes + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + """ + + _validation = { + 'dns_prefix': {'required': True}, + 'vm_size': {'required': True}, + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'fqdn': {'readonly': True}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'dns_prefix': {'key': 'dnsPrefix', 'type': 'str'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'first_consecutive_static_ip': {'key': 'firstConsecutiveStaticIP', 'type': 'str'}, + 'storage_profile': {'key': 'storageProfile', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceMasterProfile, self).__init__(**kwargs) + self.count = kwargs.get('count', "1") + self.dns_prefix = kwargs['dns_prefix'] + self.vm_size = kwargs['vm_size'] + self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) + self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) + self.first_consecutive_static_ip = kwargs.get('first_consecutive_static_ip', "10.240.255.5") + self.storage_profile = kwargs.get('storage_profile', None) + self.fqdn = None + + +class ContainerServiceNetworkProfile(msrest.serialization.Model): + """Profile of network configuration. + + :param network_plugin: Network plugin used for building Kubernetes network. Possible values + include: "azure", "kubenet". Default value: "kubenet". + :type network_plugin: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPlugin + :param network_policy: Network policy used for building Kubernetes network. Possible values + include: "calico", "azure". + :type network_policy: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPolicy + :param network_mode: Network mode used for building Kubernetes network. Possible values + include: "transparent", "bridge". + :type network_mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkMode + :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. + :type pod_cidr: str + :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must + not overlap with any Subnet IP ranges. + :type service_cidr: str + :param dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within + the Kubernetes service address range specified in serviceCidr. + :type dns_service_ip: str + :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It + must not overlap with any Subnet IP ranges or the Kubernetes service address range. + :type docker_bridge_cidr: str + :param outbound_type: The outbound (egress) routing method. Possible values include: + "loadBalancer", "userDefinedRouting". Default value: "loadBalancer". + :type outbound_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OutboundType + :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values + include: "standard", "basic". + :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.LoadBalancerSku + :param load_balancer_profile: Profile of the cluster load balancer. + :type load_balancer_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfile + """ + + _validation = { + 'pod_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + 'service_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + 'dns_service_ip': {'pattern': r'^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'}, + 'docker_bridge_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + } + + _attribute_map = { + 'network_plugin': {'key': 'networkPlugin', 'type': 'str'}, + 'network_policy': {'key': 'networkPolicy', 'type': 'str'}, + 'network_mode': {'key': 'networkMode', 'type': 'str'}, + 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, + 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, + 'dns_service_ip': {'key': 'dnsServiceIP', 'type': 'str'}, + 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, + 'outbound_type': {'key': 'outboundType', 'type': 'str'}, + 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, + 'load_balancer_profile': {'key': 'loadBalancerProfile', 'type': 'ManagedClusterLoadBalancerProfile'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceNetworkProfile, self).__init__(**kwargs) + self.network_plugin = kwargs.get('network_plugin', "kubenet") + self.network_policy = kwargs.get('network_policy', None) + self.network_mode = kwargs.get('network_mode', None) + self.pod_cidr = kwargs.get('pod_cidr', "10.244.0.0/16") + self.service_cidr = kwargs.get('service_cidr', "10.0.0.0/16") + self.dns_service_ip = kwargs.get('dns_service_ip', "10.0.0.10") + self.docker_bridge_cidr = kwargs.get('docker_bridge_cidr', "172.17.0.1/16") + self.outbound_type = kwargs.get('outbound_type', "loadBalancer") + self.load_balancer_sku = kwargs.get('load_balancer_sku', None) + self.load_balancer_profile = kwargs.get('load_balancer_profile', None) + + +class ContainerServiceSshConfiguration(msrest.serialization.Model): + """SSH configuration for Linux-based VMs running on Azure. + + All required parameters must be populated in order to send to Azure. + + :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based + VMs. Only expect one key specified. + :type public_keys: + list[~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshPublicKey] + """ + + _validation = { + 'public_keys': {'required': True}, + } + + _attribute_map = { + 'public_keys': {'key': 'publicKeys', 'type': '[ContainerServiceSshPublicKey]'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceSshConfiguration, self).__init__(**kwargs) + self.public_keys = kwargs['public_keys'] + + +class ContainerServiceSshPublicKey(msrest.serialization.Model): + """Contains information about SSH certificate public key data. + + All required parameters must be populated in order to send to Azure. + + :param key_data: Required. Certificate public key used to authenticate with VMs through SSH. + The certificate must be in PEM format with or without headers. + :type key_data: str + """ + + _validation = { + 'key_data': {'required': True}, + } + + _attribute_map = { + 'key_data': {'key': 'keyData', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceSshPublicKey, self).__init__(**kwargs) + self.key_data = kwargs['key_data'] + + +class ContainerServiceVMDiagnostics(msrest.serialization.Model): + """Profile for diagnostics on the container service VMs. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the VM diagnostic agent is provisioned on the VM. + :type enabled: bool + :ivar storage_uri: The URI of the storage account where diagnostics are stored. + :vartype storage_uri: str + """ + + _validation = { + 'enabled': {'required': True}, + 'storage_uri': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'storage_uri': {'key': 'storageUri', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerServiceVMDiagnostics, self).__init__(**kwargs) + self.enabled = kwargs['enabled'] + self.storage_uri = None + + +class CredentialResult(msrest.serialization.Model): + """The credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the credential. + :vartype name: str + :ivar value: Base64-encoded Kubernetes configuration file. + :vartype value: bytearray + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'bytearray'}, + } + + def __init__( + self, + **kwargs + ): + super(CredentialResult, self).__init__(**kwargs) + self.name = None + self.value = None + + +class CredentialResults(msrest.serialization.Model): + """The list of credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. + :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_05_01.models.CredentialResult] + """ + + _validation = { + 'kubeconfigs': {'readonly': True}, + } + + _attribute_map = { + 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(CredentialResults, self).__init__(**kwargs) + self.kubeconfigs = None + + +class EndpointDependency(msrest.serialization.Model): + """A domain name that AKS agent nodes are reaching at. + + :param domain_name: The domain name of the dependency. + :type domain_name: str + :param endpoint_details: The Ports and Protocols used when connecting to domainName. + :type endpoint_details: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDetail] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointDependency, self).__init__(**kwargs) + self.domain_name = kwargs.get('domain_name', None) + self.endpoint_details = kwargs.get('endpoint_details', None) + + +class EndpointDetail(msrest.serialization.Model): + """connect information from the AKS agent nodes to a single endpoint. + + :param ip_address: An IP Address that Domain Name currently resolves to. + :type ip_address: str + :param port: The port an endpoint is connected to. + :type port: int + :param protocol: The protocol used for connection. + :type protocol: str + :param description: Description of the detail. + :type description: str + """ + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointDetail, self).__init__(**kwargs) + self.ip_address = kwargs.get('ip_address', None) + self.port = kwargs.get('port', None) + self.protocol = kwargs.get('protocol', None) + self.description = kwargs.get('description', None) + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocationTypes + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) + + +class KubeletConfig(msrest.serialization.Model): + """Kubelet configurations of agent nodes. + + :param cpu_manager_policy: CPU Manager policy to use. + :type cpu_manager_policy: str + :param cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits. + :type cpu_cfs_quota: bool + :param cpu_cfs_quota_period: Sets CPU CFS quota period value. + :type cpu_cfs_quota_period: str + :param image_gc_high_threshold: The percent of disk usage after which image garbage collection + is always run. + :type image_gc_high_threshold: int + :param image_gc_low_threshold: The percent of disk usage before which image garbage collection + is never run. + :type image_gc_low_threshold: int + :param topology_manager_policy: Topology Manager policy to use. + :type topology_manager_policy: str + :param allowed_unsafe_sysctls: Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in + ``*``\ ). + :type allowed_unsafe_sysctls: list[str] + :param fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled + on the node. + :type fail_swap_on: bool + :param container_log_max_size_mb: The maximum size (e.g. 10Mi) of container log file before it + is rotated. + :type container_log_max_size_mb: int + :param container_log_max_files: The maximum number of container log files that can be present + for a container. The number must be ≥ 2. + :type container_log_max_files: int + :param pod_max_pids: The maximum number of processes per pod. + :type pod_max_pids: int + """ + + _validation = { + 'container_log_max_files': {'minimum': 2}, + } + + _attribute_map = { + 'cpu_manager_policy': {'key': 'cpuManagerPolicy', 'type': 'str'}, + 'cpu_cfs_quota': {'key': 'cpuCfsQuota', 'type': 'bool'}, + 'cpu_cfs_quota_period': {'key': 'cpuCfsQuotaPeriod', 'type': 'str'}, + 'image_gc_high_threshold': {'key': 'imageGcHighThreshold', 'type': 'int'}, + 'image_gc_low_threshold': {'key': 'imageGcLowThreshold', 'type': 'int'}, + 'topology_manager_policy': {'key': 'topologyManagerPolicy', 'type': 'str'}, + 'allowed_unsafe_sysctls': {'key': 'allowedUnsafeSysctls', 'type': '[str]'}, + 'fail_swap_on': {'key': 'failSwapOn', 'type': 'bool'}, + 'container_log_max_size_mb': {'key': 'containerLogMaxSizeMB', 'type': 'int'}, + 'container_log_max_files': {'key': 'containerLogMaxFiles', 'type': 'int'}, + 'pod_max_pids': {'key': 'podMaxPids', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(KubeletConfig, self).__init__(**kwargs) + self.cpu_manager_policy = kwargs.get('cpu_manager_policy', None) + self.cpu_cfs_quota = kwargs.get('cpu_cfs_quota', None) + self.cpu_cfs_quota_period = kwargs.get('cpu_cfs_quota_period', None) + self.image_gc_high_threshold = kwargs.get('image_gc_high_threshold', None) + self.image_gc_low_threshold = kwargs.get('image_gc_low_threshold', None) + self.topology_manager_policy = kwargs.get('topology_manager_policy', None) + self.allowed_unsafe_sysctls = kwargs.get('allowed_unsafe_sysctls', None) + self.fail_swap_on = kwargs.get('fail_swap_on', None) + self.container_log_max_size_mb = kwargs.get('container_log_max_size_mb', None) + self.container_log_max_files = kwargs.get('container_log_max_files', None) + self.pod_max_pids = kwargs.get('pod_max_pids', None) + + +class LinuxOSConfig(msrest.serialization.Model): + """OS configurations of Linux agent nodes. + + :param sysctls: Sysctl settings for Linux agent nodes. + :type sysctls: ~azure.mgmt.containerservice.v2021_05_01.models.SysctlConfig + :param transparent_huge_page_enabled: Transparent Huge Page enabled configuration. + :type transparent_huge_page_enabled: str + :param transparent_huge_page_defrag: Transparent Huge Page defrag configuration. + :type transparent_huge_page_defrag: str + :param swap_file_size_mb: SwapFileSizeMB specifies size in MB of a swap file will be created on + each node. + :type swap_file_size_mb: int + """ + + _attribute_map = { + 'sysctls': {'key': 'sysctls', 'type': 'SysctlConfig'}, + 'transparent_huge_page_enabled': {'key': 'transparentHugePageEnabled', 'type': 'str'}, + 'transparent_huge_page_defrag': {'key': 'transparentHugePageDefrag', 'type': 'str'}, + 'swap_file_size_mb': {'key': 'swapFileSizeMB', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(LinuxOSConfig, self).__init__(**kwargs) + self.sysctls = kwargs.get('sysctls', None) + self.transparent_huge_page_enabled = kwargs.get('transparent_huge_page_enabled', None) + self.transparent_huge_page_defrag = kwargs.get('transparent_huge_page_defrag', None) + self.swap_file_size_mb = kwargs.get('swap_file_size_mb', None) + + +class MaintenanceConfiguration(SubResource): + """maintenance configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.containerservice.v2021_05_01.models.SystemData + :param time_in_week: Weekday time slots allowed to upgrade. + :type time_in_week: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeInWeek] + :param not_allowed_time: Time slots on which upgrade is not allowed. + :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeSpan] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'time_in_week': {'key': 'properties.timeInWeek', 'type': '[TimeInWeek]'}, + 'not_allowed_time': {'key': 'properties.notAllowedTime', 'type': '[TimeSpan]'}, + } + + def __init__( + self, + **kwargs + ): + super(MaintenanceConfiguration, self).__init__(**kwargs) + self.system_data = None + self.time_in_week = kwargs.get('time_in_week', None) + self.not_allowed_time = kwargs.get('not_allowed_time', None) + + +class MaintenanceConfigurationListResult(msrest.serialization.Model): + """The response from the List maintenance configurations operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of maintenance configurations. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration] + :ivar next_link: The URL to get the next set of maintenance configuration results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MaintenanceConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MaintenanceConfigurationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class Resource(msrest.serialization.Model): + """The Resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + + +class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): + """Managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param identity: The identity of the managed cluster, if configured. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Represents the Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar max_agent_pools: The max number of agent pools for the managed cluster. + :vartype max_agent_pools: int + :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :type kubernetes_version: str + :param dns_prefix: DNS prefix specified when creating the managed cluster. + :type dns_prefix: str + :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom + private dns zone. + :type fqdn_subdomain: str + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + :ivar private_fqdn: FQDN of private cluster. + :vartype private_fqdn: str + :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :vartype azure_portal_fqdn: str + :param agent_pool_profiles: Properties of the agent pool. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: Profile for Linux VMs in the container service cluster. + :type linux_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile + :param windows_profile: Profile for Windows VMs in the container service cluster. + :type windows_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + :param service_principal_profile: Information about a service principal identity for the + cluster to use for manipulating Azure APIs. + :type service_principal_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: Profile of managed cluster add-on. + :type addon_profiles: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: Profile of managed cluster pod identity. + :type pod_identity_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: Name of the resource group containing agent pool nodes. + :type node_resource_group: str + :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :type enable_rbac: bool + :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security + policy (preview). This feature is set for removal on October 15th, 2020. Learn more at + aka.ms/aks/azpodpolicy. + :type enable_pod_security_policy: bool + :param network_profile: Profile of network configuration. + :type network_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile + :param aad_profile: Profile of Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: Profile of auto upgrade configuration. + :type auto_upgrade_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. + :type auto_scaler_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: Access profile for managed cluster API server. + :type api_server_access_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling + encryption at rest. + :type disk_encryption_set_id: str + :param identity_profile: Identities associated with the cluster. + :type identity_profile: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + :param private_link_resources: Private link resources associated with the cluster. + :type private_link_resources: + list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credential will be disabled for + this cluster. Expected to only be used for AAD clusters. + :type disable_local_accounts: bool + :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :type http_proxy_config: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The managed cluster SKU. + :type sku: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKU + :param extended_location: The extended location of the Virtual Machine. + :type extended_location: ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocation + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'max_agent_pools': {'readonly': True}, + 'fqdn': {'readonly': True}, + 'private_fqdn': {'readonly': True}, + 'azure_portal_fqdn': {'readonly': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, + 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, + 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, + 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, + 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, + 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, + 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, + 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, + 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, + 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, + 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, + 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, + 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, + 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedCluster, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) + self.provisioning_state = None + self.power_state = None + self.max_agent_pools = None + self.kubernetes_version = kwargs.get('kubernetes_version', None) + self.dns_prefix = kwargs.get('dns_prefix', None) + self.fqdn_subdomain = kwargs.get('fqdn_subdomain', None) + self.fqdn = None + self.private_fqdn = None + self.azure_portal_fqdn = None + self.agent_pool_profiles = kwargs.get('agent_pool_profiles', None) + self.linux_profile = kwargs.get('linux_profile', None) + self.windows_profile = kwargs.get('windows_profile', None) + self.service_principal_profile = kwargs.get('service_principal_profile', None) + self.addon_profiles = kwargs.get('addon_profiles', None) + self.pod_identity_profile = kwargs.get('pod_identity_profile', None) + self.node_resource_group = kwargs.get('node_resource_group', None) + self.enable_rbac = kwargs.get('enable_rbac', None) + self.enable_pod_security_policy = kwargs.get('enable_pod_security_policy', None) + self.network_profile = kwargs.get('network_profile', None) + self.aad_profile = kwargs.get('aad_profile', None) + self.auto_upgrade_profile = kwargs.get('auto_upgrade_profile', None) + self.auto_scaler_profile = kwargs.get('auto_scaler_profile', None) + self.api_server_access_profile = kwargs.get('api_server_access_profile', None) + self.disk_encryption_set_id = kwargs.get('disk_encryption_set_id', None) + self.identity_profile = kwargs.get('identity_profile', None) + self.private_link_resources = kwargs.get('private_link_resources', None) + self.disable_local_accounts = kwargs.get('disable_local_accounts', None) + self.http_proxy_config = kwargs.get('http_proxy_config', None) + self.sku = kwargs.get('sku', None) + self.extended_location = kwargs.get('extended_location', None) + self.id = None + self.name = None + self.type = None + self.location = kwargs['location'] + self.tags = kwargs.get('tags', None) + self.sku = kwargs.get('sku', None) + self.extended_location = kwargs.get('extended_location', None) + + +class ManagedClusterAADProfile(msrest.serialization.Model): + """AADProfile specifies attributes for Azure Active Directory integration. + + :param managed: Whether to enable managed AAD. + :type managed: bool + :param enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. + :type enable_azure_rbac: bool + :param admin_group_object_i_ds: AAD group object IDs that will have admin role of the cluster. + :type admin_group_object_i_ds: list[str] + :param client_app_id: The client AAD application ID. + :type client_app_id: str + :param server_app_id: The server AAD application ID. + :type server_app_id: str + :param server_app_secret: The server AAD application secret. + :type server_app_secret: str + :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the + tenant of the deployment subscription. + :type tenant_id: str + """ + + _attribute_map = { + 'managed': {'key': 'managed', 'type': 'bool'}, + 'enable_azure_rbac': {'key': 'enableAzureRBAC', 'type': 'bool'}, + 'admin_group_object_i_ds': {'key': 'adminGroupObjectIDs', 'type': '[str]'}, + 'client_app_id': {'key': 'clientAppID', 'type': 'str'}, + 'server_app_id': {'key': 'serverAppID', 'type': 'str'}, + 'server_app_secret': {'key': 'serverAppSecret', 'type': 'str'}, + 'tenant_id': {'key': 'tenantID', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAADProfile, self).__init__(**kwargs) + self.managed = kwargs.get('managed', None) + self.enable_azure_rbac = kwargs.get('enable_azure_rbac', None) + self.admin_group_object_i_ds = kwargs.get('admin_group_object_i_ds', None) + self.client_app_id = kwargs.get('client_app_id', None) + self.server_app_id = kwargs.get('server_app_id', None) + self.server_app_secret = kwargs.get('server_app_secret', None) + self.tenant_id = kwargs.get('tenant_id', None) + + +class ManagedClusterAccessProfile(Resource): + """Managed cluster Access Profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param kube_config: Base64-encoded Kubernetes configuration file. + :type kube_config: bytearray + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'kube_config': {'key': 'properties.kubeConfig', 'type': 'bytearray'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAccessProfile, self).__init__(**kwargs) + self.kube_config = kwargs.get('kube_config', None) + + +class ManagedClusterAddonProfile(msrest.serialization.Model): + """A Kubernetes add-on profile for a managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the add-on is enabled or not. + :type enabled: bool + :param config: Key-value pairs for configuring an add-on. + :type config: dict[str, str] + :ivar identity: Information of user assigned identity used by this add-on. + :vartype identity: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfileIdentity + """ + + _validation = { + 'enabled': {'required': True}, + 'identity': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'config': {'key': 'config', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ManagedClusterAddonProfileIdentity'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAddonProfile, self).__init__(**kwargs) + self.enabled = kwargs['enabled'] + self.config = kwargs.get('config', None) + self.identity = None + + +class ManagedClusterAddonProfileIdentity(UserAssignedIdentity): + """Information of user assigned identity used by this add-on. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAddonProfileIdentity, self).__init__(**kwargs) + + +class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): + """Properties for the container service agent pool profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type: AgentPoolType represents types of an agent pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + """ + + _validation = { + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'maxPods', 'type': 'int'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'os_sku': {'key': 'osSKU', 'type': 'str'}, + 'max_count': {'key': 'maxCount', 'type': 'int'}, + 'min_count': {'key': 'minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'type': {'key': 'type', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'power_state': {'key': 'powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'node_labels': {'key': 'nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'gpuInstanceProfile', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAgentPoolProfileProperties, self).__init__(**kwargs) + self.count = kwargs.get('count', None) + self.vm_size = kwargs.get('vm_size', None) + self.os_disk_size_gb = kwargs.get('os_disk_size_gb', None) + self.os_disk_type = kwargs.get('os_disk_type', None) + self.kubelet_disk_type = kwargs.get('kubelet_disk_type', None) + self.vnet_subnet_id = kwargs.get('vnet_subnet_id', None) + self.pod_subnet_id = kwargs.get('pod_subnet_id', None) + self.max_pods = kwargs.get('max_pods', None) + self.os_type = kwargs.get('os_type', "Linux") + self.os_sku = kwargs.get('os_sku', None) + self.max_count = kwargs.get('max_count', None) + self.min_count = kwargs.get('min_count', None) + self.enable_auto_scaling = kwargs.get('enable_auto_scaling', None) + self.type = kwargs.get('type', None) + self.mode = kwargs.get('mode', None) + self.orchestrator_version = kwargs.get('orchestrator_version', None) + self.node_image_version = None + self.upgrade_settings = kwargs.get('upgrade_settings', None) + self.provisioning_state = None + self.power_state = None + self.availability_zones = kwargs.get('availability_zones', None) + self.enable_node_public_ip = kwargs.get('enable_node_public_ip', None) + self.node_public_ip_prefix_id = kwargs.get('node_public_ip_prefix_id', None) + self.scale_set_priority = kwargs.get('scale_set_priority', "Regular") + self.scale_set_eviction_policy = kwargs.get('scale_set_eviction_policy', "Delete") + self.spot_max_price = kwargs.get('spot_max_price', -1) + self.tags = kwargs.get('tags', None) + self.node_labels = kwargs.get('node_labels', None) + self.node_taints = kwargs.get('node_taints', None) + self.proximity_placement_group_id = kwargs.get('proximity_placement_group_id', None) + self.kubelet_config = kwargs.get('kubelet_config', None) + self.linux_os_config = kwargs.get('linux_os_config', None) + self.enable_encryption_at_host = kwargs.get('enable_encryption_at_host', None) + self.enable_ultra_ssd = kwargs.get('enable_ultra_ssd', None) + self.enable_fips = kwargs.get('enable_fips', None) + self.gpu_instance_profile = kwargs.get('gpu_instance_profile', None) + + +class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): + """Profile for the container service agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type: AgentPoolType represents types of an agent pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + :param name: Required. Unique name of the agent pool profile in the context of the subscription + and resource group. + :type name: str + """ + + _validation = { + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'maxPods', 'type': 'int'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'os_sku': {'key': 'osSKU', 'type': 'str'}, + 'max_count': {'key': 'maxCount', 'type': 'int'}, + 'min_count': {'key': 'minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'type': {'key': 'type', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'power_state': {'key': 'powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'node_labels': {'key': 'nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'gpuInstanceProfile', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAgentPoolProfile, self).__init__(**kwargs) + self.name = kwargs['name'] + + +class ManagedClusterAPIServerAccessProfile(msrest.serialization.Model): + """Access profile for managed cluster API server. + + :param authorized_ip_ranges: Authorized IP Ranges to kubernetes API server. + :type authorized_ip_ranges: list[str] + :param enable_private_cluster: Whether to create the cluster as a private cluster or not. + :type enable_private_cluster: bool + :param private_dns_zone: Private dns zone mode for private cluster. + :type private_dns_zone: str + :param enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private + cluster or not. + :type enable_private_cluster_public_fqdn: bool + """ + + _attribute_map = { + 'authorized_ip_ranges': {'key': 'authorizedIPRanges', 'type': '[str]'}, + 'enable_private_cluster': {'key': 'enablePrivateCluster', 'type': 'bool'}, + 'private_dns_zone': {'key': 'privateDNSZone', 'type': 'str'}, + 'enable_private_cluster_public_fqdn': {'key': 'enablePrivateClusterPublicFQDN', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAPIServerAccessProfile, self).__init__(**kwargs) + self.authorized_ip_ranges = kwargs.get('authorized_ip_ranges', None) + self.enable_private_cluster = kwargs.get('enable_private_cluster', None) + self.private_dns_zone = kwargs.get('private_dns_zone', None) + self.enable_private_cluster_public_fqdn = kwargs.get('enable_private_cluster_public_fqdn', None) + + +class ManagedClusterAutoUpgradeProfile(msrest.serialization.Model): + """Auto upgrade profile for a managed cluster. + + :param upgrade_channel: upgrade channel for auto upgrade. Possible values include: "rapid", + "stable", "patch", "node-image", "none". + :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_05_01.models.UpgradeChannel + """ + + _attribute_map = { + 'upgrade_channel': {'key': 'upgradeChannel', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterAutoUpgradeProfile, self).__init__(**kwargs) + self.upgrade_channel = kwargs.get('upgrade_channel', None) + + +class ManagedClusterHTTPProxyConfig(msrest.serialization.Model): + """Configurations for provisioning the cluster with HTTP proxy servers. + + :param http_proxy: HTTP proxy server endpoint to use. + :type http_proxy: str + :param https_proxy: HTTPS proxy server endpoint to use. + :type https_proxy: str + :param no_proxy: Endpoints that should not go through proxy. + :type no_proxy: list[str] + :param trusted_ca: Alternative CA cert to use for connecting to proxy servers. + :type trusted_ca: str + """ + + _attribute_map = { + 'http_proxy': {'key': 'httpProxy', 'type': 'str'}, + 'https_proxy': {'key': 'httpsProxy', 'type': 'str'}, + 'no_proxy': {'key': 'noProxy', 'type': '[str]'}, + 'trusted_ca': {'key': 'trustedCa', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterHTTPProxyConfig, self).__init__(**kwargs) + self.http_proxy = kwargs.get('http_proxy', None) + self.https_proxy = kwargs.get('https_proxy', None) + self.no_proxy = kwargs.get('no_proxy', None) + self.trusted_ca = kwargs.get('trusted_ca', None) + + +class ManagedClusterIdentity(msrest.serialization.Model): + """Identity for the managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of the system assigned identity which is used by master + components. + :vartype principal_id: str + :ivar tenant_id: The tenant id of the system assigned identity which is used by master + components. + :vartype tenant_id: str + :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use + an implicitly created identity in master components and an auto-created user assigned identity + in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, + service principal will be used instead. Possible values include: "SystemAssigned", + "UserAssigned", "None". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ResourceIdentityType + :param user_assigned_identities: The user identity associated with the managed cluster. This + identity will be used in control plane and only one user assigned identity is allowed. The user + identity dictionary key references will be ARM resource ids in the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + :type user_assigned_identities: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties] + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterIdentity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = kwargs.get('type', None) + self.user_assigned_identities = kwargs.get('user_assigned_identities', None) + + +class ManagedClusterListResult(msrest.serialization.Model): + """The response from the List Managed Clusters operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of managed clusters. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :ivar next_link: The URL to get the next set of managed cluster results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ManagedCluster]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ManagedClusterLoadBalancerProfile(msrest.serialization.Model): + """Profile of the managed cluster load balancer. + + :param managed_outbound_i_ps: Desired managed outbound IPs for the cluster load balancer. + :type managed_outbound_i_ps: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs + :param outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load + balancer. + :type outbound_ip_prefixes: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes + :param outbound_i_ps: Desired outbound IP resources for the cluster load balancer. + :type outbound_i_ps: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPs + :param effective_outbound_i_ps: The effective outbound IP resources of the cluster load + balancer. + :type effective_outbound_i_ps: + list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + :param allocated_outbound_ports: Desired number of allocated SNAT ports per VM. Allowed values + must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure + dynamically allocating ports. + :type allocated_outbound_ports: int + :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values + must be in the range of 4 to 120 (inclusive). The default value is 30 minutes. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'allocated_outbound_ports': {'maximum': 64000, 'minimum': 0}, + 'idle_timeout_in_minutes': {'maximum': 120, 'minimum': 4}, + } + + _attribute_map = { + 'managed_outbound_i_ps': {'key': 'managedOutboundIPs', 'type': 'ManagedClusterLoadBalancerProfileManagedOutboundIPs'}, + 'outbound_ip_prefixes': {'key': 'outboundIPPrefixes', 'type': 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes'}, + 'outbound_i_ps': {'key': 'outboundIPs', 'type': 'ManagedClusterLoadBalancerProfileOutboundIPs'}, + 'effective_outbound_i_ps': {'key': 'effectiveOutboundIPs', 'type': '[ResourceReference]'}, + 'allocated_outbound_ports': {'key': 'allocatedOutboundPorts', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterLoadBalancerProfile, self).__init__(**kwargs) + self.managed_outbound_i_ps = kwargs.get('managed_outbound_i_ps', None) + self.outbound_ip_prefixes = kwargs.get('outbound_ip_prefixes', None) + self.outbound_i_ps = kwargs.get('outbound_i_ps', None) + self.effective_outbound_i_ps = kwargs.get('effective_outbound_i_ps', None) + self.allocated_outbound_ports = kwargs.get('allocated_outbound_ports', 0) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', 30) + + +class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.Model): + """Desired managed outbound IPs for the cluster load balancer. + + :param count: Desired number of outbound IP created/managed by Azure for the cluster load + balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + :type count: int + """ + + _validation = { + 'count': {'maximum': 100, 'minimum': 1}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs) + self.count = kwargs.get('count', 1) + + +class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model): + """Desired outbound IP Prefix resources for the cluster load balancer. + + :param public_ip_prefixes: A list of public IP prefix resources. + :type public_ip_prefixes: + list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + """ + + _attribute_map = { + 'public_ip_prefixes': {'key': 'publicIPPrefixes', 'type': '[ResourceReference]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileOutboundIPPrefixes, self).__init__(**kwargs) + self.public_ip_prefixes = kwargs.get('public_ip_prefixes', None) + + +class ManagedClusterLoadBalancerProfileOutboundIPs(msrest.serialization.Model): + """Desired outbound IP resources for the cluster load balancer. + + :param public_i_ps: A list of public IP resources. + :type public_i_ps: list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + """ + + _attribute_map = { + 'public_i_ps': {'key': 'publicIPs', 'type': '[ResourceReference]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileOutboundIPs, self).__init__(**kwargs) + self.public_i_ps = kwargs.get('public_i_ps', None) + + +class ManagedClusterPodIdentity(msrest.serialization.Model): + """ManagedClusterPodIdentity. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the pod identity. + :type name: str + :param namespace: Required. Namespace of the pod identity. + :type namespace: str + :param binding_selector: Binding selector to use for the AzureIdentityBinding resource. + :type binding_selector: str + :param identity: Required. Information of the user assigned identity. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.UserAssignedIdentity + :ivar provisioning_state: The current provisioning state of the pod identity. Possible values + include: "Assigned", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningState + :ivar provisioning_info: + :vartype provisioning_info: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningInfo + """ + + _validation = { + 'name': {'required': True}, + 'namespace': {'required': True}, + 'identity': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'provisioning_info': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'binding_selector': {'key': 'bindingSelector', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'UserAssignedIdentity'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'provisioning_info': {'key': 'provisioningInfo', 'type': 'ManagedClusterPodIdentityProvisioningInfo'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentity, self).__init__(**kwargs) + self.name = kwargs['name'] + self.namespace = kwargs['namespace'] + self.binding_selector = kwargs.get('binding_selector', None) + self.identity = kwargs['identity'] + self.provisioning_state = None + self.provisioning_info = None + + +class ManagedClusterPodIdentityException(msrest.serialization.Model): + """ManagedClusterPodIdentityException. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the pod identity exception. + :type name: str + :param namespace: Required. Namespace of the pod identity exception. + :type namespace: str + :param pod_labels: Required. Pod labels to match. + :type pod_labels: dict[str, str] + """ + + _validation = { + 'name': {'required': True}, + 'namespace': {'required': True}, + 'pod_labels': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'pod_labels': {'key': 'podLabels', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentityException, self).__init__(**kwargs) + self.name = kwargs['name'] + self.namespace = kwargs['namespace'] + self.pod_labels = kwargs['pod_labels'] + + +class ManagedClusterPodIdentityProfile(msrest.serialization.Model): + """ManagedClusterPodIdentityProfile. + + :param enabled: Whether the pod identity addon is enabled. + :type enabled: bool + :param allow_network_plugin_kubenet: Customer consent for enabling AAD pod identity addon in + cluster using Kubenet network plugin. + :type allow_network_plugin_kubenet: bool + :param user_assigned_identities: User assigned pod identity settings. + :type user_assigned_identities: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentity] + :param user_assigned_identity_exceptions: User assigned pod identity exception settings. + :type user_assigned_identity_exceptions: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityException] + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'allow_network_plugin_kubenet': {'key': 'allowNetworkPluginKubenet', 'type': 'bool'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '[ManagedClusterPodIdentity]'}, + 'user_assigned_identity_exceptions': {'key': 'userAssignedIdentityExceptions', 'type': '[ManagedClusterPodIdentityException]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentityProfile, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.allow_network_plugin_kubenet = kwargs.get('allow_network_plugin_kubenet', None) + self.user_assigned_identities = kwargs.get('user_assigned_identities', None) + self.user_assigned_identity_exceptions = kwargs.get('user_assigned_identity_exceptions', None) + + +class ManagedClusterPodIdentityProvisioningInfo(msrest.serialization.Model): + """ManagedClusterPodIdentityProvisioningInfo. + + :param error: Pod identity assignment error (if any). + :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudError + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'CloudError'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningInfo, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): + """The list of available upgrade versions. + + All required parameters must be populated in order to send to Azure. + + :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param name: Pool name. + :type name: str + :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. + Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param upgrades: List of orchestrator types and versions available for upgrade. + :type upgrades: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + """ + + _validation = { + 'kubernetes_version': {'required': True}, + 'os_type': {'required': True}, + } + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'upgrades': {'key': 'upgrades', 'type': '[ManagedClusterPoolUpgradeProfileUpgradesItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPoolUpgradeProfile, self).__init__(**kwargs) + self.kubernetes_version = kwargs['kubernetes_version'] + self.name = kwargs.get('name', None) + self.os_type = kwargs.get('os_type', "Linux") + self.upgrades = kwargs.get('upgrades', None) + + +class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): + """ManagedClusterPoolUpgradeProfileUpgradesItem. + + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPoolUpgradeProfileUpgradesItem, self).__init__(**kwargs) + self.kubernetes_version = kwargs.get('kubernetes_version', None) + self.is_preview = kwargs.get('is_preview', None) + + +class ManagedClusterPropertiesAutoScalerProfile(msrest.serialization.Model): + """Parameters to be applied to the cluster-autoscaler when enabled. + + :param balance_similar_node_groups: + :type balance_similar_node_groups: str + :param expander: Possible values include: "least-waste", "most-pods", "priority", "random". + :type expander: str or ~azure.mgmt.containerservice.v2021_05_01.models.Expander + :param max_empty_bulk_delete: + :type max_empty_bulk_delete: str + :param max_graceful_termination_sec: + :type max_graceful_termination_sec: str + :param max_node_provision_time: + :type max_node_provision_time: str + :param max_total_unready_percentage: + :type max_total_unready_percentage: str + :param new_pod_scale_up_delay: + :type new_pod_scale_up_delay: str + :param ok_total_unready_count: + :type ok_total_unready_count: str + :param scan_interval: + :type scan_interval: str + :param scale_down_delay_after_add: + :type scale_down_delay_after_add: str + :param scale_down_delay_after_delete: + :type scale_down_delay_after_delete: str + :param scale_down_delay_after_failure: + :type scale_down_delay_after_failure: str + :param scale_down_unneeded_time: + :type scale_down_unneeded_time: str + :param scale_down_unready_time: + :type scale_down_unready_time: str + :param scale_down_utilization_threshold: + :type scale_down_utilization_threshold: str + :param skip_nodes_with_local_storage: + :type skip_nodes_with_local_storage: str + :param skip_nodes_with_system_pods: + :type skip_nodes_with_system_pods: str + """ + + _attribute_map = { + 'balance_similar_node_groups': {'key': 'balance-similar-node-groups', 'type': 'str'}, + 'expander': {'key': 'expander', 'type': 'str'}, + 'max_empty_bulk_delete': {'key': 'max-empty-bulk-delete', 'type': 'str'}, + 'max_graceful_termination_sec': {'key': 'max-graceful-termination-sec', 'type': 'str'}, + 'max_node_provision_time': {'key': 'max-node-provision-time', 'type': 'str'}, + 'max_total_unready_percentage': {'key': 'max-total-unready-percentage', 'type': 'str'}, + 'new_pod_scale_up_delay': {'key': 'new-pod-scale-up-delay', 'type': 'str'}, + 'ok_total_unready_count': {'key': 'ok-total-unready-count', 'type': 'str'}, + 'scan_interval': {'key': 'scan-interval', 'type': 'str'}, + 'scale_down_delay_after_add': {'key': 'scale-down-delay-after-add', 'type': 'str'}, + 'scale_down_delay_after_delete': {'key': 'scale-down-delay-after-delete', 'type': 'str'}, + 'scale_down_delay_after_failure': {'key': 'scale-down-delay-after-failure', 'type': 'str'}, + 'scale_down_unneeded_time': {'key': 'scale-down-unneeded-time', 'type': 'str'}, + 'scale_down_unready_time': {'key': 'scale-down-unready-time', 'type': 'str'}, + 'scale_down_utilization_threshold': {'key': 'scale-down-utilization-threshold', 'type': 'str'}, + 'skip_nodes_with_local_storage': {'key': 'skip-nodes-with-local-storage', 'type': 'str'}, + 'skip_nodes_with_system_pods': {'key': 'skip-nodes-with-system-pods', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterPropertiesAutoScalerProfile, self).__init__(**kwargs) + self.balance_similar_node_groups = kwargs.get('balance_similar_node_groups', None) + self.expander = kwargs.get('expander', None) + self.max_empty_bulk_delete = kwargs.get('max_empty_bulk_delete', None) + self.max_graceful_termination_sec = kwargs.get('max_graceful_termination_sec', None) + self.max_node_provision_time = kwargs.get('max_node_provision_time', None) + self.max_total_unready_percentage = kwargs.get('max_total_unready_percentage', None) + self.new_pod_scale_up_delay = kwargs.get('new_pod_scale_up_delay', None) + self.ok_total_unready_count = kwargs.get('ok_total_unready_count', None) + self.scan_interval = kwargs.get('scan_interval', None) + self.scale_down_delay_after_add = kwargs.get('scale_down_delay_after_add', None) + self.scale_down_delay_after_delete = kwargs.get('scale_down_delay_after_delete', None) + self.scale_down_delay_after_failure = kwargs.get('scale_down_delay_after_failure', None) + self.scale_down_unneeded_time = kwargs.get('scale_down_unneeded_time', None) + self.scale_down_unready_time = kwargs.get('scale_down_unready_time', None) + self.scale_down_utilization_threshold = kwargs.get('scale_down_utilization_threshold', None) + self.skip_nodes_with_local_storage = kwargs.get('skip_nodes_with_local_storage', None) + self.skip_nodes_with_system_pods = kwargs.get('skip_nodes_with_system_pods', None) + + +class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): + """Information about a service principal identity for the cluster to use for manipulating Azure APIs. + + All required parameters must be populated in order to send to Azure. + + :param client_id: Required. The ID for the service principal. + :type client_id: str + :param secret: The secret password associated with the service principal in plain text. + :type secret: str + """ + + _validation = { + 'client_id': {'required': True}, + } + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'secret': {'key': 'secret', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterServicePrincipalProfile, self).__init__(**kwargs) + self.client_id = kwargs['client_id'] + self.secret = kwargs.get('secret', None) + + +class ManagedClusterSKU(msrest.serialization.Model): + """ManagedClusterSKU. + + :param name: Name of a managed cluster SKU. Possible values include: "Basic". + :type name: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUName + :param tier: Tier of a managed cluster SKU. Possible values include: "Paid", "Free". + :type tier: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterSKU, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class ManagedClusterUpgradeProfile(msrest.serialization.Model): + """The list of available upgrades for compute pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of upgrade profile. + :vartype id: str + :ivar name: Name of upgrade profile. + :vartype name: str + :ivar type: Type of upgrade profile. + :vartype type: str + :param control_plane_profile: Required. The list of available upgrade versions for the control + plane. + :type control_plane_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile + :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'control_plane_profile': {'required': True}, + 'agent_pool_profiles': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'control_plane_profile': {'key': 'properties.controlPlaneProfile', 'type': 'ManagedClusterPoolUpgradeProfile'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterPoolUpgradeProfile]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterUpgradeProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.control_plane_profile = kwargs['control_plane_profile'] + self.agent_pool_profiles = kwargs['agent_pool_profiles'] + + +class ManagedClusterWindowsProfile(msrest.serialization.Model): + """Profile for Windows VMs in the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param admin_username: Required. Specifies the name of the administrator account. + :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` + **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", + "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", + "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", + "sys", "test2", "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length:** 1 + character :code:`
`:code:`
` **Max-length:** 20 characters. + :type admin_username: str + :param admin_password: Specifies the password of the administrator account. + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper + characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) + :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", + "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". + :type admin_password: str + :param license_type: The licenseType to use for Windows VMs. Windows_Server is used to enable + Azure Hybrid User Benefits for Windows VMs. Possible values include: "None", "Windows_Server". + :type license_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.LicenseType + :param enable_csi_proxy: Whether to enable CSI proxy. + :type enable_csi_proxy: bool + """ + + _validation = { + 'admin_username': {'required': True}, + } + + _attribute_map = { + 'admin_username': {'key': 'adminUsername', 'type': 'str'}, + 'admin_password': {'key': 'adminPassword', 'type': 'str'}, + 'license_type': {'key': 'licenseType', 'type': 'str'}, + 'enable_csi_proxy': {'key': 'enableCSIProxy', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedClusterWindowsProfile, self).__init__(**kwargs) + self.admin_username = kwargs['admin_username'] + self.admin_password = kwargs.get('admin_password', None) + self.license_type = kwargs.get('license_type', None) + self.enable_csi_proxy = kwargs.get('enable_csi_proxy', None) + + +class OperationListResult(msrest.serialization.Model): + """The List Compute Operation operation response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of compute operations. + :vartype value: list[~azure.mgmt.containerservice.v2021_05_01.models.OperationValue] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OperationValue]'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = None + + +class OperationValue(msrest.serialization.Model): + """Describes the properties of a Compute Operation value. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar origin: The origin of the compute operation. + :vartype origin: str + :ivar name: The name of the compute operation. + :vartype name: str + :ivar operation: The display name of the compute operation. + :vartype operation: str + :ivar resource: The display name of the resource the operation applies to. + :vartype resource: str + :ivar description: The description of the operation. + :vartype description: str + :ivar provider: The resource provider for the operation. + :vartype provider: str + """ + + _validation = { + 'origin': {'readonly': True}, + 'name': {'readonly': True}, + 'operation': {'readonly': True}, + 'resource': {'readonly': True}, + 'description': {'readonly': True}, + 'provider': {'readonly': True}, + } + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'operation': {'key': 'display.operation', 'type': 'str'}, + 'resource': {'key': 'display.resource', 'type': 'str'}, + 'description': {'key': 'display.description', 'type': 'str'}, + 'provider': {'key': 'display.provider', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationValue, self).__init__(**kwargs) + self.origin = None + self.name = None + self.operation = None + self.resource = None + self.description = None + self.provider = None + + +class OSOptionProfile(msrest.serialization.Model): + """The OS option profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the OS option profile. + :vartype id: str + :ivar name: Name of the OS option profile. + :vartype name: str + :ivar type: Type of the OS option profile. + :vartype type: str + :param os_option_property_list: Required. The list of OS option properties. + :type os_option_property_list: + list[~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProperty] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'os_option_property_list': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'os_option_property_list': {'key': 'properties.osOptionPropertyList', 'type': '[OSOptionProperty]'}, + } + + def __init__( + self, + **kwargs + ): + super(OSOptionProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.os_option_property_list = kwargs['os_option_property_list'] + + +class OSOptionProperty(msrest.serialization.Model): + """OS option property. + + All required parameters must be populated in order to send to Azure. + + :param os_type: Required. OS type. + :type os_type: str + :param enable_fips_image: Required. Whether FIPS image is enabled. + :type enable_fips_image: bool + """ + + _validation = { + 'os_type': {'required': True}, + 'enable_fips_image': {'required': True}, + } + + _attribute_map = { + 'os_type': {'key': 'os-type', 'type': 'str'}, + 'enable_fips_image': {'key': 'enable-fips-image', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(OSOptionProperty, self).__init__(**kwargs) + self.os_type = kwargs['os_type'] + self.enable_fips_image = kwargs['enable_fips_image'] + + +class OutboundEnvironmentEndpoint(msrest.serialization.Model): + """Egress endpoints which AKS agent nodes connect to for common purpose. + + :param category: The category of endpoints accessed by the AKS agent node, e.g. + azure-resource-management, apiserver, etc. + :type category: str + :param endpoints: The endpoints that AKS agent nodes connect to. + :type endpoints: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDependency] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, + } + + def __init__( + self, + **kwargs + ): + super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) + self.category = kwargs.get('category', None) + self.endpoints = kwargs.get('endpoints', None) + + +class OutboundEnvironmentEndpointCollection(msrest.serialization.Model): + """Collection of OutboundEnvironmentEndpoint. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpoint] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundEnvironmentEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OutboundEnvironmentEndpointCollection, self).__init__(**kwargs) + self.value = kwargs['value'] + self.next_link = None + + +class PowerState(msrest.serialization.Model): + """Describes the Power State of the cluster. + + :param code: Tells whether the cluster is Running or Stopped. Possible values include: + "Running", "Stopped". + :type code: str or ~azure.mgmt.containerservice.v2021_05_01.models.Code + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PowerState, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + + +class PrivateEndpoint(msrest.serialization.Model): + """Private endpoint which a connection belongs to. + + :param id: The resource Id for private endpoint. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpoint, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class PrivateEndpointConnection(msrest.serialization.Model): + """A private endpoint connection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The ID of the private endpoint connection. + :vartype id: str + :ivar name: The name of the private endpoint connection. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar provisioning_state: The current provisioning state. Possible values include: "Succeeded", + "Creating", "Deleting", "Failed". + :vartype provisioning_state: str or + ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionProvisioningState + :param private_endpoint: The resource of private endpoint. + :type private_endpoint: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkServiceConnectionState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpointConnection, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.provisioning_state = None + self.private_endpoint = kwargs.get('private_endpoint', None) + self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) + + +class PrivateEndpointConnectionListResult(msrest.serialization.Model): + """A list of private endpoint connections. + + :param value: The collection value. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class PrivateLinkResource(msrest.serialization.Model): + """A private link resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: The ID of the private link resource. + :type id: str + :param name: The name of the private link resource. + :type name: str + :param type: The resource type. + :type type: str + :param group_id: The group ID of the resource. + :type group_id: str + :param required_members: RequiredMembers of the resource. + :type required_members: list[str] + :ivar private_link_service_id: The private link service ID of the resource, this field is + exposed only to NRP internally. + :vartype private_link_service_id: str + """ + + _validation = { + 'private_link_service_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'group_id': {'key': 'groupId', 'type': 'str'}, + 'required_members': {'key': 'requiredMembers', 'type': '[str]'}, + 'private_link_service_id': {'key': 'privateLinkServiceID', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkResource, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) + self.group_id = kwargs.get('group_id', None) + self.required_members = kwargs.get('required_members', None) + self.private_link_service_id = None + + +class PrivateLinkResourcesListResult(msrest.serialization.Model): + """A list of private link resources. + + :param value: The collection value. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateLinkResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkResourcesListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class PrivateLinkServiceConnectionState(msrest.serialization.Model): + """The state of a private link service connection. + + :param status: The private link service connection status. Possible values include: "Pending", + "Approved", "Rejected", "Disconnected". + :type status: str or ~azure.mgmt.containerservice.v2021_05_01.models.ConnectionStatus + :param description: The private link service connection description. + :type description: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.description = kwargs.get('description', None) + + +class ResourceReference(msrest.serialization.Model): + """A reference to an Azure resource. + + :param id: The fully qualified Azure resource id. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceReference, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class RunCommandRequest(msrest.serialization.Model): + """run command request. + + All required parameters must be populated in order to send to Azure. + + :param command: Required. command to run. + :type command: str + :param context: base64 encoded zip file, contains files required by the command. + :type context: str + :param cluster_token: AuthToken issued for AKS AAD Server App. + :type cluster_token: str + """ + + _validation = { + 'command': {'required': True}, + } + + _attribute_map = { + 'command': {'key': 'command', 'type': 'str'}, + 'context': {'key': 'context', 'type': 'str'}, + 'cluster_token': {'key': 'clusterToken', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RunCommandRequest, self).__init__(**kwargs) + self.command = kwargs['command'] + self.context = kwargs.get('context', None) + self.cluster_token = kwargs.get('cluster_token', None) + + +class RunCommandResult(msrest.serialization.Model): + """run command result. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: command id. + :vartype id: str + :ivar provisioning_state: provisioning State. + :vartype provisioning_state: str + :ivar exit_code: exit code of the command. + :vartype exit_code: int + :ivar started_at: time when the command started. + :vartype started_at: ~datetime.datetime + :ivar finished_at: time when the command finished. + :vartype finished_at: ~datetime.datetime + :ivar logs: command output. + :vartype logs: str + :ivar reason: explain why provisioningState is set to failed (if so). + :vartype reason: str + """ + + _validation = { + 'id': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'exit_code': {'readonly': True}, + 'started_at': {'readonly': True}, + 'finished_at': {'readonly': True}, + 'logs': {'readonly': True}, + 'reason': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'exit_code': {'key': 'properties.exitCode', 'type': 'int'}, + 'started_at': {'key': 'properties.startedAt', 'type': 'iso-8601'}, + 'finished_at': {'key': 'properties.finishedAt', 'type': 'iso-8601'}, + 'logs': {'key': 'properties.logs', 'type': 'str'}, + 'reason': {'key': 'properties.reason', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RunCommandResult, self).__init__(**kwargs) + self.id = None + self.provisioning_state = None + self.exit_code = None + self.started_at = None + self.finished_at = None + self.logs = None + self.reason = None + + +class SysctlConfig(msrest.serialization.Model): + """Sysctl settings for Linux agent nodes. + + :param net_core_somaxconn: Sysctl setting net.core.somaxconn. + :type net_core_somaxconn: int + :param net_core_netdev_max_backlog: Sysctl setting net.core.netdev_max_backlog. + :type net_core_netdev_max_backlog: int + :param net_core_rmem_default: Sysctl setting net.core.rmem_default. + :type net_core_rmem_default: int + :param net_core_rmem_max: Sysctl setting net.core.rmem_max. + :type net_core_rmem_max: int + :param net_core_wmem_default: Sysctl setting net.core.wmem_default. + :type net_core_wmem_default: int + :param net_core_wmem_max: Sysctl setting net.core.wmem_max. + :type net_core_wmem_max: int + :param net_core_optmem_max: Sysctl setting net.core.optmem_max. + :type net_core_optmem_max: int + :param net_ipv4_tcp_max_syn_backlog: Sysctl setting net.ipv4.tcp_max_syn_backlog. + :type net_ipv4_tcp_max_syn_backlog: int + :param net_ipv4_tcp_max_tw_buckets: Sysctl setting net.ipv4.tcp_max_tw_buckets. + :type net_ipv4_tcp_max_tw_buckets: int + :param net_ipv4_tcp_fin_timeout: Sysctl setting net.ipv4.tcp_fin_timeout. + :type net_ipv4_tcp_fin_timeout: int + :param net_ipv4_tcp_keepalive_time: Sysctl setting net.ipv4.tcp_keepalive_time. + :type net_ipv4_tcp_keepalive_time: int + :param net_ipv4_tcp_keepalive_probes: Sysctl setting net.ipv4.tcp_keepalive_probes. + :type net_ipv4_tcp_keepalive_probes: int + :param net_ipv4_tcpkeepalive_intvl: Sysctl setting net.ipv4.tcp_keepalive_intvl. + :type net_ipv4_tcpkeepalive_intvl: int + :param net_ipv4_tcp_tw_reuse: Sysctl setting net.ipv4.tcp_tw_reuse. + :type net_ipv4_tcp_tw_reuse: bool + :param net_ipv4_ip_local_port_range: Sysctl setting net.ipv4.ip_local_port_range. + :type net_ipv4_ip_local_port_range: str + :param net_ipv4_neigh_default_gc_thresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1. + :type net_ipv4_neigh_default_gc_thresh1: int + :param net_ipv4_neigh_default_gc_thresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2. + :type net_ipv4_neigh_default_gc_thresh2: int + :param net_ipv4_neigh_default_gc_thresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3. + :type net_ipv4_neigh_default_gc_thresh3: int + :param net_netfilter_nf_conntrack_max: Sysctl setting net.netfilter.nf_conntrack_max. + :type net_netfilter_nf_conntrack_max: int + :param net_netfilter_nf_conntrack_buckets: Sysctl setting net.netfilter.nf_conntrack_buckets. + :type net_netfilter_nf_conntrack_buckets: int + :param fs_inotify_max_user_watches: Sysctl setting fs.inotify.max_user_watches. + :type fs_inotify_max_user_watches: int + :param fs_file_max: Sysctl setting fs.file-max. + :type fs_file_max: int + :param fs_aio_max_nr: Sysctl setting fs.aio-max-nr. + :type fs_aio_max_nr: int + :param fs_nr_open: Sysctl setting fs.nr_open. + :type fs_nr_open: int + :param kernel_threads_max: Sysctl setting kernel.threads-max. + :type kernel_threads_max: int + :param vm_max_map_count: Sysctl setting vm.max_map_count. + :type vm_max_map_count: int + :param vm_swappiness: Sysctl setting vm.swappiness. + :type vm_swappiness: int + :param vm_vfs_cache_pressure: Sysctl setting vm.vfs_cache_pressure. + :type vm_vfs_cache_pressure: int + """ + + _attribute_map = { + 'net_core_somaxconn': {'key': 'netCoreSomaxconn', 'type': 'int'}, + 'net_core_netdev_max_backlog': {'key': 'netCoreNetdevMaxBacklog', 'type': 'int'}, + 'net_core_rmem_default': {'key': 'netCoreRmemDefault', 'type': 'int'}, + 'net_core_rmem_max': {'key': 'netCoreRmemMax', 'type': 'int'}, + 'net_core_wmem_default': {'key': 'netCoreWmemDefault', 'type': 'int'}, + 'net_core_wmem_max': {'key': 'netCoreWmemMax', 'type': 'int'}, + 'net_core_optmem_max': {'key': 'netCoreOptmemMax', 'type': 'int'}, + 'net_ipv4_tcp_max_syn_backlog': {'key': 'netIpv4TcpMaxSynBacklog', 'type': 'int'}, + 'net_ipv4_tcp_max_tw_buckets': {'key': 'netIpv4TcpMaxTwBuckets', 'type': 'int'}, + 'net_ipv4_tcp_fin_timeout': {'key': 'netIpv4TcpFinTimeout', 'type': 'int'}, + 'net_ipv4_tcp_keepalive_time': {'key': 'netIpv4TcpKeepaliveTime', 'type': 'int'}, + 'net_ipv4_tcp_keepalive_probes': {'key': 'netIpv4TcpKeepaliveProbes', 'type': 'int'}, + 'net_ipv4_tcpkeepalive_intvl': {'key': 'netIpv4TcpkeepaliveIntvl', 'type': 'int'}, + 'net_ipv4_tcp_tw_reuse': {'key': 'netIpv4TcpTwReuse', 'type': 'bool'}, + 'net_ipv4_ip_local_port_range': {'key': 'netIpv4IpLocalPortRange', 'type': 'str'}, + 'net_ipv4_neigh_default_gc_thresh1': {'key': 'netIpv4NeighDefaultGcThresh1', 'type': 'int'}, + 'net_ipv4_neigh_default_gc_thresh2': {'key': 'netIpv4NeighDefaultGcThresh2', 'type': 'int'}, + 'net_ipv4_neigh_default_gc_thresh3': {'key': 'netIpv4NeighDefaultGcThresh3', 'type': 'int'}, + 'net_netfilter_nf_conntrack_max': {'key': 'netNetfilterNfConntrackMax', 'type': 'int'}, + 'net_netfilter_nf_conntrack_buckets': {'key': 'netNetfilterNfConntrackBuckets', 'type': 'int'}, + 'fs_inotify_max_user_watches': {'key': 'fsInotifyMaxUserWatches', 'type': 'int'}, + 'fs_file_max': {'key': 'fsFileMax', 'type': 'int'}, + 'fs_aio_max_nr': {'key': 'fsAioMaxNr', 'type': 'int'}, + 'fs_nr_open': {'key': 'fsNrOpen', 'type': 'int'}, + 'kernel_threads_max': {'key': 'kernelThreadsMax', 'type': 'int'}, + 'vm_max_map_count': {'key': 'vmMaxMapCount', 'type': 'int'}, + 'vm_swappiness': {'key': 'vmSwappiness', 'type': 'int'}, + 'vm_vfs_cache_pressure': {'key': 'vmVfsCachePressure', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(SysctlConfig, self).__init__(**kwargs) + self.net_core_somaxconn = kwargs.get('net_core_somaxconn', None) + self.net_core_netdev_max_backlog = kwargs.get('net_core_netdev_max_backlog', None) + self.net_core_rmem_default = kwargs.get('net_core_rmem_default', None) + self.net_core_rmem_max = kwargs.get('net_core_rmem_max', None) + self.net_core_wmem_default = kwargs.get('net_core_wmem_default', None) + self.net_core_wmem_max = kwargs.get('net_core_wmem_max', None) + self.net_core_optmem_max = kwargs.get('net_core_optmem_max', None) + self.net_ipv4_tcp_max_syn_backlog = kwargs.get('net_ipv4_tcp_max_syn_backlog', None) + self.net_ipv4_tcp_max_tw_buckets = kwargs.get('net_ipv4_tcp_max_tw_buckets', None) + self.net_ipv4_tcp_fin_timeout = kwargs.get('net_ipv4_tcp_fin_timeout', None) + self.net_ipv4_tcp_keepalive_time = kwargs.get('net_ipv4_tcp_keepalive_time', None) + self.net_ipv4_tcp_keepalive_probes = kwargs.get('net_ipv4_tcp_keepalive_probes', None) + self.net_ipv4_tcpkeepalive_intvl = kwargs.get('net_ipv4_tcpkeepalive_intvl', None) + self.net_ipv4_tcp_tw_reuse = kwargs.get('net_ipv4_tcp_tw_reuse', None) + self.net_ipv4_ip_local_port_range = kwargs.get('net_ipv4_ip_local_port_range', None) + self.net_ipv4_neigh_default_gc_thresh1 = kwargs.get('net_ipv4_neigh_default_gc_thresh1', None) + self.net_ipv4_neigh_default_gc_thresh2 = kwargs.get('net_ipv4_neigh_default_gc_thresh2', None) + self.net_ipv4_neigh_default_gc_thresh3 = kwargs.get('net_ipv4_neigh_default_gc_thresh3', None) + self.net_netfilter_nf_conntrack_max = kwargs.get('net_netfilter_nf_conntrack_max', None) + self.net_netfilter_nf_conntrack_buckets = kwargs.get('net_netfilter_nf_conntrack_buckets', None) + self.fs_inotify_max_user_watches = kwargs.get('fs_inotify_max_user_watches', None) + self.fs_file_max = kwargs.get('fs_file_max', None) + self.fs_aio_max_nr = kwargs.get('fs_aio_max_nr', None) + self.fs_nr_open = kwargs.get('fs_nr_open', None) + self.kernel_threads_max = kwargs.get('kernel_threads_max', None) + self.vm_max_map_count = kwargs.get('vm_max_map_count', None) + self.vm_swappiness = kwargs.get('vm_swappiness', None) + self.vm_vfs_cache_pressure = kwargs.get('vm_vfs_cache_pressure', None) + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + +class TagsObject(msrest.serialization.Model): + """Tags object for patch operations. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(TagsObject, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class TimeInWeek(msrest.serialization.Model): + """Time in a week. + + :param day: A day in a week. Possible values include: "Sunday", "Monday", "Tuesday", + "Wednesday", "Thursday", "Friday", "Saturday". + :type day: str or ~azure.mgmt.containerservice.v2021_05_01.models.WeekDay + :param hour_slots: hour slots in a day. + :type hour_slots: list[int] + """ + + _attribute_map = { + 'day': {'key': 'day', 'type': 'str'}, + 'hour_slots': {'key': 'hourSlots', 'type': '[int]'}, + } + + def __init__( + self, + **kwargs + ): + super(TimeInWeek, self).__init__(**kwargs) + self.day = kwargs.get('day', None) + self.hour_slots = kwargs.get('hour_slots', None) + + +class TimeSpan(msrest.serialization.Model): + """The time span with start and end properties. + + :param start: The start of a time span. + :type start: ~datetime.datetime + :param end: The end of a time span. + :type end: ~datetime.datetime + """ + + _attribute_map = { + 'start': {'key': 'start', 'type': 'iso-8601'}, + 'end': {'key': 'end', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(TimeSpan, self).__init__(**kwargs) + self.start = kwargs.get('start', None) + self.end = kwargs.get('end', None) diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models_py3.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models_py3.py new file mode 100644 index 000000000000..db1b9190e9b4 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/models/_models_py3.py @@ -0,0 +1,4052 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +import msrest.serialization + +from ._container_service_client_enums import * + + +class SubResource(msrest.serialization.Model): + """Reference to another subresource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class AgentPool(SubResource): + """Agent Pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type_properties_type: AgentPoolType represents types of an agent pool. Possible values + include: "VirtualMachineScaleSets", "AvailabilitySet". + :type type_properties_type: str or + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'count': {'key': 'properties.count', 'type': 'int'}, + 'vm_size': {'key': 'properties.vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'properties.osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'properties.osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'properties.kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'properties.vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'properties.podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'properties.maxPods', 'type': 'int'}, + 'os_type': {'key': 'properties.osType', 'type': 'str'}, + 'os_sku': {'key': 'properties.osSKU', 'type': 'str'}, + 'max_count': {'key': 'properties.maxCount', 'type': 'int'}, + 'min_count': {'key': 'properties.minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'properties.enableAutoScaling', 'type': 'bool'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'properties.orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'properties.nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'properties.upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'properties.enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'properties.nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'properties.scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'properties.scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'properties.spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'properties.tags', 'type': '{str}'}, + 'node_labels': {'key': 'properties.nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'properties.nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'properties.proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'properties.kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'properties.linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'properties.enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'properties.enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'properties.enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'properties.gpuInstanceProfile', 'type': 'str'}, + } + + def __init__( + self, + *, + count: Optional[int] = None, + vm_size: Optional[str] = None, + os_disk_size_gb: Optional[int] = None, + os_disk_type: Optional[Union[str, "OSDiskType"]] = None, + kubelet_disk_type: Optional[Union[str, "KubeletDiskType"]] = None, + vnet_subnet_id: Optional[str] = None, + pod_subnet_id: Optional[str] = None, + max_pods: Optional[int] = None, + os_type: Optional[Union[str, "OSType"]] = "Linux", + os_sku: Optional[Union[str, "OSSKU"]] = None, + max_count: Optional[int] = None, + min_count: Optional[int] = None, + enable_auto_scaling: Optional[bool] = None, + type_properties_type: Optional[Union[str, "AgentPoolType"]] = None, + mode: Optional[Union[str, "AgentPoolMode"]] = None, + orchestrator_version: Optional[str] = None, + upgrade_settings: Optional["AgentPoolUpgradeSettings"] = None, + availability_zones: Optional[List[str]] = None, + enable_node_public_ip: Optional[bool] = None, + node_public_ip_prefix_id: Optional[str] = None, + scale_set_priority: Optional[Union[str, "ScaleSetPriority"]] = "Regular", + scale_set_eviction_policy: Optional[Union[str, "ScaleSetEvictionPolicy"]] = "Delete", + spot_max_price: Optional[float] = -1, + tags: Optional[Dict[str, str]] = None, + node_labels: Optional[Dict[str, str]] = None, + node_taints: Optional[List[str]] = None, + proximity_placement_group_id: Optional[str] = None, + kubelet_config: Optional["KubeletConfig"] = None, + linux_os_config: Optional["LinuxOSConfig"] = None, + enable_encryption_at_host: Optional[bool] = None, + enable_ultra_ssd: Optional[bool] = None, + enable_fips: Optional[bool] = None, + gpu_instance_profile: Optional[Union[str, "GPUInstanceProfile"]] = None, + **kwargs + ): + super(AgentPool, self).__init__(**kwargs) + self.count = count + self.vm_size = vm_size + self.os_disk_size_gb = os_disk_size_gb + self.os_disk_type = os_disk_type + self.kubelet_disk_type = kubelet_disk_type + self.vnet_subnet_id = vnet_subnet_id + self.pod_subnet_id = pod_subnet_id + self.max_pods = max_pods + self.os_type = os_type + self.os_sku = os_sku + self.max_count = max_count + self.min_count = min_count + self.enable_auto_scaling = enable_auto_scaling + self.type_properties_type = type_properties_type + self.mode = mode + self.orchestrator_version = orchestrator_version + self.node_image_version = None + self.upgrade_settings = upgrade_settings + self.provisioning_state = None + self.power_state = None + self.availability_zones = availability_zones + self.enable_node_public_ip = enable_node_public_ip + self.node_public_ip_prefix_id = node_public_ip_prefix_id + self.scale_set_priority = scale_set_priority + self.scale_set_eviction_policy = scale_set_eviction_policy + self.spot_max_price = spot_max_price + self.tags = tags + self.node_labels = node_labels + self.node_taints = node_taints + self.proximity_placement_group_id = proximity_placement_group_id + self.kubelet_config = kubelet_config + self.linux_os_config = linux_os_config + self.enable_encryption_at_host = enable_encryption_at_host + self.enable_ultra_ssd = enable_ultra_ssd + self.enable_fips = enable_fips + self.gpu_instance_profile = gpu_instance_profile + + +class AgentPoolAvailableVersions(msrest.serialization.Model): + """The list of available versions for an agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Id of the agent pool available versions. + :vartype id: str + :ivar name: Name of the agent pool available versions. + :vartype name: str + :ivar type: Type of the agent pool available versions. + :vartype type: str + :param agent_pool_versions: List of versions available for agent pool. + :type agent_pool_versions: + list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'agent_pool_versions': {'key': 'properties.agentPoolVersions', 'type': '[AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem]'}, + } + + def __init__( + self, + *, + agent_pool_versions: Optional[List["AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem"]] = None, + **kwargs + ): + super(AgentPoolAvailableVersions, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.agent_pool_versions = agent_pool_versions + + +class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem(msrest.serialization.Model): + """AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem. + + :param default: Whether this version is the default agent pool version. + :type default: bool + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'default': {'key': 'default', 'type': 'bool'}, + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + *, + default: Optional[bool] = None, + kubernetes_version: Optional[str] = None, + is_preview: Optional[bool] = None, + **kwargs + ): + super(AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem, self).__init__(**kwargs) + self.default = default + self.kubernetes_version = kubernetes_version + self.is_preview = is_preview + + +class AgentPoolListResult(msrest.serialization.Model): + """The response from the List Agent Pools operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of agent pools. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :ivar next_link: The URL to get the next set of agent pool results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AgentPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AgentPool"]] = None, + **kwargs + ): + super(AgentPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AgentPoolUpgradeProfile(msrest.serialization.Model): + """The list of available upgrades for an agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the agent pool upgrade profile. + :vartype id: str + :ivar name: Name of the agent pool upgrade profile. + :vartype name: str + :ivar type: Type of the agent pool upgrade profile. + :vartype type: str + :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. + Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param upgrades: List of orchestrator types and versions available for upgrade. + :type upgrades: + list[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfilePropertiesUpgradesItem] + :param latest_node_image_version: LatestNodeImageVersion is the latest AKS supported node image + version. + :type latest_node_image_version: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'kubernetes_version': {'required': True}, + 'os_type': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'os_type': {'key': 'properties.osType', 'type': 'str'}, + 'upgrades': {'key': 'properties.upgrades', 'type': '[AgentPoolUpgradeProfilePropertiesUpgradesItem]'}, + 'latest_node_image_version': {'key': 'properties.latestNodeImageVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + kubernetes_version: str, + os_type: Union[str, "OSType"] = "Linux", + upgrades: Optional[List["AgentPoolUpgradeProfilePropertiesUpgradesItem"]] = None, + latest_node_image_version: Optional[str] = None, + **kwargs + ): + super(AgentPoolUpgradeProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.kubernetes_version = kubernetes_version + self.os_type = os_type + self.upgrades = upgrades + self.latest_node_image_version = latest_node_image_version + + +class AgentPoolUpgradeProfilePropertiesUpgradesItem(msrest.serialization.Model): + """AgentPoolUpgradeProfilePropertiesUpgradesItem. + + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + *, + kubernetes_version: Optional[str] = None, + is_preview: Optional[bool] = None, + **kwargs + ): + super(AgentPoolUpgradeProfilePropertiesUpgradesItem, self).__init__(**kwargs) + self.kubernetes_version = kubernetes_version + self.is_preview = is_preview + + +class AgentPoolUpgradeSettings(msrest.serialization.Model): + """Settings for upgrading an agentpool. + + :param max_surge: Count or percentage of additional nodes to be added during upgrade. If empty + uses AKS default. + :type max_surge: str + """ + + _attribute_map = { + 'max_surge': {'key': 'maxSurge', 'type': 'str'}, + } + + def __init__( + self, + *, + max_surge: Optional[str] = None, + **kwargs + ): + super(AgentPoolUpgradeSettings, self).__init__(**kwargs) + self.max_surge = max_surge + + +class CloudError(msrest.serialization.Model): + """An error response from the Container service. + + :param error: Details about the error. + :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'CloudErrorBody'}, + } + + def __init__( + self, + *, + error: Optional["CloudErrorBody"] = None, + **kwargs + ): + super(CloudError, self).__init__(**kwargs) + self.error = error + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the Container service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.containerservice.v2021_05_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class Components1Q1Og48SchemasManagedclusterAllof1(msrest.serialization.Model): + """Components1Q1Og48SchemasManagedclusterAllof1. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param identity: The identity of the managed cluster, if configured. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Represents the Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar max_agent_pools: The max number of agent pools for the managed cluster. + :vartype max_agent_pools: int + :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :type kubernetes_version: str + :param dns_prefix: DNS prefix specified when creating the managed cluster. + :type dns_prefix: str + :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom + private dns zone. + :type fqdn_subdomain: str + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + :ivar private_fqdn: FQDN of private cluster. + :vartype private_fqdn: str + :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :vartype azure_portal_fqdn: str + :param agent_pool_profiles: Properties of the agent pool. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: Profile for Linux VMs in the container service cluster. + :type linux_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile + :param windows_profile: Profile for Windows VMs in the container service cluster. + :type windows_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + :param service_principal_profile: Information about a service principal identity for the + cluster to use for manipulating Azure APIs. + :type service_principal_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: Profile of managed cluster add-on. + :type addon_profiles: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: Profile of managed cluster pod identity. + :type pod_identity_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: Name of the resource group containing agent pool nodes. + :type node_resource_group: str + :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :type enable_rbac: bool + :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security + policy (preview). This feature is set for removal on October 15th, 2020. Learn more at + aka.ms/aks/azpodpolicy. + :type enable_pod_security_policy: bool + :param network_profile: Profile of network configuration. + :type network_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile + :param aad_profile: Profile of Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: Profile of auto upgrade configuration. + :type auto_upgrade_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. + :type auto_scaler_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: Access profile for managed cluster API server. + :type api_server_access_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling + encryption at rest. + :type disk_encryption_set_id: str + :param identity_profile: Identities associated with the cluster. + :type identity_profile: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + :param private_link_resources: Private link resources associated with the cluster. + :type private_link_resources: + list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credential will be disabled for + this cluster. Expected to only be used for AAD clusters. + :type disable_local_accounts: bool + :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :type http_proxy_config: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'max_agent_pools': {'readonly': True}, + 'fqdn': {'readonly': True}, + 'private_fqdn': {'readonly': True}, + 'azure_portal_fqdn': {'readonly': True}, + } + + _attribute_map = { + 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, + 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, + 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, + 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, + 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, + 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, + 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, + 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, + 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, + 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, + 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, + 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, + 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, + 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, + } + + def __init__( + self, + *, + identity: Optional["ManagedClusterIdentity"] = None, + kubernetes_version: Optional[str] = None, + dns_prefix: Optional[str] = None, + fqdn_subdomain: Optional[str] = None, + agent_pool_profiles: Optional[List["ManagedClusterAgentPoolProfile"]] = None, + linux_profile: Optional["ContainerServiceLinuxProfile"] = None, + windows_profile: Optional["ManagedClusterWindowsProfile"] = None, + service_principal_profile: Optional["ManagedClusterServicePrincipalProfile"] = None, + addon_profiles: Optional[Dict[str, "ManagedClusterAddonProfile"]] = None, + pod_identity_profile: Optional["ManagedClusterPodIdentityProfile"] = None, + node_resource_group: Optional[str] = None, + enable_rbac: Optional[bool] = None, + enable_pod_security_policy: Optional[bool] = None, + network_profile: Optional["ContainerServiceNetworkProfile"] = None, + aad_profile: Optional["ManagedClusterAADProfile"] = None, + auto_upgrade_profile: Optional["ManagedClusterAutoUpgradeProfile"] = None, + auto_scaler_profile: Optional["ManagedClusterPropertiesAutoScalerProfile"] = None, + api_server_access_profile: Optional["ManagedClusterAPIServerAccessProfile"] = None, + disk_encryption_set_id: Optional[str] = None, + identity_profile: Optional[Dict[str, "ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties"]] = None, + private_link_resources: Optional[List["PrivateLinkResource"]] = None, + disable_local_accounts: Optional[bool] = None, + http_proxy_config: Optional["ManagedClusterHTTPProxyConfig"] = None, + **kwargs + ): + super(Components1Q1Og48SchemasManagedclusterAllof1, self).__init__(**kwargs) + self.identity = identity + self.provisioning_state = None + self.power_state = None + self.max_agent_pools = None + self.kubernetes_version = kubernetes_version + self.dns_prefix = dns_prefix + self.fqdn_subdomain = fqdn_subdomain + self.fqdn = None + self.private_fqdn = None + self.azure_portal_fqdn = None + self.agent_pool_profiles = agent_pool_profiles + self.linux_profile = linux_profile + self.windows_profile = windows_profile + self.service_principal_profile = service_principal_profile + self.addon_profiles = addon_profiles + self.pod_identity_profile = pod_identity_profile + self.node_resource_group = node_resource_group + self.enable_rbac = enable_rbac + self.enable_pod_security_policy = enable_pod_security_policy + self.network_profile = network_profile + self.aad_profile = aad_profile + self.auto_upgrade_profile = auto_upgrade_profile + self.auto_scaler_profile = auto_scaler_profile + self.api_server_access_profile = api_server_access_profile + self.disk_encryption_set_id = disk_encryption_set_id + self.identity_profile = identity_profile + self.private_link_resources = private_link_resources + self.disable_local_accounts = disable_local_accounts + self.http_proxy_config = http_proxy_config + + +class Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class UserAssignedIdentity(msrest.serialization.Model): + """UserAssignedIdentity. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + **kwargs + ): + super(UserAssignedIdentity, self).__init__(**kwargs) + self.resource_id = resource_id + self.client_id = client_id + self.object_id = object_id + + +class ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties(UserAssignedIdentity): + """ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + **kwargs + ): + super(ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties, self).__init__(resource_id=resource_id, client_id=client_id, object_id=object_id, **kwargs) + + +class ContainerServiceDiagnosticsProfile(msrest.serialization.Model): + """Profile for diagnostics on the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. + :type vm_diagnostics: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMDiagnostics + """ + + _validation = { + 'vm_diagnostics': {'required': True}, + } + + _attribute_map = { + 'vm_diagnostics': {'key': 'vmDiagnostics', 'type': 'ContainerServiceVMDiagnostics'}, + } + + def __init__( + self, + *, + vm_diagnostics: "ContainerServiceVMDiagnostics", + **kwargs + ): + super(ContainerServiceDiagnosticsProfile, self).__init__(**kwargs) + self.vm_diagnostics = vm_diagnostics + + +class ContainerServiceLinuxProfile(msrest.serialization.Model): + """Profile for Linux VMs in the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param admin_username: Required. The administrator username to use for Linux VMs. + :type admin_username: str + :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. + :type ssh: ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshConfiguration + """ + + _validation = { + 'admin_username': {'required': True, 'pattern': r'^[A-Za-z][-A-Za-z0-9_]*$'}, + 'ssh': {'required': True}, + } + + _attribute_map = { + 'admin_username': {'key': 'adminUsername', 'type': 'str'}, + 'ssh': {'key': 'ssh', 'type': 'ContainerServiceSshConfiguration'}, + } + + def __init__( + self, + *, + admin_username: str, + ssh: "ContainerServiceSshConfiguration", + **kwargs + ): + super(ContainerServiceLinuxProfile, self).__init__(**kwargs) + self.admin_username = admin_username + self.ssh = ssh + + +class ContainerServiceMasterProfile(msrest.serialization.Model): + """Profile for the container service master. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param count: Number of masters (VMs) in the container service cluster. Allowed values are 1, + 3, and 5. The default value is 1. Possible values include: 1, 3, 5. Default value: "1". + :type count: str or ~azure.mgmt.containerservice.v2021_05_01.models.Count + :param dns_prefix: Required. DNS prefix to be used to create the FQDN for the master pool. + :type dns_prefix: str + :param vm_size: Required. Size of agent VMs. Possible values include: "Standard_A1", + "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2", "Standard_A2_v2", + "Standard_A2m_v2", "Standard_A3", "Standard_A4", "Standard_A4_v2", "Standard_A4m_v2", + "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A8_v2", + "Standard_A8m_v2", "Standard_A9", "Standard_B2ms", "Standard_B2s", "Standard_B4ms", + "Standard_B8ms", "Standard_D1", "Standard_D11", "Standard_D11_v2", "Standard_D11_v2_Promo", + "Standard_D12", "Standard_D12_v2", "Standard_D12_v2_Promo", "Standard_D13", "Standard_D13_v2", + "Standard_D13_v2_Promo", "Standard_D14", "Standard_D14_v2", "Standard_D14_v2_Promo", + "Standard_D15_v2", "Standard_D16_v3", "Standard_D16s_v3", "Standard_D1_v2", "Standard_D2", + "Standard_D2_v2", "Standard_D2_v2_Promo", "Standard_D2_v3", "Standard_D2s_v3", "Standard_D3", + "Standard_D32_v3", "Standard_D32s_v3", "Standard_D3_v2", "Standard_D3_v2_Promo", "Standard_D4", + "Standard_D4_v2", "Standard_D4_v2_Promo", "Standard_D4_v3", "Standard_D4s_v3", + "Standard_D5_v2", "Standard_D5_v2_Promo", "Standard_D64_v3", "Standard_D64s_v3", + "Standard_D8_v3", "Standard_D8s_v3", "Standard_DS1", "Standard_DS11", "Standard_DS11_v2", + "Standard_DS11_v2_Promo", "Standard_DS12", "Standard_DS12_v2", "Standard_DS12_v2_Promo", + "Standard_DS13", "Standard_DS13-2_v2", "Standard_DS13-4_v2", "Standard_DS13_v2", + "Standard_DS13_v2_Promo", "Standard_DS14", "Standard_DS14-4_v2", "Standard_DS14-8_v2", + "Standard_DS14_v2", "Standard_DS14_v2_Promo", "Standard_DS15_v2", "Standard_DS1_v2", + "Standard_DS2", "Standard_DS2_v2", "Standard_DS2_v2_Promo", "Standard_DS3", "Standard_DS3_v2", + "Standard_DS3_v2_Promo", "Standard_DS4", "Standard_DS4_v2", "Standard_DS4_v2_Promo", + "Standard_DS5_v2", "Standard_DS5_v2_Promo", "Standard_E16_v3", "Standard_E16s_v3", + "Standard_E2_v3", "Standard_E2s_v3", "Standard_E32-16s_v3", "Standard_E32-8s_v3", + "Standard_E32_v3", "Standard_E32s_v3", "Standard_E4_v3", "Standard_E4s_v3", + "Standard_E64-16s_v3", "Standard_E64-32s_v3", "Standard_E64_v3", "Standard_E64s_v3", + "Standard_E8_v3", "Standard_E8s_v3", "Standard_F1", "Standard_F16", "Standard_F16s", + "Standard_F16s_v2", "Standard_F1s", "Standard_F2", "Standard_F2s", "Standard_F2s_v2", + "Standard_F32s_v2", "Standard_F4", "Standard_F4s", "Standard_F4s_v2", "Standard_F64s_v2", + "Standard_F72s_v2", "Standard_F8", "Standard_F8s", "Standard_F8s_v2", "Standard_G1", + "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", + "Standard_GS3", "Standard_GS4", "Standard_GS4-4", "Standard_GS4-8", "Standard_GS5", + "Standard_GS5-16", "Standard_GS5-8", "Standard_H16", "Standard_H16m", "Standard_H16mr", + "Standard_H16r", "Standard_H8", "Standard_H8m", "Standard_L16s", "Standard_L32s", + "Standard_L4s", "Standard_L8s", "Standard_M128-32ms", "Standard_M128-64ms", "Standard_M128ms", + "Standard_M128s", "Standard_M64-16ms", "Standard_M64-32ms", "Standard_M64ms", "Standard_M64s", + "Standard_NC12", "Standard_NC12s_v2", "Standard_NC12s_v3", "Standard_NC24", "Standard_NC24r", + "Standard_NC24rs_v2", "Standard_NC24rs_v3", "Standard_NC24s_v2", "Standard_NC24s_v3", + "Standard_NC6", "Standard_NC6s_v2", "Standard_NC6s_v3", "Standard_ND12s", "Standard_ND24rs", + "Standard_ND24s", "Standard_ND6s", "Standard_NV12", "Standard_NV24", "Standard_NV6". + :type vm_size: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceVMSizeTypes + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier. + :type vnet_subnet_id: str + :param first_consecutive_static_ip: FirstConsecutiveStaticIP used to specify the first static + ip of masters. + :type first_consecutive_static_ip: str + :param storage_profile: Storage profile specifies what kind of storage used. Choose from + StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the + orchestrator choice. Possible values include: "StorageAccount", "ManagedDisks". + :type storage_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceStorageProfileTypes + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + """ + + _validation = { + 'dns_prefix': {'required': True}, + 'vm_size': {'required': True}, + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'fqdn': {'readonly': True}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'dns_prefix': {'key': 'dnsPrefix', 'type': 'str'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'first_consecutive_static_ip': {'key': 'firstConsecutiveStaticIP', 'type': 'str'}, + 'storage_profile': {'key': 'storageProfile', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + } + + def __init__( + self, + *, + dns_prefix: str, + vm_size: Union[str, "ContainerServiceVMSizeTypes"], + count: Optional[Union[int, "Count"]] = "1", + os_disk_size_gb: Optional[int] = None, + vnet_subnet_id: Optional[str] = None, + first_consecutive_static_ip: Optional[str] = "10.240.255.5", + storage_profile: Optional[Union[str, "ContainerServiceStorageProfileTypes"]] = None, + **kwargs + ): + super(ContainerServiceMasterProfile, self).__init__(**kwargs) + self.count = count + self.dns_prefix = dns_prefix + self.vm_size = vm_size + self.os_disk_size_gb = os_disk_size_gb + self.vnet_subnet_id = vnet_subnet_id + self.first_consecutive_static_ip = first_consecutive_static_ip + self.storage_profile = storage_profile + self.fqdn = None + + +class ContainerServiceNetworkProfile(msrest.serialization.Model): + """Profile of network configuration. + + :param network_plugin: Network plugin used for building Kubernetes network. Possible values + include: "azure", "kubenet". Default value: "kubenet". + :type network_plugin: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPlugin + :param network_policy: Network policy used for building Kubernetes network. Possible values + include: "calico", "azure". + :type network_policy: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkPolicy + :param network_mode: Network mode used for building Kubernetes network. Possible values + include: "transparent", "bridge". + :type network_mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.NetworkMode + :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. + :type pod_cidr: str + :param service_cidr: A CIDR notation IP range from which to assign service cluster IPs. It must + not overlap with any Subnet IP ranges. + :type service_cidr: str + :param dns_service_ip: An IP address assigned to the Kubernetes DNS service. It must be within + the Kubernetes service address range specified in serviceCidr. + :type dns_service_ip: str + :param docker_bridge_cidr: A CIDR notation IP range assigned to the Docker bridge network. It + must not overlap with any Subnet IP ranges or the Kubernetes service address range. + :type docker_bridge_cidr: str + :param outbound_type: The outbound (egress) routing method. Possible values include: + "loadBalancer", "userDefinedRouting". Default value: "loadBalancer". + :type outbound_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OutboundType + :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values + include: "standard", "basic". + :type load_balancer_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.LoadBalancerSku + :param load_balancer_profile: Profile of the cluster load balancer. + :type load_balancer_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfile + """ + + _validation = { + 'pod_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + 'service_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + 'dns_service_ip': {'pattern': r'^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'}, + 'docker_bridge_cidr': {'pattern': r'^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'}, + } + + _attribute_map = { + 'network_plugin': {'key': 'networkPlugin', 'type': 'str'}, + 'network_policy': {'key': 'networkPolicy', 'type': 'str'}, + 'network_mode': {'key': 'networkMode', 'type': 'str'}, + 'pod_cidr': {'key': 'podCidr', 'type': 'str'}, + 'service_cidr': {'key': 'serviceCidr', 'type': 'str'}, + 'dns_service_ip': {'key': 'dnsServiceIP', 'type': 'str'}, + 'docker_bridge_cidr': {'key': 'dockerBridgeCidr', 'type': 'str'}, + 'outbound_type': {'key': 'outboundType', 'type': 'str'}, + 'load_balancer_sku': {'key': 'loadBalancerSku', 'type': 'str'}, + 'load_balancer_profile': {'key': 'loadBalancerProfile', 'type': 'ManagedClusterLoadBalancerProfile'}, + } + + def __init__( + self, + *, + network_plugin: Optional[Union[str, "NetworkPlugin"]] = "kubenet", + network_policy: Optional[Union[str, "NetworkPolicy"]] = None, + network_mode: Optional[Union[str, "NetworkMode"]] = None, + pod_cidr: Optional[str] = "10.244.0.0/16", + service_cidr: Optional[str] = "10.0.0.0/16", + dns_service_ip: Optional[str] = "10.0.0.10", + docker_bridge_cidr: Optional[str] = "172.17.0.1/16", + outbound_type: Optional[Union[str, "OutboundType"]] = "loadBalancer", + load_balancer_sku: Optional[Union[str, "LoadBalancerSku"]] = None, + load_balancer_profile: Optional["ManagedClusterLoadBalancerProfile"] = None, + **kwargs + ): + super(ContainerServiceNetworkProfile, self).__init__(**kwargs) + self.network_plugin = network_plugin + self.network_policy = network_policy + self.network_mode = network_mode + self.pod_cidr = pod_cidr + self.service_cidr = service_cidr + self.dns_service_ip = dns_service_ip + self.docker_bridge_cidr = docker_bridge_cidr + self.outbound_type = outbound_type + self.load_balancer_sku = load_balancer_sku + self.load_balancer_profile = load_balancer_profile + + +class ContainerServiceSshConfiguration(msrest.serialization.Model): + """SSH configuration for Linux-based VMs running on Azure. + + All required parameters must be populated in order to send to Azure. + + :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based + VMs. Only expect one key specified. + :type public_keys: + list[~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceSshPublicKey] + """ + + _validation = { + 'public_keys': {'required': True}, + } + + _attribute_map = { + 'public_keys': {'key': 'publicKeys', 'type': '[ContainerServiceSshPublicKey]'}, + } + + def __init__( + self, + *, + public_keys: List["ContainerServiceSshPublicKey"], + **kwargs + ): + super(ContainerServiceSshConfiguration, self).__init__(**kwargs) + self.public_keys = public_keys + + +class ContainerServiceSshPublicKey(msrest.serialization.Model): + """Contains information about SSH certificate public key data. + + All required parameters must be populated in order to send to Azure. + + :param key_data: Required. Certificate public key used to authenticate with VMs through SSH. + The certificate must be in PEM format with or without headers. + :type key_data: str + """ + + _validation = { + 'key_data': {'required': True}, + } + + _attribute_map = { + 'key_data': {'key': 'keyData', 'type': 'str'}, + } + + def __init__( + self, + *, + key_data: str, + **kwargs + ): + super(ContainerServiceSshPublicKey, self).__init__(**kwargs) + self.key_data = key_data + + +class ContainerServiceVMDiagnostics(msrest.serialization.Model): + """Profile for diagnostics on the container service VMs. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the VM diagnostic agent is provisioned on the VM. + :type enabled: bool + :ivar storage_uri: The URI of the storage account where diagnostics are stored. + :vartype storage_uri: str + """ + + _validation = { + 'enabled': {'required': True}, + 'storage_uri': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'storage_uri': {'key': 'storageUri', 'type': 'str'}, + } + + def __init__( + self, + *, + enabled: bool, + **kwargs + ): + super(ContainerServiceVMDiagnostics, self).__init__(**kwargs) + self.enabled = enabled + self.storage_uri = None + + +class CredentialResult(msrest.serialization.Model): + """The credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the credential. + :vartype name: str + :ivar value: Base64-encoded Kubernetes configuration file. + :vartype value: bytearray + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'bytearray'}, + } + + def __init__( + self, + **kwargs + ): + super(CredentialResult, self).__init__(**kwargs) + self.name = None + self.value = None + + +class CredentialResults(msrest.serialization.Model): + """The list of credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. + :vartype kubeconfigs: list[~azure.mgmt.containerservice.v2021_05_01.models.CredentialResult] + """ + + _validation = { + 'kubeconfigs': {'readonly': True}, + } + + _attribute_map = { + 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(CredentialResults, self).__init__(**kwargs) + self.kubeconfigs = None + + +class EndpointDependency(msrest.serialization.Model): + """A domain name that AKS agent nodes are reaching at. + + :param domain_name: The domain name of the dependency. + :type domain_name: str + :param endpoint_details: The Ports and Protocols used when connecting to domainName. + :type endpoint_details: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDetail] + """ + + _attribute_map = { + 'domain_name': {'key': 'domainName', 'type': 'str'}, + 'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'}, + } + + def __init__( + self, + *, + domain_name: Optional[str] = None, + endpoint_details: Optional[List["EndpointDetail"]] = None, + **kwargs + ): + super(EndpointDependency, self).__init__(**kwargs) + self.domain_name = domain_name + self.endpoint_details = endpoint_details + + +class EndpointDetail(msrest.serialization.Model): + """connect information from the AKS agent nodes to a single endpoint. + + :param ip_address: An IP Address that Domain Name currently resolves to. + :type ip_address: str + :param port: The port an endpoint is connected to. + :type port: int + :param protocol: The protocol used for connection. + :type protocol: str + :param description: Description of the detail. + :type description: str + """ + + _attribute_map = { + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_address: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(EndpointDetail, self).__init__(**kwargs) + self.ip_address = ip_address + self.port = port + self.protocol = protocol + self.description = description + + +class ExtendedLocation(msrest.serialization.Model): + """The complex type of the extended location. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocationTypes + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "ExtendedLocationTypes"]] = None, + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class KubeletConfig(msrest.serialization.Model): + """Kubelet configurations of agent nodes. + + :param cpu_manager_policy: CPU Manager policy to use. + :type cpu_manager_policy: str + :param cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits. + :type cpu_cfs_quota: bool + :param cpu_cfs_quota_period: Sets CPU CFS quota period value. + :type cpu_cfs_quota_period: str + :param image_gc_high_threshold: The percent of disk usage after which image garbage collection + is always run. + :type image_gc_high_threshold: int + :param image_gc_low_threshold: The percent of disk usage before which image garbage collection + is never run. + :type image_gc_low_threshold: int + :param topology_manager_policy: Topology Manager policy to use. + :type topology_manager_policy: str + :param allowed_unsafe_sysctls: Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in + ``*``\ ). + :type allowed_unsafe_sysctls: list[str] + :param fail_swap_on: If set to true it will make the Kubelet fail to start if swap is enabled + on the node. + :type fail_swap_on: bool + :param container_log_max_size_mb: The maximum size (e.g. 10Mi) of container log file before it + is rotated. + :type container_log_max_size_mb: int + :param container_log_max_files: The maximum number of container log files that can be present + for a container. The number must be ≥ 2. + :type container_log_max_files: int + :param pod_max_pids: The maximum number of processes per pod. + :type pod_max_pids: int + """ + + _validation = { + 'container_log_max_files': {'minimum': 2}, + } + + _attribute_map = { + 'cpu_manager_policy': {'key': 'cpuManagerPolicy', 'type': 'str'}, + 'cpu_cfs_quota': {'key': 'cpuCfsQuota', 'type': 'bool'}, + 'cpu_cfs_quota_period': {'key': 'cpuCfsQuotaPeriod', 'type': 'str'}, + 'image_gc_high_threshold': {'key': 'imageGcHighThreshold', 'type': 'int'}, + 'image_gc_low_threshold': {'key': 'imageGcLowThreshold', 'type': 'int'}, + 'topology_manager_policy': {'key': 'topologyManagerPolicy', 'type': 'str'}, + 'allowed_unsafe_sysctls': {'key': 'allowedUnsafeSysctls', 'type': '[str]'}, + 'fail_swap_on': {'key': 'failSwapOn', 'type': 'bool'}, + 'container_log_max_size_mb': {'key': 'containerLogMaxSizeMB', 'type': 'int'}, + 'container_log_max_files': {'key': 'containerLogMaxFiles', 'type': 'int'}, + 'pod_max_pids': {'key': 'podMaxPids', 'type': 'int'}, + } + + def __init__( + self, + *, + cpu_manager_policy: Optional[str] = None, + cpu_cfs_quota: Optional[bool] = None, + cpu_cfs_quota_period: Optional[str] = None, + image_gc_high_threshold: Optional[int] = None, + image_gc_low_threshold: Optional[int] = None, + topology_manager_policy: Optional[str] = None, + allowed_unsafe_sysctls: Optional[List[str]] = None, + fail_swap_on: Optional[bool] = None, + container_log_max_size_mb: Optional[int] = None, + container_log_max_files: Optional[int] = None, + pod_max_pids: Optional[int] = None, + **kwargs + ): + super(KubeletConfig, self).__init__(**kwargs) + self.cpu_manager_policy = cpu_manager_policy + self.cpu_cfs_quota = cpu_cfs_quota + self.cpu_cfs_quota_period = cpu_cfs_quota_period + self.image_gc_high_threshold = image_gc_high_threshold + self.image_gc_low_threshold = image_gc_low_threshold + self.topology_manager_policy = topology_manager_policy + self.allowed_unsafe_sysctls = allowed_unsafe_sysctls + self.fail_swap_on = fail_swap_on + self.container_log_max_size_mb = container_log_max_size_mb + self.container_log_max_files = container_log_max_files + self.pod_max_pids = pod_max_pids + + +class LinuxOSConfig(msrest.serialization.Model): + """OS configurations of Linux agent nodes. + + :param sysctls: Sysctl settings for Linux agent nodes. + :type sysctls: ~azure.mgmt.containerservice.v2021_05_01.models.SysctlConfig + :param transparent_huge_page_enabled: Transparent Huge Page enabled configuration. + :type transparent_huge_page_enabled: str + :param transparent_huge_page_defrag: Transparent Huge Page defrag configuration. + :type transparent_huge_page_defrag: str + :param swap_file_size_mb: SwapFileSizeMB specifies size in MB of a swap file will be created on + each node. + :type swap_file_size_mb: int + """ + + _attribute_map = { + 'sysctls': {'key': 'sysctls', 'type': 'SysctlConfig'}, + 'transparent_huge_page_enabled': {'key': 'transparentHugePageEnabled', 'type': 'str'}, + 'transparent_huge_page_defrag': {'key': 'transparentHugePageDefrag', 'type': 'str'}, + 'swap_file_size_mb': {'key': 'swapFileSizeMB', 'type': 'int'}, + } + + def __init__( + self, + *, + sysctls: Optional["SysctlConfig"] = None, + transparent_huge_page_enabled: Optional[str] = None, + transparent_huge_page_defrag: Optional[str] = None, + swap_file_size_mb: Optional[int] = None, + **kwargs + ): + super(LinuxOSConfig, self).__init__(**kwargs) + self.sysctls = sysctls + self.transparent_huge_page_enabled = transparent_huge_page_enabled + self.transparent_huge_page_defrag = transparent_huge_page_defrag + self.swap_file_size_mb = swap_file_size_mb + + +class MaintenanceConfiguration(SubResource): + """maintenance configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.containerservice.v2021_05_01.models.SystemData + :param time_in_week: Weekday time slots allowed to upgrade. + :type time_in_week: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeInWeek] + :param not_allowed_time: Time slots on which upgrade is not allowed. + :type not_allowed_time: list[~azure.mgmt.containerservice.v2021_05_01.models.TimeSpan] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'time_in_week': {'key': 'properties.timeInWeek', 'type': '[TimeInWeek]'}, + 'not_allowed_time': {'key': 'properties.notAllowedTime', 'type': '[TimeSpan]'}, + } + + def __init__( + self, + *, + time_in_week: Optional[List["TimeInWeek"]] = None, + not_allowed_time: Optional[List["TimeSpan"]] = None, + **kwargs + ): + super(MaintenanceConfiguration, self).__init__(**kwargs) + self.system_data = None + self.time_in_week = time_in_week + self.not_allowed_time = not_allowed_time + + +class MaintenanceConfigurationListResult(msrest.serialization.Model): + """The response from the List maintenance configurations operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of maintenance configurations. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration] + :ivar next_link: The URL to get the next set of maintenance configuration results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[MaintenanceConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["MaintenanceConfiguration"]] = None, + **kwargs + ): + super(MaintenanceConfigurationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Resource(msrest.serialization.Model): + """The Resource model definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags + + +class ManagedCluster(Resource, Components1Q1Og48SchemasManagedclusterAllof1): + """Managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param identity: The identity of the managed cluster, if configured. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterIdentity + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Represents the Power State of the cluster. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :ivar max_agent_pools: The max number of agent pools for the managed cluster. + :vartype max_agent_pools: int + :param kubernetes_version: Version of Kubernetes specified when creating the managed cluster. + :type kubernetes_version: str + :param dns_prefix: DNS prefix specified when creating the managed cluster. + :type dns_prefix: str + :param fqdn_subdomain: FQDN subdomain specified when creating private cluster with custom + private dns zone. + :type fqdn_subdomain: str + :ivar fqdn: FQDN for the master pool. + :vartype fqdn: str + :ivar private_fqdn: FQDN of private cluster. + :vartype private_fqdn: str + :ivar azure_portal_fqdn: FQDN for the master pool which used by proxy config. + :vartype azure_portal_fqdn: str + :param agent_pool_profiles: Properties of the agent pool. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAgentPoolProfile] + :param linux_profile: Profile for Linux VMs in the container service cluster. + :type linux_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceLinuxProfile + :param windows_profile: Profile for Windows VMs in the container service cluster. + :type windows_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterWindowsProfile + :param service_principal_profile: Information about a service principal identity for the + cluster to use for manipulating Azure APIs. + :type service_principal_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :param addon_profiles: Profile of managed cluster add-on. + :type addon_profiles: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfile] + :param pod_identity_profile: Profile of managed cluster pod identity. + :type pod_identity_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProfile + :param node_resource_group: Name of the resource group containing agent pool nodes. + :type node_resource_group: str + :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. + :type enable_rbac: bool + :param enable_pod_security_policy: (DEPRECATING) Whether to enable Kubernetes pod security + policy (preview). This feature is set for removal on October 15th, 2020. Learn more at + aka.ms/aks/azpodpolicy. + :type enable_pod_security_policy: bool + :param network_profile: Profile of network configuration. + :type network_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ContainerServiceNetworkProfile + :param aad_profile: Profile of Azure Active Directory configuration. + :type aad_profile: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :param auto_upgrade_profile: Profile of auto upgrade configuration. + :type auto_upgrade_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAutoUpgradeProfile + :param auto_scaler_profile: Parameters to be applied to the cluster-autoscaler when enabled. + :type auto_scaler_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPropertiesAutoScalerProfile + :param api_server_access_profile: Access profile for managed cluster API server. + :type api_server_access_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAPIServerAccessProfile + :param disk_encryption_set_id: ResourceId of the disk encryption set to use for enabling + encryption at rest. + :type disk_encryption_set_id: str + :param identity_profile: Identities associated with the cluster. + :type identity_profile: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties] + :param private_link_resources: Private link resources associated with the cluster. + :type private_link_resources: + list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + :param disable_local_accounts: If set to true, getting static credential will be disabled for + this cluster. Expected to only be used for AAD clusters. + :type disable_local_accounts: bool + :param http_proxy_config: Configurations for provisioning the cluster with HTTP proxy servers. + :type http_proxy_config: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterHTTPProxyConfig + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The managed cluster SKU. + :type sku: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKU + :param extended_location: The extended location of the Virtual Machine. + :type extended_location: ~azure.mgmt.containerservice.v2021_05_01.models.ExtendedLocation + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'max_agent_pools': {'readonly': True}, + 'fqdn': {'readonly': True}, + 'private_fqdn': {'readonly': True}, + 'azure_portal_fqdn': {'readonly': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'identity': {'key': 'identity', 'type': 'ManagedClusterIdentity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'power_state': {'key': 'properties.powerState', 'type': 'PowerState'}, + 'max_agent_pools': {'key': 'properties.maxAgentPools', 'type': 'int'}, + 'kubernetes_version': {'key': 'properties.kubernetesVersion', 'type': 'str'}, + 'dns_prefix': {'key': 'properties.dnsPrefix', 'type': 'str'}, + 'fqdn_subdomain': {'key': 'properties.fqdnSubdomain', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'private_fqdn': {'key': 'properties.privateFQDN', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterAgentPoolProfile]'}, + 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, + 'windows_profile': {'key': 'properties.windowsProfile', 'type': 'ManagedClusterWindowsProfile'}, + 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ManagedClusterServicePrincipalProfile'}, + 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'pod_identity_profile': {'key': 'properties.podIdentityProfile', 'type': 'ManagedClusterPodIdentityProfile'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, + 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, + 'enable_pod_security_policy': {'key': 'properties.enablePodSecurityPolicy', 'type': 'bool'}, + 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, + 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, + 'auto_upgrade_profile': {'key': 'properties.autoUpgradeProfile', 'type': 'ManagedClusterAutoUpgradeProfile'}, + 'auto_scaler_profile': {'key': 'properties.autoScalerProfile', 'type': 'ManagedClusterPropertiesAutoScalerProfile'}, + 'api_server_access_profile': {'key': 'properties.apiServerAccessProfile', 'type': 'ManagedClusterAPIServerAccessProfile'}, + 'disk_encryption_set_id': {'key': 'properties.diskEncryptionSetID', 'type': 'str'}, + 'identity_profile': {'key': 'properties.identityProfile', 'type': '{ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties}'}, + 'private_link_resources': {'key': 'properties.privateLinkResources', 'type': '[PrivateLinkResource]'}, + 'disable_local_accounts': {'key': 'properties.disableLocalAccounts', 'type': 'bool'}, + 'http_proxy_config': {'key': 'properties.httpProxyConfig', 'type': 'ManagedClusterHTTPProxyConfig'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ManagedClusterSKU'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + } + + def __init__( + self, + *, + location: str, + identity: Optional["ManagedClusterIdentity"] = None, + kubernetes_version: Optional[str] = None, + dns_prefix: Optional[str] = None, + fqdn_subdomain: Optional[str] = None, + agent_pool_profiles: Optional[List["ManagedClusterAgentPoolProfile"]] = None, + linux_profile: Optional["ContainerServiceLinuxProfile"] = None, + windows_profile: Optional["ManagedClusterWindowsProfile"] = None, + service_principal_profile: Optional["ManagedClusterServicePrincipalProfile"] = None, + addon_profiles: Optional[Dict[str, "ManagedClusterAddonProfile"]] = None, + pod_identity_profile: Optional["ManagedClusterPodIdentityProfile"] = None, + node_resource_group: Optional[str] = None, + enable_rbac: Optional[bool] = None, + enable_pod_security_policy: Optional[bool] = None, + network_profile: Optional["ContainerServiceNetworkProfile"] = None, + aad_profile: Optional["ManagedClusterAADProfile"] = None, + auto_upgrade_profile: Optional["ManagedClusterAutoUpgradeProfile"] = None, + auto_scaler_profile: Optional["ManagedClusterPropertiesAutoScalerProfile"] = None, + api_server_access_profile: Optional["ManagedClusterAPIServerAccessProfile"] = None, + disk_encryption_set_id: Optional[str] = None, + identity_profile: Optional[Dict[str, "ComponentsQit0EtSchemasManagedclusterpropertiesPropertiesIdentityprofileAdditionalproperties"]] = None, + private_link_resources: Optional[List["PrivateLinkResource"]] = None, + disable_local_accounts: Optional[bool] = None, + http_proxy_config: Optional["ManagedClusterHTTPProxyConfig"] = None, + tags: Optional[Dict[str, str]] = None, + sku: Optional["ManagedClusterSKU"] = None, + extended_location: Optional["ExtendedLocation"] = None, + **kwargs + ): + super(ManagedCluster, self).__init__(location=location, tags=tags, identity=identity, kubernetes_version=kubernetes_version, dns_prefix=dns_prefix, fqdn_subdomain=fqdn_subdomain, agent_pool_profiles=agent_pool_profiles, linux_profile=linux_profile, windows_profile=windows_profile, service_principal_profile=service_principal_profile, addon_profiles=addon_profiles, pod_identity_profile=pod_identity_profile, node_resource_group=node_resource_group, enable_rbac=enable_rbac, enable_pod_security_policy=enable_pod_security_policy, network_profile=network_profile, aad_profile=aad_profile, auto_upgrade_profile=auto_upgrade_profile, auto_scaler_profile=auto_scaler_profile, api_server_access_profile=api_server_access_profile, disk_encryption_set_id=disk_encryption_set_id, identity_profile=identity_profile, private_link_resources=private_link_resources, disable_local_accounts=disable_local_accounts, http_proxy_config=http_proxy_config, **kwargs) + self.identity = identity + self.provisioning_state = None + self.power_state = None + self.max_agent_pools = None + self.kubernetes_version = kubernetes_version + self.dns_prefix = dns_prefix + self.fqdn_subdomain = fqdn_subdomain + self.fqdn = None + self.private_fqdn = None + self.azure_portal_fqdn = None + self.agent_pool_profiles = agent_pool_profiles + self.linux_profile = linux_profile + self.windows_profile = windows_profile + self.service_principal_profile = service_principal_profile + self.addon_profiles = addon_profiles + self.pod_identity_profile = pod_identity_profile + self.node_resource_group = node_resource_group + self.enable_rbac = enable_rbac + self.enable_pod_security_policy = enable_pod_security_policy + self.network_profile = network_profile + self.aad_profile = aad_profile + self.auto_upgrade_profile = auto_upgrade_profile + self.auto_scaler_profile = auto_scaler_profile + self.api_server_access_profile = api_server_access_profile + self.disk_encryption_set_id = disk_encryption_set_id + self.identity_profile = identity_profile + self.private_link_resources = private_link_resources + self.disable_local_accounts = disable_local_accounts + self.http_proxy_config = http_proxy_config + self.sku = sku + self.extended_location = extended_location + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags + self.sku = sku + self.extended_location = extended_location + + +class ManagedClusterAADProfile(msrest.serialization.Model): + """AADProfile specifies attributes for Azure Active Directory integration. + + :param managed: Whether to enable managed AAD. + :type managed: bool + :param enable_azure_rbac: Whether to enable Azure RBAC for Kubernetes authorization. + :type enable_azure_rbac: bool + :param admin_group_object_i_ds: AAD group object IDs that will have admin role of the cluster. + :type admin_group_object_i_ds: list[str] + :param client_app_id: The client AAD application ID. + :type client_app_id: str + :param server_app_id: The server AAD application ID. + :type server_app_id: str + :param server_app_secret: The server AAD application secret. + :type server_app_secret: str + :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the + tenant of the deployment subscription. + :type tenant_id: str + """ + + _attribute_map = { + 'managed': {'key': 'managed', 'type': 'bool'}, + 'enable_azure_rbac': {'key': 'enableAzureRBAC', 'type': 'bool'}, + 'admin_group_object_i_ds': {'key': 'adminGroupObjectIDs', 'type': '[str]'}, + 'client_app_id': {'key': 'clientAppID', 'type': 'str'}, + 'server_app_id': {'key': 'serverAppID', 'type': 'str'}, + 'server_app_secret': {'key': 'serverAppSecret', 'type': 'str'}, + 'tenant_id': {'key': 'tenantID', 'type': 'str'}, + } + + def __init__( + self, + *, + managed: Optional[bool] = None, + enable_azure_rbac: Optional[bool] = None, + admin_group_object_i_ds: Optional[List[str]] = None, + client_app_id: Optional[str] = None, + server_app_id: Optional[str] = None, + server_app_secret: Optional[str] = None, + tenant_id: Optional[str] = None, + **kwargs + ): + super(ManagedClusterAADProfile, self).__init__(**kwargs) + self.managed = managed + self.enable_azure_rbac = enable_azure_rbac + self.admin_group_object_i_ds = admin_group_object_i_ds + self.client_app_id = client_app_id + self.server_app_id = server_app_id + self.server_app_secret = server_app_secret + self.tenant_id = tenant_id + + +class ManagedClusterAccessProfile(Resource): + """Managed cluster Access Profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Required. Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param kube_config: Base64-encoded Kubernetes configuration file. + :type kube_config: bytearray + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'kube_config': {'key': 'properties.kubeConfig', 'type': 'bytearray'}, + } + + def __init__( + self, + *, + location: str, + tags: Optional[Dict[str, str]] = None, + kube_config: Optional[bytearray] = None, + **kwargs + ): + super(ManagedClusterAccessProfile, self).__init__(location=location, tags=tags, **kwargs) + self.kube_config = kube_config + + +class ManagedClusterAddonProfile(msrest.serialization.Model): + """A Kubernetes add-on profile for a managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the add-on is enabled or not. + :type enabled: bool + :param config: Key-value pairs for configuring an add-on. + :type config: dict[str, str] + :ivar identity: Information of user assigned identity used by this add-on. + :vartype identity: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAddonProfileIdentity + """ + + _validation = { + 'enabled': {'required': True}, + 'identity': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'config': {'key': 'config', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ManagedClusterAddonProfileIdentity'}, + } + + def __init__( + self, + *, + enabled: bool, + config: Optional[Dict[str, str]] = None, + **kwargs + ): + super(ManagedClusterAddonProfile, self).__init__(**kwargs) + self.enabled = enabled + self.config = config + self.identity = None + + +class ManagedClusterAddonProfileIdentity(UserAssignedIdentity): + """Information of user assigned identity used by this add-on. + + :param resource_id: The resource id of the user assigned identity. + :type resource_id: str + :param client_id: The client id of the user assigned identity. + :type client_id: str + :param object_id: The object id of the user assigned identity. + :type object_id: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'object_id': {'key': 'objectId', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + client_id: Optional[str] = None, + object_id: Optional[str] = None, + **kwargs + ): + super(ManagedClusterAddonProfileIdentity, self).__init__(resource_id=resource_id, client_id=client_id, object_id=object_id, **kwargs) + + +class ManagedClusterAgentPoolProfileProperties(msrest.serialization.Model): + """Properties for the container service agent pool profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type: AgentPoolType represents types of an agent pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + """ + + _validation = { + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'maxPods', 'type': 'int'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'os_sku': {'key': 'osSKU', 'type': 'str'}, + 'max_count': {'key': 'maxCount', 'type': 'int'}, + 'min_count': {'key': 'minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'type': {'key': 'type', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'power_state': {'key': 'powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'node_labels': {'key': 'nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'gpuInstanceProfile', 'type': 'str'}, + } + + def __init__( + self, + *, + count: Optional[int] = None, + vm_size: Optional[str] = None, + os_disk_size_gb: Optional[int] = None, + os_disk_type: Optional[Union[str, "OSDiskType"]] = None, + kubelet_disk_type: Optional[Union[str, "KubeletDiskType"]] = None, + vnet_subnet_id: Optional[str] = None, + pod_subnet_id: Optional[str] = None, + max_pods: Optional[int] = None, + os_type: Optional[Union[str, "OSType"]] = "Linux", + os_sku: Optional[Union[str, "OSSKU"]] = None, + max_count: Optional[int] = None, + min_count: Optional[int] = None, + enable_auto_scaling: Optional[bool] = None, + type: Optional[Union[str, "AgentPoolType"]] = None, + mode: Optional[Union[str, "AgentPoolMode"]] = None, + orchestrator_version: Optional[str] = None, + upgrade_settings: Optional["AgentPoolUpgradeSettings"] = None, + availability_zones: Optional[List[str]] = None, + enable_node_public_ip: Optional[bool] = None, + node_public_ip_prefix_id: Optional[str] = None, + scale_set_priority: Optional[Union[str, "ScaleSetPriority"]] = "Regular", + scale_set_eviction_policy: Optional[Union[str, "ScaleSetEvictionPolicy"]] = "Delete", + spot_max_price: Optional[float] = -1, + tags: Optional[Dict[str, str]] = None, + node_labels: Optional[Dict[str, str]] = None, + node_taints: Optional[List[str]] = None, + proximity_placement_group_id: Optional[str] = None, + kubelet_config: Optional["KubeletConfig"] = None, + linux_os_config: Optional["LinuxOSConfig"] = None, + enable_encryption_at_host: Optional[bool] = None, + enable_ultra_ssd: Optional[bool] = None, + enable_fips: Optional[bool] = None, + gpu_instance_profile: Optional[Union[str, "GPUInstanceProfile"]] = None, + **kwargs + ): + super(ManagedClusterAgentPoolProfileProperties, self).__init__(**kwargs) + self.count = count + self.vm_size = vm_size + self.os_disk_size_gb = os_disk_size_gb + self.os_disk_type = os_disk_type + self.kubelet_disk_type = kubelet_disk_type + self.vnet_subnet_id = vnet_subnet_id + self.pod_subnet_id = pod_subnet_id + self.max_pods = max_pods + self.os_type = os_type + self.os_sku = os_sku + self.max_count = max_count + self.min_count = min_count + self.enable_auto_scaling = enable_auto_scaling + self.type = type + self.mode = mode + self.orchestrator_version = orchestrator_version + self.node_image_version = None + self.upgrade_settings = upgrade_settings + self.provisioning_state = None + self.power_state = None + self.availability_zones = availability_zones + self.enable_node_public_ip = enable_node_public_ip + self.node_public_ip_prefix_id = node_public_ip_prefix_id + self.scale_set_priority = scale_set_priority + self.scale_set_eviction_policy = scale_set_eviction_policy + self.spot_max_price = spot_max_price + self.tags = tags + self.node_labels = node_labels + self.node_taints = node_taints + self.proximity_placement_group_id = proximity_placement_group_id + self.kubelet_config = kubelet_config + self.linux_os_config = linux_os_config + self.enable_encryption_at_host = enable_encryption_at_host + self.enable_ultra_ssd = enable_ultra_ssd + self.enable_fips = enable_fips + self.gpu_instance_profile = gpu_instance_profile + + +class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): + """Profile for the container service agent pool. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param count: Number of agents (VMs) to host docker containers. Allowed values must be in the + range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for + system pools. The default value is 1. + :type count: int + :param vm_size: Size of agent VMs. + :type vm_size: str + :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every + machine in this master/agent pool. If you specify 0, it will apply the default osDisk size + according to the vmSize specified. + :type os_disk_size_gb: int + :param os_disk_type: OS disk type to be used for machines in a given agent pool. Allowed values + are 'Ephemeral' and 'Managed'. If unspecified, defaults to 'Ephemeral' when the VM supports + ephemeral OS and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults + to 'Managed'. May not be changed after creation. Possible values include: "Managed", + "Ephemeral". + :type os_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSDiskType + :param kubelet_disk_type: KubeletDiskType determines the placement of emptyDir volumes, + container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, + resulting in Kubelet using the OS disk for data. Possible values include: "OS", "Temporary". + :type kubelet_disk_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.KubeletDiskType + :param vnet_subnet_id: VNet SubnetID specifies the VNet's subnet identifier for nodes and maybe + pods. + :type vnet_subnet_id: str + :param pod_subnet_id: Pod SubnetID specifies the VNet's subnet identifier for pods. + :type pod_subnet_id: str + :param max_pods: Maximum number of pods that can run on a node. + :type max_pods: int + :param os_type: OsType to be used to specify os type. Choose from Linux and Windows. Default to + Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param os_sku: OsSKU to be used to specify os sku. Choose from Ubuntu(default) and CBLMariner + for Linux OSType. Not applicable to Windows OSType. Possible values include: "Ubuntu", + "CBLMariner". + :type os_sku: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSSKU + :param max_count: Maximum number of nodes for auto-scaling. + :type max_count: int + :param min_count: Minimum number of nodes for auto-scaling. + :type min_count: int + :param enable_auto_scaling: Whether to enable auto-scaler. + :type enable_auto_scaling: bool + :param type: AgentPoolType represents types of an agent pool. Possible values include: + "VirtualMachineScaleSets", "AvailabilitySet". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolType + :param mode: AgentPoolMode represents mode of an agent pool. Possible values include: "System", + "User". + :type mode: str or ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolMode + :param orchestrator_version: Version of orchestrator specified when creating the managed + cluster. + :type orchestrator_version: str + :ivar node_image_version: Version of node image. + :vartype node_image_version: str + :param upgrade_settings: Settings for upgrading the agentpool. + :type upgrade_settings: + ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeSettings + :ivar provisioning_state: The current deployment or provisioning state, which only appears in + the response. + :vartype provisioning_state: str + :ivar power_state: Describes whether the Agent Pool is Running or Stopped. + :vartype power_state: ~azure.mgmt.containerservice.v2021_05_01.models.PowerState + :param availability_zones: Availability zones for nodes. Must use VirtualMachineScaleSets + AgentPoolType. + :type availability_zones: list[str] + :param enable_node_public_ip: Enable public IP for nodes. + :type enable_node_public_ip: bool + :param node_public_ip_prefix_id: Public IP Prefix ID. VM nodes use IPs assigned from this + Public IP Prefix. + :type node_public_ip_prefix_id: str + :param scale_set_priority: ScaleSetPriority to be used to specify virtual machine scale set + priority. Default to regular. Possible values include: "Spot", "Regular". Default value: + "Regular". + :type scale_set_priority: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetPriority + :param scale_set_eviction_policy: ScaleSetEvictionPolicy to be used to specify eviction policy + for Spot virtual machine scale set. Default to Delete. Possible values include: "Delete", + "Deallocate". Default value: "Delete". + :type scale_set_eviction_policy: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ScaleSetEvictionPolicy + :param spot_max_price: SpotMaxPrice to be used to specify the maximum price you are willing to + pay in US Dollars. Possible values are any decimal value greater than zero or -1 which + indicates default price to be up-to on-demand. + :type spot_max_price: float + :param tags: A set of tags. Agent pool tags to be persisted on the agent pool virtual machine + scale set. + :type tags: dict[str, str] + :param node_labels: Agent pool node labels to be persisted across all nodes in agent pool. + :type node_labels: dict[str, str] + :param node_taints: Taints added to new nodes during node pool create and scale. For example, + key=value:NoSchedule. + :type node_taints: list[str] + :param proximity_placement_group_id: The ID for Proximity Placement Group. + :type proximity_placement_group_id: str + :param kubelet_config: KubeletConfig specifies the configuration of kubelet on agent nodes. + :type kubelet_config: ~azure.mgmt.containerservice.v2021_05_01.models.KubeletConfig + :param linux_os_config: LinuxOSConfig specifies the OS configuration of linux agent nodes. + :type linux_os_config: ~azure.mgmt.containerservice.v2021_05_01.models.LinuxOSConfig + :param enable_encryption_at_host: Whether to enable EncryptionAtHost. + :type enable_encryption_at_host: bool + :param enable_ultra_ssd: Whether to enable UltraSSD. + :type enable_ultra_ssd: bool + :param enable_fips: Whether to use FIPS enabled OS. + :type enable_fips: bool + :param gpu_instance_profile: GPUInstanceProfile to be used to specify GPU MIG instance profile + for supported GPU VM SKU. Supported values are MIG1g, MIG2g, MIG3g, MIG4g and MIG7g. Possible + values include: "MIG1g", "MIG2g", "MIG3g", "MIG4g", "MIG7g". + :type gpu_instance_profile: str or + ~azure.mgmt.containerservice.v2021_05_01.models.GPUInstanceProfile + :param name: Required. Unique name of the agent pool profile in the context of the subscription + and resource group. + :type name: str + """ + + _validation = { + 'os_disk_size_gb': {'maximum': 2048, 'minimum': 0}, + 'node_image_version': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'power_state': {'readonly': True}, + 'name': {'required': True, 'pattern': r'^[a-z][a-z0-9]{0,11}$'}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + 'vm_size': {'key': 'vmSize', 'type': 'str'}, + 'os_disk_size_gb': {'key': 'osDiskSizeGB', 'type': 'int'}, + 'os_disk_type': {'key': 'osDiskType', 'type': 'str'}, + 'kubelet_disk_type': {'key': 'kubeletDiskType', 'type': 'str'}, + 'vnet_subnet_id': {'key': 'vnetSubnetID', 'type': 'str'}, + 'pod_subnet_id': {'key': 'podSubnetID', 'type': 'str'}, + 'max_pods': {'key': 'maxPods', 'type': 'int'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'os_sku': {'key': 'osSKU', 'type': 'str'}, + 'max_count': {'key': 'maxCount', 'type': 'int'}, + 'min_count': {'key': 'minCount', 'type': 'int'}, + 'enable_auto_scaling': {'key': 'enableAutoScaling', 'type': 'bool'}, + 'type': {'key': 'type', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'node_image_version': {'key': 'nodeImageVersion', 'type': 'str'}, + 'upgrade_settings': {'key': 'upgradeSettings', 'type': 'AgentPoolUpgradeSettings'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'power_state': {'key': 'powerState', 'type': 'PowerState'}, + 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, + 'enable_node_public_ip': {'key': 'enableNodePublicIP', 'type': 'bool'}, + 'node_public_ip_prefix_id': {'key': 'nodePublicIPPrefixID', 'type': 'str'}, + 'scale_set_priority': {'key': 'scaleSetPriority', 'type': 'str'}, + 'scale_set_eviction_policy': {'key': 'scaleSetEvictionPolicy', 'type': 'str'}, + 'spot_max_price': {'key': 'spotMaxPrice', 'type': 'float'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'node_labels': {'key': 'nodeLabels', 'type': '{str}'}, + 'node_taints': {'key': 'nodeTaints', 'type': '[str]'}, + 'proximity_placement_group_id': {'key': 'proximityPlacementGroupID', 'type': 'str'}, + 'kubelet_config': {'key': 'kubeletConfig', 'type': 'KubeletConfig'}, + 'linux_os_config': {'key': 'linuxOSConfig', 'type': 'LinuxOSConfig'}, + 'enable_encryption_at_host': {'key': 'enableEncryptionAtHost', 'type': 'bool'}, + 'enable_ultra_ssd': {'key': 'enableUltraSSD', 'type': 'bool'}, + 'enable_fips': {'key': 'enableFIPS', 'type': 'bool'}, + 'gpu_instance_profile': {'key': 'gpuInstanceProfile', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + count: Optional[int] = None, + vm_size: Optional[str] = None, + os_disk_size_gb: Optional[int] = None, + os_disk_type: Optional[Union[str, "OSDiskType"]] = None, + kubelet_disk_type: Optional[Union[str, "KubeletDiskType"]] = None, + vnet_subnet_id: Optional[str] = None, + pod_subnet_id: Optional[str] = None, + max_pods: Optional[int] = None, + os_type: Optional[Union[str, "OSType"]] = "Linux", + os_sku: Optional[Union[str, "OSSKU"]] = None, + max_count: Optional[int] = None, + min_count: Optional[int] = None, + enable_auto_scaling: Optional[bool] = None, + type: Optional[Union[str, "AgentPoolType"]] = None, + mode: Optional[Union[str, "AgentPoolMode"]] = None, + orchestrator_version: Optional[str] = None, + upgrade_settings: Optional["AgentPoolUpgradeSettings"] = None, + availability_zones: Optional[List[str]] = None, + enable_node_public_ip: Optional[bool] = None, + node_public_ip_prefix_id: Optional[str] = None, + scale_set_priority: Optional[Union[str, "ScaleSetPriority"]] = "Regular", + scale_set_eviction_policy: Optional[Union[str, "ScaleSetEvictionPolicy"]] = "Delete", + spot_max_price: Optional[float] = -1, + tags: Optional[Dict[str, str]] = None, + node_labels: Optional[Dict[str, str]] = None, + node_taints: Optional[List[str]] = None, + proximity_placement_group_id: Optional[str] = None, + kubelet_config: Optional["KubeletConfig"] = None, + linux_os_config: Optional["LinuxOSConfig"] = None, + enable_encryption_at_host: Optional[bool] = None, + enable_ultra_ssd: Optional[bool] = None, + enable_fips: Optional[bool] = None, + gpu_instance_profile: Optional[Union[str, "GPUInstanceProfile"]] = None, + **kwargs + ): + super(ManagedClusterAgentPoolProfile, self).__init__(count=count, vm_size=vm_size, os_disk_size_gb=os_disk_size_gb, os_disk_type=os_disk_type, kubelet_disk_type=kubelet_disk_type, vnet_subnet_id=vnet_subnet_id, pod_subnet_id=pod_subnet_id, max_pods=max_pods, os_type=os_type, os_sku=os_sku, max_count=max_count, min_count=min_count, enable_auto_scaling=enable_auto_scaling, type=type, mode=mode, orchestrator_version=orchestrator_version, upgrade_settings=upgrade_settings, availability_zones=availability_zones, enable_node_public_ip=enable_node_public_ip, node_public_ip_prefix_id=node_public_ip_prefix_id, scale_set_priority=scale_set_priority, scale_set_eviction_policy=scale_set_eviction_policy, spot_max_price=spot_max_price, tags=tags, node_labels=node_labels, node_taints=node_taints, proximity_placement_group_id=proximity_placement_group_id, kubelet_config=kubelet_config, linux_os_config=linux_os_config, enable_encryption_at_host=enable_encryption_at_host, enable_ultra_ssd=enable_ultra_ssd, enable_fips=enable_fips, gpu_instance_profile=gpu_instance_profile, **kwargs) + self.name = name + + +class ManagedClusterAPIServerAccessProfile(msrest.serialization.Model): + """Access profile for managed cluster API server. + + :param authorized_ip_ranges: Authorized IP Ranges to kubernetes API server. + :type authorized_ip_ranges: list[str] + :param enable_private_cluster: Whether to create the cluster as a private cluster or not. + :type enable_private_cluster: bool + :param private_dns_zone: Private dns zone mode for private cluster. + :type private_dns_zone: str + :param enable_private_cluster_public_fqdn: Whether to create additional public FQDN for private + cluster or not. + :type enable_private_cluster_public_fqdn: bool + """ + + _attribute_map = { + 'authorized_ip_ranges': {'key': 'authorizedIPRanges', 'type': '[str]'}, + 'enable_private_cluster': {'key': 'enablePrivateCluster', 'type': 'bool'}, + 'private_dns_zone': {'key': 'privateDNSZone', 'type': 'str'}, + 'enable_private_cluster_public_fqdn': {'key': 'enablePrivateClusterPublicFQDN', 'type': 'bool'}, + } + + def __init__( + self, + *, + authorized_ip_ranges: Optional[List[str]] = None, + enable_private_cluster: Optional[bool] = None, + private_dns_zone: Optional[str] = None, + enable_private_cluster_public_fqdn: Optional[bool] = None, + **kwargs + ): + super(ManagedClusterAPIServerAccessProfile, self).__init__(**kwargs) + self.authorized_ip_ranges = authorized_ip_ranges + self.enable_private_cluster = enable_private_cluster + self.private_dns_zone = private_dns_zone + self.enable_private_cluster_public_fqdn = enable_private_cluster_public_fqdn + + +class ManagedClusterAutoUpgradeProfile(msrest.serialization.Model): + """Auto upgrade profile for a managed cluster. + + :param upgrade_channel: upgrade channel for auto upgrade. Possible values include: "rapid", + "stable", "patch", "node-image", "none". + :type upgrade_channel: str or ~azure.mgmt.containerservice.v2021_05_01.models.UpgradeChannel + """ + + _attribute_map = { + 'upgrade_channel': {'key': 'upgradeChannel', 'type': 'str'}, + } + + def __init__( + self, + *, + upgrade_channel: Optional[Union[str, "UpgradeChannel"]] = None, + **kwargs + ): + super(ManagedClusterAutoUpgradeProfile, self).__init__(**kwargs) + self.upgrade_channel = upgrade_channel + + +class ManagedClusterHTTPProxyConfig(msrest.serialization.Model): + """Configurations for provisioning the cluster with HTTP proxy servers. + + :param http_proxy: HTTP proxy server endpoint to use. + :type http_proxy: str + :param https_proxy: HTTPS proxy server endpoint to use. + :type https_proxy: str + :param no_proxy: Endpoints that should not go through proxy. + :type no_proxy: list[str] + :param trusted_ca: Alternative CA cert to use for connecting to proxy servers. + :type trusted_ca: str + """ + + _attribute_map = { + 'http_proxy': {'key': 'httpProxy', 'type': 'str'}, + 'https_proxy': {'key': 'httpsProxy', 'type': 'str'}, + 'no_proxy': {'key': 'noProxy', 'type': '[str]'}, + 'trusted_ca': {'key': 'trustedCa', 'type': 'str'}, + } + + def __init__( + self, + *, + http_proxy: Optional[str] = None, + https_proxy: Optional[str] = None, + no_proxy: Optional[List[str]] = None, + trusted_ca: Optional[str] = None, + **kwargs + ): + super(ManagedClusterHTTPProxyConfig, self).__init__(**kwargs) + self.http_proxy = http_proxy + self.https_proxy = https_proxy + self.no_proxy = no_proxy + self.trusted_ca = trusted_ca + + +class ManagedClusterIdentity(msrest.serialization.Model): + """Identity for the managed cluster. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of the system assigned identity which is used by master + components. + :vartype principal_id: str + :ivar tenant_id: The tenant id of the system assigned identity which is used by master + components. + :vartype tenant_id: str + :param type: The type of identity used for the managed cluster. Type 'SystemAssigned' will use + an implicitly created identity in master components and an auto-created user assigned identity + in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, + service principal will be used instead. Possible values include: "SystemAssigned", + "UserAssigned", "None". + :type type: str or ~azure.mgmt.containerservice.v2021_05_01.models.ResourceIdentityType + :param user_assigned_identities: The user identity associated with the managed cluster. This + identity will be used in control plane and only one user assigned identity is allowed. The user + identity dictionary key references will be ARM resource ids in the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + :type user_assigned_identities: dict[str, + ~azure.mgmt.containerservice.v2021_05_01.models.Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties] + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "ResourceIdentityType"]] = None, + user_assigned_identities: Optional[Dict[str, "Components1Umhcm8SchemasManagedclusteridentityPropertiesUserassignedidentitiesAdditionalproperties"]] = None, + **kwargs + ): + super(ManagedClusterIdentity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = type + self.user_assigned_identities = user_assigned_identities + + +class ManagedClusterListResult(msrest.serialization.Model): + """The response from the List Managed Clusters operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The list of managed clusters. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :ivar next_link: The URL to get the next set of managed cluster results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ManagedCluster]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ManagedCluster"]] = None, + **kwargs + ): + super(ManagedClusterListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ManagedClusterLoadBalancerProfile(msrest.serialization.Model): + """Profile of the managed cluster load balancer. + + :param managed_outbound_i_ps: Desired managed outbound IPs for the cluster load balancer. + :type managed_outbound_i_ps: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileManagedOutboundIPs + :param outbound_ip_prefixes: Desired outbound IP Prefix resources for the cluster load + balancer. + :type outbound_ip_prefixes: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPPrefixes + :param outbound_i_ps: Desired outbound IP resources for the cluster load balancer. + :type outbound_i_ps: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterLoadBalancerProfileOutboundIPs + :param effective_outbound_i_ps: The effective outbound IP resources of the cluster load + balancer. + :type effective_outbound_i_ps: + list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + :param allocated_outbound_ports: Desired number of allocated SNAT ports per VM. Allowed values + must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure + dynamically allocating ports. + :type allocated_outbound_ports: int + :param idle_timeout_in_minutes: Desired outbound flow idle timeout in minutes. Allowed values + must be in the range of 4 to 120 (inclusive). The default value is 30 minutes. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'allocated_outbound_ports': {'maximum': 64000, 'minimum': 0}, + 'idle_timeout_in_minutes': {'maximum': 120, 'minimum': 4}, + } + + _attribute_map = { + 'managed_outbound_i_ps': {'key': 'managedOutboundIPs', 'type': 'ManagedClusterLoadBalancerProfileManagedOutboundIPs'}, + 'outbound_ip_prefixes': {'key': 'outboundIPPrefixes', 'type': 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes'}, + 'outbound_i_ps': {'key': 'outboundIPs', 'type': 'ManagedClusterLoadBalancerProfileOutboundIPs'}, + 'effective_outbound_i_ps': {'key': 'effectiveOutboundIPs', 'type': '[ResourceReference]'}, + 'allocated_outbound_ports': {'key': 'allocatedOutboundPorts', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + *, + managed_outbound_i_ps: Optional["ManagedClusterLoadBalancerProfileManagedOutboundIPs"] = None, + outbound_ip_prefixes: Optional["ManagedClusterLoadBalancerProfileOutboundIPPrefixes"] = None, + outbound_i_ps: Optional["ManagedClusterLoadBalancerProfileOutboundIPs"] = None, + effective_outbound_i_ps: Optional[List["ResourceReference"]] = None, + allocated_outbound_ports: Optional[int] = 0, + idle_timeout_in_minutes: Optional[int] = 30, + **kwargs + ): + super(ManagedClusterLoadBalancerProfile, self).__init__(**kwargs) + self.managed_outbound_i_ps = managed_outbound_i_ps + self.outbound_ip_prefixes = outbound_ip_prefixes + self.outbound_i_ps = outbound_i_ps + self.effective_outbound_i_ps = effective_outbound_i_ps + self.allocated_outbound_ports = allocated_outbound_ports + self.idle_timeout_in_minutes = idle_timeout_in_minutes + + +class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.Model): + """Desired managed outbound IPs for the cluster load balancer. + + :param count: Desired number of outbound IP created/managed by Azure for the cluster load + balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. + :type count: int + """ + + _validation = { + 'count': {'maximum': 100, 'minimum': 1}, + } + + _attribute_map = { + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + *, + count: Optional[int] = 1, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs) + self.count = count + + +class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model): + """Desired outbound IP Prefix resources for the cluster load balancer. + + :param public_ip_prefixes: A list of public IP prefix resources. + :type public_ip_prefixes: + list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + """ + + _attribute_map = { + 'public_ip_prefixes': {'key': 'publicIPPrefixes', 'type': '[ResourceReference]'}, + } + + def __init__( + self, + *, + public_ip_prefixes: Optional[List["ResourceReference"]] = None, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileOutboundIPPrefixes, self).__init__(**kwargs) + self.public_ip_prefixes = public_ip_prefixes + + +class ManagedClusterLoadBalancerProfileOutboundIPs(msrest.serialization.Model): + """Desired outbound IP resources for the cluster load balancer. + + :param public_i_ps: A list of public IP resources. + :type public_i_ps: list[~azure.mgmt.containerservice.v2021_05_01.models.ResourceReference] + """ + + _attribute_map = { + 'public_i_ps': {'key': 'publicIPs', 'type': '[ResourceReference]'}, + } + + def __init__( + self, + *, + public_i_ps: Optional[List["ResourceReference"]] = None, + **kwargs + ): + super(ManagedClusterLoadBalancerProfileOutboundIPs, self).__init__(**kwargs) + self.public_i_ps = public_i_ps + + +class ManagedClusterPodIdentity(msrest.serialization.Model): + """ManagedClusterPodIdentity. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the pod identity. + :type name: str + :param namespace: Required. Namespace of the pod identity. + :type namespace: str + :param binding_selector: Binding selector to use for the AzureIdentityBinding resource. + :type binding_selector: str + :param identity: Required. Information of the user assigned identity. + :type identity: ~azure.mgmt.containerservice.v2021_05_01.models.UserAssignedIdentity + :ivar provisioning_state: The current provisioning state of the pod identity. Possible values + include: "Assigned", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningState + :ivar provisioning_info: + :vartype provisioning_info: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityProvisioningInfo + """ + + _validation = { + 'name': {'required': True}, + 'namespace': {'required': True}, + 'identity': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'provisioning_info': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'binding_selector': {'key': 'bindingSelector', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'UserAssignedIdentity'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'provisioning_info': {'key': 'provisioningInfo', 'type': 'ManagedClusterPodIdentityProvisioningInfo'}, + } + + def __init__( + self, + *, + name: str, + namespace: str, + identity: "UserAssignedIdentity", + binding_selector: Optional[str] = None, + **kwargs + ): + super(ManagedClusterPodIdentity, self).__init__(**kwargs) + self.name = name + self.namespace = namespace + self.binding_selector = binding_selector + self.identity = identity + self.provisioning_state = None + self.provisioning_info = None + + +class ManagedClusterPodIdentityException(msrest.serialization.Model): + """ManagedClusterPodIdentityException. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Name of the pod identity exception. + :type name: str + :param namespace: Required. Namespace of the pod identity exception. + :type namespace: str + :param pod_labels: Required. Pod labels to match. + :type pod_labels: dict[str, str] + """ + + _validation = { + 'name': {'required': True}, + 'namespace': {'required': True}, + 'pod_labels': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'namespace': {'key': 'namespace', 'type': 'str'}, + 'pod_labels': {'key': 'podLabels', 'type': '{str}'}, + } + + def __init__( + self, + *, + name: str, + namespace: str, + pod_labels: Dict[str, str], + **kwargs + ): + super(ManagedClusterPodIdentityException, self).__init__(**kwargs) + self.name = name + self.namespace = namespace + self.pod_labels = pod_labels + + +class ManagedClusterPodIdentityProfile(msrest.serialization.Model): + """ManagedClusterPodIdentityProfile. + + :param enabled: Whether the pod identity addon is enabled. + :type enabled: bool + :param allow_network_plugin_kubenet: Customer consent for enabling AAD pod identity addon in + cluster using Kubenet network plugin. + :type allow_network_plugin_kubenet: bool + :param user_assigned_identities: User assigned pod identity settings. + :type user_assigned_identities: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentity] + :param user_assigned_identity_exceptions: User assigned pod identity exception settings. + :type user_assigned_identity_exceptions: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPodIdentityException] + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'allow_network_plugin_kubenet': {'key': 'allowNetworkPluginKubenet', 'type': 'bool'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '[ManagedClusterPodIdentity]'}, + 'user_assigned_identity_exceptions': {'key': 'userAssignedIdentityExceptions', 'type': '[ManagedClusterPodIdentityException]'}, + } + + def __init__( + self, + *, + enabled: Optional[bool] = None, + allow_network_plugin_kubenet: Optional[bool] = None, + user_assigned_identities: Optional[List["ManagedClusterPodIdentity"]] = None, + user_assigned_identity_exceptions: Optional[List["ManagedClusterPodIdentityException"]] = None, + **kwargs + ): + super(ManagedClusterPodIdentityProfile, self).__init__(**kwargs) + self.enabled = enabled + self.allow_network_plugin_kubenet = allow_network_plugin_kubenet + self.user_assigned_identities = user_assigned_identities + self.user_assigned_identity_exceptions = user_assigned_identity_exceptions + + +class ManagedClusterPodIdentityProvisioningInfo(msrest.serialization.Model): + """ManagedClusterPodIdentityProvisioningInfo. + + :param error: Pod identity assignment error (if any). + :type error: ~azure.mgmt.containerservice.v2021_05_01.models.CloudError + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'CloudError'}, + } + + def __init__( + self, + *, + error: Optional["CloudError"] = None, + **kwargs + ): + super(ManagedClusterPodIdentityProvisioningInfo, self).__init__(**kwargs) + self.error = error + + +class ManagedClusterPoolUpgradeProfile(msrest.serialization.Model): + """The list of available upgrade versions. + + All required parameters must be populated in order to send to Azure. + + :param kubernetes_version: Required. Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param name: Pool name. + :type name: str + :param os_type: Required. OsType to be used to specify os type. Choose from Linux and Windows. + Default to Linux. Possible values include: "Linux", "Windows". Default value: "Linux". + :type os_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.OSType + :param upgrades: List of orchestrator types and versions available for upgrade. + :type upgrades: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + """ + + _validation = { + 'kubernetes_version': {'required': True}, + 'os_type': {'required': True}, + } + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'os_type': {'key': 'osType', 'type': 'str'}, + 'upgrades': {'key': 'upgrades', 'type': '[ManagedClusterPoolUpgradeProfileUpgradesItem]'}, + } + + def __init__( + self, + *, + kubernetes_version: str, + os_type: Union[str, "OSType"] = "Linux", + name: Optional[str] = None, + upgrades: Optional[List["ManagedClusterPoolUpgradeProfileUpgradesItem"]] = None, + **kwargs + ): + super(ManagedClusterPoolUpgradeProfile, self).__init__(**kwargs) + self.kubernetes_version = kubernetes_version + self.name = name + self.os_type = os_type + self.upgrades = upgrades + + +class ManagedClusterPoolUpgradeProfileUpgradesItem(msrest.serialization.Model): + """ManagedClusterPoolUpgradeProfileUpgradesItem. + + :param kubernetes_version: Kubernetes version (major, minor, patch). + :type kubernetes_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _attribute_map = { + 'kubernetes_version': {'key': 'kubernetesVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__( + self, + *, + kubernetes_version: Optional[str] = None, + is_preview: Optional[bool] = None, + **kwargs + ): + super(ManagedClusterPoolUpgradeProfileUpgradesItem, self).__init__(**kwargs) + self.kubernetes_version = kubernetes_version + self.is_preview = is_preview + + +class ManagedClusterPropertiesAutoScalerProfile(msrest.serialization.Model): + """Parameters to be applied to the cluster-autoscaler when enabled. + + :param balance_similar_node_groups: + :type balance_similar_node_groups: str + :param expander: Possible values include: "least-waste", "most-pods", "priority", "random". + :type expander: str or ~azure.mgmt.containerservice.v2021_05_01.models.Expander + :param max_empty_bulk_delete: + :type max_empty_bulk_delete: str + :param max_graceful_termination_sec: + :type max_graceful_termination_sec: str + :param max_node_provision_time: + :type max_node_provision_time: str + :param max_total_unready_percentage: + :type max_total_unready_percentage: str + :param new_pod_scale_up_delay: + :type new_pod_scale_up_delay: str + :param ok_total_unready_count: + :type ok_total_unready_count: str + :param scan_interval: + :type scan_interval: str + :param scale_down_delay_after_add: + :type scale_down_delay_after_add: str + :param scale_down_delay_after_delete: + :type scale_down_delay_after_delete: str + :param scale_down_delay_after_failure: + :type scale_down_delay_after_failure: str + :param scale_down_unneeded_time: + :type scale_down_unneeded_time: str + :param scale_down_unready_time: + :type scale_down_unready_time: str + :param scale_down_utilization_threshold: + :type scale_down_utilization_threshold: str + :param skip_nodes_with_local_storage: + :type skip_nodes_with_local_storage: str + :param skip_nodes_with_system_pods: + :type skip_nodes_with_system_pods: str + """ + + _attribute_map = { + 'balance_similar_node_groups': {'key': 'balance-similar-node-groups', 'type': 'str'}, + 'expander': {'key': 'expander', 'type': 'str'}, + 'max_empty_bulk_delete': {'key': 'max-empty-bulk-delete', 'type': 'str'}, + 'max_graceful_termination_sec': {'key': 'max-graceful-termination-sec', 'type': 'str'}, + 'max_node_provision_time': {'key': 'max-node-provision-time', 'type': 'str'}, + 'max_total_unready_percentage': {'key': 'max-total-unready-percentage', 'type': 'str'}, + 'new_pod_scale_up_delay': {'key': 'new-pod-scale-up-delay', 'type': 'str'}, + 'ok_total_unready_count': {'key': 'ok-total-unready-count', 'type': 'str'}, + 'scan_interval': {'key': 'scan-interval', 'type': 'str'}, + 'scale_down_delay_after_add': {'key': 'scale-down-delay-after-add', 'type': 'str'}, + 'scale_down_delay_after_delete': {'key': 'scale-down-delay-after-delete', 'type': 'str'}, + 'scale_down_delay_after_failure': {'key': 'scale-down-delay-after-failure', 'type': 'str'}, + 'scale_down_unneeded_time': {'key': 'scale-down-unneeded-time', 'type': 'str'}, + 'scale_down_unready_time': {'key': 'scale-down-unready-time', 'type': 'str'}, + 'scale_down_utilization_threshold': {'key': 'scale-down-utilization-threshold', 'type': 'str'}, + 'skip_nodes_with_local_storage': {'key': 'skip-nodes-with-local-storage', 'type': 'str'}, + 'skip_nodes_with_system_pods': {'key': 'skip-nodes-with-system-pods', 'type': 'str'}, + } + + def __init__( + self, + *, + balance_similar_node_groups: Optional[str] = None, + expander: Optional[Union[str, "Expander"]] = None, + max_empty_bulk_delete: Optional[str] = None, + max_graceful_termination_sec: Optional[str] = None, + max_node_provision_time: Optional[str] = None, + max_total_unready_percentage: Optional[str] = None, + new_pod_scale_up_delay: Optional[str] = None, + ok_total_unready_count: Optional[str] = None, + scan_interval: Optional[str] = None, + scale_down_delay_after_add: Optional[str] = None, + scale_down_delay_after_delete: Optional[str] = None, + scale_down_delay_after_failure: Optional[str] = None, + scale_down_unneeded_time: Optional[str] = None, + scale_down_unready_time: Optional[str] = None, + scale_down_utilization_threshold: Optional[str] = None, + skip_nodes_with_local_storage: Optional[str] = None, + skip_nodes_with_system_pods: Optional[str] = None, + **kwargs + ): + super(ManagedClusterPropertiesAutoScalerProfile, self).__init__(**kwargs) + self.balance_similar_node_groups = balance_similar_node_groups + self.expander = expander + self.max_empty_bulk_delete = max_empty_bulk_delete + self.max_graceful_termination_sec = max_graceful_termination_sec + self.max_node_provision_time = max_node_provision_time + self.max_total_unready_percentage = max_total_unready_percentage + self.new_pod_scale_up_delay = new_pod_scale_up_delay + self.ok_total_unready_count = ok_total_unready_count + self.scan_interval = scan_interval + self.scale_down_delay_after_add = scale_down_delay_after_add + self.scale_down_delay_after_delete = scale_down_delay_after_delete + self.scale_down_delay_after_failure = scale_down_delay_after_failure + self.scale_down_unneeded_time = scale_down_unneeded_time + self.scale_down_unready_time = scale_down_unready_time + self.scale_down_utilization_threshold = scale_down_utilization_threshold + self.skip_nodes_with_local_storage = skip_nodes_with_local_storage + self.skip_nodes_with_system_pods = skip_nodes_with_system_pods + + +class ManagedClusterServicePrincipalProfile(msrest.serialization.Model): + """Information about a service principal identity for the cluster to use for manipulating Azure APIs. + + All required parameters must be populated in order to send to Azure. + + :param client_id: Required. The ID for the service principal. + :type client_id: str + :param secret: The secret password associated with the service principal in plain text. + :type secret: str + """ + + _validation = { + 'client_id': {'required': True}, + } + + _attribute_map = { + 'client_id': {'key': 'clientId', 'type': 'str'}, + 'secret': {'key': 'secret', 'type': 'str'}, + } + + def __init__( + self, + *, + client_id: str, + secret: Optional[str] = None, + **kwargs + ): + super(ManagedClusterServicePrincipalProfile, self).__init__(**kwargs) + self.client_id = client_id + self.secret = secret + + +class ManagedClusterSKU(msrest.serialization.Model): + """ManagedClusterSKU. + + :param name: Name of a managed cluster SKU. Possible values include: "Basic". + :type name: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUName + :param tier: Tier of a managed cluster SKU. Possible values include: "Paid", "Free". + :type tier: str or ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterSKUTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "ManagedClusterSKUName"]] = None, + tier: Optional[Union[str, "ManagedClusterSKUTier"]] = None, + **kwargs + ): + super(ManagedClusterSKU, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class ManagedClusterUpgradeProfile(msrest.serialization.Model): + """The list of available upgrades for compute pools. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of upgrade profile. + :vartype id: str + :ivar name: Name of upgrade profile. + :vartype name: str + :ivar type: Type of upgrade profile. + :vartype type: str + :param control_plane_profile: Required. The list of available upgrade versions for the control + plane. + :type control_plane_profile: + ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile + :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. + :type agent_pool_profiles: + list[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterPoolUpgradeProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'control_plane_profile': {'required': True}, + 'agent_pool_profiles': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'control_plane_profile': {'key': 'properties.controlPlaneProfile', 'type': 'ManagedClusterPoolUpgradeProfile'}, + 'agent_pool_profiles': {'key': 'properties.agentPoolProfiles', 'type': '[ManagedClusterPoolUpgradeProfile]'}, + } + + def __init__( + self, + *, + control_plane_profile: "ManagedClusterPoolUpgradeProfile", + agent_pool_profiles: List["ManagedClusterPoolUpgradeProfile"], + **kwargs + ): + super(ManagedClusterUpgradeProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.control_plane_profile = control_plane_profile + self.agent_pool_profiles = agent_pool_profiles + + +class ManagedClusterWindowsProfile(msrest.serialization.Model): + """Profile for Windows VMs in the container service cluster. + + All required parameters must be populated in order to send to Azure. + + :param admin_username: Required. Specifies the name of the administrator account. + :code:`
`:code:`
` **restriction:** Cannot end in "." :code:`
`:code:`
` + **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", + "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", + "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", + "sys", "test2", "test3", "user4", "user5". :code:`
`:code:`
` **Minimum-length:** 1 + character :code:`
`:code:`
` **Max-length:** 20 characters. + :type admin_username: str + :param admin_password: Specifies the password of the administrator account. + :code:`
`:code:`
` **Minimum-length:** 8 characters :code:`
`:code:`
` + **Max-length:** 123 characters :code:`
`:code:`
` **Complexity requirements:** 3 out of 4 + conditions below need to be fulfilled :code:`
` Has lower characters :code:`
`Has upper + characters :code:`
` Has a digit :code:`
` Has a special character (Regex match [\W_]) + :code:`
`:code:`
` **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", + "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!". + :type admin_password: str + :param license_type: The licenseType to use for Windows VMs. Windows_Server is used to enable + Azure Hybrid User Benefits for Windows VMs. Possible values include: "None", "Windows_Server". + :type license_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.LicenseType + :param enable_csi_proxy: Whether to enable CSI proxy. + :type enable_csi_proxy: bool + """ + + _validation = { + 'admin_username': {'required': True}, + } + + _attribute_map = { + 'admin_username': {'key': 'adminUsername', 'type': 'str'}, + 'admin_password': {'key': 'adminPassword', 'type': 'str'}, + 'license_type': {'key': 'licenseType', 'type': 'str'}, + 'enable_csi_proxy': {'key': 'enableCSIProxy', 'type': 'bool'}, + } + + def __init__( + self, + *, + admin_username: str, + admin_password: Optional[str] = None, + license_type: Optional[Union[str, "LicenseType"]] = None, + enable_csi_proxy: Optional[bool] = None, + **kwargs + ): + super(ManagedClusterWindowsProfile, self).__init__(**kwargs) + self.admin_username = admin_username + self.admin_password = admin_password + self.license_type = license_type + self.enable_csi_proxy = enable_csi_proxy + + +class OperationListResult(msrest.serialization.Model): + """The List Compute Operation operation response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of compute operations. + :vartype value: list[~azure.mgmt.containerservice.v2021_05_01.models.OperationValue] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OperationValue]'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = None + + +class OperationValue(msrest.serialization.Model): + """Describes the properties of a Compute Operation value. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar origin: The origin of the compute operation. + :vartype origin: str + :ivar name: The name of the compute operation. + :vartype name: str + :ivar operation: The display name of the compute operation. + :vartype operation: str + :ivar resource: The display name of the resource the operation applies to. + :vartype resource: str + :ivar description: The description of the operation. + :vartype description: str + :ivar provider: The resource provider for the operation. + :vartype provider: str + """ + + _validation = { + 'origin': {'readonly': True}, + 'name': {'readonly': True}, + 'operation': {'readonly': True}, + 'resource': {'readonly': True}, + 'description': {'readonly': True}, + 'provider': {'readonly': True}, + } + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'operation': {'key': 'display.operation', 'type': 'str'}, + 'resource': {'key': 'display.resource', 'type': 'str'}, + 'description': {'key': 'display.description', 'type': 'str'}, + 'provider': {'key': 'display.provider', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationValue, self).__init__(**kwargs) + self.origin = None + self.name = None + self.operation = None + self.resource = None + self.description = None + self.provider = None + + +class OSOptionProfile(msrest.serialization.Model): + """The OS option profile. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the OS option profile. + :vartype id: str + :ivar name: Name of the OS option profile. + :vartype name: str + :ivar type: Type of the OS option profile. + :vartype type: str + :param os_option_property_list: Required. The list of OS option properties. + :type os_option_property_list: + list[~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProperty] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'os_option_property_list': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'os_option_property_list': {'key': 'properties.osOptionPropertyList', 'type': '[OSOptionProperty]'}, + } + + def __init__( + self, + *, + os_option_property_list: List["OSOptionProperty"], + **kwargs + ): + super(OSOptionProfile, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.os_option_property_list = os_option_property_list + + +class OSOptionProperty(msrest.serialization.Model): + """OS option property. + + All required parameters must be populated in order to send to Azure. + + :param os_type: Required. OS type. + :type os_type: str + :param enable_fips_image: Required. Whether FIPS image is enabled. + :type enable_fips_image: bool + """ + + _validation = { + 'os_type': {'required': True}, + 'enable_fips_image': {'required': True}, + } + + _attribute_map = { + 'os_type': {'key': 'os-type', 'type': 'str'}, + 'enable_fips_image': {'key': 'enable-fips-image', 'type': 'bool'}, + } + + def __init__( + self, + *, + os_type: str, + enable_fips_image: bool, + **kwargs + ): + super(OSOptionProperty, self).__init__(**kwargs) + self.os_type = os_type + self.enable_fips_image = enable_fips_image + + +class OutboundEnvironmentEndpoint(msrest.serialization.Model): + """Egress endpoints which AKS agent nodes connect to for common purpose. + + :param category: The category of endpoints accessed by the AKS agent node, e.g. + azure-resource-management, apiserver, etc. + :type category: str + :param endpoints: The endpoints that AKS agent nodes connect to. + :type endpoints: list[~azure.mgmt.containerservice.v2021_05_01.models.EndpointDependency] + """ + + _attribute_map = { + 'category': {'key': 'category', 'type': 'str'}, + 'endpoints': {'key': 'endpoints', 'type': '[EndpointDependency]'}, + } + + def __init__( + self, + *, + category: Optional[str] = None, + endpoints: Optional[List["EndpointDependency"]] = None, + **kwargs + ): + super(OutboundEnvironmentEndpoint, self).__init__(**kwargs) + self.category = category + self.endpoints = endpoints + + +class OutboundEnvironmentEndpointCollection(msrest.serialization.Model): + """Collection of OutboundEnvironmentEndpoint. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param value: Required. Collection of resources. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpoint] + :ivar next_link: Link to next page of resources. + :vartype next_link: str + """ + + _validation = { + 'value': {'required': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundEnvironmentEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: List["OutboundEnvironmentEndpoint"], + **kwargs + ): + super(OutboundEnvironmentEndpointCollection, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class PowerState(msrest.serialization.Model): + """Describes the Power State of the cluster. + + :param code: Tells whether the cluster is Running or Stopped. Possible values include: + "Running", "Stopped". + :type code: str or ~azure.mgmt.containerservice.v2021_05_01.models.Code + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + } + + def __init__( + self, + *, + code: Optional[Union[str, "Code"]] = None, + **kwargs + ): + super(PowerState, self).__init__(**kwargs) + self.code = code + + +class PrivateEndpoint(msrest.serialization.Model): + """Private endpoint which a connection belongs to. + + :param id: The resource Id for private endpoint. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(PrivateEndpoint, self).__init__(**kwargs) + self.id = id + + +class PrivateEndpointConnection(msrest.serialization.Model): + """A private endpoint connection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The ID of the private endpoint connection. + :vartype id: str + :ivar name: The name of the private endpoint connection. + :vartype name: str + :ivar type: The resource type. + :vartype type: str + :ivar provisioning_state: The current provisioning state. Possible values include: "Succeeded", + "Creating", "Deleting", "Failed". + :vartype provisioning_state: str or + ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionProvisioningState + :param private_endpoint: The resource of private endpoint. + :type private_endpoint: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkServiceConnectionState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + } + + def __init__( + self, + *, + private_endpoint: Optional["PrivateEndpoint"] = None, + private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, + **kwargs + ): + super(PrivateEndpointConnection, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.provisioning_state = None + self.private_endpoint = private_endpoint + self.private_link_service_connection_state = private_link_service_connection_state + + +class PrivateEndpointConnectionListResult(msrest.serialization.Model): + """A list of private endpoint connections. + + :param value: The collection value. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateEndpointConnection"]] = None, + **kwargs + ): + super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = value + + +class PrivateLinkResource(msrest.serialization.Model): + """A private link resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: The ID of the private link resource. + :type id: str + :param name: The name of the private link resource. + :type name: str + :param type: The resource type. + :type type: str + :param group_id: The group ID of the resource. + :type group_id: str + :param required_members: RequiredMembers of the resource. + :type required_members: list[str] + :ivar private_link_service_id: The private link service ID of the resource, this field is + exposed only to NRP internally. + :vartype private_link_service_id: str + """ + + _validation = { + 'private_link_service_id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'group_id': {'key': 'groupId', 'type': 'str'}, + 'required_members': {'key': 'requiredMembers', 'type': '[str]'}, + 'private_link_service_id': {'key': 'privateLinkServiceID', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + group_id: Optional[str] = None, + required_members: Optional[List[str]] = None, + **kwargs + ): + super(PrivateLinkResource, self).__init__(**kwargs) + self.id = id + self.name = name + self.type = type + self.group_id = group_id + self.required_members = required_members + self.private_link_service_id = None + + +class PrivateLinkResourcesListResult(msrest.serialization.Model): + """A list of private link resources. + + :param value: The collection value. + :type value: list[~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateLinkResource]'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateLinkResource"]] = None, + **kwargs + ): + super(PrivateLinkResourcesListResult, self).__init__(**kwargs) + self.value = value + + +class PrivateLinkServiceConnectionState(msrest.serialization.Model): + """The state of a private link service connection. + + :param status: The private link service connection status. Possible values include: "Pending", + "Approved", "Rejected", "Disconnected". + :type status: str or ~azure.mgmt.containerservice.v2021_05_01.models.ConnectionStatus + :param description: The private link service connection description. + :type description: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + status: Optional[Union[str, "ConnectionStatus"]] = None, + description: Optional[str] = None, + **kwargs + ): + super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) + self.status = status + self.description = description + + +class ResourceReference(msrest.serialization.Model): + """A reference to an Azure resource. + + :param id: The fully qualified Azure resource id. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(ResourceReference, self).__init__(**kwargs) + self.id = id + + +class RunCommandRequest(msrest.serialization.Model): + """run command request. + + All required parameters must be populated in order to send to Azure. + + :param command: Required. command to run. + :type command: str + :param context: base64 encoded zip file, contains files required by the command. + :type context: str + :param cluster_token: AuthToken issued for AKS AAD Server App. + :type cluster_token: str + """ + + _validation = { + 'command': {'required': True}, + } + + _attribute_map = { + 'command': {'key': 'command', 'type': 'str'}, + 'context': {'key': 'context', 'type': 'str'}, + 'cluster_token': {'key': 'clusterToken', 'type': 'str'}, + } + + def __init__( + self, + *, + command: str, + context: Optional[str] = None, + cluster_token: Optional[str] = None, + **kwargs + ): + super(RunCommandRequest, self).__init__(**kwargs) + self.command = command + self.context = context + self.cluster_token = cluster_token + + +class RunCommandResult(msrest.serialization.Model): + """run command result. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: command id. + :vartype id: str + :ivar provisioning_state: provisioning State. + :vartype provisioning_state: str + :ivar exit_code: exit code of the command. + :vartype exit_code: int + :ivar started_at: time when the command started. + :vartype started_at: ~datetime.datetime + :ivar finished_at: time when the command finished. + :vartype finished_at: ~datetime.datetime + :ivar logs: command output. + :vartype logs: str + :ivar reason: explain why provisioningState is set to failed (if so). + :vartype reason: str + """ + + _validation = { + 'id': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'exit_code': {'readonly': True}, + 'started_at': {'readonly': True}, + 'finished_at': {'readonly': True}, + 'logs': {'readonly': True}, + 'reason': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'exit_code': {'key': 'properties.exitCode', 'type': 'int'}, + 'started_at': {'key': 'properties.startedAt', 'type': 'iso-8601'}, + 'finished_at': {'key': 'properties.finishedAt', 'type': 'iso-8601'}, + 'logs': {'key': 'properties.logs', 'type': 'str'}, + 'reason': {'key': 'properties.reason', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RunCommandResult, self).__init__(**kwargs) + self.id = None + self.provisioning_state = None + self.exit_code = None + self.started_at = None + self.finished_at = None + self.logs = None + self.reason = None + + +class SysctlConfig(msrest.serialization.Model): + """Sysctl settings for Linux agent nodes. + + :param net_core_somaxconn: Sysctl setting net.core.somaxconn. + :type net_core_somaxconn: int + :param net_core_netdev_max_backlog: Sysctl setting net.core.netdev_max_backlog. + :type net_core_netdev_max_backlog: int + :param net_core_rmem_default: Sysctl setting net.core.rmem_default. + :type net_core_rmem_default: int + :param net_core_rmem_max: Sysctl setting net.core.rmem_max. + :type net_core_rmem_max: int + :param net_core_wmem_default: Sysctl setting net.core.wmem_default. + :type net_core_wmem_default: int + :param net_core_wmem_max: Sysctl setting net.core.wmem_max. + :type net_core_wmem_max: int + :param net_core_optmem_max: Sysctl setting net.core.optmem_max. + :type net_core_optmem_max: int + :param net_ipv4_tcp_max_syn_backlog: Sysctl setting net.ipv4.tcp_max_syn_backlog. + :type net_ipv4_tcp_max_syn_backlog: int + :param net_ipv4_tcp_max_tw_buckets: Sysctl setting net.ipv4.tcp_max_tw_buckets. + :type net_ipv4_tcp_max_tw_buckets: int + :param net_ipv4_tcp_fin_timeout: Sysctl setting net.ipv4.tcp_fin_timeout. + :type net_ipv4_tcp_fin_timeout: int + :param net_ipv4_tcp_keepalive_time: Sysctl setting net.ipv4.tcp_keepalive_time. + :type net_ipv4_tcp_keepalive_time: int + :param net_ipv4_tcp_keepalive_probes: Sysctl setting net.ipv4.tcp_keepalive_probes. + :type net_ipv4_tcp_keepalive_probes: int + :param net_ipv4_tcpkeepalive_intvl: Sysctl setting net.ipv4.tcp_keepalive_intvl. + :type net_ipv4_tcpkeepalive_intvl: int + :param net_ipv4_tcp_tw_reuse: Sysctl setting net.ipv4.tcp_tw_reuse. + :type net_ipv4_tcp_tw_reuse: bool + :param net_ipv4_ip_local_port_range: Sysctl setting net.ipv4.ip_local_port_range. + :type net_ipv4_ip_local_port_range: str + :param net_ipv4_neigh_default_gc_thresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1. + :type net_ipv4_neigh_default_gc_thresh1: int + :param net_ipv4_neigh_default_gc_thresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2. + :type net_ipv4_neigh_default_gc_thresh2: int + :param net_ipv4_neigh_default_gc_thresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3. + :type net_ipv4_neigh_default_gc_thresh3: int + :param net_netfilter_nf_conntrack_max: Sysctl setting net.netfilter.nf_conntrack_max. + :type net_netfilter_nf_conntrack_max: int + :param net_netfilter_nf_conntrack_buckets: Sysctl setting net.netfilter.nf_conntrack_buckets. + :type net_netfilter_nf_conntrack_buckets: int + :param fs_inotify_max_user_watches: Sysctl setting fs.inotify.max_user_watches. + :type fs_inotify_max_user_watches: int + :param fs_file_max: Sysctl setting fs.file-max. + :type fs_file_max: int + :param fs_aio_max_nr: Sysctl setting fs.aio-max-nr. + :type fs_aio_max_nr: int + :param fs_nr_open: Sysctl setting fs.nr_open. + :type fs_nr_open: int + :param kernel_threads_max: Sysctl setting kernel.threads-max. + :type kernel_threads_max: int + :param vm_max_map_count: Sysctl setting vm.max_map_count. + :type vm_max_map_count: int + :param vm_swappiness: Sysctl setting vm.swappiness. + :type vm_swappiness: int + :param vm_vfs_cache_pressure: Sysctl setting vm.vfs_cache_pressure. + :type vm_vfs_cache_pressure: int + """ + + _attribute_map = { + 'net_core_somaxconn': {'key': 'netCoreSomaxconn', 'type': 'int'}, + 'net_core_netdev_max_backlog': {'key': 'netCoreNetdevMaxBacklog', 'type': 'int'}, + 'net_core_rmem_default': {'key': 'netCoreRmemDefault', 'type': 'int'}, + 'net_core_rmem_max': {'key': 'netCoreRmemMax', 'type': 'int'}, + 'net_core_wmem_default': {'key': 'netCoreWmemDefault', 'type': 'int'}, + 'net_core_wmem_max': {'key': 'netCoreWmemMax', 'type': 'int'}, + 'net_core_optmem_max': {'key': 'netCoreOptmemMax', 'type': 'int'}, + 'net_ipv4_tcp_max_syn_backlog': {'key': 'netIpv4TcpMaxSynBacklog', 'type': 'int'}, + 'net_ipv4_tcp_max_tw_buckets': {'key': 'netIpv4TcpMaxTwBuckets', 'type': 'int'}, + 'net_ipv4_tcp_fin_timeout': {'key': 'netIpv4TcpFinTimeout', 'type': 'int'}, + 'net_ipv4_tcp_keepalive_time': {'key': 'netIpv4TcpKeepaliveTime', 'type': 'int'}, + 'net_ipv4_tcp_keepalive_probes': {'key': 'netIpv4TcpKeepaliveProbes', 'type': 'int'}, + 'net_ipv4_tcpkeepalive_intvl': {'key': 'netIpv4TcpkeepaliveIntvl', 'type': 'int'}, + 'net_ipv4_tcp_tw_reuse': {'key': 'netIpv4TcpTwReuse', 'type': 'bool'}, + 'net_ipv4_ip_local_port_range': {'key': 'netIpv4IpLocalPortRange', 'type': 'str'}, + 'net_ipv4_neigh_default_gc_thresh1': {'key': 'netIpv4NeighDefaultGcThresh1', 'type': 'int'}, + 'net_ipv4_neigh_default_gc_thresh2': {'key': 'netIpv4NeighDefaultGcThresh2', 'type': 'int'}, + 'net_ipv4_neigh_default_gc_thresh3': {'key': 'netIpv4NeighDefaultGcThresh3', 'type': 'int'}, + 'net_netfilter_nf_conntrack_max': {'key': 'netNetfilterNfConntrackMax', 'type': 'int'}, + 'net_netfilter_nf_conntrack_buckets': {'key': 'netNetfilterNfConntrackBuckets', 'type': 'int'}, + 'fs_inotify_max_user_watches': {'key': 'fsInotifyMaxUserWatches', 'type': 'int'}, + 'fs_file_max': {'key': 'fsFileMax', 'type': 'int'}, + 'fs_aio_max_nr': {'key': 'fsAioMaxNr', 'type': 'int'}, + 'fs_nr_open': {'key': 'fsNrOpen', 'type': 'int'}, + 'kernel_threads_max': {'key': 'kernelThreadsMax', 'type': 'int'}, + 'vm_max_map_count': {'key': 'vmMaxMapCount', 'type': 'int'}, + 'vm_swappiness': {'key': 'vmSwappiness', 'type': 'int'}, + 'vm_vfs_cache_pressure': {'key': 'vmVfsCachePressure', 'type': 'int'}, + } + + def __init__( + self, + *, + net_core_somaxconn: Optional[int] = None, + net_core_netdev_max_backlog: Optional[int] = None, + net_core_rmem_default: Optional[int] = None, + net_core_rmem_max: Optional[int] = None, + net_core_wmem_default: Optional[int] = None, + net_core_wmem_max: Optional[int] = None, + net_core_optmem_max: Optional[int] = None, + net_ipv4_tcp_max_syn_backlog: Optional[int] = None, + net_ipv4_tcp_max_tw_buckets: Optional[int] = None, + net_ipv4_tcp_fin_timeout: Optional[int] = None, + net_ipv4_tcp_keepalive_time: Optional[int] = None, + net_ipv4_tcp_keepalive_probes: Optional[int] = None, + net_ipv4_tcpkeepalive_intvl: Optional[int] = None, + net_ipv4_tcp_tw_reuse: Optional[bool] = None, + net_ipv4_ip_local_port_range: Optional[str] = None, + net_ipv4_neigh_default_gc_thresh1: Optional[int] = None, + net_ipv4_neigh_default_gc_thresh2: Optional[int] = None, + net_ipv4_neigh_default_gc_thresh3: Optional[int] = None, + net_netfilter_nf_conntrack_max: Optional[int] = None, + net_netfilter_nf_conntrack_buckets: Optional[int] = None, + fs_inotify_max_user_watches: Optional[int] = None, + fs_file_max: Optional[int] = None, + fs_aio_max_nr: Optional[int] = None, + fs_nr_open: Optional[int] = None, + kernel_threads_max: Optional[int] = None, + vm_max_map_count: Optional[int] = None, + vm_swappiness: Optional[int] = None, + vm_vfs_cache_pressure: Optional[int] = None, + **kwargs + ): + super(SysctlConfig, self).__init__(**kwargs) + self.net_core_somaxconn = net_core_somaxconn + self.net_core_netdev_max_backlog = net_core_netdev_max_backlog + self.net_core_rmem_default = net_core_rmem_default + self.net_core_rmem_max = net_core_rmem_max + self.net_core_wmem_default = net_core_wmem_default + self.net_core_wmem_max = net_core_wmem_max + self.net_core_optmem_max = net_core_optmem_max + self.net_ipv4_tcp_max_syn_backlog = net_ipv4_tcp_max_syn_backlog + self.net_ipv4_tcp_max_tw_buckets = net_ipv4_tcp_max_tw_buckets + self.net_ipv4_tcp_fin_timeout = net_ipv4_tcp_fin_timeout + self.net_ipv4_tcp_keepalive_time = net_ipv4_tcp_keepalive_time + self.net_ipv4_tcp_keepalive_probes = net_ipv4_tcp_keepalive_probes + self.net_ipv4_tcpkeepalive_intvl = net_ipv4_tcpkeepalive_intvl + self.net_ipv4_tcp_tw_reuse = net_ipv4_tcp_tw_reuse + self.net_ipv4_ip_local_port_range = net_ipv4_ip_local_port_range + self.net_ipv4_neigh_default_gc_thresh1 = net_ipv4_neigh_default_gc_thresh1 + self.net_ipv4_neigh_default_gc_thresh2 = net_ipv4_neigh_default_gc_thresh2 + self.net_ipv4_neigh_default_gc_thresh3 = net_ipv4_neigh_default_gc_thresh3 + self.net_netfilter_nf_conntrack_max = net_netfilter_nf_conntrack_max + self.net_netfilter_nf_conntrack_buckets = net_netfilter_nf_conntrack_buckets + self.fs_inotify_max_user_watches = fs_inotify_max_user_watches + self.fs_file_max = fs_file_max + self.fs_aio_max_nr = fs_aio_max_nr + self.fs_nr_open = fs_nr_open + self.kernel_threads_max = kernel_threads_max + self.vm_max_map_count = vm_max_map_count + self.vm_swappiness = vm_swappiness + self.vm_vfs_cache_pressure = vm_vfs_cache_pressure + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or + ~azure.mgmt.containerservice.v2021_05_01.models.CreatedByType + :param last_modified_at: The type of identity that last modified the resource. + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + +class TagsObject(msrest.serialization.Model): + """Tags object for patch operations. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TagsObject, self).__init__(**kwargs) + self.tags = tags + + +class TimeInWeek(msrest.serialization.Model): + """Time in a week. + + :param day: A day in a week. Possible values include: "Sunday", "Monday", "Tuesday", + "Wednesday", "Thursday", "Friday", "Saturday". + :type day: str or ~azure.mgmt.containerservice.v2021_05_01.models.WeekDay + :param hour_slots: hour slots in a day. + :type hour_slots: list[int] + """ + + _attribute_map = { + 'day': {'key': 'day', 'type': 'str'}, + 'hour_slots': {'key': 'hourSlots', 'type': '[int]'}, + } + + def __init__( + self, + *, + day: Optional[Union[str, "WeekDay"]] = None, + hour_slots: Optional[List[int]] = None, + **kwargs + ): + super(TimeInWeek, self).__init__(**kwargs) + self.day = day + self.hour_slots = hour_slots + + +class TimeSpan(msrest.serialization.Model): + """The time span with start and end properties. + + :param start: The start of a time span. + :type start: ~datetime.datetime + :param end: The end of a time span. + :type end: ~datetime.datetime + """ + + _attribute_map = { + 'start': {'key': 'start', 'type': 'iso-8601'}, + 'end': {'key': 'end', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + start: Optional[datetime.datetime] = None, + end: Optional[datetime.datetime] = None, + **kwargs + ): + super(TimeSpan, self).__init__(**kwargs) + self.start = start + self.end = end diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/__init__.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/__init__.py new file mode 100644 index 000000000000..3942e0ca6a01 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/__init__.py @@ -0,0 +1,25 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._operations import Operations +from ._managed_clusters_operations import ManagedClustersOperations +from ._maintenance_configurations_operations import MaintenanceConfigurationsOperations +from ._agent_pools_operations import AgentPoolsOperations +from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._resolve_private_link_service_id_operations import ResolvePrivateLinkServiceIdOperations + +__all__ = [ + 'Operations', + 'ManagedClustersOperations', + 'MaintenanceConfigurationsOperations', + 'AgentPoolsOperations', + 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'ResolvePrivateLinkServiceIdOperations', +] diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_agent_pools_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_agent_pools_operations.py new file mode 100644 index 000000000000..76b28d7fd51c --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_agent_pools_operations.py @@ -0,0 +1,703 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AgentPoolsOperations(object): + """AgentPoolsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AgentPoolListResult"] + """Gets a list of agent pools in the specified managed cluster. + + Gets a list of agent pools in the specified managed cluster. The operation returns properties + of each agent pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AgentPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AgentPoolListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools'} # type: ignore + + def get( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AgentPool" + """Gets the agent pool. + + Gets the details of the agent pool by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPool, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + parameters, # type: "_models.AgentPool" + **kwargs # type: Any + ): + # type: (...) -> "_models.AgentPool" + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AgentPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + parameters, # type: "_models.AgentPool" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AgentPool"] + """Creates or updates an agent pool. + + Creates or updates an agent pool in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :param parameters: Parameters supplied to the Create or Update an agent pool operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either AgentPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.AgentPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes an agent pool. + + Deletes the agent pool in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}'} # type: ignore + + def get_upgrade_profile( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AgentPoolUpgradeProfile" + """Gets upgrade profile for an agent pool. + + Gets the details of the upgrade profile for an agent pool with a specified resource group and + managed cluster name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPoolUpgradeProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolUpgradeProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolUpgradeProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_upgrade_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPoolUpgradeProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default'} # type: ignore + + def get_available_agent_pool_versions( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AgentPoolAvailableVersions" + """Gets a list of supported versions for the specified agent pool. + + Gets a list of supported versions for the specified agent pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AgentPoolAvailableVersions, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.AgentPoolAvailableVersions + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPoolAvailableVersions"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_available_agent_pool_versions.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AgentPoolAvailableVersions', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_available_agent_pool_versions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions'} # type: ignore + + def _upgrade_node_image_version_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.AgentPool"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AgentPool"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._upgrade_node_image_version_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 202: + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _upgrade_node_image_version_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion'} # type: ignore + + def begin_upgrade_node_image_version( + self, + resource_group_name, # type: str + resource_name, # type: str + agent_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AgentPool"] + """Upgrade node image version of an agent pool to the latest. + + Upgrade node image version of an agent pool to the latest. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param agent_pool_name: The name of the agent pool. + :type agent_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AgentPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._upgrade_node_image_version_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + agent_pool_name=agent_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AgentPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'agentPoolName': self._serialize.url("agent_pool_name", agent_pool_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_upgrade_node_image_version.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeNodeImageVersion'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_maintenance_configurations_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_maintenance_configurations_operations.py new file mode 100644 index 000000000000..0fdcd1ee2fa2 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_maintenance_configurations_operations.py @@ -0,0 +1,325 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class MaintenanceConfigurationsOperations(object): + """MaintenanceConfigurationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_managed_cluster( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.MaintenanceConfigurationListResult"] + """Gets a list of maintenance configurations in the specified managed cluster. + + Gets a list of maintenance configurations in the specified managed cluster. The operation + returns properties of each maintenance configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either MaintenanceConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_managed_cluster.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('MaintenanceConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_managed_cluster.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations'} # type: ignore + + def get( + self, + resource_group_name, # type: str + resource_name, # type: str + config_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.MaintenanceConfiguration" + """Gets the maintenance configuration. + + Gets the details of maintenance configurations by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MaintenanceConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore + + def create_or_update( + self, + resource_group_name, # type: str + resource_name, # type: str + config_name, # type: str + parameters, # type: "_models.MaintenanceConfiguration" + **kwargs # type: Any + ): + # type: (...) -> "_models.MaintenanceConfiguration" + """Creates or updates a maintenance configurations. + + Creates or updates a maintenance configuration in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :param parameters: Parameters supplied to the Create or Update a default maintenance + configuration. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :return: MaintenanceConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.MaintenanceConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.MaintenanceConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'MaintenanceConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('MaintenanceConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore + + def delete( + self, + resource_group_name, # type: str + resource_name, # type: str + config_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + """Deletes a maintenance configuration. + + Deletes the maintenance configuration in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param config_name: The name of the maintenance configuration. + :type config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: None, or the result of cls(response) + :rtype: None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.delete.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'configName': self._serialize.url("config_name", config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_managed_clusters_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_managed_clusters_operations.py new file mode 100644 index 000000000000..db49ec983fd2 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_managed_clusters_operations.py @@ -0,0 +1,1877 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ManagedClustersOperations(object): + """ManagedClustersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get_os_options( + self, + location, # type: str + resource_type=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.OSOptionProfile" + """Gets supported OS options in the specified subscription. + + Gets supported OS options in the specified subscription. + + :param location: The name of a supported Azure region. + :type location: str + :param resource_type: resource type for which the OS options needs to be returned. + :type resource_type: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OSOptionProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.OSOptionProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OSOptionProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_os_options.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if resource_type is not None: + query_parameters['resource-type'] = self._serialize.query("resource_type", resource_type, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OSOptionProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_os_options.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ManagedClusterListResult"] + """Gets a list of managed clusters in the specified subscription. + + Gets a list of managed clusters in the specified subscription. The operation returns properties + of each managed cluster. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ManagedClusterListResult"] + """Lists managed clusters in the specified subscription and resource group. + + Lists managed clusters in the specified subscription and resource group. The operation returns + properties of each managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ManagedClusterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ManagedClusterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters'} # type: ignore + + def get_upgrade_profile( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ManagedClusterUpgradeProfile" + """Gets upgrade profile for a managed cluster. + + Gets the details of the upgrade profile for a managed cluster with a specified resource group + and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedClusterUpgradeProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterUpgradeProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterUpgradeProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_upgrade_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedClusterUpgradeProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_upgrade_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default'} # type: ignore + + def get_access_profile( + self, + resource_group_name, # type: str + resource_name, # type: str + role_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ManagedClusterAccessProfile" + """Gets an access profile of a managed cluster. + + Gets the accessProfile for the specified role name of the managed cluster with a specified + resource group and name. **WARNING**\ : This API will be deprecated. Instead use + `ListClusterUserCredentials + `_ or + `ListClusterAdminCredentials + `_ . + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param role_name: The name of the role for managed cluster accessProfile resource. + :type role_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedClusterAccessProfile, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAccessProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedClusterAccessProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_access_profile.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'roleName': self._serialize.url("role_name", role_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedClusterAccessProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_access_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential'} # type: ignore + + def list_cluster_admin_credentials( + self, + resource_group_name, # type: str + resource_name, # type: str + server_fqdn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.CredentialResults" + """Gets cluster admin credential of a managed cluster. + + Gets cluster admin credential of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_admin_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_admin_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential'} # type: ignore + + def list_cluster_user_credentials( + self, + resource_group_name, # type: str + resource_name, # type: str + server_fqdn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.CredentialResults" + """Gets cluster user credential of a managed cluster. + + Gets cluster user credential of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_user_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore + + def list_cluster_monitoring_user_credentials( + self, + resource_group_name, # type: str + resource_name, # type: str + server_fqdn=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.CredentialResults" + """Gets cluster monitoring user credential of a managed cluster. + + Gets cluster monitoring user credential of the managed cluster with a specified resource group + and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param server_fqdn: server fqdn type for credentials to be returned. + :type server_fqdn: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list_cluster_monitoring_user_credentials.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if server_fqdn is not None: + query_parameters['server-fqdn'] = self._serialize.query("server_fqdn", server_fqdn, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_cluster_monitoring_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterMonitoringUserCredential'} # type: ignore + + def get( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ManagedCluster" + """Gets a managed cluster. + + Gets the details of the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ManagedCluster, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedCluster" + **kwargs # type: Any + ): + # type: (...) -> "_models.ManagedCluster" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedCluster') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedCluster" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ManagedCluster"] + """Creates or updates a managed cluster. + + Creates or updates a managed cluster with the specified configuration for agents and Kubernetes + version. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ManagedCluster" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ManagedCluster"] + """Updates tags on a managed cluster. + + Updates a managed cluster with the specified tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Update Managed Cluster Tags operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ManagedCluster or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.ManagedCluster] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ManagedCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ManagedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a managed cluster. + + Deletes the managed cluster with a specified resource group and name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}'} # type: ignore + + def _reset_service_principal_profile_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedClusterServicePrincipalProfile" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_service_principal_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedClusterServicePrincipalProfile') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_service_principal_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore + + def begin_reset_service_principal_profile( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedClusterServicePrincipalProfile" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Reset Service Principal Profile of a managed cluster. + + Update the service principal Profile for a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Reset Service Principal Profile operation for a + Managed Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterServicePrincipalProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_service_principal_profile_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_service_principal_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile'} # type: ignore + + def _reset_aad_profile_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedClusterAADProfile" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_aad_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ManagedClusterAADProfile') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_aad_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore + + def begin_reset_aad_profile( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.ManagedClusterAADProfile" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Reset AAD Profile of a managed cluster. + + Update the AAD Profile for a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed + Cluster. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.ManagedClusterAADProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_aad_profile_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_aad_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile'} # type: ignore + + def _rotate_cluster_certificates_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._rotate_cluster_certificates_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _rotate_cluster_certificates_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates'} # type: ignore + + def begin_rotate_cluster_certificates( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Rotate certificates of a managed cluster. + + Rotate certificates of a managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._rotate_cluster_certificates_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_rotate_cluster_certificates.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/rotateClusterCertificates'} # type: ignore + + def _stop_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop'} # type: ignore + + def begin_stop( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Stop Managed Cluster. + + Stops a Running Managed Cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/stop'} # type: ignore + + def _start_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start'} # type: ignore + + def begin_start( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Start Managed Cluster. + + Starts a Stopped Managed Cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/start'} # type: ignore + + def _run_command_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + request_payload, # type: "_models.RunCommandRequest" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.RunCommandResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._run_command_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request_payload, 'RunCommandRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _run_command_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand'} # type: ignore + + def begin_run_command( + self, + resource_group_name, # type: str + resource_name, # type: str + request_payload, # type: "_models.RunCommandRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.RunCommandResult"] + """Run Command against Managed Kubernetes Service. + + Submit a command to run against managed kubernetes service, it will create a pod to run the + command. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param request_payload: Parameters supplied to the RunCommand operation. + :type request_payload: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either RunCommandResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RunCommandResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._run_command_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + request_payload=request_payload, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_run_command.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/runCommand'} # type: ignore + + def get_command_result( + self, + resource_group_name, # type: str + resource_name, # type: str + command_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.RunCommandResult"] + """Get command result. + + Get command result from previous runCommand invoke. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param command_id: Id of the command request. + :type command_id: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RunCommandResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.RunCommandResult or None + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.RunCommandResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get_command_result.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'commandId': self._serialize.url("command_id", command_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('RunCommandResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_command_result.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}'} # type: ignore + + def list_outbound_network_dependencies_endpoints( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OutboundEnvironmentEndpointCollection"] + """Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. + + Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the + specified managed cluster. The operation returns properties of each egress endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OutboundEnvironmentEndpointCollection or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OutboundEnvironmentEndpointCollection] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundEnvironmentEndpointCollection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_outbound_network_dependencies_endpoints.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OutboundEnvironmentEndpointCollection', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_outbound_network_dependencies_endpoints.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_operations.py new file mode 100644 index 000000000000..c26019e7667c --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_operations.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Gets a list of compute operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.containerservice.v2021_05_01.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.ContainerService/operations'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_endpoint_connections_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_endpoint_connections_operations.py new file mode 100644 index 000000000000..4cebbb525d11 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_endpoint_connections_operations.py @@ -0,0 +1,366 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PrivateEndpointConnectionsOperations(object): + """PrivateEndpointConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpointConnectionListResult" + """Gets a list of private endpoint connections in the specified managed cluster. + + Gets a list of private endpoint connections in the specified managed cluster. The operation + returns properties of each private endpoint connection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnectionListResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnectionListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections'} # type: ignore + + def get( + self, + resource_group_name, # type: str + resource_name, # type: str + private_endpoint_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpointConnection" + """Gets the private endpoint connection. + + Gets the details of the private endpoint connection by managed cluster and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + def update( + self, + resource_group_name, # type: str + resource_name, # type: str + private_endpoint_connection_name, # type: str + parameters, # type: "_models.PrivateEndpointConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpointConnection" + """Updates a private endpoint connection. + + Updates a private endpoint connection in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :param parameters: Parameters supplied to the Update a private endpoint connection operation. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + resource_name, # type: str + private_endpoint_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + resource_name, # type: str + private_endpoint_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a private endpoint connection. + + Deletes the private endpoint connection in the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param private_endpoint_connection_name: The name of the private endpoint connection. + :type private_endpoint_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + resource_name=resource_name, + private_endpoint_connection_name=private_endpoint_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_link_resources_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_link_resources_operations.py new file mode 100644 index 000000000000..09f87df3e667 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_private_link_resources_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PrivateLinkResourcesOperations(object): + """PrivateLinkResourcesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + resource_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateLinkResourcesListResult" + """Gets a list of private link resources in the specified managed cluster. + + Gets a list of private link resources in the specified managed cluster. The operation returns + properties of each private link resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkResourcesListResult, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResourcesListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourcesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkResourcesListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateLinkResources'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_resolve_private_link_service_id_operations.py b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_resolve_private_link_service_id_operations.py new file mode 100644 index 000000000000..888fd53525f6 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/operations/_resolve_private_link_service_id_operations.py @@ -0,0 +1,115 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ResolvePrivateLinkServiceIdOperations(object): + """ResolvePrivateLinkServiceIdOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.containerservice.v2021_05_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def post( + self, + resource_group_name, # type: str + resource_name, # type: str + parameters, # type: "_models.PrivateLinkResource" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateLinkResource" + """Gets the private link service ID for the specified managed cluster. + + Gets the private link service ID the specified managed cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param resource_name: The name of the managed cluster resource. + :type resource_name: str + :param parameters: Parameters (name, groupId) supplied in order to resolve a private link + service ID. + :type parameters: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkResource, or the result of cls(response) + :rtype: ~azure.mgmt.containerservice.v2021_05_01.models.PrivateLinkResource + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-05-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.post.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1), + 'resourceName': self._serialize.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateLinkResource') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkResource', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + post.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resolvePrivateLinkServiceId'} # type: ignore diff --git a/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/py.typed b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_05_01/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_agentPools.yaml b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_agentPools.yaml deleted file mode 100644 index 08f487791507..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_agentPools.yaml +++ /dev/null @@ -1,808 +0,0 @@ -interactions: -- request: - body: '{"properties": {"dnsPrefix": "akspythonsdk", "agentPoolProfiles": [{"count": - 1, "vmSize": "Standard_DS2_v2", "maxPods": 110, "osType": "Linux", "maxCount": - 100, "minCount": 1, "enableAutoScaling": true, "type": "VirtualMachineScaleSets", - "mode": "System", "name": "aksagent"}], "servicePrincipalProfile": {"clientId": - "22922db6-2c37-4027-b39c-e994c47c5dc8", "secret": "9.JEMsq~6_v.8g.4rGEMF5Gnz8L4_pJy_Y"}}, - "location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '429' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4\",\n - \ \"location\": \"eastus\",\n \"name\": \"4\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-e479ebae.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-e479ebae.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_agentPoolsb25d0bdc_4_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\"\n },\n \"maxAgentPools\": 10\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '1938' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 05:59:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:00:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:00:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:01:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:01:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:02:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:02:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:03:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:03:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b0654331-1ab4-4ddf-a318-c11ce501b40b?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"314365b0-b41a-df4d-a318-c11ce501b40b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T05:59:46.2766666Z\",\n \"endTime\": - \"2021-04-07T06:03:51.9941401Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4\",\n - \ \"location\": \"eastus\",\n \"name\": \"4\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-e479ebae.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-e479ebae.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_agentPoolsb25d0bdc_4_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_agentPoolsb25d0bdc_4_eastus/providers/Microsoft.Network/publicIPAddresses/6a4fa9e9-8530-45b1-92a9-45d20df60ba3\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10,\n \"autoScalerProfile\": {\n \"balance-similar-node-groups\": \"false\",\n - \ \"expander\": \"random\",\n \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\": - \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\": - \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\": - \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\": - \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\": - \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\": - \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\": - \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n }\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '2915' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"count": 3, "vmSize": "Standard_DS2_v2", "osType": "Linux", - "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "", "availabilityZones": ["1", "2", "3"], "nodeTaints": []}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '212' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent\",\n - \ \"name\": \"aksagent\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n \"nodeLabels\": - {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2-2021.03.29\",\n \"enableFIPS\": false\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/cb9d033f-9835-4563-b3c4-8f207d314f57?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '758' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/cb9d033f-9835-4563-b3c4-8f207d314f57?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"3f039dcb-3598-6345-b3c4-8f207d314f57\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T06:04:21.8566666Z\",\n \"endTime\": - \"2021-04-07T06:04:33.5718045Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent\",\n - \ \"name\": \"aksagent\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n \"nodeLabels\": - {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2-2021.03.29\",\n \"enableFIPS\": false\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '759' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/agentPools/aksagent\",\n - \ \"name\": \"aksagent\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n \"nodeLabels\": - {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2-2021.03.29\",\n \"enableFIPS\": false\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '759' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/availableAgentPoolVersions?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_agentPoolsb25d0bdc/providers/Microsoft.ContainerService/managedClusters/4/availableagentpoolversions\",\n - \ \"name\": \"default\",\n \"type\": \"Microsoft.ContainerService/managedClusters/availableAgentpoolVersions\",\n - \ \"properties\": {\n \"agentPoolVersions\": [\n {\n \"default\": - true,\n \"kubernetesVersion\": \"1.18.14\"\n },\n {\n \"kubernetesVersion\": - \"1.18.10\"\n },\n {\n \"kubernetesVersion\": \"1.17.13\"\n },\n - \ {\n \"kubernetesVersion\": \"1.17.16\"\n }\n ]\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '581' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:04:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_managed_clusters.yaml b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_managed_clusters.yaml deleted file mode 100644 index 450ddac41d51..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_managed_clusters.yaml +++ /dev/null @@ -1,1210 +0,0 @@ -interactions: -- request: - body: '{"properties": {"dnsPrefix": "akspythonsdk", "agentPoolProfiles": [{"count": - 1, "vmSize": "Standard_DS2_v2", "maxPods": 110, "osType": "Linux", "maxCount": - 100, "minCount": 1, "enableAutoScaling": true, "type": "VirtualMachineScaleSets", - "mode": "System", "name": "aksagent"}], "servicePrincipalProfile": {"clientId": - "22922db6-2c37-4027-b39c-e994c47c5dc8", "secret": "9.JEMsq~6_v.8g.4rGEMF5Gnz8L4_pJy_Y"}}, - "location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '429' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7\",\n - \ \"location\": \"eastus\",\n \"name\": \"7\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-3c46e1f8.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-3c46e1f8.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\"\n },\n \"maxAgentPools\": 10\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '1948' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:05:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:05:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:06:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:06:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:07:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:07:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/1009dd1e-66ad-4cfb-b56c-57a685851d97?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"1edd0910-ad66-fb4c-b56c-57a685851d97\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T06:05:02.48Z\",\n \"endTime\": - \"2021-04-07T06:08:01.9278299Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7\",\n - \ \"location\": \"eastus\",\n \"name\": \"7\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-3c46e1f8.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-3c46e1f8.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus/providers/Microsoft.Network/publicIPAddresses/1c935cdd-9aac-4d92-ab6c-4a41a5a41aed\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10,\n \"autoScalerProfile\": {\n \"balance-similar-node-groups\": \"false\",\n - \ \"expander\": \"random\",\n \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\": - \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\": - \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\": - \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\": - \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\": - \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\": - \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\": - \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n }\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '2930' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7/listClusterAdminCredential?api-version=2021-03-01 - response: - body: - string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterAdmin\",\n \"value\": - \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VVMlJFTkRRWFJEWjBGM1NVSkJaMGxSVjIxVlNUVlhZWFY1YzBkYWJHSkJaMVY0TmtsbWFrRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdkR2R6QjVUVlJCTUUxRVkzZE9WRlV4VFZSR1lVZEJPSGxOUkZWNFRVUlJkMDU2UVRKTlJGVjRUVlp2ZHdwRVZFVk1UVUZyUjBFeFZVVkJlRTFEV1RKRmQyZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVNNUNrMWhLMVZJY2twc2NrTkRWa0Y1Uld0VWNXdFlLeXRSUnpWS05IZE5jVEZQWlcxeE0wWkROMEZSU0VOb09YQlFSREI0V1d3elNrMU5OVTFOTUdoMWFWa0tabVZXYTFWVVFVOUtNbXN4T0ZCNlp6TmFUazVRTHpoTVJFdGtWRWhNVW1sRk1rMWlkbVpsTkZOSGRsYzJPR1V5Y21ocmVVaFNkazl4YmxoVkwwOWpkUXBXYjFCRWVYazJNM0Y2VTFWUVRHRjZPVEpVVFdWNFFrZHRTMFpsTTNoRVFXY3ZTVEJVVGtodVJtSkhaSGRYVjA1VmVIZGtWM1ZoYjJVMmNtbElNbEJPQ2psWlNWUnBWMUpqTTJOSGNYcExMM0ZRVjJwalNsaGFXSEZJTjNoRVJteFBTbkZTUWxGck1YWm1WV2RaVWxkRU9XazJObE5JU1VWUVdYZEhiV3RxYTNVS2VFbFNjRXR3TURGVFQycGhhMHhpVVRjNGJrVklVemxhSzBwaFZXOUlaMWxzUWpoa1oyOUxhV1JFTDFWbloxSjBRMjlQZVdKb1dYQldPVVZ3V2pSSFZ3bzFOalZvTms5eVVtMUJhbEZPU3k5d0wwNVlkMlJoVURsUGNIUXpjVU5uWWpKRE9WcHJUVUl3ZUZkMVpVcHlUMVExV0ZONFRYbFVNMWRQT1hOMVpFZE9Da2hUWmxJeWJsbHRXRzR5VG5Wc2Mwc3diVmxYYTJOaWJXNXNjVFZIYVhoQmMxbGtVR2g2V25sMU1tbEJiM1I0WmpKdGFXdHhhbTVHVlVRNVUySnRXRmNLZDFWbGFVbHRjSGwzVTJkYVdHTkhXRTFJU1RWT2RrRlpaVU4yV1hWT2NWUlBNVFZJVGtWSWFuVlNjMnR0UlVWWlQxVk1PWGxxUzFSVmNrazFXbmREU0FweVJuTk1SamRYYW1SblkxaFlRVUp1VG5GMWRqbHpPRWg0UVc5c01XaFBRbVpPYkdJclIxbzJaMG8zWkRsME9UWjNSR2R2ZDFSa1N5OU1RMnB2Y2pCSkNraFJZVVZzYlhKQldURXhTa0o0TUhKNVlWVnFPWHBNVGpOMGNYQnRiM0oyUnpObllqTmtlalJ0ZEZwSlVHOWFXWEJQVlc1M1NsUkpUR1YyYnpkUlF5c0taMVY0WmtOcVZVSTRRV2ROU0dGRmVpOVJRVFExWW5CRmFXUk1jekp6ZEhBemRIZG1TamRxVkhOUlNVUkJVVUZDYnpCSmQxRkVRVTlDWjA1V1NGRTRRZ3BCWmpoRlFrRk5RMEZ4VVhkRWQxbEVWbEl3VkVGUlNDOUNRVlYzUVhkRlFpOTZRV1JDWjA1V1NGRTBSVVpuVVZWR1VqRmhRVlF2YTNOMGJ6azRZV3AwQ2pSaE9UUlBSWFZNVG1kRmQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRKUWtGRGRpOUdUVFl2ZWxGeWJWRjNNbkpQTjBGRVZGb3JaV1Z6VTA4S1drNDNlbWR3ZGpoWE5FdDFWbFZ5VTFRNFZXTlJOemd6TURsQ05FRXdTRWN5U0hoWU5rTmFiV1UyZVZsSlRsb3JNVlY0VDJab1ptMHhSR1k0U1dsVmJ3bzFNWGd3VUhCdWFtMTVTVXRTTUVjMlVVMTBSM2sxY2lzemEzUnZaVkpKVWs5ek0yaFFlVE40TldVelVFSklRVzQ0VkdjNFdFOUdTREZZYW5JNVJscHJDbEpRYjB4VFExUkVORWw0YVVSd2RYTmxOa0ZTYVVScGJVSlNXWFE1WWl0c1RYWnJNWGxtUjJsaWFYbGpRekIwZW10MFptdzFjMVJSVlhjemJHOTBNemtLTTJSa2VGTXlOa1pGVlVGYWJXMTNWMVo0VUdjNE9FUlhhak5wVmxScFQzTnlRM2QzYVUwMVkyNXFTemxUZGtkV2FWVlBabUZ0Y0Vad1l6bEliM2hRYUFwNk9FcDZXV1JPWVZnNVdGQmlOV0psZEcxck1HZzBWRloxVFV4VWFtbG9kMnN2UW5CUlYxUkdiVmxVUkZGdU4xazFkbGN2WjBGeFJIb3pNRm8yTlcxSkNqVjZOWE55ZEM4NFNrNXdTekJXUjFOTFQyUlBOekpOTmxOcmFVMUZlVkYwYmxKT1dVODBRMDlEZG1oaGIzQlpUV3hHVUdkdlMzaHdTa3hHV0c5VWVIY0tlV2sxWkRWR1pHRnZlVXB2YWtwQlF6VjRSVk5qWVdkWVVIbDRlaXREWW1saVRYWkVNVGRzWTNOME5sTm1RMDVQSzJKU0szVnhTak5rVUUxR2JUUktUd295Y0hwS1JsSlRVVGgwZDJSR05XOUlTV3BtYVhacFl6SnplRkF4TXpKWFF6UnpaVk5YYXpaNFptSlFhMm8zY1ZGcVREaHlWSHB2YTFKSVYwMUlOM3BuQ2tWNlYxcE1iMkZYT0RkQ0szYzNaVUowUVU0eVNUZDRkMHgxZUZKblZITkhiMjR4TkZaMVduSnlaemRsVUVsVVFVcEVNWFZNYVhaek1raERkWEJoWTI0S1ptOUdORVZWT1VVd1JqVlpZVGRSZHpJNVIyWTFOVE5XZWpGT1pteEhXWHBaYlRWNlVEbHNla2hFVW1oYU1FOVFjRmR5ZVhkWU5HczJiREp3YkV0SVNRcHVTRm92YmxremMyRk1LM0JzVFRsVENpMHRMUzB0UlU1RUlFTkZVbFJKUmtsRFFWUkZMUzB0TFMwSwogICAgc2VydmVyOiBodHRwczovL2Frc3B5dGhvbnNkay0zYzQ2ZTFmOC5oY3AuZWFzdHVzLmF6bWs4cy5pbzo0NDMKICBuYW1lOiAiNyIKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6ICI3IgogICAgdXNlcjogY2x1c3RlckFkbWluX3JncHktdGVzdF9tZ210X2Frc190ZXN0X21hbmFnZWRfY2x1c3RlcnMxZjYwZTYxXzcKICBuYW1lOiAiNyIKY3VycmVudC1jb250ZXh0OiAiNyIKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQp1c2VyczoKLSBuYW1lOiBjbHVzdGVyQWRtaW5fcmdweS10ZXN0X21nbXRfYWtzX3Rlc3RfbWFuYWdlZF9jbHVzdGVyczFmNjBlNjFfNwogIHVzZXI6CiAgICBjbGllbnQtY2VydGlmaWNhdGUtZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVWklha05EUVhkaFowRjNTVUpCWjBsU1FVOVZZa3d2UWtOellVMTNjek5HUld4NlVFVjZLMUYzUkZGWlNrdHZXa2xvZG1OT1FWRkZURUpSUVhjS1JGUkZURTFCYTBkQk1WVkZRWGhOUTFreVJYZElhR05PVFdwRmQwNUVRVE5OUkZVeFRsUkZlRmRvWTA1TmFrMTNUa1JCTTAxRVdYZE9WRVY0VjJwQmR3cE5VbU4zUmxGWlJGWlJVVXRGZHpWNlpWaE9NRnBYTURaaVYwWjZaRWRXZVdONlJWWk5RazFIUVRGVlJVRjRUVTFpVjBaNlpFZFdlVmt5ZUhCYVZ6VXdDazFKU1VOSmFrRk9RbWRyY1docmFVYzVkekJDUVZGRlJrRkJUME5CWnpoQlRVbEpRME5uUzBOQlowVkJkRTlpVHl0NVZXWXpiRE5yY21OamJrWmhOalVLVTFGR1MyTmpkbGN6TjA5WmN5OXBiVlowT1ZWcmNHSnRLMGRsYjNCdE5rSTVSMGRETkZvd1VFNHpZME41ZVhSNFpDdHdSVEZhVEV4UlZHUkxTRUZVYlFwM2VTdFRNek5FTVVGNVdqbGpkVE53VWs5bFRFTTJNV1F5ZDFJMFlrWmpkbVkyUVZKMGNEWTBURTVLZFhsYWJuTjVWbE5ZU2pkTVFrTjBOMGh2S3paaUNsVmFXVFJOTmpWdlEzZEhNbFZCYTFodU4wTjNiRVprV1ROYU4zbHZZWFpCTTNKdVNUaHRWMUUyUWpSRU1FUkxNRmhTU1cxR2NqSnRaVzlDUlhFNVRrWUtRM1pSY0dKd1NGSmxTRTFCY0hjeU1WWk1OWE5JTDJKYWFUTjZZVmxWUVVKbU1qSldUa1owTVRJNVUxZElSRTF6T0c5UVUzcGthVUZHVWtsQ09WSkRNd294UkZCMk5XOXNUekI0YzBONmRXTlNZbE0zTW5OM1J6VXpiMWM0TkRabWFscFJXalpFVUVKQ1VHSlRRa0k1TTNkcVFsZFFRM0JLYTNSeVdEVnBTM2huQ21SSlp6VkxiUzk1Y25wWFJXMXZTbmhvVTBaVWNUbFNkWFozWTFKVFdYSjRRbEZzZG1sQmFYaHdibFV6Y2tKQ2VITlVSa3hNTlRJd1NtVklUVEpNUWpNS1pGTkNabXNyTm1Nd2MwNUVXWE54TW0xMWVIQnNTRWhpWlc5WlJsRTNPWEptTDJ4bFZuaG5lSGhTYlVKMlVrNHdNMHR3Ukc4eVYzRm9MMlEzVGtoa2NncDFiVGhzTVhoQmRYRmtSR2RDTTFSQ09XVkdaVTFwU1hoc01sVXpUMmR6UkZCTldWaEdZV1EwU1VKTGRHcEJOa05NU0dKUVVqRmlRekZ0T0c5SGFrMURDbmhEZVZCUWVDc3daMVF4VDFaNU9DOVJNRWxZZW5kbVFrNXBTWGxVYWsxRVYxRTFVVlI2VGt0M2NXb3lSR1JhVmxwTVNsTmpLelowTVZKaWMwMTBUa01LU2xkb1JHWXZRMDFhTkZwWE0yd3dXSGQwZVZwVGNtNWpVVEIzYkhCaFVrdFBUV1JPZDJGNEt5OHdURlZITlhoSFpWUTNTVEI0U210SlVsSmFNMmMwZWdwWWJuazNaVmgxVUUxU1Yyc3JaU3M1YURKNGIxTkdSVU5CZDBWQlFXRk9WMDFHVVhkRVoxbEVWbEl3VUVGUlNDOUNRVkZFUVdkWFowMUNUVWRCTVZWa0NrcFJVVTFOUVc5SFEwTnpSMEZSVlVaQ2QwMURUVUYzUjBFeFZXUkZkMFZDTDNkUlEwMUJRWGRJZDFsRVZsSXdha0pDWjNkR2IwRlZSbEl4WVVGVUwyc0tjM1J2T1RoaGFuUTBZVGswVDBWMVRFNW5SWGRFVVZsS1MyOWFTV2gyWTA1QlVVVk1RbEZCUkdkblNVSkJSbk5QWmtsbWFGTnZhak5pYnpJclZVUTRXQW95ZUd4d1JVRTFaalp2WWl0WmIyNXFSeXR4YjJGR2JsaEhlRXQzZFRNNFMwOU9aa2hMUW5FeldEaFpNbmRYZEVnMUwxVjZhMFZZUlZSamF6SnFVREZ3Q25ReWVtSklNRFJ4VVhNeFVFWnZiRTFXVDBKclJuSnNWMjlQTkhWQlNDdFJVMFpqV25WdGVGSkphRzFKSzNkV1pEQjFhMG95ZG1KTk1tVktla1JuZFRjS2JUTXlORm81UXpSbWVuZENkbFpDZUZOSmMydE9WR28zY1ZseVJEQjVTRW8zVEdKS1ZXeG5WWEZFTVdObFpVWnliRkZtY1N0VGJFUk5jVk5WY0dsUmNRcEVXbVZQYUhWUFEyVXlVWE5IVVhOVFNUVTFiRkJQZGtSd1NqTlpSbkZrT1U1S05sVk1VWFZWYzFSa09XbHhZVWMzVlVNMlQzUm9Va2xGZDFKVWFsVlJDbEpyVG1KblpXMXpibUpuVjBzMk9YVXdTRFI1VUhwcWR6Wk9NbHB4ZWxKSVMzTnhjVGR2Y214c2RrcFZielV4YVhwTk9WQlFhamQwUnpoSlNqZ3hVMUFLV0dSU1lYSnlRM2haUldkMmFFTkNPRUphZWxGRFVEQm5iakpPWXk4M05IUktSSFpOWjNKNVVrZzBNRXRQWnlzelRrTlZNRE5LWXpsSVFWazNhM2R5ZGdwT2VsbENSVTFPU1d4Q1JpdE5jekp5Ym5OQ01qSndibTA1ZG01bVVUTlhPVEJGU1ZvME9WRXdSMGRpY21OaWIycGhXbVU1VFVrMk5VZG9ibFJ6VEU1SkNsVkxUbXBrUkRSM1YyTm5SMUp5YVRVeFZHbFNjSE5GZVd4UmJ6TTFXak5HV0VrdlJUUnNibVJrVVZWTVNtUkpNSEp5Tlc5VGJpdFpUWHA0YzB0TVpIQUtTRmt3VEV4U01WcFRZMDR2UlZOR05GRkhORWxaU1RWemFUaGFaVEZoWkhsUlZGRkpkVzVEVEdZd05GWklSbWwyWWtaak9EUnBUMnBNUTFodFNVOTBiQXBtZUVvMWNtVnJXRGszZW1ndmRWaERibVI1ZFdGeWIwMDFOWFFyVkVKRmExaDVlRU5YZG1VeFVFbGtVemQwYkVGTk9WSkRNMFJaWm1kV00zZFVlRkV4Q2pCaVIxSTBXV3hVTUhRdk5pOVpWU3R2Vldka2NHWjRVZ290TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09CiAgICBjbGllbnQta2V5LWRhdGE6IExTMHRMUzFDUlVkSlRpQlNVMEVnVUZKSlZrRlVSU0JMUlZrdExTMHRMUXBOU1VsS1MxRkpRa0ZCUzBOQlowVkJkRTlpVHl0NVZXWXpiRE5yY21OamJrWmhOalZUVVVaTFkyTjJWek0zVDFsekwybHRWblE1Vld0d1ltMHJSMlZ2Q25CdE5rSTVSMGRETkZvd1VFNHpZME41ZVhSNFpDdHdSVEZhVEV4UlZHUkxTRUZVYlhkNUsxTXpNMFF4UVhsYU9XTjFNM0JTVDJWTVF6WXhaREozVWpRS1lrWmpkbVkyUVZKMGNEWTBURTVLZFhsYWJuTjVWbE5ZU2pkTVFrTjBOMGh2S3paaVZWcFpORTAyTlc5RGQwY3lWVUZyV0c0M1EzZHNSbVJaTTFvM2VRcHZZWFpCTTNKdVNUaHRWMUUyUWpSRU1FUkxNRmhTU1cxR2NqSnRaVzlDUlhFNVRrWkRkbEZ3WW5CSVVtVklUVUZ3ZHpJeFZrdzFjMGd2WWxwcE0zcGhDbGxWUVVKbU1qSldUa1owTVRJNVUxZElSRTF6T0c5UVUzcGthVUZHVWtsQ09WSkRNekZFVUhZMWIyeFBNSGh6UTNwMVkxSmlVemN5YzNkSE5UTnZWemdLTkRabWFscFJXalpFVUVKQ1VHSlRRa0k1TTNkcVFsZFFRM0JLYTNSeVdEVnBTM2huWkVsbk5VdHRMM2x5ZWxkRmJXOUtlR2hUUmxSeE9WSjFkbmRqVWdwVFdYSjRRbEZzZG1sQmFYaHdibFV6Y2tKQ2VITlVSa3hNTlRJd1NtVklUVEpNUWpOa1UwSm1heXMyWXpCelRrUlpjM0V5YlhWNGNHeElTR0psYjFsR0NsRTNPWEptTDJ4bFZuaG5lSGhTYlVKMlVrNHdNMHR3Ukc4eVYzRm9MMlEzVGtoa2NuVnRPR3d4ZUVGMWNXUkVaMEl6VkVJNVpVWmxUV2xKZUd3eVZUTUtUMmR6UkZCTldWaEdZV1EwU1VKTGRHcEJOa05NU0dKUVVqRmlRekZ0T0c5SGFrMURlRU41VUZCNEt6Qm5WREZQVm5rNEwxRXdTVmg2ZDJaQ1RtbEplUXBVYWsxRVYxRTFVVlI2VGt0M2NXb3lSR1JhVmxwTVNsTmpLelowTVZKaWMwMTBUa05LVjJoRVppOURUVm8wV2xjemJEQllkM1I1V2xOeWJtTlJNSGRzQ25CaFVrdFBUV1JPZDJGNEt5OHdURlZITlhoSFpWUTNTVEI0U210SlVsSmFNMmMwZWxodWVUZGxXSFZRVFZKWGF5dGxLemxvTW5odlUwWkZRMEYzUlVFS1FWRkxRMEZuUlVGcFFYUkZRVmM1VERWcGFuRm1lRE5WWTA5UWVtZzRiVzExUzIwMVRVbGhZVUZyTm5WdFdYQmxlV1JqWlZsQ1ZtdHhZbFpXYldac2VncFBhMU53VjNWaWRtWlBaSGMzSzA5SldFc3lSMjFqWTBGMmN6SlpNVnBWUkdWWVNYcGpSMnRVTUhOcVJYTjNUVWRsU1U5eGJqZHNaVGQxYzNGV01uRkVDbkEzYWpWbVVYWk5UVmRVUjNoRGIxQmxkRlprWnpsV1EyZHFRa0pOYW5kemFrRkdVRlZYWlRaUFluQTRkalpXWWxKc1VHbERkR3R6VlhoVlpHVlBTbm9LUlc5bU4xUXZVM2x1V0VwcldHUklNbEIzWm14SFVqZzFhRnBpWlhnemQxUmFTVzVaTlVOS2IycFVhM0k0TURBMVpERm9ia0pvVjJoRVdqTmlRVzR2WndwM016QTRlREZQTm1ndk5tTm5UVEZQVkZkMlVqbDNZVkl6YTBSNVdHMHliM0owUkRSTVNqWldiMEV2TlRsUmFIRnJkbWh5Vm1OT2VEWkRjM05SV2prM0NsUm9kVzlzVFZWWlprWm5WMUJQVGtKeVdYVnRibWh0UVZSYU5rVTRhRzV0YWxJMWFFODJUM2hzV1daYU0xRklkR2w0Wml0TGMwdEhURTlwYlU4eFQyUUtZWEYxV1VaYWMwTm5SSGxFV2xsMVkzSjRlRmRNWlZsTFoyMUdiWGd6YzJaSk4xaHlLMFJzT0dkbksyTjVjbEJRVFRSWmFIZDBaVUY2YlRSbWVVaGxSQXBaVjBoR2JWcDRjRk5rTDBST1dqTlhTWGxaUW1aaU1GZGtSVmR3YTJaQ01uWXlNRkpzYm5Kb1RsTmlTa3R3YWxSbVdGcFBVbmN4YUZkNldUTlZNekYzQ2xSWVdFTkJhVGN6V0hSbGQyTk1jekF2TTFKcWJrMXdTU3RLVVhkT2JGcFZPVEJ0TDBOTlJuTTNZVVlyZFV4MlNWaE5ibTFrU1hwMlJsWlZRbEJVYkZjS2IwOVNTMFZEWjJ0cVpHSXhNWGRwT0ZsalZUbFpWVEZLUW1WUWNtRjNkMjVOUlVoaVIzcGplamRPV0hoeGN6VTJWbU5VWnpaNlMyODRjbTF3UzJoelJ3cGFZMUJwY2t0WVQyZGxOMHBOTmtSYVoyUktRalpTY21kS01VeEphVGRIYkdGMWNpdHZhblF6ZWtOQmNrRk9OV2cwUVVWRFoyZEZRa0ZOYjFoNlUwZzRDbEkzVmtsSk1uZHJPVnBXZVRkdFp6VnRPRXRUTDFCRWVITXlNRzAzZUhGTlJIa3pObTlwVW1STU5qRlJTSE52Y1d4eVZUZDNhRVk0YUVGclQyczVWaklLZDJkVUswRkVSRVEzS3pOd1NVbEZXbGhsWkVZclFrUTFhaTlCYUVwUU9URmxhVGxrWkVWMGEzTm9XbWRtZW0xdGFYTjRTVXBqTkdoUWVETk1OMUJMZGdwTGRGQjVPRkZTTHpkeFIxUkthVGRuUTFwNmNGWnVlRUprUTBGUFdGaElWRU50TUhCR2JXa3dXVVZwV1ZBMVpDdGhVVkJCTm5oUWFHUmlZMmhyZG1sT0NuSjZhVkF5TmxZelZHOXllalZaYlhGUmFqaFhTbmhpUzBGcU5XOVNNbmxxVmxocVVtRk1OMGQxUjJablJFUm5NekF2TVZkNFRtbHFZWFJtVlZCTlkwd0taRUZqT1daM2VHVnliWEZOWXpob2FsRmlWU3N5YzAxd2FWcEhRMHh6YWpsMGJHWnZXVFpGY0RCT1VVTk5kamxqYVc0eFYxWjNObkJWU1ZScmVqUlJNZ3BEZUVsdksweFhSM0V4Y25kRFVVVkRaMmRGUWtGUFZXNDNURTVRVGtOeVZIaHZWSGw2TjFNeVRFYzVXbEUzWlZoWk9XbHpkVW81UXpOSk1tRnZWbEZhQ2xGVWQyWjZSR3R3Y0V4Q1VXSkNTV0pCZVVsSmJWRjZhM2c1Ylc5SmVHOTFOMWwwTjI5R1NqZFVZMGRvVTJweFVWZGtNelJtUVUxdEszaE1ka05HVGtVS1dXWXJObWxrVmxsak5tTkdVMlVyUldSQmNHaHRVWGxQVjBaWmJXMTJXV00zVVV0RWFEZEVWVU53T0haVFZHbGpWRUYxT0dkbk5VbFFWbWxzV0Zsa2FRcEdaVk5PYjBkbWJrbFZkVmRhTDJSWlowUmxia2wzVjNaUldUTjFjVWwxSzBKU05raHhMMFpDTkRnNFMwbGFSbWRYWkU1bmQwWldPWEZpVW5FMFdWRkVDakZCVkVwcFNURktNMlk0VldSSVYwVXhWbEJ0Y2tkWFVHbFhlRzlqU1VsaVJtaEdXaXRJTVdWR1pXczVNVmhQV2pWeVNUaFBZVXBGYVVKV1ZqWTRNM1VLWVZJelF6bHVZbTVWUmpKcU16ZE1lRUpzUVdGQlRqUlFURWhGVTBsS2VIb3pNMGhYYVVwVFQySXhSVU5uWjBWQlFuRlBZbWxLWkV0SU9HdzNOa2Q1WVFwaFRYUTJlVFF2UVRkNldqSXJjemxzTjNCelRqRmthSFZGZW5Wa2IyZFplSEk0WW01RVFYTXdTV3RaVWxSU1VFUkljVEJOTjBWR1dHaEhVak41ZVVwVkNuVnZUV3BJZW5GbVNFSTNkbFpHWkhWb1FuZERjRU5ZVHpKemJDdE1XUzlyVkdSdWFuUkNaMnhxVTNBNWJUTlVOa3AwWkhoT1JsQlBNakpIY1hreFVVMEtiV1ZDUlhFNWRVOVdWWEJTU0dkdWEySTNNSEJGY21zeFMxaHliRVZ3UjBOaVJVRmpUSEpVYm1KRmEyeE1LMVZFVVdZemJsaDVWVUZqWVVwQlVFRktZd3BaVkVrNFFYcGlSbk5HTjJjM09USTFSSGxZVERKMVZFOTRVVnBWU1RWb1VuSkpMM1YwZEZsWGNqaGlkVGx3VEM5NWNFWmtXV05wWkdscVRsb3ZhVlZMQ2trNVVIcGFZM3ByT1hKb1Z6VlllSGt5V1ZodFZscEpTVTFKUldjM1RWWTNOVGh6WlhNNFluUm5ZM0ZhVmpWRU1scFVaRVJJWm5aTmFEQTRlbEpJZEd3S1J6ZHhlRUZSUzBOQlVVRjNlR2dyYlZKd2VHMDFVelZwZVRjclZIbG9ZVXBIUzI1SFNVMHpZWEF5UTJkWVZETlBWV1pSTW1wNU1rbFhOR2N2VUc1TVZRcExSRzV2V0V0R09VVXZSbTVuYVZwaVYwZE5iMUp2WVNzMGJrSk5VR1o0WkRCNlQxZGFXRlZNVUhORksyUnZVMGxGYVVwdFpuRTJVa2hMV1V4d09HcDBDalp5TVVNMGNVWkZUMGRQTXk5WVFXd3paeXR5YUVweFduQXhPSGhNZFVOWU5IaDFiR3htWWtad1RHcFdlVEpDY2xKeU9IbGxjR3RKVkZoRGRucE5NRlVLV204ek5GbHVhbVl6TkRSbWRuQTJiMVV2ZWtKNVdUaFVXVmhOYVZwYVJGVldNbUYyY0RVNVZ6QXdaamh4YTA0NWNVTlpXakJEY2toWWFFaFlZVXh3T0FwbFYwVlZVbXhMVm1sbmNERnFNbWxFYWpOTmNUZG9USHBZU0M4NFVuaE9TVEJ4Vm1zNWIxQlpkV1ZNVjJVNWJYWkhUblZaZFVRM1pGYzRjbFJ2WjFwRUNpdEJXVGM0ZG5OU0x6UmlhSFpNT0V4NlpucHpOeXRxUjA1U1FtRTVhbTlTUVc5SlFrRlJRemRVYVhjM1pUWmxTMDVLUmxvd2VVVXpXSEZQYmk5d1Frc0tOMmR5UW1odlFXMW1iVVk0VDB4MFNrNVplVlJYVEM5YVpXWkpSMVZ4T0RWUlZGaERXbGRoZUVSYVlYTm5WMFZVWmxkT1pWTmxWRkJMZDJoRU9GbFpLd3BGVm1OSGRuQjBZU3M1VmxWTWNsSlhZVGRISzB4a1dHWnFNM0ZoUzJSU1FrUnBkV2d2VlROUFNXeFlhMDB4YlZwVE1DOXROMUpxYWtKYWRsaFFZVzVoQ25wbVVIaExkV2hFVW5wdk5VeFVjamRMZW5nNU4xbGtaVFZsTjBSWFpYRTRUVE5HZG5aYVEzZzBZbHBPTld0cmRWTkpXRWczVjFoQ1VYcHNWblpWU1VZS1NWQTJlbXM1UzFKS1YyODJUbVp5TjJaUGR6WkpjVkVyZUhOTlRXdEJObkJ2TTBaR0wyUTBVVTFwYUVGSFNsbFZaVlpaWmpsbE0wOTBPRk5pYnpsd01RcFJUMmxPT1d4eE5IRTVjVFF2VEVSRFFqbGFSVE5wYnpKMVRWRnVlVXhUZERWWWVsaFFhM3B2WkM5M1RFTTFkbnB6ZDB0Uk5URTJiRXAyZVdVS0xTMHRMUzFGVGtRZ1VsTkJJRkJTU1ZaQlZFVWdTMFZaTFMwdExTMEsKICAgIHRva2VuOiA2MTNmMWRmZTlmNGFkNzA3MGIxMjg2NTM3NWYwMGEzYTU2NGJiOTBiMzYyZDhkOTY2N2Q5NTM3YmJhYThiZTc0ODFhM2VhMWUzYjk3YWZhY2NhZDMzNzUwYWI2NGI3OTFmYjRmZDM1NTAwZDA2NGMzYjVhOTZlN2I5NDNiMWRlOAo=\"\n - \ }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '13041' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7/listClusterUserCredential?api-version=2021-03-01 - response: - body: - string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \"value\": - \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VVMlJFTkRRWFJEWjBGM1NVSkJaMGxSVjIxVlNUVlhZWFY1YzBkYWJHSkJaMVY0TmtsbWFrRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdkR2R6QjVUVlJCTUUxRVkzZE9WRlV4VFZSR1lVZEJPSGxOUkZWNFRVUlJkMDU2UVRKTlJGVjRUVlp2ZHdwRVZFVk1UVUZyUjBFeFZVVkJlRTFEV1RKRmQyZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVNNUNrMWhLMVZJY2twc2NrTkRWa0Y1Uld0VWNXdFlLeXRSUnpWS05IZE5jVEZQWlcxeE0wWkROMEZSU0VOb09YQlFSREI0V1d3elNrMU5OVTFOTUdoMWFWa0tabVZXYTFWVVFVOUtNbXN4T0ZCNlp6TmFUazVRTHpoTVJFdGtWRWhNVW1sRk1rMWlkbVpsTkZOSGRsYzJPR1V5Y21ocmVVaFNkazl4YmxoVkwwOWpkUXBXYjFCRWVYazJNM0Y2VTFWUVRHRjZPVEpVVFdWNFFrZHRTMFpsTTNoRVFXY3ZTVEJVVGtodVJtSkhaSGRYVjA1VmVIZGtWM1ZoYjJVMmNtbElNbEJPQ2psWlNWUnBWMUpqTTJOSGNYcExMM0ZRVjJwalNsaGFXSEZJTjNoRVJteFBTbkZTUWxGck1YWm1WV2RaVWxkRU9XazJObE5JU1VWUVdYZEhiV3RxYTNVS2VFbFNjRXR3TURGVFQycGhhMHhpVVRjNGJrVklVemxhSzBwaFZXOUlaMWxzUWpoa1oyOUxhV1JFTDFWbloxSjBRMjlQZVdKb1dYQldPVVZ3V2pSSFZ3bzFOalZvTms5eVVtMUJhbEZPU3k5d0wwNVlkMlJoVURsUGNIUXpjVU5uWWpKRE9WcHJUVUl3ZUZkMVpVcHlUMVExV0ZONFRYbFVNMWRQT1hOMVpFZE9Da2hUWmxJeWJsbHRXRzR5VG5Wc2Mwc3diVmxYYTJOaWJXNXNjVFZIYVhoQmMxbGtVR2g2V25sMU1tbEJiM1I0WmpKdGFXdHhhbTVHVlVRNVUySnRXRmNLZDFWbGFVbHRjSGwzVTJkYVdHTkhXRTFJU1RWT2RrRlpaVU4yV1hWT2NWUlBNVFZJVGtWSWFuVlNjMnR0UlVWWlQxVk1PWGxxUzFSVmNrazFXbmREU0FweVJuTk1SamRYYW1SblkxaFlRVUp1VG5GMWRqbHpPRWg0UVc5c01XaFBRbVpPYkdJclIxbzJaMG8zWkRsME9UWjNSR2R2ZDFSa1N5OU1RMnB2Y2pCSkNraFJZVVZzYlhKQldURXhTa0o0TUhKNVlWVnFPWHBNVGpOMGNYQnRiM0oyUnpObllqTmtlalJ0ZEZwSlVHOWFXWEJQVlc1M1NsUkpUR1YyYnpkUlF5c0taMVY0WmtOcVZVSTRRV2ROU0dGRmVpOVJRVFExWW5CRmFXUk1jekp6ZEhBemRIZG1TamRxVkhOUlNVUkJVVUZDYnpCSmQxRkVRVTlDWjA1V1NGRTRRZ3BCWmpoRlFrRk5RMEZ4VVhkRWQxbEVWbEl3VkVGUlNDOUNRVlYzUVhkRlFpOTZRV1JDWjA1V1NGRTBSVVpuVVZWR1VqRmhRVlF2YTNOMGJ6azRZV3AwQ2pSaE9UUlBSWFZNVG1kRmQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRKUWtGRGRpOUdUVFl2ZWxGeWJWRjNNbkpQTjBGRVZGb3JaV1Z6VTA4S1drNDNlbWR3ZGpoWE5FdDFWbFZ5VTFRNFZXTlJOemd6TURsQ05FRXdTRWN5U0hoWU5rTmFiV1UyZVZsSlRsb3JNVlY0VDJab1ptMHhSR1k0U1dsVmJ3bzFNWGd3VUhCdWFtMTVTVXRTTUVjMlVVMTBSM2sxY2lzemEzUnZaVkpKVWs5ek0yaFFlVE40TldVelVFSklRVzQ0VkdjNFdFOUdTREZZYW5JNVJscHJDbEpRYjB4VFExUkVORWw0YVVSd2RYTmxOa0ZTYVVScGJVSlNXWFE1WWl0c1RYWnJNWGxtUjJsaWFYbGpRekIwZW10MFptdzFjMVJSVlhjemJHOTBNemtLTTJSa2VGTXlOa1pGVlVGYWJXMTNWMVo0VUdjNE9FUlhhak5wVmxScFQzTnlRM2QzYVUwMVkyNXFTemxUZGtkV2FWVlBabUZ0Y0Vad1l6bEliM2hRYUFwNk9FcDZXV1JPWVZnNVdGQmlOV0psZEcxck1HZzBWRloxVFV4VWFtbG9kMnN2UW5CUlYxUkdiVmxVUkZGdU4xazFkbGN2WjBGeFJIb3pNRm8yTlcxSkNqVjZOWE55ZEM4NFNrNXdTekJXUjFOTFQyUlBOekpOTmxOcmFVMUZlVkYwYmxKT1dVODBRMDlEZG1oaGIzQlpUV3hHVUdkdlMzaHdTa3hHV0c5VWVIY0tlV2sxWkRWR1pHRnZlVXB2YWtwQlF6VjRSVk5qWVdkWVVIbDRlaXREWW1saVRYWkVNVGRzWTNOME5sTm1RMDVQSzJKU0szVnhTak5rVUUxR2JUUktUd295Y0hwS1JsSlRVVGgwZDJSR05XOUlTV3BtYVhacFl6SnplRkF4TXpKWFF6UnpaVk5YYXpaNFptSlFhMm8zY1ZGcVREaHlWSHB2YTFKSVYwMUlOM3BuQ2tWNlYxcE1iMkZYT0RkQ0szYzNaVUowUVU0eVNUZDRkMHgxZUZKblZITkhiMjR4TkZaMVduSnlaemRsVUVsVVFVcEVNWFZNYVhaek1raERkWEJoWTI0S1ptOUdORVZWT1VVd1JqVlpZVGRSZHpJNVIyWTFOVE5XZWpGT1pteEhXWHBaYlRWNlVEbHNla2hFVW1oYU1FOVFjRmR5ZVhkWU5HczJiREp3YkV0SVNRcHVTRm92YmxremMyRk1LM0JzVFRsVENpMHRMUzB0UlU1RUlFTkZVbFJKUmtsRFFWUkZMUzB0TFMwSwogICAgc2VydmVyOiBodHRwczovL2Frc3B5dGhvbnNkay0zYzQ2ZTFmOC5oY3AuZWFzdHVzLmF6bWs4cy5pbzo0NDMKICBuYW1lOiAiNyIKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6ICI3IgogICAgdXNlcjogY2x1c3RlclVzZXJfcmdweS10ZXN0X21nbXRfYWtzX3Rlc3RfbWFuYWdlZF9jbHVzdGVyczFmNjBlNjFfNwogIG5hbWU6ICI3IgpjdXJyZW50LWNvbnRleHQ6ICI3IgpraW5kOiBDb25maWcKcHJlZmVyZW5jZXM6IHt9CnVzZXJzOgotIG5hbWU6IGNsdXN0ZXJVc2VyX3JncHktdGVzdF9tZ210X2Frc190ZXN0X21hbmFnZWRfY2x1c3RlcnMxZjYwZTYxXzcKICB1c2VyOgogICAgY2xpZW50LWNlcnRpZmljYXRlLWRhdGE6IExTMHRMUzFDUlVkSlRpQkRSVkpVU1VaSlEwRlVSUzB0TFMwdENrMUpTVVpJYWtORFFYZGhaMEYzU1VKQlowbFNRVTlWWWt3dlFrTnpZVTEzY3pOR1JXeDZVRVY2SzFGM1JGRlpTa3R2V2tsb2RtTk9RVkZGVEVKUlFYY0tSRlJGVEUxQmEwZEJNVlZGUVhoTlExa3lSWGRJYUdOT1RXcEZkMDVFUVROTlJGVXhUbFJGZUZkb1kwNU5hazEzVGtSQk0wMUVXWGRPVkVWNFYycEJkd3BOVW1OM1JsRlpSRlpSVVV0RmR6VjZaVmhPTUZwWE1EWmlWMFo2WkVkV2VXTjZSVlpOUWsxSFFURlZSVUY0VFUxaVYwWjZaRWRXZVZreWVIQmFWelV3Q2sxSlNVTkpha0ZPUW1kcmNXaHJhVWM1ZHpCQ1FWRkZSa0ZCVDBOQlp6aEJUVWxKUTBOblMwTkJaMFZCZEU5aVR5dDVWV1l6YkROcmNtTmpia1poTmpVS1UxRkdTMk5qZGxjek4wOVpjeTlwYlZaME9WVnJjR0p0SzBkbGIzQnROa0k1UjBkRE5Gb3dVRTR6WTBONWVYUjRaQ3R3UlRGYVRFeFJWR1JMU0VGVWJRcDNlU3RUTXpORU1VRjVXamxqZFROd1VrOWxURU0yTVdReWQxSTBZa1pqZG1ZMlFWSjBjRFkwVEU1S2RYbGFibk41VmxOWVNqZE1Ra04wTjBodkt6WmlDbFZhV1RSTk5qVnZRM2RITWxWQmExaHVOME4zYkVaa1dUTmFOM2x2WVhaQk0zSnVTVGh0VjFFMlFqUkVNRVJMTUZoU1NXMUdjakp0Wlc5Q1JYRTVUa1lLUTNaUmNHSndTRkpsU0UxQmNIY3lNVlpNTlhOSUwySmFhVE42WVZsVlFVSm1NakpXVGtaME1USTVVMWRJUkUxek9HOVFVM3BrYVVGR1VrbENPVkpETXdveFJGQjJOVzlzVHpCNGMwTjZkV05TWWxNM01uTjNSelV6YjFjNE5EWm1hbHBSV2paRVVFSkNVR0pUUWtJNU0zZHFRbGRRUTNCS2EzUnlXRFZwUzNobkNtUkpaelZMYlM5NWNucFhSVzF2U25ob1UwWlVjVGxTZFhaM1kxSlRXWEo0UWxGc2RtbEJhWGh3YmxVemNrSkNlSE5VUmt4TU5USXdTbVZJVFRKTVFqTUtaRk5DWm1zck5tTXdjMDVFV1hOeE1tMTFlSEJzU0VoaVpXOVpSbEUzT1hKbUwyeGxWbmhuZUhoU2JVSjJVazR3TTB0d1JHOHlWM0ZvTDJRM1RraGtjZ3AxYlRoc01YaEJkWEZrUkdkQ00xUkNPV1ZHWlUxcFNYaHNNbFV6VDJkelJGQk5XVmhHWVdRMFNVSkxkR3BCTmtOTVNHSlFVakZpUXpGdE9HOUhhazFEQ25oRGVWQlFlQ3N3WjFReFQxWjVPQzlSTUVsWWVuZG1RazVwU1hsVWFrMUVWMUUxVVZSNlRrdDNjV295UkdSYVZscE1TbE5qS3paME1WSmljMDEwVGtNS1NsZG9SR1l2UTAxYU5GcFhNMnd3V0hkMGVWcFRjbTVqVVRCM2JIQmhVa3RQVFdST2QyRjRLeTh3VEZWSE5YaEhaVlEzU1RCNFNtdEpVbEphTTJjMGVncFlibmszWlZoMVVFMVNWMnNyWlNzNWFESjRiMU5HUlVOQmQwVkJRV0ZPVjAxR1VYZEVaMWxFVmxJd1VFRlJTQzlDUVZGRVFXZFhaMDFDVFVkQk1WVmtDa3BSVVUxTlFXOUhRME56UjBGUlZVWkNkMDFEVFVGM1IwRXhWV1JGZDBWQ0wzZFJRMDFCUVhkSWQxbEVWbEl3YWtKQ1ozZEdiMEZWUmxJeFlVRlVMMnNLYzNSdk9UaGhhblEwWVRrMFQwVjFURTVuUlhkRVVWbEtTMjlhU1doMlkwNUJVVVZNUWxGQlJHZG5TVUpCUm5OUFprbG1hRk52YWpOaWJ6SXJWVVE0V0FveWVHeHdSVUUxWmpadllpdFpiMjVxUnl0eGIyRkdibGhIZUV0M2RUTTRTMDlPWmtoTFFuRXpXRGhaTW5kWGRFZzFMMVY2YTBWWVJWUmphekpxVURGd0NuUXllbUpJTURSeFVYTXhVRVp2YkUxV1QwSnJSbkpzVjI5UE5IVkJTQ3RSVTBaalduVnRlRkpKYUcxSkszZFdaREIxYTBveWRtSk5NbVZLZWtSbmRUY0tiVE15TkZvNVF6Um1lbmRDZGxaQ2VGTkpjMnRPVkdvM2NWbHlSREI1U0VvM1RHSktWV3huVlhGRU1XTmxaVVp5YkZGbWNTdFRiRVJOY1ZOVmNHbFJjUXBFV21WUGFIVlBRMlV5VVhOSFVYTlRTVFUxYkZCUGRrUndTak5aUm5Ga09VNUtObFZNVVhWVmMxUmtPV2x4WVVjM1ZVTTJUM1JvVWtsRmQxSlVhbFZSQ2xKclRtSm5aVzF6Ym1KblYwczJPWFV3U0RSNVVIcHFkelpPTWxweGVsSklTM054Y1RkdmNteHNka3BWYnpVeGFYcE5PVkJRYWpkMFJ6aEpTamd4VTFBS1dHUlNZWEp5UTNoWlJXZDJhRU5DT0VKYWVsRkRVREJuYmpKT1l5ODNOSFJLUkhaTlozSjVVa2cwTUV0UFp5c3pUa05WTUROS1l6bElRVmszYTNkeWRncE9lbGxDUlUxT1NXeENSaXROY3pKeWJuTkNNakp3Ym0wNWRtNW1VVE5YT1RCRlNWbzBPVkV3UjBkaWNtTmliMnBoV21VNVRVazJOVWRvYmxSelRFNUpDbFZMVG1wa1JEUjNWMk5uUjFKeWFUVXhWR2xTY0hORmVXeFJiek0xV2pOR1dFa3ZSVFJzYm1Sa1VWVk1TbVJKTUhKeU5XOVRiaXRaVFhwNGMwdE1aSEFLU0Zrd1RFeFNNVnBUWTA0dlJWTkdORkZITkVsWlNUVnphVGhhWlRGaFpIbFJWRkZKZFc1RFRHWXdORlpJUm1sMllrWmpPRFJwVDJwTVExaHRTVTkwYkFwbWVFbzFjbVZyV0RrM2VtZ3ZkVmhEYm1SNWRXRnliMDAxTlhRclZFSkZhMWg1ZUVOWGRtVXhVRWxrVXpkMGJFRk5PVkpETTBSWlptZFdNM2RVZUZFeENqQmlSMUkwV1d4VU1IUXZOaTlaVlN0dlZXZGtjR1o0VWdvdExTMHRMVVZPUkNCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgY2xpZW50LWtleS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJTVTBFZ1VGSkpWa0ZVUlNCTFJWa3RMUzB0TFFwTlNVbEtTMUZKUWtGQlMwTkJaMFZCZEU5aVR5dDVWV1l6YkROcmNtTmpia1poTmpWVFVVWkxZMk4yVnpNM1QxbHpMMmx0Vm5RNVZXdHdZbTByUjJWdkNuQnROa0k1UjBkRE5Gb3dVRTR6WTBONWVYUjRaQ3R3UlRGYVRFeFJWR1JMU0VGVWJYZDVLMU16TTBReFFYbGFPV04xTTNCU1QyVk1Rell4WkRKM1VqUUtZa1pqZG1ZMlFWSjBjRFkwVEU1S2RYbGFibk41VmxOWVNqZE1Ra04wTjBodkt6WmlWVnBaTkUwMk5XOURkMGN5VlVGcldHNDNRM2RzUm1SWk0xbzNlUXB2WVhaQk0zSnVTVGh0VjFFMlFqUkVNRVJMTUZoU1NXMUdjakp0Wlc5Q1JYRTVUa1pEZGxGd1luQklVbVZJVFVGd2R6SXhWa3cxYzBndllscHBNM3BoQ2xsVlFVSm1NakpXVGtaME1USTVVMWRJUkUxek9HOVFVM3BrYVVGR1VrbENPVkpETXpGRVVIWTFiMnhQTUhoelEzcDFZMUppVXpjeWMzZEhOVE52VnpnS05EWm1hbHBSV2paRVVFSkNVR0pUUWtJNU0zZHFRbGRRUTNCS2EzUnlXRFZwUzNoblpFbG5OVXR0TDNseWVsZEZiVzlLZUdoVFJsUnhPVkoxZG5kalVncFRXWEo0UWxGc2RtbEJhWGh3YmxVemNrSkNlSE5VUmt4TU5USXdTbVZJVFRKTVFqTmtVMEptYXlzMll6QnpUa1JaYzNFeWJYVjRjR3hJU0dKbGIxbEdDbEUzT1hKbUwyeGxWbmhuZUhoU2JVSjJVazR3TTB0d1JHOHlWM0ZvTDJRM1RraGtjblZ0T0d3eGVFRjFjV1JFWjBJelZFSTVaVVpsVFdsSmVHd3lWVE1LVDJkelJGQk5XVmhHWVdRMFNVSkxkR3BCTmtOTVNHSlFVakZpUXpGdE9HOUhhazFEZUVONVVGQjRLekJuVkRGUFZuazRMMUV3U1ZoNmQyWkNUbWxKZVFwVWFrMUVWMUUxVVZSNlRrdDNjV295UkdSYVZscE1TbE5qS3paME1WSmljMDEwVGtOS1YyaEVaaTlEVFZvMFdsY3piREJZZDNSNVdsTnlibU5STUhkc0NuQmhVa3RQVFdST2QyRjRLeTh3VEZWSE5YaEhaVlEzU1RCNFNtdEpVbEphTTJjMGVsaHVlVGRsV0hWUVRWSlhheXRsS3psb01uaHZVMFpGUTBGM1JVRUtRVkZMUTBGblJVRnBRWFJGUVZjNVREVnBhbkZtZUROVlkwOVFlbWc0YlcxMVMyMDFUVWxoWVVGck5uVnRXWEJsZVdSalpWbENWbXR4WWxaV2JXWnNlZ3BQYTFOd1YzVmlkbVpQWkhjM0swOUpXRXN5UjIxalkwRjJjekpaTVZwVlJHVllTWHBqUjJ0VU1ITnFSWE4zVFVkbFNVOXhiamRzWlRkMWMzRldNbkZFQ25BM2FqVm1VWFpOVFZkVVIzaERiMUJsZEZaa1p6bFdRMmRxUWtKTmFuZHpha0ZHVUZWWFpUWlBZbkE0ZGpaV1lsSnNVR2xEZEd0elZYaFZaR1ZQU25vS1JXOW1OMVF2VTNsdVdFcHJXR1JJTWxCM1pteEhVamcxYUZwaVpYZ3pkMVJhU1c1Wk5VTktiMnBVYTNJNE1EQTFaREZvYmtKb1YyaEVXak5pUVc0dlp3cDNNekE0ZURGUE5tZ3ZObU5uVFRGUFZGZDJVamwzWVZJemEwUjVXRzB5YjNKMFJEUk1TalpXYjBFdk5UbFJhSEZyZG1oeVZtTk9lRFpEYzNOUldqazNDbFJvZFc5c1RWVlpaa1puVjFCUFRrSnlXWFZ0Ym1odFFWUmFOa1U0YUc1dGFsSTFhRTgyVDNoc1dXWmFNMUZJZEdsNFppdExjMHRIVEU5cGJVOHhUMlFLWVhGMVdVWmFjME5uUkhsRVdsbDFZM0o0ZUZkTVpWbExaMjFHYlhnemMyWkpOMWh5SzBSc09HZG5LMk41Y2xCUVRUUlphSGQwWlVGNmJUUm1lVWhsUkFwWlYwaEdiVnA0Y0ZOa0wwUk9Xak5YU1hsWlFtWmlNRmRrUlZkd2EyWkNNbll5TUZKc2JuSm9UbE5pU2t0d2FsUm1XRnBQVW5jeGFGZDZXVE5WTXpGM0NsUllXRU5CYVRjeldIUmxkMk5NY3pBdk0xSnFiazF3U1N0S1VYZE9iRnBWT1RCdEwwTk5Sbk0zWVVZcmRVeDJTVmhOYm0xa1NYcDJSbFpWUWxCVWJGY0tiMDlTUzBWRFoydHFaR0l4TVhkcE9GbGpWVGxaVlRGS1FtVlFjbUYzZDI1TlJVaGlSM3BqZWpkT1dIaHhjelUyVm1OVVp6WjZTMjg0Y20xd1MyaHpSd3BhWTFCcGNrdFlUMmRsTjBwTk5rUmFaMlJLUWpaU2NtZEtNVXhKYVRkSGJHRjFjaXR2YW5RemVrTkJja0ZPTldnMFFVVkRaMmRGUWtGTmIxaDZVMGc0Q2xJM1ZrbEpNbmRyT1ZwV2VUZHRaelZ0T0V0VEwxQkVlSE15TUcwM2VIRk5SSGt6Tm05cFVtUk1OakZSU0hOdmNXeHlWVGQzYUVZNGFFRnJUMnM1VmpJS2QyZFVLMEZFUkVRM0t6TndTVWxGV2xobFpFWXJRa1ExYWk5QmFFcFFPVEZsYVRsa1pFVjBhM05vV21kbWVtMXRhWE40U1Vwak5HaFFlRE5NTjFCTGRncExkRkI1T0ZGU0x6ZHhSMVJLYVRkblExcDZjRlp1ZUVKa1EwRlBXRmhJVkVOdE1IQkdiV2t3V1VWcFdWQTFaQ3RoVVZCQk5uaFFhR1JpWTJocmRtbE9Dbko2YVZBeU5sWXpWRzl5ZWpWWmJYRlJhamhYU25oaVMwRnFOVzlTTW5scVZsaHFVbUZNTjBkMVIyWm5SRVJuTXpBdk1WZDRUbWxxWVhSbVZWQk5ZMHdLWkVGak9XWjNlR1Z5YlhGTll6aG9hbEZpVlNzeWMwMXdhVnBIUTB4emFqbDBiR1p2V1RaRmNEQk9VVU5OZGpsamFXNHhWMVozTm5CVlNWUnJlalJSTWdwRGVFbHZLMHhYUjNFeGNuZERVVVZEWjJkRlFrRlBWVzQzVEU1UVRrTnlWSGh2VkhsNk4xTXlURWM1V2xFM1pWaFpPV2x6ZFVvNVF6TkpNbUZ2VmxGYUNsRlVkMlo2Ukd0d2NFeENVV0pDU1dKQmVVbEpiVkY2YTNnNWJXOUplRzkxTjFsME4yOUdTamRVWTBkb1UycHhVVmRrTXpSbVFVMXRLM2hNZGtOR1RrVUtXV1lyTm1sa1ZsbGpObU5HVTJVclJXUkJjR2h0VVhsUFYwWlpiVzEyV1dNM1VVdEVhRGRFVlVOd09IWlRWR2xqVkVGMU9HZG5OVWxRVm1sc1dGbGthUXBHWlZOT2IwZG1ia2xWZFZkYUwyUlpaMFJsYmtsM1YzWlJXVE4xY1VsMUswSlNOa2h4TDBaQ05EZzRTMGxhUm1kWFpFNW5kMFpXT1hGaVVuRTBXVkZFQ2pGQlZFcHBTVEZLTTJZNFZXUklWMFV4VmxCdGNrZFhVR2xYZUc5alNVbGlSbWhHV2l0SU1XVkdaV3M1TVZoUFdqVnlTVGhQWVVwRmFVSldWalk0TTNVS1lWSXpRemx1WW01VlJqSnFNemRNZUVKc1FXRkJUalJRVEVoRlUwbEtlSG96TTBoWGFVcFRUMkl4UlVOblowVkJRbkZQWW1sS1pFdElPR3czTmtkNVlRcGhUWFEyZVRRdlFUZDZXaklyY3psc04zQnpUakZrYUhWRmVuVmtiMmRaZUhJNFltNUVRWE13U1d0WlVsUlNVRVJJY1RCTk4wVkdXR2hIVWpONWVVcFZDblZ2VFdwSWVuRm1TRUkzZGxaR1pIVm9RbmREY0VOWVR6SnpiQ3RNV1M5clZHUnVhblJDWjJ4cVUzQTViVE5VTmtwMFpIaE9SbEJQTWpKSGNYa3hVVTBLYldWQ1JYRTVkVTlXVlhCU1NHZHVhMkkzTUhCRmNtc3hTMWh5YkVWd1IwTmlSVUZqVEhKVWJtSkZhMnhNSzFWRVVXWXpibGg1VlVGallVcEJVRUZLWXdwWlZFazRRWHBpUm5OR04yYzNPVEkxUkhsWVRESjFWRTk0VVZwVlNUVm9VbkpKTDNWMGRGbFhjamhpZFRsd1RDOTVjRVprV1dOcFpHbHFUbG92YVZWTENrazVVSHBhWTNwck9YSm9WelZZZUhreVdWaHRWbHBKU1UxSlJXYzNUVlkzTlRoelpYTTRZblJuWTNGYVZqVkVNbHBVWkVSSVpuWk5hREE0ZWxKSWRHd0tSemR4ZUVGUlMwTkJVVUYzZUdncmJWSndlRzAxVXpWcGVUY3JWSGxvWVVwSFMyNUhTVTB6WVhBeVEyZFlWRE5QVldaUk1tcDVNa2xYTkdjdlVHNU1WUXBMUkc1dldFdEdPVVV2Um01bmFWcGlWMGROYjFKdllTczBia0pOVUdaNFpEQjZUMWRhV0ZWTVVITkZLMlJ2VTBsRmFVcHRabkUyVWtoTFdVeHdPR3AwQ2paeU1VTTBjVVpGVDBkUE15OVlRV3d6Wnl0eWFFcHhXbkF4T0hoTWRVTllOSGgxYkd4bVlrWndUR3BXZVRKQ2NsSnlPSGxsY0d0SlZGaERkbnBOTUZVS1dtOHpORmx1YW1Zek5EUm1kbkEyYjFVdmVrSjVXVGhVV1ZoTmFWcGFSRlZXTW1GMmNEVTVWekF3WmpoeGEwNDVjVU5aV2pCRGNraFlhRWhZWVV4d09BcGxWMFZWVW14TFZtbG5jREZxTW1sRWFqTk5jVGRvVEhwWVNDODRVbmhPU1RCeFZtczViMUJaZFdWTVYyVTViWFpIVG5WWmRVUTNaRmM0Y2xSdloxcEVDaXRCV1RjNGRuTlNMelJpYUhaTU9FeDZabnB6Tnl0cVIwNVNRbUU1YW05U1FXOUpRa0ZSUXpkVWFYYzNaVFpsUzA1S1Jsb3dlVVV6V0hGUGJpOXdRa3NLTjJkeVFtaHZRVzFtYlVZNFQweDBTazVaZVZSWFRDOWFaV1pKUjFWeE9EVlJWRmhEV2xkaGVFUmFZWE5uVjBWVVpsZE9aVk5sVkZCTGQyaEVPRmxaS3dwRlZtTkhkbkIwWVNzNVZsVk1jbEpYWVRkSEsweGtXR1pxTTNGaFMyUlNRa1JwZFdndlZUTlBTV3hZYTAweGJWcFRNQzl0TjFKcWFrSmFkbGhRWVc1aENucG1VSGhMZFdoRVVucHZOVXhVY2pkTGVuZzVOMWxrWlRWbE4wUlhaWEU0VFROR2RuWmFRM2cwWWxwT05XdHJkVk5KV0VnM1YxaENVWHBzVm5aVlNVWUtTVkEyZW1zNVMxSktWMjgyVG1aeU4yWlBkelpKY1ZFcmVITk5UV3RCTm5Cdk0wWkdMMlEwVVUxcGFFRkhTbGxWWlZaWlpqbGxNMDkwT0ZOaWJ6bHdNUXBSVDJsT09XeHhOSEU1Y1RRdlRFUkRRamxhUlROcGJ6SjFUVkZ1ZVV4VGREVlllbGhRYTNwdlpDOTNURU0xZG5wemQwdFJOVEUyYkVwMmVXVUtMUzB0TFMxRlRrUWdVbE5CSUZCU1NWWkJWRVVnUzBWWkxTMHRMUzBLCiAgICB0b2tlbjogMTg2NDM5NzQwYTZmOTA2MjBlOWMzYmQ3MjlkOWU2OWM1MzI4MDYwMWI4NWMyMWE2ZTgyZjUwZDg4MGI2NjA5NzhkNGE4NzY2ZGJjOWExYzY5MmZhYzRhMThmZTU4YmU5Njk1ZjY0ZjJjOWI0ZGNjYzNjMTAwMGZiMzA5NzVhZmEK\"\n - \ }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '13036' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7/upgradeProfiles/default?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7/upgradeprofiles/default\",\n - \ \"name\": \"default\",\n \"type\": \"Microsoft.ContainerService/managedClusters/upgradeprofiles\",\n - \ \"properties\": {\n \"controlPlaneProfile\": {\n \"kubernetesVersion\": - \"1.18.14\",\n \"osType\": \"Linux\",\n \"upgrades\": [\n {\n \"kubernetesVersion\": - \"1.19.6\"\n },\n {\n \"kubernetesVersion\": \"1.19.7\"\n }\n - \ ]\n },\n \"agentPoolProfiles\": null\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '571' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7\",\n - \ \"location\": \"eastus\",\n \"name\": \"7\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-3c46e1f8.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-3c46e1f8.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus/providers/Microsoft.Network/publicIPAddresses/1c935cdd-9aac-4d92-ab6c-4a41a5a41aed\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10,\n \"autoScalerProfile\": {\n \"balance-similar-node-groups\": \"false\",\n - \ \"expander\": \"random\",\n \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\": - \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\": - \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\": - \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\": - \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\": - \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\": - \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\": - \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n }\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '2930' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"tags": {"tier": "testing", "archv3": ""}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '43' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7\",\n - \ \"location\": \"eastus\",\n \"name\": \"7\",\n \"tags\": {\n \"archv3\": - \"\",\n \"tier\": \"testing\"\n },\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"fqdn\": \"akspythonsdk-3c46e1f8.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"akspythonsdk-3c46e1f8.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_managed_clusters1f60e61_7_eastus/providers/Microsoft.Network/publicIPAddresses/1c935cdd-9aac-4d92-ab6c-4a41a5a41aed\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n - }" - headers: - cache-control: - - no-cache - content-length: - - '2285' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7/listClusterMonitoringUserCredential?api-version=2021-03-01 - response: - body: - string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterMonitoringUser\",\n - \ \"value\": \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VVMlJFTkRRWFJEWjBGM1NVSkJaMGxSVjIxVlNUVlhZWFY1YzBkYWJHSkJaMVY0TmtsbWFrRk9RbWRyY1docmFVYzVkekJDUVZGelJrRkVRVTRLVFZGemQwTlJXVVJXVVZGRVJYZEthbGxVUVdkR2R6QjVUVlJCTUUxRVkzZE9WRlV4VFZSR1lVZEJPSGxOUkZWNFRVUlJkMDU2UVRKTlJGVjRUVlp2ZHdwRVZFVk1UVUZyUjBFeFZVVkJlRTFEV1RKRmQyZG5TV2xOUVRCSFExTnhSMU5KWWpORVVVVkNRVkZWUVVFMFNVTkVkMEYzWjJkSlMwRnZTVU5CVVVNNUNrMWhLMVZJY2twc2NrTkRWa0Y1Uld0VWNXdFlLeXRSUnpWS05IZE5jVEZQWlcxeE0wWkROMEZSU0VOb09YQlFSREI0V1d3elNrMU5OVTFOTUdoMWFWa0tabVZXYTFWVVFVOUtNbXN4T0ZCNlp6TmFUazVRTHpoTVJFdGtWRWhNVW1sRk1rMWlkbVpsTkZOSGRsYzJPR1V5Y21ocmVVaFNkazl4YmxoVkwwOWpkUXBXYjFCRWVYazJNM0Y2VTFWUVRHRjZPVEpVVFdWNFFrZHRTMFpsTTNoRVFXY3ZTVEJVVGtodVJtSkhaSGRYVjA1VmVIZGtWM1ZoYjJVMmNtbElNbEJPQ2psWlNWUnBWMUpqTTJOSGNYcExMM0ZRVjJwalNsaGFXSEZJTjNoRVJteFBTbkZTUWxGck1YWm1WV2RaVWxkRU9XazJObE5JU1VWUVdYZEhiV3RxYTNVS2VFbFNjRXR3TURGVFQycGhhMHhpVVRjNGJrVklVemxhSzBwaFZXOUlaMWxzUWpoa1oyOUxhV1JFTDFWbloxSjBRMjlQZVdKb1dYQldPVVZ3V2pSSFZ3bzFOalZvTms5eVVtMUJhbEZPU3k5d0wwNVlkMlJoVURsUGNIUXpjVU5uWWpKRE9WcHJUVUl3ZUZkMVpVcHlUMVExV0ZONFRYbFVNMWRQT1hOMVpFZE9Da2hUWmxJeWJsbHRXRzR5VG5Wc2Mwc3diVmxYYTJOaWJXNXNjVFZIYVhoQmMxbGtVR2g2V25sMU1tbEJiM1I0WmpKdGFXdHhhbTVHVlVRNVUySnRXRmNLZDFWbGFVbHRjSGwzVTJkYVdHTkhXRTFJU1RWT2RrRlpaVU4yV1hWT2NWUlBNVFZJVGtWSWFuVlNjMnR0UlVWWlQxVk1PWGxxUzFSVmNrazFXbmREU0FweVJuTk1SamRYYW1SblkxaFlRVUp1VG5GMWRqbHpPRWg0UVc5c01XaFBRbVpPYkdJclIxbzJaMG8zWkRsME9UWjNSR2R2ZDFSa1N5OU1RMnB2Y2pCSkNraFJZVVZzYlhKQldURXhTa0o0TUhKNVlWVnFPWHBNVGpOMGNYQnRiM0oyUnpObllqTmtlalJ0ZEZwSlVHOWFXWEJQVlc1M1NsUkpUR1YyYnpkUlF5c0taMVY0WmtOcVZVSTRRV2ROU0dGRmVpOVJRVFExWW5CRmFXUk1jekp6ZEhBemRIZG1TamRxVkhOUlNVUkJVVUZDYnpCSmQxRkVRVTlDWjA1V1NGRTRRZ3BCWmpoRlFrRk5RMEZ4VVhkRWQxbEVWbEl3VkVGUlNDOUNRVlYzUVhkRlFpOTZRV1JDWjA1V1NGRTBSVVpuVVZWR1VqRmhRVlF2YTNOMGJ6azRZV3AwQ2pSaE9UUlBSWFZNVG1kRmQwUlJXVXBMYjFwSmFIWmpUa0ZSUlV4Q1VVRkVaMmRKUWtGRGRpOUdUVFl2ZWxGeWJWRjNNbkpQTjBGRVZGb3JaV1Z6VTA4S1drNDNlbWR3ZGpoWE5FdDFWbFZ5VTFRNFZXTlJOemd6TURsQ05FRXdTRWN5U0hoWU5rTmFiV1UyZVZsSlRsb3JNVlY0VDJab1ptMHhSR1k0U1dsVmJ3bzFNWGd3VUhCdWFtMTVTVXRTTUVjMlVVMTBSM2sxY2lzemEzUnZaVkpKVWs5ek0yaFFlVE40TldVelVFSklRVzQ0VkdjNFdFOUdTREZZYW5JNVJscHJDbEpRYjB4VFExUkVORWw0YVVSd2RYTmxOa0ZTYVVScGJVSlNXWFE1WWl0c1RYWnJNWGxtUjJsaWFYbGpRekIwZW10MFptdzFjMVJSVlhjemJHOTBNemtLTTJSa2VGTXlOa1pGVlVGYWJXMTNWMVo0VUdjNE9FUlhhak5wVmxScFQzTnlRM2QzYVUwMVkyNXFTemxUZGtkV2FWVlBabUZ0Y0Vad1l6bEliM2hRYUFwNk9FcDZXV1JPWVZnNVdGQmlOV0psZEcxck1HZzBWRloxVFV4VWFtbG9kMnN2UW5CUlYxUkdiVmxVUkZGdU4xazFkbGN2WjBGeFJIb3pNRm8yTlcxSkNqVjZOWE55ZEM4NFNrNXdTekJXUjFOTFQyUlBOekpOTmxOcmFVMUZlVkYwYmxKT1dVODBRMDlEZG1oaGIzQlpUV3hHVUdkdlMzaHdTa3hHV0c5VWVIY0tlV2sxWkRWR1pHRnZlVXB2YWtwQlF6VjRSVk5qWVdkWVVIbDRlaXREWW1saVRYWkVNVGRzWTNOME5sTm1RMDVQSzJKU0szVnhTak5rVUUxR2JUUktUd295Y0hwS1JsSlRVVGgwZDJSR05XOUlTV3BtYVhacFl6SnplRkF4TXpKWFF6UnpaVk5YYXpaNFptSlFhMm8zY1ZGcVREaHlWSHB2YTFKSVYwMUlOM3BuQ2tWNlYxcE1iMkZYT0RkQ0szYzNaVUowUVU0eVNUZDRkMHgxZUZKblZITkhiMjR4TkZaMVduSnlaemRsVUVsVVFVcEVNWFZNYVhaek1raERkWEJoWTI0S1ptOUdORVZWT1VVd1JqVlpZVGRSZHpJNVIyWTFOVE5XZWpGT1pteEhXWHBaYlRWNlVEbHNla2hFVW1oYU1FOVFjRmR5ZVhkWU5HczJiREp3YkV0SVNRcHVTRm92YmxremMyRk1LM0JzVFRsVENpMHRMUzB0UlU1RUlFTkZVbFJKUmtsRFFWUkZMUzB0TFMwSwogICAgc2VydmVyOiBodHRwczovL2Frc3B5dGhvbnNkay0zYzQ2ZTFmOC5oY3AuZWFzdHVzLmF6bWs4cy5pbzo0NDMKICBuYW1lOiAiNyIKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6ICI3IgogICAgdXNlcjogY2x1c3Rlck1vbml0b3JpbmdVc2VyX3JncHktdGVzdF9tZ210X2Frc190ZXN0X21hbmFnZWRfY2x1c3RlcnMxZjYwZTYxXzcKICBuYW1lOiAiNyIKY3VycmVudC1jb250ZXh0OiAiNyIKa2luZDogQ29uZmlnCnByZWZlcmVuY2VzOiB7fQp1c2VyczoKLSBuYW1lOiBjbHVzdGVyTW9uaXRvcmluZ1VzZXJfcmdweS10ZXN0X21nbXRfYWtzX3Rlc3RfbWFuYWdlZF9jbHVzdGVyczFmNjBlNjFfNwogIHVzZXI6CiAgICBjbGllbnQtY2VydGlmaWNhdGUtZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVWklha05EUVhkaFowRjNTVUpCWjBsU1FVOVZZa3d2UWtOellVMTNjek5HUld4NlVFVjZLMUYzUkZGWlNrdHZXa2xvZG1OT1FWRkZURUpSUVhjS1JGUkZURTFCYTBkQk1WVkZRWGhOUTFreVJYZElhR05PVFdwRmQwNUVRVE5OUkZVeFRsUkZlRmRvWTA1TmFrMTNUa1JCTTAxRVdYZE9WRVY0VjJwQmR3cE5VbU4zUmxGWlJGWlJVVXRGZHpWNlpWaE9NRnBYTURaaVYwWjZaRWRXZVdONlJWWk5RazFIUVRGVlJVRjRUVTFpVjBaNlpFZFdlVmt5ZUhCYVZ6VXdDazFKU1VOSmFrRk9RbWRyY1docmFVYzVkekJDUVZGRlJrRkJUME5CWnpoQlRVbEpRME5uUzBOQlowVkJkRTlpVHl0NVZXWXpiRE5yY21OamJrWmhOalVLVTFGR1MyTmpkbGN6TjA5WmN5OXBiVlowT1ZWcmNHSnRLMGRsYjNCdE5rSTVSMGRETkZvd1VFNHpZME41ZVhSNFpDdHdSVEZhVEV4UlZHUkxTRUZVYlFwM2VTdFRNek5FTVVGNVdqbGpkVE53VWs5bFRFTTJNV1F5ZDFJMFlrWmpkbVkyUVZKMGNEWTBURTVLZFhsYWJuTjVWbE5ZU2pkTVFrTjBOMGh2S3paaUNsVmFXVFJOTmpWdlEzZEhNbFZCYTFodU4wTjNiRVprV1ROYU4zbHZZWFpCTTNKdVNUaHRWMUUyUWpSRU1FUkxNRmhTU1cxR2NqSnRaVzlDUlhFNVRrWUtRM1pSY0dKd1NGSmxTRTFCY0hjeU1WWk1OWE5JTDJKYWFUTjZZVmxWUVVKbU1qSldUa1owTVRJNVUxZElSRTF6T0c5UVUzcGthVUZHVWtsQ09WSkRNd294UkZCMk5XOXNUekI0YzBONmRXTlNZbE0zTW5OM1J6VXpiMWM0TkRabWFscFJXalpFVUVKQ1VHSlRRa0k1TTNkcVFsZFFRM0JLYTNSeVdEVnBTM2huQ21SSlp6VkxiUzk1Y25wWFJXMXZTbmhvVTBaVWNUbFNkWFozWTFKVFdYSjRRbEZzZG1sQmFYaHdibFV6Y2tKQ2VITlVSa3hNTlRJd1NtVklUVEpNUWpNS1pGTkNabXNyTm1Nd2MwNUVXWE54TW0xMWVIQnNTRWhpWlc5WlJsRTNPWEptTDJ4bFZuaG5lSGhTYlVKMlVrNHdNMHR3Ukc4eVYzRm9MMlEzVGtoa2NncDFiVGhzTVhoQmRYRmtSR2RDTTFSQ09XVkdaVTFwU1hoc01sVXpUMmR6UkZCTldWaEdZV1EwU1VKTGRHcEJOa05NU0dKUVVqRmlRekZ0T0c5SGFrMURDbmhEZVZCUWVDc3daMVF4VDFaNU9DOVJNRWxZZW5kbVFrNXBTWGxVYWsxRVYxRTFVVlI2VGt0M2NXb3lSR1JhVmxwTVNsTmpLelowTVZKaWMwMTBUa01LU2xkb1JHWXZRMDFhTkZwWE0yd3dXSGQwZVZwVGNtNWpVVEIzYkhCaFVrdFBUV1JPZDJGNEt5OHdURlZITlhoSFpWUTNTVEI0U210SlVsSmFNMmMwZWdwWWJuazNaVmgxVUUxU1Yyc3JaU3M1YURKNGIxTkdSVU5CZDBWQlFXRk9WMDFHVVhkRVoxbEVWbEl3VUVGUlNDOUNRVkZFUVdkWFowMUNUVWRCTVZWa0NrcFJVVTFOUVc5SFEwTnpSMEZSVlVaQ2QwMURUVUYzUjBFeFZXUkZkMFZDTDNkUlEwMUJRWGRJZDFsRVZsSXdha0pDWjNkR2IwRlZSbEl4WVVGVUwyc0tjM1J2T1RoaGFuUTBZVGswVDBWMVRFNW5SWGRFVVZsS1MyOWFTV2gyWTA1QlVVVk1RbEZCUkdkblNVSkJSbk5QWmtsbWFGTnZhak5pYnpJclZVUTRXQW95ZUd4d1JVRTFaalp2WWl0WmIyNXFSeXR4YjJGR2JsaEhlRXQzZFRNNFMwOU9aa2hMUW5FeldEaFpNbmRYZEVnMUwxVjZhMFZZUlZSamF6SnFVREZ3Q25ReWVtSklNRFJ4VVhNeFVFWnZiRTFXVDBKclJuSnNWMjlQTkhWQlNDdFJVMFpqV25WdGVGSkphRzFKSzNkV1pEQjFhMG95ZG1KTk1tVktla1JuZFRjS2JUTXlORm81UXpSbWVuZENkbFpDZUZOSmMydE9WR28zY1ZseVJEQjVTRW8zVEdKS1ZXeG5WWEZFTVdObFpVWnliRkZtY1N0VGJFUk5jVk5WY0dsUmNRcEVXbVZQYUhWUFEyVXlVWE5IVVhOVFNUVTFiRkJQZGtSd1NqTlpSbkZrT1U1S05sVk1VWFZWYzFSa09XbHhZVWMzVlVNMlQzUm9Va2xGZDFKVWFsVlJDbEpyVG1KblpXMXpibUpuVjBzMk9YVXdTRFI1VUhwcWR6Wk9NbHB4ZWxKSVMzTnhjVGR2Y214c2RrcFZielV4YVhwTk9WQlFhamQwUnpoSlNqZ3hVMUFLV0dSU1lYSnlRM2haUldkMmFFTkNPRUphZWxGRFVEQm5iakpPWXk4M05IUktSSFpOWjNKNVVrZzBNRXRQWnlzelRrTlZNRE5LWXpsSVFWazNhM2R5ZGdwT2VsbENSVTFPU1d4Q1JpdE5jekp5Ym5OQ01qSndibTA1ZG01bVVUTlhPVEJGU1ZvME9WRXdSMGRpY21OaWIycGhXbVU1VFVrMk5VZG9ibFJ6VEU1SkNsVkxUbXBrUkRSM1YyTm5SMUp5YVRVeFZHbFNjSE5GZVd4UmJ6TTFXak5HV0VrdlJUUnNibVJrVVZWTVNtUkpNSEp5Tlc5VGJpdFpUWHA0YzB0TVpIQUtTRmt3VEV4U01WcFRZMDR2UlZOR05GRkhORWxaU1RWemFUaGFaVEZoWkhsUlZGRkpkVzVEVEdZd05GWklSbWwyWWtaak9EUnBUMnBNUTFodFNVOTBiQXBtZUVvMWNtVnJXRGszZW1ndmRWaERibVI1ZFdGeWIwMDFOWFFyVkVKRmExaDVlRU5YZG1VeFVFbGtVemQwYkVGTk9WSkRNMFJaWm1kV00zZFVlRkV4Q2pCaVIxSTBXV3hVTUhRdk5pOVpWU3R2Vldka2NHWjRVZ290TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09CiAgICBjbGllbnQta2V5LWRhdGE6IExTMHRMUzFDUlVkSlRpQlNVMEVnVUZKSlZrRlVSU0JMUlZrdExTMHRMUXBOU1VsS1MxRkpRa0ZCUzBOQlowVkJkRTlpVHl0NVZXWXpiRE5yY21OamJrWmhOalZUVVVaTFkyTjJWek0zVDFsekwybHRWblE1Vld0d1ltMHJSMlZ2Q25CdE5rSTVSMGRETkZvd1VFNHpZME41ZVhSNFpDdHdSVEZhVEV4UlZHUkxTRUZVYlhkNUsxTXpNMFF4UVhsYU9XTjFNM0JTVDJWTVF6WXhaREozVWpRS1lrWmpkbVkyUVZKMGNEWTBURTVLZFhsYWJuTjVWbE5ZU2pkTVFrTjBOMGh2S3paaVZWcFpORTAyTlc5RGQwY3lWVUZyV0c0M1EzZHNSbVJaTTFvM2VRcHZZWFpCTTNKdVNUaHRWMUUyUWpSRU1FUkxNRmhTU1cxR2NqSnRaVzlDUlhFNVRrWkRkbEZ3WW5CSVVtVklUVUZ3ZHpJeFZrdzFjMGd2WWxwcE0zcGhDbGxWUVVKbU1qSldUa1owTVRJNVUxZElSRTF6T0c5UVUzcGthVUZHVWtsQ09WSkRNekZFVUhZMWIyeFBNSGh6UTNwMVkxSmlVemN5YzNkSE5UTnZWemdLTkRabWFscFJXalpFVUVKQ1VHSlRRa0k1TTNkcVFsZFFRM0JLYTNSeVdEVnBTM2huWkVsbk5VdHRMM2x5ZWxkRmJXOUtlR2hUUmxSeE9WSjFkbmRqVWdwVFdYSjRRbEZzZG1sQmFYaHdibFV6Y2tKQ2VITlVSa3hNTlRJd1NtVklUVEpNUWpOa1UwSm1heXMyWXpCelRrUlpjM0V5YlhWNGNHeElTR0psYjFsR0NsRTNPWEptTDJ4bFZuaG5lSGhTYlVKMlVrNHdNMHR3Ukc4eVYzRm9MMlEzVGtoa2NuVnRPR3d4ZUVGMWNXUkVaMEl6VkVJNVpVWmxUV2xKZUd3eVZUTUtUMmR6UkZCTldWaEdZV1EwU1VKTGRHcEJOa05NU0dKUVVqRmlRekZ0T0c5SGFrMURlRU41VUZCNEt6Qm5WREZQVm5rNEwxRXdTVmg2ZDJaQ1RtbEplUXBVYWsxRVYxRTFVVlI2VGt0M2NXb3lSR1JhVmxwTVNsTmpLelowTVZKaWMwMTBUa05LVjJoRVppOURUVm8wV2xjemJEQllkM1I1V2xOeWJtTlJNSGRzQ25CaFVrdFBUV1JPZDJGNEt5OHdURlZITlhoSFpWUTNTVEI0U210SlVsSmFNMmMwZWxodWVUZGxXSFZRVFZKWGF5dGxLemxvTW5odlUwWkZRMEYzUlVFS1FWRkxRMEZuUlVGcFFYUkZRVmM1VERWcGFuRm1lRE5WWTA5UWVtZzRiVzExUzIwMVRVbGhZVUZyTm5WdFdYQmxlV1JqWlZsQ1ZtdHhZbFpXYldac2VncFBhMU53VjNWaWRtWlBaSGMzSzA5SldFc3lSMjFqWTBGMmN6SlpNVnBWUkdWWVNYcGpSMnRVTUhOcVJYTjNUVWRsU1U5eGJqZHNaVGQxYzNGV01uRkVDbkEzYWpWbVVYWk5UVmRVUjNoRGIxQmxkRlprWnpsV1EyZHFRa0pOYW5kemFrRkdVRlZYWlRaUFluQTRkalpXWWxKc1VHbERkR3R6VlhoVlpHVlBTbm9LUlc5bU4xUXZVM2x1V0VwcldHUklNbEIzWm14SFVqZzFhRnBpWlhnemQxUmFTVzVaTlVOS2IycFVhM0k0TURBMVpERm9ia0pvVjJoRVdqTmlRVzR2WndwM016QTRlREZQTm1ndk5tTm5UVEZQVkZkMlVqbDNZVkl6YTBSNVdHMHliM0owUkRSTVNqWldiMEV2TlRsUmFIRnJkbWh5Vm1OT2VEWkRjM05SV2prM0NsUm9kVzlzVFZWWlprWm5WMUJQVGtKeVdYVnRibWh0UVZSYU5rVTRhRzV0YWxJMWFFODJUM2hzV1daYU0xRklkR2w0Wml0TGMwdEhURTlwYlU4eFQyUUtZWEYxV1VaYWMwTm5SSGxFV2xsMVkzSjRlRmRNWlZsTFoyMUdiWGd6YzJaSk4xaHlLMFJzT0dkbksyTjVjbEJRVFRSWmFIZDBaVUY2YlRSbWVVaGxSQXBaVjBoR2JWcDRjRk5rTDBST1dqTlhTWGxaUW1aaU1GZGtSVmR3YTJaQ01uWXlNRkpzYm5Kb1RsTmlTa3R3YWxSbVdGcFBVbmN4YUZkNldUTlZNekYzQ2xSWVdFTkJhVGN6V0hSbGQyTk1jekF2TTFKcWJrMXdTU3RLVVhkT2JGcFZPVEJ0TDBOTlJuTTNZVVlyZFV4MlNWaE5ibTFrU1hwMlJsWlZRbEJVYkZjS2IwOVNTMFZEWjJ0cVpHSXhNWGRwT0ZsalZUbFpWVEZLUW1WUWNtRjNkMjVOUlVoaVIzcGplamRPV0hoeGN6VTJWbU5VWnpaNlMyODRjbTF3UzJoelJ3cGFZMUJwY2t0WVQyZGxOMHBOTmtSYVoyUktRalpTY21kS01VeEphVGRIYkdGMWNpdHZhblF6ZWtOQmNrRk9OV2cwUVVWRFoyZEZRa0ZOYjFoNlUwZzRDbEkzVmtsSk1uZHJPVnBXZVRkdFp6VnRPRXRUTDFCRWVITXlNRzAzZUhGTlJIa3pObTlwVW1STU5qRlJTSE52Y1d4eVZUZDNhRVk0YUVGclQyczVWaklLZDJkVUswRkVSRVEzS3pOd1NVbEZXbGhsWkVZclFrUTFhaTlCYUVwUU9URmxhVGxrWkVWMGEzTm9XbWRtZW0xdGFYTjRTVXBqTkdoUWVETk1OMUJMZGdwTGRGQjVPRkZTTHpkeFIxUkthVGRuUTFwNmNGWnVlRUprUTBGUFdGaElWRU50TUhCR2JXa3dXVVZwV1ZBMVpDdGhVVkJCTm5oUWFHUmlZMmhyZG1sT0NuSjZhVkF5TmxZelZHOXllalZaYlhGUmFqaFhTbmhpUzBGcU5XOVNNbmxxVmxocVVtRk1OMGQxUjJablJFUm5NekF2TVZkNFRtbHFZWFJtVlZCTlkwd0taRUZqT1daM2VHVnliWEZOWXpob2FsRmlWU3N5YzAxd2FWcEhRMHh6YWpsMGJHWnZXVFpGY0RCT1VVTk5kamxqYVc0eFYxWjNObkJWU1ZScmVqUlJNZ3BEZUVsdksweFhSM0V4Y25kRFVVVkRaMmRGUWtGUFZXNDNURTVRVGtOeVZIaHZWSGw2TjFNeVRFYzVXbEUzWlZoWk9XbHpkVW81UXpOSk1tRnZWbEZhQ2xGVWQyWjZSR3R3Y0V4Q1VXSkNTV0pCZVVsSmJWRjZhM2c1Ylc5SmVHOTFOMWwwTjI5R1NqZFVZMGRvVTJweFVWZGtNelJtUVUxdEszaE1ka05HVGtVS1dXWXJObWxrVmxsak5tTkdVMlVyUldSQmNHaHRVWGxQVjBaWmJXMTJXV00zVVV0RWFEZEVWVU53T0haVFZHbGpWRUYxT0dkbk5VbFFWbWxzV0Zsa2FRcEdaVk5PYjBkbWJrbFZkVmRhTDJSWlowUmxia2wzVjNaUldUTjFjVWwxSzBKU05raHhMMFpDTkRnNFMwbGFSbWRYWkU1bmQwWldPWEZpVW5FMFdWRkVDakZCVkVwcFNURktNMlk0VldSSVYwVXhWbEJ0Y2tkWFVHbFhlRzlqU1VsaVJtaEdXaXRJTVdWR1pXczVNVmhQV2pWeVNUaFBZVXBGYVVKV1ZqWTRNM1VLWVZJelF6bHVZbTVWUmpKcU16ZE1lRUpzUVdGQlRqUlFURWhGVTBsS2VIb3pNMGhYYVVwVFQySXhSVU5uWjBWQlFuRlBZbWxLWkV0SU9HdzNOa2Q1WVFwaFRYUTJlVFF2UVRkNldqSXJjemxzTjNCelRqRmthSFZGZW5Wa2IyZFplSEk0WW01RVFYTXdTV3RaVWxSU1VFUkljVEJOTjBWR1dHaEhVak41ZVVwVkNuVnZUV3BJZW5GbVNFSTNkbFpHWkhWb1FuZERjRU5ZVHpKemJDdE1XUzlyVkdSdWFuUkNaMnhxVTNBNWJUTlVOa3AwWkhoT1JsQlBNakpIY1hreFVVMEtiV1ZDUlhFNWRVOVdWWEJTU0dkdWEySTNNSEJGY21zeFMxaHliRVZ3UjBOaVJVRmpUSEpVYm1KRmEyeE1LMVZFVVdZemJsaDVWVUZqWVVwQlVFRktZd3BaVkVrNFFYcGlSbk5HTjJjM09USTFSSGxZVERKMVZFOTRVVnBWU1RWb1VuSkpMM1YwZEZsWGNqaGlkVGx3VEM5NWNFWmtXV05wWkdscVRsb3ZhVlZMQ2trNVVIcGFZM3ByT1hKb1Z6VlllSGt5V1ZodFZscEpTVTFKUldjM1RWWTNOVGh6WlhNNFluUm5ZM0ZhVmpWRU1scFVaRVJJWm5aTmFEQTRlbEpJZEd3S1J6ZHhlRUZSUzBOQlVVRjNlR2dyYlZKd2VHMDFVelZwZVRjclZIbG9ZVXBIUzI1SFNVMHpZWEF5UTJkWVZETlBWV1pSTW1wNU1rbFhOR2N2VUc1TVZRcExSRzV2V0V0R09VVXZSbTVuYVZwaVYwZE5iMUp2WVNzMGJrSk5VR1o0WkRCNlQxZGFXRlZNVUhORksyUnZVMGxGYVVwdFpuRTJVa2hMV1V4d09HcDBDalp5TVVNMGNVWkZUMGRQTXk5WVFXd3paeXR5YUVweFduQXhPSGhNZFVOWU5IaDFiR3htWWtad1RHcFdlVEpDY2xKeU9IbGxjR3RKVkZoRGRucE5NRlVLV204ek5GbHVhbVl6TkRSbWRuQTJiMVV2ZWtKNVdUaFVXVmhOYVZwYVJGVldNbUYyY0RVNVZ6QXdaamh4YTA0NWNVTlpXakJEY2toWWFFaFlZVXh3T0FwbFYwVlZVbXhMVm1sbmNERnFNbWxFYWpOTmNUZG9USHBZU0M4NFVuaE9TVEJ4Vm1zNWIxQlpkV1ZNVjJVNWJYWkhUblZaZFVRM1pGYzRjbFJ2WjFwRUNpdEJXVGM0ZG5OU0x6UmlhSFpNT0V4NlpucHpOeXRxUjA1U1FtRTVhbTlTUVc5SlFrRlJRemRVYVhjM1pUWmxTMDVLUmxvd2VVVXpXSEZQYmk5d1Frc0tOMmR5UW1odlFXMW1iVVk0VDB4MFNrNVplVlJYVEM5YVpXWkpSMVZ4T0RWUlZGaERXbGRoZUVSYVlYTm5WMFZVWmxkT1pWTmxWRkJMZDJoRU9GbFpLd3BGVm1OSGRuQjBZU3M1VmxWTWNsSlhZVGRISzB4a1dHWnFNM0ZoUzJSU1FrUnBkV2d2VlROUFNXeFlhMDB4YlZwVE1DOXROMUpxYWtKYWRsaFFZVzVoQ25wbVVIaExkV2hFVW5wdk5VeFVjamRMZW5nNU4xbGtaVFZsTjBSWFpYRTRUVE5HZG5aYVEzZzBZbHBPTld0cmRWTkpXRWczVjFoQ1VYcHNWblpWU1VZS1NWQTJlbXM1UzFKS1YyODJUbVp5TjJaUGR6WkpjVkVyZUhOTlRXdEJObkJ2TTBaR0wyUTBVVTFwYUVGSFNsbFZaVlpaWmpsbE0wOTBPRk5pYnpsd01RcFJUMmxPT1d4eE5IRTVjVFF2VEVSRFFqbGFSVE5wYnpKMVRWRnVlVXhUZERWWWVsaFFhM3B2WkM5M1RFTTFkbnB6ZDB0Uk5URTJiRXAyZVdVS0xTMHRMUzFGVGtRZ1VsTkJJRkJTU1ZaQlZFVWdTMFZaTFMwdExTMEsKICAgIHRva2VuOiA3YTI1NjA0ZGIzMDA4ZTc3MWRmNzllNDc0OGI4NGUyNTE1ZDRhNDk4NzlhMGYzMDYxYTk2MDQwNWY2MjllM2M4YmM1YTI0MmFlNTg1ZDkzNjUwYWU1YWE2ZDEwMjNiY2Q2NDg2MzE3YTc0ODU4N2QxZTU1ZTQzYjY1YjA2NGNmYQo=\"\n - \ }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '13074' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_managed_clusters1f60e61/providers/Microsoft.ContainerService/managedClusters/7?api-version=2021-03-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 07 Apr 2021 06:08:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operationresults/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:08:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:09:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:09:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:10:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:10:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:11:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:11:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:12:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/ec800e40-fda5-45fe-ab93-9a1825205aa1?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"400e80ec-a5fd-fe45-ab93-9a1825205aa1\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T06:08:05.8433333Z\",\n \"endTime\": - \"2021-04-07T06:12:14.7284166Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:12:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_privateLinkResources.yaml b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_privateLinkResources.yaml deleted file mode 100644 index 96abcc8cf911..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_privateLinkResources.yaml +++ /dev/null @@ -1,827 +0,0 @@ -interactions: -- request: - body: '{"properties": {"dnsPrefix": "akspythonsdk", "agentPoolProfiles": [{"count": - 1, "vmSize": "Standard_DS2_v2", "maxPods": 110, "osType": "Linux", "maxCount": - 100, "minCount": 1, "enableAutoScaling": true, "type": "VirtualMachineScaleSets", - "mode": "System", "name": "aksagent"}], "servicePrincipalProfile": {"clientId": - "22922db6-2c37-4027-b39c-e994c47c5dc8", "secret": "9.JEMsq~6_v.8g.4rGEMF5Gnz8L4_pJy_Y"}, - "apiServerAccessProfile": {"enablePrivateCluster": true}}, "location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '487' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2\",\n - \ \"location\": \"eastus\",\n \"name\": \"2\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"azurePortalFQDN\": \"8291534726b33067f03fb0828d16ff36-priv.portal.hcp.eastus.azmk8s.io\",\n - \ \"privateFQDN\": \"akspythonsdk-c9f5af00.1af5148a-51e6-4a91-9cf5-bdc133236651.privatelink.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_privateLinkResources407d1004_2_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"privateLinkResources\": - [\n {\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\"\n }\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '2364' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:12:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:13:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:13:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:14:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:14:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:15:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:15:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:16:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:16:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:17:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:17:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:18:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:18:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:19:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e854c34-ea9f-4933-9e37-d59a68470e1a?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"344c852e-9fea-3349-9e37-d59a68470e1a\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T06:12:45.64Z\",\n \"endTime\": - \"2021-04-07T06:19:29.0952534Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:19:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2\",\n - \ \"location\": \"eastus\",\n \"name\": \"2\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"azurePortalFQDN\": \"8291534726b33067f03fb0828d16ff36-priv.portal.hcp.eastus.azmk8s.io\",\n - \ \"privateFQDN\": \"akspythonsdk-c9f5af00.1af5148a-51e6-4a91-9cf5-bdc133236651.privatelink.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_privateLinkResources407d1004_2_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_privateLinkResources407d1004_2_eastus/providers/Microsoft.Network/publicIPAddresses/d380e69b-f818-4b4f-a6e3-20e3bb5480c1\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2/privateLinkResources/management\",\n - \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\"\n },\n \"autoScalerProfile\": - {\n \"balance-similar-node-groups\": \"false\",\n \"expander\": \"random\",\n - \ \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\": - \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\": - \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\": - \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\": - \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\": - \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\": - \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\": - \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n }\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '3572' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:19:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_privateLinkResources407d1004/providers/Microsoft.ContainerService/managedClusters/2/privateLinkResources?api-version=2021-03-01 - response: - body: - string: "{\n \"value\": [\n {\n \"name\": \"management\",\n \"type\": - \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n \"groupId\": - \"management\",\n \"requiredMembers\": [\n \"management\"\n ]\n - \ }\n ]\n }" - headers: - cache-control: - - no-cache - content-length: - - '214' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:19:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_resolvePrivateLinkServiceId.yaml b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_resolvePrivateLinkServiceId.yaml deleted file mode 100644 index 485d12a2e2f0..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_aks.test_resolvePrivateLinkServiceId.yaml +++ /dev/null @@ -1,786 +0,0 @@ -interactions: -- request: - body: '{"properties": {"dnsPrefix": "akspythonsdk", "agentPoolProfiles": [{"count": - 1, "vmSize": "Standard_DS2_v2", "maxPods": 110, "osType": "Linux", "maxCount": - 100, "minCount": 1, "enableAutoScaling": true, "type": "VirtualMachineScaleSets", - "mode": "System", "name": "aksagent"}], "servicePrincipalProfile": {"clientId": - "22922db6-2c37-4027-b39c-e994c47c5dc8", "secret": "9.JEMsq~6_v.8g.4rGEMF5Gnz8L4_pJy_Y"}, - "apiServerAccessProfile": {"enablePrivateCluster": true}}, "location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '487' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3\",\n - \ \"location\": \"eastus\",\n \"name\": \"3\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"azurePortalFQDN\": \"7e290ce1b960e35f7a6197dd3278cf36-priv.portal.hcp.eastus.azmk8s.io\",\n - \ \"privateFQDN\": \"akspythonsdk-18adf6ac.2c21550b-4273-4c24-b534-67148db1732b.privatelink.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7_3_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"privateLinkResources\": - [\n {\n \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\"\n }\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '2378' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:20:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:20:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:21:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:21:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:22:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:22:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:23:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:23:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:24:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:24:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:25:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:25:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:26:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/b3efb06b-a0c7-491a-90fb-1c8351ad2813?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"6bb0efb3-c7a0-1a49-90fb-1c8351ad2813\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-04-07T06:20:01.4733333Z\",\n \"endTime\": - \"2021-04-07T06:26:16.8926661Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:26:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3?api-version=2021-03-01 - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3\",\n - \ \"location\": \"eastus\",\n \"name\": \"3\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n - \ \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": - {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n - \ \"dnsPrefix\": \"akspythonsdk\",\n \"azurePortalFQDN\": \"7e290ce1b960e35f7a6197dd3278cf36-priv.portal.hcp.eastus.azmk8s.io\",\n - \ \"privateFQDN\": \"akspythonsdk-18adf6ac.2c21550b-4273-4c24-b534-67148db1732b.privatelink.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"aksagent\",\n \"count\": - 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"maxCount\": 100,\n \"minCount\": - 1,\n \"enableAutoScaling\": true,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.18.14\",\n \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": - \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n - \ \"enableFIPS\": false\n }\n ],\n \"servicePrincipalProfile\": - {\n \"clientId\": \"22922db6-2c37-4027-b39c-e994c47c5dc8\"\n },\n \"addonProfiles\": - {\n \"KubeDashboard\": {\n \"enabled\": false,\n \"config\": null\n - \ }\n },\n \"nodeResourceGroup\": \"MC_test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7_3_eastus\",\n - \ \"enableRBAC\": true,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7_3_eastus/providers/Microsoft.Network/publicIPAddresses/46d2ad05-94b2-41a0-8683-046405d8806d\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": - 10,\n \"privateLinkResources\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3/privateLinkResources/management\",\n - \ \"name\": \"management\",\n \"type\": \"Microsoft.ContainerService/managedClusters/privateLinkResources\",\n - \ \"groupId\": \"management\",\n \"requiredMembers\": [\n \"management\"\n - \ ]\n }\n ],\n \"apiServerAccessProfile\": {\n \"enablePrivateCluster\": - true,\n \"privateDNSZone\": \"system\"\n },\n \"autoScalerProfile\": - {\n \"balance-similar-node-groups\": \"false\",\n \"expander\": \"random\",\n - \ \"max-empty-bulk-delete\": \"10\",\n \"max-graceful-termination-sec\": - \"600\",\n \"max-node-provision-time\": \"15m\",\n \"max-total-unready-percentage\": - \"45\",\n \"new-pod-scale-up-delay\": \"0s\",\n \"ok-total-unready-count\": - \"3\",\n \"scale-down-delay-after-add\": \"10m\",\n \"scale-down-delay-after-delete\": - \"10s\",\n \"scale-down-delay-after-failure\": \"3m\",\n \"scale-down-unneeded-time\": - \"10m\",\n \"scale-down-unready-time\": \"20m\",\n \"scale-down-utilization-threshold\": - \"0.5\",\n \"scan-interval\": \"10s\",\n \"skip-nodes-with-local-storage\": - \"false\",\n \"skip-nodes-with-system-pods\": \"true\"\n }\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '3600' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:26:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"name": "testManagement"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '26' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-containerservice/15.1.0 Python/3.8.8 (Linux-5.4.0-1043-azure-x86_64-with-glibc2.2.5) - VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2384_0 - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_aks_test_resolvePrivateLinkServiceIdbbbc12a7/providers/Microsoft.ContainerService/managedClusters/3/resolvePrivateLinkServiceId?api-version=2021-03-01 - response: - body: - string: '{}' - headers: - cache-control: - - no-cache - content-length: - - '2' - content-type: - - application/json - date: - - Wed, 07 Apr 2021 06:26:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_aks.py b/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_aks.py index 3969645af4da..4331fc13948a 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_aks.py +++ b/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_aks.py @@ -42,6 +42,7 @@ def setUp(self): azure.mgmt.containerservice.ContainerServiceClient ) + @unittest.skip('hard to test') @ResourceGroupPreparer(location=AZURE_LOCATION) def test_managed_clusters(self, resource_group): CLIENT_ID = getattr(self.settings, 'CLIENT_ID', "123") @@ -128,10 +129,12 @@ def test_managed_clusters(self, resource_group): resource_name=RESOURCE_NAME) result.result() + @unittest.skip('hard to test') @ResourceGroupPreparer(location=AZURE_LOCATION) def test_operations(self): result = self.mgmt_client.operations.list() + @unittest.skip('hard to test') @ResourceGroupPreparer(location=AZURE_LOCATION) def test_privateLinkResources(self, resource_group): CLIENT_ID = getattr(self.settings, 'CLIENT_ID', "123") @@ -179,6 +182,7 @@ def test_privateLinkResources(self, resource_group): # 1 self.mgmt_client.private_link_resources.list(resource_group_name=RESOURCE_GROUP, resource_name=RESOURCE_NAME) + @unittest.skip('hard to test') @ResourceGroupPreparer(location=AZURE_LOCATION) def test_resolvePrivateLinkServiceId(self, resource_group): CLIENT_ID = getattr(self.settings, 'CLIENT_ID', "123") @@ -230,6 +234,7 @@ def test_resolvePrivateLinkServiceId(self, resource_group): self.mgmt_client.resolve_private_link_service_id.post(resource_group_name=RESOURCE_GROUP, resource_name=RESOURCE_NAME, parameters=BODY) + @unittest.skip('hard to test') @ResourceGroupPreparer(location=AZURE_LOCATION) def test_agentPools(self, resource_group): CLIENT_ID = getattr(self.settings, 'CLIENT_ID', "123") From ff778a6298d95471f53eaaa1a90fed0d424c41a9 Mon Sep 17 00:00:00 2001 From: hildurhodd Date: Mon, 21 Jun 2021 05:44:18 +0000 Subject: [PATCH 14/45] update netappfiles (#19327) --- sdk/netapp/azure-mgmt-netapp/CHANGELOG.md | 19 + sdk/netapp/azure-mgmt-netapp/_meta.json | 6 +- .../azure/mgmt/netapp/_configuration.py | 2 +- .../azure/mgmt/netapp/_metadata.json | 4 +- .../azure/mgmt/netapp/_version.py | 2 +- .../azure/mgmt/netapp/aio/_configuration.py | 2 +- .../operations/_account_backups_operations.py | 6 +- .../aio/operations/_accounts_operations.py | 10 +- .../operations/_backup_policies_operations.py | 10 +- .../aio/operations/_backups_operations.py | 80 +- .../_net_app_resource_operations.py | 22 +- .../mgmt/netapp/aio/operations/_operations.py | 2 +- .../aio/operations/_pools_operations.py | 10 +- .../_snapshot_policies_operations.py | 12 +- .../aio/operations/_snapshots_operations.py | 10 +- .../aio/operations/_vaults_operations.py | 2 +- .../aio/operations/_volumes_operations.py | 26 +- .../azure/mgmt/netapp/models/__init__.py | 8 + .../azure/mgmt/netapp/models/_models.py | 134 + .../azure/mgmt/netapp/models/_models_py3.py | 143 + .../_net_app_management_client_enums.py | 9 + .../operations/_account_backups_operations.py | 6 +- .../netapp/operations/_accounts_operations.py | 10 +- .../operations/_backup_policies_operations.py | 10 +- .../netapp/operations/_backups_operations.py | 81 +- .../_net_app_resource_operations.py | 22 +- .../mgmt/netapp/operations/_operations.py | 2 +- .../netapp/operations/_pools_operations.py | 10 +- .../_snapshot_policies_operations.py | 12 +- .../operations/_snapshots_operations.py | 10 +- .../netapp/operations/_vaults_operations.py | 2 +- .../netapp/operations/_volumes_operations.py | 26 +- ...st_account.test_create_delete_account.yaml | 88 +- ...test_account.test_get_account_by_name.yaml | 86 +- .../test_account.test_list_accounts.yaml | 150 +- .../test_account.test_patch_account.yaml | 84 +- ...nt_backup.test_delete_account_backups.yaml | 274 +- ...count_backup.test_get_account_backups.yaml | 228 +- ...ount_backup.test_list_account_backups.yaml | 372 +- ...test_backup.test_create_delete_backup.yaml | 446 +- .../test_backup.test_get_backup_by_name.yaml | 232 +- .../test_backup.test_get_backup_status.yaml | 188 +- .../test_backup.test_list_backup.yaml | 446 +- .../test_backup.test_update_backup.yaml | 96 +- ...cies.test_create_delete_backup_policy.yaml | 168 +- ...licies.test_get_backup_policy_by_name.yaml | 136 +- ...up_policies.test_list_backup_policies.yaml | 206 +- ..._policies.test_update_backup_policies.yaml | 168 +- .../test_pool.test_create_delete_pool.yaml | 180 +- .../test_pool.test_get_pool_by_name.yaml | 178 +- .../recordings/test_pool.test_list_pools.yaml | 300 +- .../recordings/test_pool.test_patch_pool.yaml | 222 +- .../test_pool.test_update_pool.yaml | 212 +- ..._snapshot.test_create_delete_snapshot.yaml | 500 +- ...st_snapshot.test_get_snapshot_by_name.yaml | 484 +- .../test_snapshot.test_list_snapshots.yaml | 616 +- ...test_assign_snapshot_policy_to_volume.yaml | 562 +- ...es.test_create_delete_snapshot_policy.yaml | 144 +- ...cies.test_get_snapshot_policy_by_name.yaml | 148 +- ..._policies.test_list_snapshot_policies.yaml | 214 +- ...olicies.test_update_snapshot_policies.yaml | 164 +- .../recordings/test_vault.test_get_vault.yaml | 408 +- ...volume.test_create_delete_list_volume.yaml | 424 +- .../test_volume.test_get_volume_by_name.yaml | 378 +- .../test_volume.test_list_volumes.yaml | 446 +- .../test_volume.test_patch_volume.yaml | 552 +- .../test_volume.test_pool_change.yaml | 568 +- .../test_volume.test_update_volume.yaml | 366 +- .../test_volume.test_volume_replication.yaml | 6862 ++++++----------- sdk/netapp/azure-mgmt-netapp/tests/setup.py | 22 +- .../tests/test_account_backup.py | 35 +- .../azure-mgmt-netapp/tests/test_backup.py | 64 +- .../tests/test_backup_policies.py | 35 +- .../azure-mgmt-netapp/tests/test_pool.py | 2 + .../azure-mgmt-netapp/tests/test_snapshot.py | 4 +- .../tests/test_snapshot_policies.py | 2 + .../azure-mgmt-netapp/tests/test_vault.py | 17 +- .../azure-mgmt-netapp/tests/test_volume.py | 57 +- 78 files changed, 8090 insertions(+), 10154 deletions(-) diff --git a/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md b/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md index f003ff50855a..994a36062388 100644 --- a/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md +++ b/sdk/netapp/azure-mgmt-netapp/CHANGELOG.md @@ -1,5 +1,24 @@ # Release History +## 4.0.0 (2021-06-11) + +**Features** + + - Model ExportPolicyRule has a new parameter chown_mode + - Model BackupStatus has a new parameter last_transfer_size + - Model BackupStatus has a new parameter total_transfer_bytes + - Model BackupStatus has a new parameter last_transfer_type + - Model Volume has a new parameter cool_access + - Model Volume has a new parameter unix_permissions + - Model Volume has a new parameter coolness_period + - Model CapacityPool has a new parameter cool_access + - Model ActiveDirectory has a new parameter administrators + - Added operation BackupsOperations.get_volume_restore_status + +**Breaking changes** + + - Operation NetAppResourceOperations.check_file_path_availability has a new signature + ## 3.0.0 (2021-05-21) **Features** diff --git a/sdk/netapp/azure-mgmt-netapp/_meta.json b/sdk/netapp/azure-mgmt-netapp/_meta.json index fb6c8e6fa17e..3fe4a97cc680 100644 --- a/sdk/netapp/azure-mgmt-netapp/_meta.json +++ b/sdk/netapp/azure-mgmt-netapp/_meta.json @@ -2,10 +2,10 @@ "autorest": "3.4.2", "use": [ "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/modelerfour@4.19.2" ], - "commit": "20b168918d11ebeee6f00c71c0c41b93aae0ce0d", + "commit": "2359ae379dcf396ef2eb389b050ac4972595fa6c", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "autorest_command": "autorest specification/netapp/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/netapp/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py index d19690424242..01a813d3e825 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-02-01" + self.api_version = "2021-04-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json index 75d148f2d6a3..0856190116c8 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_metadata.json @@ -1,6 +1,6 @@ { - "chosen_version": "2021-02-01", - "total_api_version_list": ["2021-02-01"], + "chosen_version": "2021-04-01", + "total_api_version_list": ["2021-04-01"], "client": { "name": "NetAppManagementClient", "filename": "_net_app_management_client", diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py index cac9f5d10f8b..77f53a3589c6 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "4.0.0" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py index edc4901eb8c1..5f59e1ab6bd7 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-02-01" + self.api_version = "2021-04-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-netapp/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py index 4257199a22ec..4d160016e71a 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_account_backups_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -146,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -195,7 +195,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py index 64a04dedf406..33b7126a198d 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_accounts_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -139,7 +139,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -187,7 +187,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -316,7 +316,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -425,7 +425,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py index b2d528419b53..b1067e8aa88e 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backup_policies_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -146,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -196,7 +196,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -334,7 +334,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -470,7 +470,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py index f83f843387da..4302c880a1a3 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_backups_operations.py @@ -73,7 +73,7 @@ async def get_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -111,6 +111,74 @@ async def get_status( return deserialized get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus'} # type: ignore + async def get_volume_restore_status( + self, + resource_group_name: str, + account_name: str, + pool_name: str, + volume_name: str, + **kwargs: Any + ) -> "_models.RestoreStatus": + """Get volume's restore status. + + Get the status of the restore for a volume. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param account_name: The name of the NetApp account. + :type account_name: str + :param pool_name: The name of the capacity pool. + :type pool_name: str + :param volume_name: The name of the volume. + :type volume_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RestoreStatus, or the result of cls(response) + :rtype: ~azure.mgmt.netapp.models.RestoreStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RestoreStatus"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01" + accept = "application/json" + + # Construct URL + url = self.get_volume_restore_status.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str', max_length=64, min_length=1, pattern=r'^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str', max_length=64, min_length=1, pattern=r'^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RestoreStatus', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_volume_restore_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/restoreStatus'} # type: ignore + def list( self, resource_group_name: str, @@ -141,7 +209,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -228,7 +296,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -282,7 +350,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -434,7 +502,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -587,7 +655,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py index 8983fc41672a..41c6da12536f 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_net_app_resource_operations.py @@ -72,7 +72,7 @@ async def check_name_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -116,8 +116,7 @@ async def check_file_path_availability( self, location: str, name: str, - type: Union[str, "_models.CheckNameResourceTypes"], - resource_group: str, + subnet_id: str, **kwargs: Any ) -> "_models.CheckAvailabilityResponse": """Check file path availability. @@ -126,12 +125,11 @@ async def check_file_path_availability( :param location: The location. :type location: str - :param name: Resource name to verify. + :param name: File path to verify. :type name: str - :param type: Resource type used for verification. - :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes - :param resource_group: Resource group name. - :type resource_group: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have the delegation + Microsoft.NetApp/volumes. + :type subnet_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckAvailabilityResponse, or the result of cls(response) :rtype: ~azure.mgmt.netapp.models.CheckAvailabilityResponse @@ -143,8 +141,8 @@ async def check_file_path_availability( } error_map.update(kwargs.pop('error_map', {})) - _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + _body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id) + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -166,7 +164,7 @@ async def check_file_path_availability( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(_body, 'ResourceNameAvailabilityRequest') + body_content = self._serialize.body(_body, 'FilePathAvailabilityRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) @@ -216,7 +214,7 @@ async def check_quota_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py index f7167e61cefc..a514fcc32d3e 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_operations.py @@ -59,7 +59,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py index 297d748559c3..d469fc05aa3f 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_pools_operations.py @@ -67,7 +67,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -146,7 +146,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -196,7 +196,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -333,7 +333,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -467,7 +467,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py index 1c0802ab3a71..89fbc0f567f2 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshot_policies_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -142,7 +142,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -207,7 +207,7 @@ async def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -266,7 +266,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -400,7 +400,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -528,7 +528,7 @@ async def list_volumes( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py index 6d9c548e66e6..61b5d172856a 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_snapshots_operations.py @@ -73,7 +73,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -160,7 +160,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ async def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -363,7 +363,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py index 837b75c98592..5e388e82e732 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_vaults_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py index 12f14f1f5140..e175b81146b3 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/aio/operations/_volumes_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -153,7 +153,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -205,7 +205,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -350,7 +350,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -491,7 +491,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -614,7 +614,7 @@ async def _revert_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -746,7 +746,7 @@ async def _break_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -897,7 +897,7 @@ async def replication_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -948,7 +948,7 @@ async def _resync_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._resync_replication_initial.metadata['url'] # type: ignore @@ -1071,7 +1071,7 @@ async def _delete_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_replication_initial.metadata['url'] # type: ignore @@ -1195,7 +1195,7 @@ async def _authorize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1326,7 +1326,7 @@ async def _re_initialize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._re_initialize_replication_initial.metadata['url'] # type: ignore @@ -1449,7 +1449,7 @@ async def _pool_change_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py index dc580f8bf04d..5bc837ce95c0 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/__init__.py @@ -27,6 +27,7 @@ from ._models_py3 import DailySchedule from ._models_py3 import Dimension from ._models_py3 import ExportPolicyRule + from ._models_py3 import FilePathAvailabilityRequest from ._models_py3 import HourlySchedule from ._models_py3 import MetricSpecification from ._models_py3 import MonthlySchedule @@ -44,6 +45,7 @@ from ._models_py3 import ReplicationStatus from ._models_py3 import ResourceIdentity from ._models_py3 import ResourceNameAvailabilityRequest + from ._models_py3 import RestoreStatus from ._models_py3 import ServiceSpecification from ._models_py3 import Snapshot from ._models_py3 import SnapshotPoliciesList @@ -88,6 +90,7 @@ from ._models import DailySchedule # type: ignore from ._models import Dimension # type: ignore from ._models import ExportPolicyRule # type: ignore + from ._models import FilePathAvailabilityRequest # type: ignore from ._models import HourlySchedule # type: ignore from ._models import MetricSpecification # type: ignore from ._models import MonthlySchedule # type: ignore @@ -105,6 +108,7 @@ from ._models import ReplicationStatus # type: ignore from ._models import ResourceIdentity # type: ignore from ._models import ResourceNameAvailabilityRequest # type: ignore + from ._models import RestoreStatus # type: ignore from ._models import ServiceSpecification # type: ignore from ._models import Snapshot # type: ignore from ._models import SnapshotPoliciesList # type: ignore @@ -134,6 +138,7 @@ BackupType, CheckNameResourceTypes, CheckQuotaNameResourceTypes, + ChownMode, CreatedByType, EndpointType, InAvailabilityReasonType, @@ -166,6 +171,7 @@ 'DailySchedule', 'Dimension', 'ExportPolicyRule', + 'FilePathAvailabilityRequest', 'HourlySchedule', 'MetricSpecification', 'MonthlySchedule', @@ -183,6 +189,7 @@ 'ReplicationStatus', 'ResourceIdentity', 'ResourceNameAvailabilityRequest', + 'RestoreStatus', 'ServiceSpecification', 'Snapshot', 'SnapshotPoliciesList', @@ -210,6 +217,7 @@ 'BackupType', 'CheckNameResourceTypes', 'CheckQuotaNameResourceTypes', + 'ChownMode', 'CreatedByType', 'EndpointType', 'InAvailabilityReasonType', diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py index b19fc4798ce4..895304c77638 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models.py @@ -60,6 +60,9 @@ class ActiveDirectory(msrest.serialization.Model): :param backup_operators: Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier. :type backup_operators: list[str] + :param administrators: Users to be added to the Built-in Administrators active directory group. + A list of unique usernames without domain specifier. + :type administrators: list[str] :param kdc_ip: kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume. :type kdc_ip: str @@ -107,6 +110,7 @@ class ActiveDirectory(msrest.serialization.Model): 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, 'site': {'key': 'site', 'type': 'str'}, 'backup_operators': {'key': 'backupOperators', 'type': '[str]'}, + 'administrators': {'key': 'administrators', 'type': '[str]'}, 'kdc_ip': {'key': 'kdcIP', 'type': 'str'}, 'ad_name': {'key': 'adName', 'type': 'str'}, 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, @@ -133,6 +137,7 @@ def __init__( self.organizational_unit = kwargs.get('organizational_unit', "CN=Computers") self.site = kwargs.get('site', None) self.backup_operators = kwargs.get('backup_operators', None) + self.administrators = kwargs.get('administrators', None) self.kdc_ip = kwargs.get('kdc_ip', None) self.ad_name = kwargs.get('ad_name', None) self.server_root_ca_certificate = kwargs.get('server_root_ca_certificate', None) @@ -619,6 +624,12 @@ class BackupStatus(msrest.serialization.Model): :vartype unhealthy_reason: str :ivar error_message: Displays error message if the backup is in an error state. :vartype error_message: str + :ivar last_transfer_size: Displays the last transfer size. + :vartype last_transfer_size: long + :ivar last_transfer_type: Displays the last transfer type. + :vartype last_transfer_type: str + :ivar total_transfer_bytes: Displays the total bytes transferred. + :vartype total_transfer_bytes: long """ _validation = { @@ -627,6 +638,9 @@ class BackupStatus(msrest.serialization.Model): 'mirror_state': {'readonly': True}, 'unhealthy_reason': {'readonly': True}, 'error_message': {'readonly': True}, + 'last_transfer_size': {'readonly': True}, + 'last_transfer_type': {'readonly': True}, + 'total_transfer_bytes': {'readonly': True}, } _attribute_map = { @@ -635,6 +649,9 @@ class BackupStatus(msrest.serialization.Model): 'mirror_state': {'key': 'mirrorState', 'type': 'str'}, 'unhealthy_reason': {'key': 'unhealthyReason', 'type': 'str'}, 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'last_transfer_size': {'key': 'lastTransferSize', 'type': 'long'}, + 'last_transfer_type': {'key': 'lastTransferType', 'type': 'str'}, + 'total_transfer_bytes': {'key': 'totalTransferBytes', 'type': 'long'}, } def __init__( @@ -647,6 +664,9 @@ def __init__( self.mirror_state = None self.unhealthy_reason = None self.error_message = None + self.last_transfer_size = None + self.last_transfer_type = None + self.total_transfer_bytes = None class BreakReplicationRequest(msrest.serialization.Model): @@ -702,6 +722,8 @@ class CapacityPool(msrest.serialization.Model): :vartype utilized_throughput_mibps: float :param qos_type: The qos type of the pool. Possible values include: "Auto", "Manual". :type qos_type: str or ~azure.mgmt.netapp.models.QosType + :param cool_access: If enabled (true) the pool can contain cool Access enabled volumes. + :type cool_access: bool """ _validation = { @@ -730,6 +752,7 @@ class CapacityPool(msrest.serialization.Model): 'total_throughput_mibps': {'key': 'properties.totalThroughputMibps', 'type': 'float'}, 'utilized_throughput_mibps': {'key': 'properties.utilizedThroughputMibps', 'type': 'float'}, 'qos_type': {'key': 'properties.qosType', 'type': 'str'}, + 'cool_access': {'key': 'properties.coolAccess', 'type': 'bool'}, } def __init__( @@ -749,6 +772,7 @@ def __init__( self.total_throughput_mibps = None self.utilized_throughput_mibps = None self.qos_type = kwargs.get('qos_type', None) + self.cool_access = kwargs.get('cool_access', False) class CapacityPoolList(msrest.serialization.Model): @@ -978,6 +1002,11 @@ class ExportPolicyRule(msrest.serialization.Model): :type allowed_clients: str :param has_root_access: Has root access to volume. :type has_root_access: bool + :param chown_mode: This parameter specifies who is authorized to change the ownership of a + file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root + users can change ownership of files that they own. Possible values include: "Restricted", + "Unrestricted". Default value: "Restricted". + :type chown_mode: str or ~azure.mgmt.netapp.models.ChownMode """ _attribute_map = { @@ -995,6 +1024,7 @@ class ExportPolicyRule(msrest.serialization.Model): 'nfsv41': {'key': 'nfsv41', 'type': 'bool'}, 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, 'has_root_access': {'key': 'hasRootAccess', 'type': 'bool'}, + 'chown_mode': {'key': 'chownMode', 'type': 'str'}, } def __init__( @@ -1016,6 +1046,38 @@ def __init__( self.nfsv41 = kwargs.get('nfsv41', None) self.allowed_clients = kwargs.get('allowed_clients', None) self.has_root_access = kwargs.get('has_root_access', True) + self.chown_mode = kwargs.get('chown_mode', "Restricted") + + +class FilePathAvailabilityRequest(msrest.serialization.Model): + """File path availability request content - availability is based on the name and the subnetId. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. File path to verify. + :type name: str + :param subnet_id: Required. The Azure Resource URI for a delegated subnet. Must have the + delegation Microsoft.NetApp/volumes. + :type subnet_id: str + """ + + _validation = { + 'name': {'required': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FilePathAvailabilityRequest, self).__init__(**kwargs) + self.name = kwargs['name'] + self.subnet_id = kwargs['subnet_id'] class HourlySchedule(msrest.serialization.Model): @@ -1678,6 +1740,58 @@ def __init__( self.resource_group = kwargs['resource_group'] +class RestoreStatus(msrest.serialization.Model): + """Restore status. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar healthy: Restore health status. + :vartype healthy: bool + :ivar relationship_status: Status of the restore SnapMirror relationship. Possible values + include: "Idle", "Transferring". + :vartype relationship_status: str or ~azure.mgmt.netapp.models.RelationshipStatus + :ivar mirror_state: The status of the restore. Possible values include: "Uninitialized", + "Mirrored", "Broken". + :vartype mirror_state: str or ~azure.mgmt.netapp.models.MirrorState + :ivar unhealthy_reason: Reason for the unhealthy restore relationship. + :vartype unhealthy_reason: str + :ivar error_message: Displays error message if the restore is in an error state. + :vartype error_message: str + :ivar total_transfer_bytes: Displays the total bytes transferred. + :vartype total_transfer_bytes: long + """ + + _validation = { + 'healthy': {'readonly': True}, + 'relationship_status': {'readonly': True}, + 'mirror_state': {'readonly': True}, + 'unhealthy_reason': {'readonly': True}, + 'error_message': {'readonly': True}, + 'total_transfer_bytes': {'readonly': True}, + } + + _attribute_map = { + 'healthy': {'key': 'healthy', 'type': 'bool'}, + 'relationship_status': {'key': 'relationshipStatus', 'type': 'str'}, + 'mirror_state': {'key': 'mirrorState', 'type': 'str'}, + 'unhealthy_reason': {'key': 'unhealthyReason', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'total_transfer_bytes': {'key': 'totalTransferBytes', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(RestoreStatus, self).__init__(**kwargs) + self.healthy = None + self.relationship_status = None + self.mirror_state = None + self.unhealthy_reason = None + self.error_message = None + self.total_transfer_bytes = None + + class ServiceSpecification(msrest.serialization.Model): """One property of operation, include metric specifications. @@ -2198,6 +2312,18 @@ class Volume(msrest.serialization.Model): :type encryption_key_source: str :param ldap_enabled: Specifies whether LDAP is enabled or not for a given NFS volume. :type ldap_enabled: bool + :param cool_access: Specifies whether Cool Access(tiering) is enabled for the volume. + :type cool_access: bool + :param coolness_period: Specifies the number of days after which data that is not accessed by + clients will be tiered. + :type coolness_period: int + :param unix_permissions: UNIX permissions for NFS volume accepted in octal 4 digit format. + First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second + digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third + selects permissions for other users in the same group. the fourth for other users not in the + group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other + users. + :type unix_permissions: str """ _validation = { @@ -2215,6 +2341,8 @@ class Volume(msrest.serialization.Model): 'subnet_id': {'required': True}, 'mount_targets': {'readonly': True}, 'throughput_mibps': {'maximum': 4500, 'minimum': 0}, + 'coolness_period': {'maximum': 63, 'minimum': 7}, + 'unix_permissions': {'max_length': 4, 'min_length': 4}, } _attribute_map = { @@ -2246,6 +2374,9 @@ class Volume(msrest.serialization.Model): 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, 'encryption_key_source': {'key': 'properties.encryptionKeySource', 'type': 'str'}, 'ldap_enabled': {'key': 'properties.ldapEnabled', 'type': 'bool'}, + 'cool_access': {'key': 'properties.coolAccess', 'type': 'bool'}, + 'coolness_period': {'key': 'properties.coolnessPeriod', 'type': 'int'}, + 'unix_permissions': {'key': 'properties.unixPermissions', 'type': 'str'}, } def __init__( @@ -2281,6 +2412,9 @@ def __init__( self.throughput_mibps = kwargs.get('throughput_mibps', 0) self.encryption_key_source = kwargs.get('encryption_key_source', None) self.ldap_enabled = kwargs.get('ldap_enabled', False) + self.cool_access = kwargs.get('cool_access', False) + self.coolness_period = kwargs.get('coolness_period', None) + self.unix_permissions = kwargs.get('unix_permissions', None) class VolumeBackupProperties(msrest.serialization.Model): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py index 2eee74964e20..73792c8b6beb 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_models_py3.py @@ -67,6 +67,9 @@ class ActiveDirectory(msrest.serialization.Model): :param backup_operators: Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier. :type backup_operators: list[str] + :param administrators: Users to be added to the Built-in Administrators active directory group. + A list of unique usernames without domain specifier. + :type administrators: list[str] :param kdc_ip: kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume. :type kdc_ip: str @@ -114,6 +117,7 @@ class ActiveDirectory(msrest.serialization.Model): 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, 'site': {'key': 'site', 'type': 'str'}, 'backup_operators': {'key': 'backupOperators', 'type': '[str]'}, + 'administrators': {'key': 'administrators', 'type': '[str]'}, 'kdc_ip': {'key': 'kdcIP', 'type': 'str'}, 'ad_name': {'key': 'adName', 'type': 'str'}, 'server_root_ca_certificate': {'key': 'serverRootCACertificate', 'type': 'str'}, @@ -136,6 +140,7 @@ def __init__( organizational_unit: Optional[str] = "CN=Computers", site: Optional[str] = None, backup_operators: Optional[List[str]] = None, + administrators: Optional[List[str]] = None, kdc_ip: Optional[str] = None, ad_name: Optional[str] = None, server_root_ca_certificate: Optional[str] = None, @@ -158,6 +163,7 @@ def __init__( self.organizational_unit = organizational_unit self.site = site self.backup_operators = backup_operators + self.administrators = administrators self.kdc_ip = kdc_ip self.ad_name = ad_name self.server_root_ca_certificate = server_root_ca_certificate @@ -688,6 +694,12 @@ class BackupStatus(msrest.serialization.Model): :vartype unhealthy_reason: str :ivar error_message: Displays error message if the backup is in an error state. :vartype error_message: str + :ivar last_transfer_size: Displays the last transfer size. + :vartype last_transfer_size: long + :ivar last_transfer_type: Displays the last transfer type. + :vartype last_transfer_type: str + :ivar total_transfer_bytes: Displays the total bytes transferred. + :vartype total_transfer_bytes: long """ _validation = { @@ -696,6 +708,9 @@ class BackupStatus(msrest.serialization.Model): 'mirror_state': {'readonly': True}, 'unhealthy_reason': {'readonly': True}, 'error_message': {'readonly': True}, + 'last_transfer_size': {'readonly': True}, + 'last_transfer_type': {'readonly': True}, + 'total_transfer_bytes': {'readonly': True}, } _attribute_map = { @@ -704,6 +719,9 @@ class BackupStatus(msrest.serialization.Model): 'mirror_state': {'key': 'mirrorState', 'type': 'str'}, 'unhealthy_reason': {'key': 'unhealthyReason', 'type': 'str'}, 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'last_transfer_size': {'key': 'lastTransferSize', 'type': 'long'}, + 'last_transfer_type': {'key': 'lastTransferType', 'type': 'str'}, + 'total_transfer_bytes': {'key': 'totalTransferBytes', 'type': 'long'}, } def __init__( @@ -716,6 +734,9 @@ def __init__( self.mirror_state = None self.unhealthy_reason = None self.error_message = None + self.last_transfer_size = None + self.last_transfer_type = None + self.total_transfer_bytes = None class BreakReplicationRequest(msrest.serialization.Model): @@ -773,6 +794,8 @@ class CapacityPool(msrest.serialization.Model): :vartype utilized_throughput_mibps: float :param qos_type: The qos type of the pool. Possible values include: "Auto", "Manual". :type qos_type: str or ~azure.mgmt.netapp.models.QosType + :param cool_access: If enabled (true) the pool can contain cool Access enabled volumes. + :type cool_access: bool """ _validation = { @@ -801,6 +824,7 @@ class CapacityPool(msrest.serialization.Model): 'total_throughput_mibps': {'key': 'properties.totalThroughputMibps', 'type': 'float'}, 'utilized_throughput_mibps': {'key': 'properties.utilizedThroughputMibps', 'type': 'float'}, 'qos_type': {'key': 'properties.qosType', 'type': 'str'}, + 'cool_access': {'key': 'properties.coolAccess', 'type': 'bool'}, } def __init__( @@ -811,6 +835,7 @@ def __init__( service_level: Union[str, "ServiceLevel"], tags: Optional[Dict[str, str]] = None, qos_type: Optional[Union[str, "QosType"]] = None, + cool_access: Optional[bool] = False, **kwargs ): super(CapacityPool, self).__init__(**kwargs) @@ -826,6 +851,7 @@ def __init__( self.total_throughput_mibps = None self.utilized_throughput_mibps = None self.qos_type = qos_type + self.cool_access = cool_access class CapacityPoolList(msrest.serialization.Model): @@ -1078,6 +1104,11 @@ class ExportPolicyRule(msrest.serialization.Model): :type allowed_clients: str :param has_root_access: Has root access to volume. :type has_root_access: bool + :param chown_mode: This parameter specifies who is authorized to change the ownership of a + file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root + users can change ownership of files that they own. Possible values include: "Restricted", + "Unrestricted". Default value: "Restricted". + :type chown_mode: str or ~azure.mgmt.netapp.models.ChownMode """ _attribute_map = { @@ -1095,6 +1126,7 @@ class ExportPolicyRule(msrest.serialization.Model): 'nfsv41': {'key': 'nfsv41', 'type': 'bool'}, 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, 'has_root_access': {'key': 'hasRootAccess', 'type': 'bool'}, + 'chown_mode': {'key': 'chownMode', 'type': 'str'}, } def __init__( @@ -1114,6 +1146,7 @@ def __init__( nfsv41: Optional[bool] = None, allowed_clients: Optional[str] = None, has_root_access: Optional[bool] = True, + chown_mode: Optional[Union[str, "ChownMode"]] = "Restricted", **kwargs ): super(ExportPolicyRule, self).__init__(**kwargs) @@ -1131,6 +1164,41 @@ def __init__( self.nfsv41 = nfsv41 self.allowed_clients = allowed_clients self.has_root_access = has_root_access + self.chown_mode = chown_mode + + +class FilePathAvailabilityRequest(msrest.serialization.Model): + """File path availability request content - availability is based on the name and the subnetId. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. File path to verify. + :type name: str + :param subnet_id: Required. The Azure Resource URI for a delegated subnet. Must have the + delegation Microsoft.NetApp/volumes. + :type subnet_id: str + """ + + _validation = { + 'name': {'required': True}, + 'subnet_id': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'subnet_id': {'key': 'subnetId', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + subnet_id: str, + **kwargs + ): + super(FilePathAvailabilityRequest, self).__init__(**kwargs) + self.name = name + self.subnet_id = subnet_id class HourlySchedule(msrest.serialization.Model): @@ -1870,6 +1938,58 @@ def __init__( self.resource_group = resource_group +class RestoreStatus(msrest.serialization.Model): + """Restore status. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar healthy: Restore health status. + :vartype healthy: bool + :ivar relationship_status: Status of the restore SnapMirror relationship. Possible values + include: "Idle", "Transferring". + :vartype relationship_status: str or ~azure.mgmt.netapp.models.RelationshipStatus + :ivar mirror_state: The status of the restore. Possible values include: "Uninitialized", + "Mirrored", "Broken". + :vartype mirror_state: str or ~azure.mgmt.netapp.models.MirrorState + :ivar unhealthy_reason: Reason for the unhealthy restore relationship. + :vartype unhealthy_reason: str + :ivar error_message: Displays error message if the restore is in an error state. + :vartype error_message: str + :ivar total_transfer_bytes: Displays the total bytes transferred. + :vartype total_transfer_bytes: long + """ + + _validation = { + 'healthy': {'readonly': True}, + 'relationship_status': {'readonly': True}, + 'mirror_state': {'readonly': True}, + 'unhealthy_reason': {'readonly': True}, + 'error_message': {'readonly': True}, + 'total_transfer_bytes': {'readonly': True}, + } + + _attribute_map = { + 'healthy': {'key': 'healthy', 'type': 'bool'}, + 'relationship_status': {'key': 'relationshipStatus', 'type': 'str'}, + 'mirror_state': {'key': 'mirrorState', 'type': 'str'}, + 'unhealthy_reason': {'key': 'unhealthyReason', 'type': 'str'}, + 'error_message': {'key': 'errorMessage', 'type': 'str'}, + 'total_transfer_bytes': {'key': 'totalTransferBytes', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(RestoreStatus, self).__init__(**kwargs) + self.healthy = None + self.relationship_status = None + self.mirror_state = None + self.unhealthy_reason = None + self.error_message = None + self.total_transfer_bytes = None + + class ServiceSpecification(msrest.serialization.Model): """One property of operation, include metric specifications. @@ -2436,6 +2556,18 @@ class Volume(msrest.serialization.Model): :type encryption_key_source: str :param ldap_enabled: Specifies whether LDAP is enabled or not for a given NFS volume. :type ldap_enabled: bool + :param cool_access: Specifies whether Cool Access(tiering) is enabled for the volume. + :type cool_access: bool + :param coolness_period: Specifies the number of days after which data that is not accessed by + clients will be tiered. + :type coolness_period: int + :param unix_permissions: UNIX permissions for NFS volume accepted in octal 4 digit format. + First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. Second + digit selects permission for the owner of the file: read (4), write (2) and execute (1). Third + selects permissions for other users in the same group. the fourth for other users not in the + group. 0755 - gives read/write/execute permissions to owner and read/execute to group and other + users. + :type unix_permissions: str """ _validation = { @@ -2453,6 +2585,8 @@ class Volume(msrest.serialization.Model): 'subnet_id': {'required': True}, 'mount_targets': {'readonly': True}, 'throughput_mibps': {'maximum': 4500, 'minimum': 0}, + 'coolness_period': {'maximum': 63, 'minimum': 7}, + 'unix_permissions': {'max_length': 4, 'min_length': 4}, } _attribute_map = { @@ -2484,6 +2618,9 @@ class Volume(msrest.serialization.Model): 'throughput_mibps': {'key': 'properties.throughputMibps', 'type': 'float'}, 'encryption_key_source': {'key': 'properties.encryptionKeySource', 'type': 'str'}, 'ldap_enabled': {'key': 'properties.ldapEnabled', 'type': 'bool'}, + 'cool_access': {'key': 'properties.coolAccess', 'type': 'bool'}, + 'coolness_period': {'key': 'properties.coolnessPeriod', 'type': 'int'}, + 'unix_permissions': {'key': 'properties.unixPermissions', 'type': 'str'}, } def __init__( @@ -2510,6 +2647,9 @@ def __init__( throughput_mibps: Optional[float] = 0, encryption_key_source: Optional[str] = None, ldap_enabled: Optional[bool] = False, + cool_access: Optional[bool] = False, + coolness_period: Optional[int] = None, + unix_permissions: Optional[str] = None, **kwargs ): super(Volume, self).__init__(**kwargs) @@ -2541,6 +2681,9 @@ def __init__( self.throughput_mibps = throughput_mibps self.encryption_key_source = encryption_key_source self.ldap_enabled = ldap_enabled + self.cool_access = cool_access + self.coolness_period = coolness_period + self.unix_permissions = unix_permissions class VolumeBackupProperties(msrest.serialization.Model): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py index 3a71b057fa6f..a81fa38d19fd 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/models/_net_app_management_client_enums.py @@ -68,6 +68,15 @@ class CheckQuotaNameResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_SNAPSHOTS = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" +class ChownMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """This parameter specifies who is authorized to change the ownership of a file. restricted - Only + root user can change the ownership of the file. unrestricted - Non-root users can change + ownership of files that they own. + """ + + RESTRICTED = "Restricted" + UNRESTRICTED = "Unrestricted" + class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The type of identity that created the resource. """ diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py index 0a0c35c388a0..d3266758953d 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_account_backups_operations.py @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -152,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -202,7 +202,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py index b43738b8df86..caac0dfd0e2a 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_accounts_operations.py @@ -69,7 +69,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -145,7 +145,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -194,7 +194,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -325,7 +325,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -436,7 +436,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py index b263832ffb37..cb51ab26052c 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backup_policies_operations.py @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -152,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -343,7 +343,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -481,7 +481,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py index 2c878df13fa4..fa0a90f4ca5e 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_backups_operations.py @@ -78,7 +78,7 @@ def get_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -116,6 +116,75 @@ def get_status( return deserialized get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus'} # type: ignore + def get_volume_restore_status( + self, + resource_group_name, # type: str + account_name, # type: str + pool_name, # type: str + volume_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.RestoreStatus" + """Get volume's restore status. + + Get the status of the restore for a volume. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param account_name: The name of the NetApp account. + :type account_name: str + :param pool_name: The name of the capacity pool. + :type pool_name: str + :param volume_name: The name of the volume. + :type volume_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RestoreStatus, or the result of cls(response) + :rtype: ~azure.mgmt.netapp.models.RestoreStatus + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RestoreStatus"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-04-01" + accept = "application/json" + + # Construct URL + url = self.get_volume_restore_status.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str', max_length=64, min_length=1, pattern=r'^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str', max_length=64, min_length=1, pattern=r'^[a-zA-Z][a-zA-Z0-9\-_]{0,63}$'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RestoreStatus', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_volume_restore_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/restoreStatus'} # type: ignore + def list( self, resource_group_name, # type: str @@ -147,7 +216,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -235,7 +304,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -290,7 +359,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -444,7 +513,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -599,7 +668,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py index 938ca4ca08b1..bd0eb5cb555e 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_net_app_resource_operations.py @@ -77,7 +77,7 @@ def check_name_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -121,8 +121,7 @@ def check_file_path_availability( self, location, # type: str name, # type: str - type, # type: Union[str, "_models.CheckNameResourceTypes"] - resource_group, # type: str + subnet_id, # type: str **kwargs # type: Any ): # type: (...) -> "_models.CheckAvailabilityResponse" @@ -132,12 +131,11 @@ def check_file_path_availability( :param location: The location. :type location: str - :param name: Resource name to verify. + :param name: File path to verify. :type name: str - :param type: Resource type used for verification. - :type type: str or ~azure.mgmt.netapp.models.CheckNameResourceTypes - :param resource_group: Resource group name. - :type resource_group: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have the delegation + Microsoft.NetApp/volumes. + :type subnet_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckAvailabilityResponse, or the result of cls(response) :rtype: ~azure.mgmt.netapp.models.CheckAvailabilityResponse @@ -149,8 +147,8 @@ def check_file_path_availability( } error_map.update(kwargs.pop('error_map', {})) - _body = _models.ResourceNameAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + _body = _models.FilePathAvailabilityRequest(name=name, subnet_id=subnet_id) + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -172,7 +170,7 @@ def check_file_path_availability( header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(_body, 'ResourceNameAvailabilityRequest') + body_content = self._serialize.body(_body, 'FilePathAvailabilityRequest') body_content_kwargs['content'] = body_content request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) @@ -223,7 +221,7 @@ def check_quota_availability( error_map.update(kwargs.pop('error_map', {})) _body = _models.QuotaAvailabilityRequest(name=name, type=type, resource_group=resource_group) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py index 9c4e262e161f..bb05b1c9e9ad 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_operations.py @@ -64,7 +64,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py index ba05d830edfc..c005f1775b8c 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_pools_operations.py @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -152,7 +152,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -203,7 +203,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -342,7 +342,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -478,7 +478,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py index 34dc8144c721..16e4e59b9a84 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshot_policies_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -148,7 +148,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -214,7 +214,7 @@ def create( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -274,7 +274,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -410,7 +410,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -540,7 +540,7 @@ def list_volumes( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py index 8b73cb379136..9b4443e14554 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_snapshots_operations.py @@ -78,7 +78,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -166,7 +166,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -221,7 +221,7 @@ def _create_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -372,7 +372,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -522,7 +522,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py index a16cb0803fcd..3d0dd9af6a64 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_vaults_operations.py @@ -70,7 +70,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py index ea95bce8fa57..cb69ec8792b6 100644 --- a/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py +++ b/sdk/netapp/azure-mgmt-netapp/azure/mgmt/netapp/operations/_volumes_operations.py @@ -75,7 +75,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" def prepare_request(next_link=None): @@ -159,7 +159,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -212,7 +212,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -359,7 +359,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -502,7 +502,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore @@ -627,7 +627,7 @@ def _revert_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -761,7 +761,7 @@ def _break_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -914,7 +914,7 @@ def replication_status( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" accept = "application/json" # Construct URL @@ -966,7 +966,7 @@ def _resync_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._resync_replication_initial.metadata['url'] # type: ignore @@ -1091,7 +1091,7 @@ def _delete_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._delete_replication_initial.metadata['url'] # type: ignore @@ -1217,7 +1217,7 @@ def _authorize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -1350,7 +1350,7 @@ def _re_initialize_replication_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" # Construct URL url = self._re_initialize_replication_initial.metadata['url'] # type: ignore @@ -1475,7 +1475,7 @@ def _pool_change_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-02-01" + api_version = "2021-04-01" content_type = kwargs.pop("content_type", "application/json") # Construct URL diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml index a0d7fbf4fe0f..0b2f6e0b0764 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.5750399Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A20%3A44.7758112Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bdb33c6-9c81-4b09-8c3a-d24b1baf0144?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:55:43 GMT + - Wed, 09 Jun 2021 10:20:45 GMT etag: - - W/"datetime'2021-04-08T10%3A55%3A42.5750399Z'" + - W/"datetime'2021-06-09T10%3A20%3A44.7758112Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bdb33c6-9c81-4b09-8c3a-d24b1baf0144?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/46e0b4ac-2da6-4642-8ec4-f00c9d57caff","name":"46e0b4ac-2da6-4642-8ec4-f00c9d57caff","status":"Succeeded","startTime":"2021-04-08T10:55:42.5827604Z","endTime":"2021-04-08T10:55:42.8930986Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bdb33c6-9c81-4b09-8c3a-d24b1baf0144","name":"4bdb33c6-9c81-4b09-8c3a-d24b1baf0144","status":"Succeeded","startTime":"2021-06-09T10:20:44.780199Z","endTime":"2021-06-09T10:20:44.8502298Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:13 GMT + - Wed, 09 Jun 2021 10:21:15 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.8832879Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A20%3A44.8461087Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:13 GMT + - Wed, 09 Jun 2021 10:21:15 GMT etag: - - W/"datetime'2021-04-08T10%3A55%3A42.8832879Z'" + - W/"datetime'2021-06-09T10%3A20%3A44.8461087Z'" expires: - '-1' pragma: @@ -149,21 +149,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A55%3A42.8832879Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A20%3A44.8461087Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}]}' headers: cache-control: - no-cache content-length: - - '414' + - '416' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:13 GMT + - Wed, 09 Jun 2021 10:21:16 GMT expires: - '-1' pragma: @@ -195,25 +195,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/72da06bb-517b-4114-bd23-8afe5ebff19c?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 10:56:14 GMT + - Wed, 09 Jun 2021 10:21:16 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/72da06bb-517b-4114-bd23-8afe5ebff19c?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -239,21 +239,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/72da06bb-517b-4114-bd23-8afe5ebff19c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/72754d62-2ba0-41d5-92ea-49d83b0a84f1","name":"72754d62-2ba0-41d5-92ea-49d83b0a84f1","status":"Succeeded","startTime":"2021-04-08T10:56:14.9574615Z","endTime":"2021-04-08T10:56:15.1994892Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/72da06bb-517b-4114-bd23-8afe5ebff19c","name":"72da06bb-517b-4114-bd23-8afe5ebff19c","status":"Succeeded","startTime":"2021-06-09T10:21:17.3152424Z","endTime":"2021-06-09T10:21:17.3779007Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:45 GMT + - Wed, 09 Jun 2021 10:21:47 GMT expires: - '-1' pragma: @@ -283,23 +283,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:45 GMT + - Wed, 09 Jun 2021 10:21:47 GMT expires: - '-1' pragma: @@ -323,9 +323,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -337,7 +337,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:56:45 GMT + - Wed, 09 Jun 2021 10:21:47 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml index 59c05f398c91..76152174baa5 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_get_account_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A00%3A22.7693213Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A40%3A12.2612886Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c95f6c7-9fa8-4a3e-8c44-0efba35bd8aa?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea0f10d1-ac71-480b-81ab-e9c1f84577f3?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:00:23 GMT + - Wed, 09 Jun 2021 10:40:12 GMT etag: - - W/"datetime'2021-04-08T11%3A00%3A22.7693213Z'" + - W/"datetime'2021-06-09T10%3A40%3A12.2612886Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c95f6c7-9fa8-4a3e-8c44-0efba35bd8aa?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea0f10d1-ac71-480b-81ab-e9c1f84577f3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c95f6c7-9fa8-4a3e-8c44-0efba35bd8aa","name":"2c95f6c7-9fa8-4a3e-8c44-0efba35bd8aa","status":"Succeeded","startTime":"2021-04-08T11:00:22.7812655Z","endTime":"2021-04-08T11:00:22.8813588Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea0f10d1-ac71-480b-81ab-e9c1f84577f3","name":"ea0f10d1-ac71-480b-81ab-e9c1f84577f3","status":"Succeeded","startTime":"2021-06-09T10:40:12.2680385Z","endTime":"2021-06-09T10:40:12.463041Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:00:53 GMT + - Wed, 09 Jun 2021 10:40:43 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A00%3A22.8754239Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A40%3A12.4581142Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:00:53 GMT + - Wed, 09 Jun 2021 10:40:43 GMT etag: - - W/"datetime'2021-04-08T11%3A00%3A22.8754239Z'" + - W/"datetime'2021-06-09T10%3A40%3A12.4581142Z'" expires: - '-1' pragma: @@ -149,23 +149,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A00%3A22.8754239Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A40%3A12.4581142Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:00:53 GMT + - Wed, 09 Jun 2021 10:40:43 GMT etag: - - W/"datetime'2021-04-08T11%3A00%3A22.8754239Z'" + - W/"datetime'2021-06-09T10%3A40%3A12.4581142Z'" expires: - '-1' pragma: @@ -197,25 +197,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/479bd163-e761-48b6-9764-8c03b43eab0d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a86e4245-9f9a-4aa2-8433-e43cbc011d38?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:00:54 GMT + - Wed, 09 Jun 2021 10:40:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/479bd163-e761-48b6-9764-8c03b43eab0d?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a86e4245-9f9a-4aa2-8433-e43cbc011d38?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -225,7 +225,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' x-powered-by: - ASP.NET status: @@ -241,21 +241,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/479bd163-e761-48b6-9764-8c03b43eab0d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a86e4245-9f9a-4aa2-8433-e43cbc011d38?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/479bd163-e761-48b6-9764-8c03b43eab0d","name":"479bd163-e761-48b6-9764-8c03b43eab0d","status":"Succeeded","startTime":"2021-04-08T11:00:55.1911346Z","endTime":"2021-04-08T11:00:55.2611992Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a86e4245-9f9a-4aa2-8433-e43cbc011d38","name":"a86e4245-9f9a-4aa2-8433-e43cbc011d38","status":"Succeeded","startTime":"2021-06-09T10:40:45.0025528Z","endTime":"2021-06-09T10:40:45.0525695Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:01:25 GMT + - Wed, 09 Jun 2021 10:41:15 GMT expires: - '-1' pragma: @@ -285,23 +285,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:01:25 GMT + - Wed, 09 Jun 2021 10:41:16 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml index 8214737bcc87..012f95dc1296 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_list_accounts.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A57%3A44.0876211Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A09.5214292Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4b0de8c-e5a2-4f14-8de2-973105d40db9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e42bab3-b027-4df5-9fa8-17d485325bcf?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:57:44 GMT + - Wed, 09 Jun 2021 10:22:10 GMT etag: - - W/"datetime'2021-04-08T10%3A57%3A44.0876211Z'" + - W/"datetime'2021-06-09T10%3A22%3A09.5214292Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4b0de8c-e5a2-4f14-8de2-973105d40db9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e42bab3-b027-4df5-9fa8-17d485325bcf?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4b0de8c-e5a2-4f14-8de2-973105d40db9","name":"e4b0de8c-e5a2-4f14-8de2-973105d40db9","status":"Succeeded","startTime":"2021-04-08T10:57:44.0974714Z","endTime":"2021-04-08T10:57:44.3718161Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e42bab3-b027-4df5-9fa8-17d485325bcf","name":"7e42bab3-b027-4df5-9fa8-17d485325bcf","status":"Succeeded","startTime":"2021-06-09T10:22:09.5289179Z","endTime":"2021-06-09T10:22:09.5989158Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:15 GMT + - Wed, 09 Jun 2021 10:22:40 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A57%3A44.3620708Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A09.5837803Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:15 GMT + - Wed, 09 Jun 2021 10:22:40 GMT etag: - - W/"datetime'2021-04-08T10%3A57%3A44.3620708Z'" + - W/"datetime'2021-06-09T10%3A22%3A09.5837803Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -149,29 +149,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A58%3A17.5353762Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A43.0406884Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b9eae52e-8cd9-4235-87ed-584892cdb8ad?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/62268319-c5d6-4b9e-9c34-1ea4fcf0beb4?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:18 GMT + - Wed, 09 Jun 2021 10:22:43 GMT etag: - - W/"datetime'2021-04-08T10%3A58%3A17.5353762Z'" + - W/"datetime'2021-06-09T10%3A22%3A43.0406884Z'" expires: - '-1' pragma: @@ -199,21 +199,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b9eae52e-8cd9-4235-87ed-584892cdb8ad?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/62268319-c5d6-4b9e-9c34-1ea4fcf0beb4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b9eae52e-8cd9-4235-87ed-584892cdb8ad","name":"b9eae52e-8cd9-4235-87ed-584892cdb8ad","status":"Succeeded","startTime":"2021-04-08T10:58:17.5434345Z","endTime":"2021-04-08T10:58:17.711903Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/62268319-c5d6-4b9e-9c34-1ea4fcf0beb4","name":"62268319-c5d6-4b9e-9c34-1ea4fcf0beb4","status":"Succeeded","startTime":"2021-06-09T10:22:43.0487053Z","endTime":"2021-06-09T10:22:43.1237179Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:48 GMT + - Wed, 09 Jun 2021 10:23:14 GMT expires: - '-1' pragma: @@ -243,23 +243,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A58%3A17.7081672Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A43.1193967Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:48 GMT + - Wed, 09 Jun 2021 10:23:14 GMT etag: - - W/"datetime'2021-04-08T10%3A58%3A17.7081672Z'" + - W/"datetime'2021-06-09T10%3A22%3A43.1193967Z'" expires: - '-1' pragma: @@ -289,21 +289,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A57%3A44.3620708Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T10%3A58%3A17.7081672Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A09.5837803Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A22%3A43.1193967Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}]}' headers: cache-control: - no-cache content-length: - - '817' + - '821' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:58:48 GMT + - Wed, 09 Jun 2021 10:23:14 GMT expires: - '-1' pragma: @@ -335,25 +335,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/43c27beb-f023-44dd-b405-180c1f6087ff?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/baccdc12-5bef-498f-9ebc-cd8815140254?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 10:58:49 GMT + - Wed, 09 Jun 2021 10:23:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/43c27beb-f023-44dd-b405-180c1f6087ff?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/baccdc12-5bef-498f-9ebc-cd8815140254?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -379,21 +379,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/43c27beb-f023-44dd-b405-180c1f6087ff?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/baccdc12-5bef-498f-9ebc-cd8815140254?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/43c27beb-f023-44dd-b405-180c1f6087ff","name":"43c27beb-f023-44dd-b405-180c1f6087ff","status":"Succeeded","startTime":"2021-04-08T10:58:49.8150696Z","endTime":"2021-04-08T10:58:49.901032Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/baccdc12-5bef-498f-9ebc-cd8815140254","name":"baccdc12-5bef-498f-9ebc-cd8815140254","status":"Succeeded","startTime":"2021-06-09T10:23:15.6906739Z","endTime":"2021-06-09T10:23:15.7556884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:59:20 GMT + - Wed, 09 Jun 2021 10:23:46 GMT expires: - '-1' pragma: @@ -423,23 +423,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:59:20 GMT + - Wed, 09 Jun 2021 10:23:47 GMT expires: - '-1' pragma: @@ -465,25 +465,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/838b7212-53f3-463a-aefc-02f611522790?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/190576ae-ebf9-4ed1-9629-61e29b57699d?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 10:59:21 GMT + - Wed, 09 Jun 2021 10:23:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/838b7212-53f3-463a-aefc-02f611522790?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/190576ae-ebf9-4ed1-9629-61e29b57699d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -509,21 +509,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/838b7212-53f3-463a-aefc-02f611522790?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/190576ae-ebf9-4ed1-9629-61e29b57699d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/838b7212-53f3-463a-aefc-02f611522790","name":"838b7212-53f3-463a-aefc-02f611522790","status":"Succeeded","startTime":"2021-04-08T10:59:20.9566915Z","endTime":"2021-04-08T10:59:21.1117161Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/190576ae-ebf9-4ed1-9629-61e29b57699d","name":"190576ae-ebf9-4ed1-9629-61e29b57699d","status":"Succeeded","startTime":"2021-06-09T10:23:49.4455907Z","endTime":"2021-06-09T10:23:49.4905876Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:59:50 GMT + - Wed, 09 Jun 2021 10:24:19 GMT expires: - '-1' pragma: @@ -553,23 +553,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 10:59:51 GMT + - Wed, 09 Jun 2021 10:24:20 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml index 5d5be3efe758..47cd6bc53182 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account.test_patch_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A02%3A07.3678504Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A41%3A36.7580315Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49ca2adb-bd37-4a17-9a9a-bc9bcc0ec3c1?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90d6d287-ed82-444d-9635-9bbe505f5ad5?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:02:08 GMT + - Wed, 09 Jun 2021 10:41:37 GMT etag: - - W/"datetime'2021-04-08T11%3A02%3A07.3678504Z'" + - W/"datetime'2021-06-09T10%3A41%3A36.7580315Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49ca2adb-bd37-4a17-9a9a-bc9bcc0ec3c1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90d6d287-ed82-444d-9635-9bbe505f5ad5?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49ca2adb-bd37-4a17-9a9a-bc9bcc0ec3c1","name":"49ca2adb-bd37-4a17-9a9a-bc9bcc0ec3c1","status":"Succeeded","startTime":"2021-04-08T11:02:07.377812Z","endTime":"2021-04-08T11:02:07.5157Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90d6d287-ed82-444d-9635-9bbe505f5ad5","name":"90d6d287-ed82-444d-9635-9bbe505f5ad5","status":"Succeeded","startTime":"2021-06-09T10:41:36.7665185Z","endTime":"2021-06-09T10:41:36.8265165Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '514' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:02:38 GMT + - Wed, 09 Jun 2021 10:42:07 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A02%3A07.5100313Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A41%3A36.8225225Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:02:38 GMT + - Wed, 09 Jun 2021 10:42:08 GMT etag: - - W/"datetime'2021-04-08T11%3A02%3A07.5100313Z'" + - W/"datetime'2021-06-09T10%3A41%3A36.8225225Z'" expires: - '-1' pragma: @@ -153,23 +153,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A02%3A39.9023933Z''\"","location":"southcentralusstage","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A42%3A09.4054687Z''\"","location":"southcentralus","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '427' + - '429' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:02:40 GMT + - Wed, 09 Jun 2021 10:42:10 GMT etag: - - W/"datetime'2021-04-08T11%3A02%3A39.9023933Z'" + - W/"datetime'2021-06-09T10%3A42%3A09.4054687Z'" expires: - '-1' pragma: @@ -203,25 +203,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/02921331-31c6-4ef2-8451-2a7b52ff39d9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4dca52e7-39a5-4f68-8f69-3dfbb67b3b2f?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:02:41 GMT + - Wed, 09 Jun 2021 10:42:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/02921331-31c6-4ef2-8451-2a7b52ff39d9?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4dca52e7-39a5-4f68-8f69-3dfbb67b3b2f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -231,7 +231,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -247,21 +247,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/02921331-31c6-4ef2-8451-2a7b52ff39d9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4dca52e7-39a5-4f68-8f69-3dfbb67b3b2f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/02921331-31c6-4ef2-8451-2a7b52ff39d9","name":"02921331-31c6-4ef2-8451-2a7b52ff39d9","status":"Succeeded","startTime":"2021-04-08T11:02:41.3953048Z","endTime":"2021-04-08T11:02:41.6449229Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4dca52e7-39a5-4f68-8f69-3dfbb67b3b2f","name":"4dca52e7-39a5-4f68-8f69-3dfbb67b3b2f","status":"Succeeded","startTime":"2021-06-09T10:42:11.302593Z","endTime":"2021-06-09T10:42:11.4175955Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:03:11 GMT + - Wed, 09 Jun 2021 10:42:41 GMT expires: - '-1' pragma: @@ -291,23 +291,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:03:11 GMT + - Wed, 09 Jun 2021 10:42:41 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_delete_account_backups.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_delete_account_backups.yaml index 9e1473f6787c..6badf7fd28b7 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_delete_account_backups.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_delete_account_backups.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A22%3A08.6201831Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A22%3A08.6201831Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b","name":"b0281920-98ac-4d23-9c0f-f279d4a1337b","status":"Succeeded","startTime":"2021-04-16T10:22:08.6243949Z","endTime":"2021-04-16T10:22:08.7446054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b0281920-98ac-4d23-9c0f-f279d4a1337b","name":"b0281920-98ac-4d23-9c0f-f279d4a1337b","status":"Succeeded","startTime":"2021-04-16T10:22:08.6243949Z","endTime":"2021-04-16T10:22:08.7446054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A22%3A08.7075579Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A22%3A08.7075579Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A22%3A42.5723506Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A22%3A42.5723506Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e","name":"ea6140a9-f22e-4099-a17b-faa00766a51e","status":"Succeeded","startTime":"2021-04-16T10:22:42.5807177Z","endTime":"2021-04-16T10:22:42.9537827Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ea6140a9-f22e-4099-a17b-faa00766a51e","name":"ea6140a9-f22e-4099-a17b-faa00766a51e","status":"Succeeded","startTime":"2021-04-16T10:22:42.5807177Z","endTime":"2021-04-16T10:22:42.9537827Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A22%3A42.9499131Z''\"","location":"southcentralusstage","properties":{"poolId":"ee002261-eef1-a4de-871b-558894e42869","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A22%3A42.9499131Z''\"","location":"southcentralus","properties":{"poolId":"ee002261-eef1-a4de-871b-558894e42869","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A23%3A27.3261956Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A23%3A27.3261956Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Creating","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Succeeded","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"2021-04-16T10:26:45.9679715Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/273a360e-1d27-4767-8cd1-9a81c389e031","name":"273a360e-1d27-4767-8cd1-9a81c389e031","status":"Succeeded","startTime":"2021-04-16T10:23:27.3288571Z","endTime":"2021-04-16T10:26:45.9679715Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A26%3A45.9627146Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A26%3A45.9627146Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A26%3A45.9627146Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A26%3A45.9627146Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A27%3A11.884145Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A27%3A11.884145Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4","name":"60375b94-cf43-413b-a2c7-8725b05d8ea4","status":"Succeeded","startTime":"2021-04-16T10:27:11.8881498Z","endTime":"2021-04-16T10:27:42.2529721Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60375b94-cf43-413b-a2c7-8725b05d8ea4","name":"60375b94-cf43-413b-a2c7-8725b05d8ea4","status":"Succeeded","startTime":"2021-04-16T10:27:11.8881498Z","endTime":"2021-04-16T10:27:42.2529721Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A27%3A42.2477351Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A27%3A42.2477351Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d51a67b1-e293-6874-89cf-f7271af211af","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"d51a67b1-e293-6874-89cf-f7271af211af","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7cab3a0d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -924,7 +924,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -940,13 +940,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -958,7 +958,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -986,10 +986,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3","name":"1b087302-c6a5-4029-8d1d-c487f12fbcf3","status":"Succeeded","startTime":"2021-04-16T10:27:43.605612Z","endTime":"2021-04-16T10:27:51.9409345Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b087302-c6a5-4029-8d1d-c487f12fbcf3","name":"1b087302-c6a5-4029-8d1d-c487f12fbcf3","status":"Succeeded","startTime":"2021-04-16T10:27:43.605612Z","endTime":"2021-04-16T10:27:51.9409345Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1382,10 +1382,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1426,10 +1426,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1470,10 +1470,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1514,10 +1514,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1558,10 +1558,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1602,10 +1602,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1646,10 +1646,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1690,10 +1690,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1734,10 +1734,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5429","name":"sdk-py-tests-acc-1/ps5429","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:57:16Z","backupId":"7b155d6e-1a9c-1cfe-89fe-56b364043316","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","name":"sdk-py-tests-acc-1/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:56:27Z","backupId":"dec40e12-4eda-851d-884c-b2e726fd8415","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5429","name":"sdk-py-tests-acc-1/ps5429","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:57:16Z","backupId":"7b155d6e-1a9c-1cfe-89fe-56b364043316","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","name":"sdk-py-tests-acc-1/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:56:27Z","backupId":"dec40e12-4eda-851d-884c-b2e726fd8415","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:27:51Z","backupId":"000ae7ef-9161-da68-e367-6886de2fc000","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -1780,13 +1780,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1796,7 +1796,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1824,10 +1824,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1868,10 +1868,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1912,10 +1912,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1956,10 +1956,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2000,10 +2000,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Deleting","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2044,10 +2044,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Succeeded","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"2021-04-16T10:34:09.2128861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c0f1358d-d9f3-4779-81b6-0788577e45d6","name":"c0f1358d-d9f3-4779-81b6-0788577e45d6","status":"Succeeded","startTime":"2021-04-16T10:31:25.7252218Z","endTime":"2021-04-16T10:34:09.2128861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2088,11 +2088,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -2130,13 +2130,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2146,7 +2146,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2174,10 +2174,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Deleting","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Deleting","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -2218,10 +2218,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Deleting","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Deleting","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -2262,10 +2262,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Succeeded","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"2021-04-16T10:39:20.2998338Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/07c7fb95-3ede-452a-af87-044b0a7c6eb3","name":"07c7fb95-3ede-452a-af87-044b0a7c6eb3","status":"Succeeded","startTime":"2021-04-16T10:37:51.4977938Z","endTime":"2021-04-16T10:39:20.2998338Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -2306,10 +2306,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5429","name":"sdk-py-tests-acc-1/ps5429","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:57:16Z","backupId":"7b155d6e-1a9c-1cfe-89fe-56b364043316","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","name":"sdk-py-tests-acc-1/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:56:27Z","backupId":"dec40e12-4eda-851d-884c-b2e726fd8415","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3694","name":"sdk-py-tests-acc-1/ps3694","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:35:27Z","backupId":"2bf3b29d-b860-cb11-053a-702dcdab24dc","size":0,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Creating","failureReason":"None","volumeName":"ps2937","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5429","name":"sdk-py-tests-acc-1/ps5429","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:57:16Z","backupId":"7b155d6e-1a9c-1cfe-89fe-56b364043316","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","name":"sdk-py-tests-acc-1/snapmirror.5bac6220-c7fd-42ea-a8b4-338876d9d679_0.2021-04-16_095627-4350pSOIQQFw","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:56:27Z","backupId":"dec40e12-4eda-851d-884c-b2e726fd8415","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3508","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3694","name":"sdk-py-tests-acc-1/ps3694","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:35:27Z","backupId":"2bf3b29d-b860-cb11-053a-702dcdab24dc","size":0,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Creating","failureReason":"None","volumeName":"ps2937","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -2352,13 +2352,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2368,7 +2368,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2396,10 +2396,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901","name":"8d44c3c5-241a-4e1f-b62f-a9b4c8d21901","status":"Succeeded","startTime":"2021-04-16T10:39:34.4757255Z","endTime":"2021-04-16T10:39:35.9433057Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d44c3c5-241a-4e1f-b62f-a9b4c8d21901","name":"8d44c3c5-241a-4e1f-b62f-a9b4c8d21901","status":"Succeeded","startTime":"2021-04-16T10:39:34.4757255Z","endTime":"2021-04-16T10:39:35.9433057Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -2442,7 +2442,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2478,7 +2478,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2514,7 +2514,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2550,7 +2550,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2584,11 +2584,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -2626,13 +2626,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2642,7 +2642,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2670,10 +2670,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a","name":"8b5f87fa-4860-43e7-8d23-12f8b2381a5a","status":"Succeeded","startTime":"2021-04-16T10:40:58.2604985Z","endTime":"2021-04-16T10:40:58.3304941Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b5f87fa-4860-43e7-8d23-12f8b2381a5a","name":"8b5f87fa-4860-43e7-8d23-12f8b2381a5a","status":"Succeeded","startTime":"2021-04-16T10:40:58.2604985Z","endTime":"2021-04-16T10:40:58.3304941Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -2714,11 +2714,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_get_account_backups.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_get_account_backups.yaml index 594ce99d66ca..84c0d454b433 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_get_account_backups.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_get_account_backups.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A03%3A42.7447333Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A03%3A42.7447333Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b","name":"1d852e78-78a9-4937-8cbe-f2893e61589b","status":"Succeeded","startTime":"2021-04-16T10:03:42.7482587Z","endTime":"2021-04-16T10:03:42.8132643Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1d852e78-78a9-4937-8cbe-f2893e61589b","name":"1d852e78-78a9-4937-8cbe-f2893e61589b","status":"Succeeded","startTime":"2021-04-16T10:03:42.7482587Z","endTime":"2021-04-16T10:03:42.8132643Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A03%3A42.8072548Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T10%3A03%3A42.8072548Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A04%3A16.3576706Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A04%3A16.3576706Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941","name":"55c9dd0c-7ed4-4b60-a9d1-e64e6d127941","status":"Succeeded","startTime":"2021-04-16T10:04:16.3642363Z","endTime":"2021-04-16T10:04:16.4292117Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55c9dd0c-7ed4-4b60-a9d1-e64e6d127941","name":"55c9dd0c-7ed4-4b60-a9d1-e64e6d127941","status":"Succeeded","startTime":"2021-04-16T10:04:16.3642363Z","endTime":"2021-04-16T10:04:16.4292117Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A04%3A16.4241591Z''\"","location":"southcentralusstage","properties":{"poolId":"d316c44a-d443-388d-7049-e51e5e914c7b","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T10%3A04%3A16.4241591Z''\"","location":"southcentralus","properties":{"poolId":"d316c44a-d443-388d-7049-e51e5e914c7b","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A05%3A00.8383545Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A05%3A00.8383545Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Creating","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Succeeded","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"2021-04-16T10:08:19.4600424Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef7a49d1-6612-4a64-8a62-42e3f2a314ac","name":"ef7a49d1-6612-4a64-8a62-42e3f2a314ac","status":"Succeeded","startTime":"2021-04-16T10:05:00.8457028Z","endTime":"2021-04-16T10:08:19.4600424Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A19.4539663Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A19.4539663Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A19.4539663Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A19.4539663Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A44.8930536Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A08%3A44.8930536Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e96783b4-3594-413b-993c-3c98f2789da0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96783b4-3594-413b-993c-3c98f2789da0","name":"e96783b4-3594-413b-993c-3c98f2789da0","status":"Succeeded","startTime":"2021-04-16T10:08:44.8973953Z","endTime":"2021-04-16T10:09:13.4859128Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e96783b4-3594-413b-993c-3c98f2789da0","name":"e96783b4-3594-413b-993c-3c98f2789da0","status":"Succeeded","startTime":"2021-04-16T10:08:44.8973953Z","endTime":"2021-04-16T10:09:13.4859128Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A09%3A13.4793801Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A09%3A13.4793801Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -924,7 +924,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -940,13 +940,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -958,7 +958,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -986,10 +986,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737","name":"48eb8534-cbc9-4e33-b677-e69e2bbf5737","status":"Succeeded","startTime":"2021-04-16T10:09:16.0349042Z","endTime":"2021-04-16T10:09:24.0269835Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/48eb8534-cbc9-4e33-b677-e69e2bbf5737","name":"48eb8534-cbc9-4e33-b677-e69e2bbf5737","status":"Succeeded","startTime":"2021-04-16T10:09:16.0349042Z","endTime":"2021-04-16T10:09:24.0269835Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T10:09:24Z","backupId":"ec53afcb-cbda-e9d6-0cd7-2dcc5c3c3154","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -1372,7 +1372,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -1388,13 +1388,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A10%3A52.0804921Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A10%3A52.0804921Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1408,7 +1408,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1436,10 +1436,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f","name":"2059657d-fcec-46b0-b66c-9188e470c57f","status":"Patching","startTime":"2021-04-16T10:10:52.0868709Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f","name":"2059657d-fcec-46b0-b66c-9188e470c57f","status":"Patching","startTime":"2021-04-16T10:10:52.0868709Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1480,10 +1480,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f","name":"2059657d-fcec-46b0-b66c-9188e470c57f","status":"Succeeded","startTime":"2021-04-16T10:10:52.0868709Z","endTime":"2021-04-16T10:11:27.3500409Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2059657d-fcec-46b0-b66c-9188e470c57f","name":"2059657d-fcec-46b0-b66c-9188e470c57f","status":"Succeeded","startTime":"2021-04-16T10:10:52.0868709Z","endTime":"2021-04-16T10:11:27.3500409Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1524,10 +1524,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A11%3A27.3445694Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T10%3A11%3A27.3445694Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"f1caeaa2-6875-3f4e-c14e-de99aaca1c13","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_086afeb5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -1570,7 +1570,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -1613,13 +1613,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1629,7 +1629,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1657,10 +1657,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Deleting","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Deleting","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1701,10 +1701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Deleting","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Deleting","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1745,10 +1745,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Succeeded","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"2021-04-16T10:13:09.8120379Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4cf21d30-0e90-4583-872c-7ef7eae81efd","name":"4cf21d30-0e90-4583-872c-7ef7eae81efd","status":"Succeeded","startTime":"2021-04-16T10:11:58.9951893Z","endTime":"2021-04-16T10:13:09.8120379Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1789,11 +1789,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1831,13 +1831,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1847,7 +1847,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1875,10 +1875,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a","name":"9ae63fca-cec1-4db1-9c34-7b110612ee4a","status":"Succeeded","startTime":"2021-04-16T10:17:03.3709383Z","endTime":"2021-04-16T10:17:04.8301587Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9ae63fca-cec1-4db1-9c34-7b110612ee4a","name":"9ae63fca-cec1-4db1-9c34-7b110612ee4a","status":"Succeeded","startTime":"2021-04-16T10:17:03.3709383Z","endTime":"2021-04-16T10:17:04.8301587Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -1921,7 +1921,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1957,7 +1957,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1993,7 +1993,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2029,7 +2029,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2063,11 +2063,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -2105,13 +2105,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2121,7 +2121,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2149,10 +2149,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160","name":"e7aa2d59-41b8-4255-a901-929aeddc7160","status":"Succeeded","startTime":"2021-04-16T10:18:26.964449Z","endTime":"2021-04-16T10:18:27.0805666Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e7aa2d59-41b8-4255-a901-929aeddc7160","name":"e7aa2d59-41b8-4255-a901-929aeddc7160","status":"Succeeded","startTime":"2021-04-16T10:18:26.964449Z","endTime":"2021-04-16T10:18:27.0805666Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -2193,11 +2193,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_list_account_backups.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_list_account_backups.yaml index 56093ff90872..9fe701c6207e 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_list_account_backups.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_account_backup.test_list_account_backups.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T09%3A02%3A24.5566355Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T09%3A02%3A24.5566355Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd","name":"9e2f87a4-0099-4311-b984-c715ddb73bdd","status":"Succeeded","startTime":"2021-04-16T09:02:24.5613413Z","endTime":"2021-04-16T09:02:24.6413753Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9e2f87a4-0099-4311-b984-c715ddb73bdd","name":"9e2f87a4-0099-4311-b984-c715ddb73bdd","status":"Succeeded","startTime":"2021-04-16T09:02:24.5613413Z","endTime":"2021-04-16T09:02:24.6413753Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T09%3A02%3A24.6357187Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T09%3A02%3A24.6357187Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T09%3A02%3A58.7599924Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T09%3A02%3A58.7599924Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d","name":"4368a619-39d2-4fb5-88cf-b5ac347b9b8d","status":"Succeeded","startTime":"2021-04-16T09:02:58.7649092Z","endTime":"2021-04-16T09:02:59.0549242Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4368a619-39d2-4fb5-88cf-b5ac347b9b8d","name":"4368a619-39d2-4fb5-88cf-b5ac347b9b8d","status":"Succeeded","startTime":"2021-04-16T09:02:58.7649092Z","endTime":"2021-04-16T09:02:59.0549242Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T09%3A02%3A59.0511852Z''\"","location":"southcentralusstage","properties":{"poolId":"df35cb44-15bf-10fa-b6d5-85a2bf79b40e","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T09%3A02%3A59.0511852Z''\"","location":"southcentralus","properties":{"poolId":"df35cb44-15bf-10fa-b6d5-85a2bf79b40e","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A03%3A43.1366022Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A03%3A43.1366022Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Creating","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Succeeded","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"2021-04-16T09:06:59.3518974Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/87f222a0-ddea-4a87-bde9-6b1527cf0142","name":"87f222a0-ddea-4a87-bde9-6b1527cf0142","status":"Succeeded","startTime":"2021-04-16T09:03:43.1385225Z","endTime":"2021-04-16T09:06:59.3518974Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A06%3A59.3468469Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A06%3A59.3468469Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A06%3A59.3468469Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A06%3A59.3468469Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A07%3A28.296432Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A07%3A28.296432Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792","name":"53bde112-ece0-4104-b0ef-673ac8e38792","status":"Patching","startTime":"2021-04-16T09:07:28.3002961Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792","name":"53bde112-ece0-4104-b0ef-673ac8e38792","status":"Patching","startTime":"2021-04-16T09:07:28.3002961Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792","name":"53bde112-ece0-4104-b0ef-673ac8e38792","status":"Succeeded","startTime":"2021-04-16T09:07:28.3002961Z","endTime":"2021-04-16T09:07:59.9149406Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/53bde112-ece0-4104-b0ef-673ac8e38792","name":"53bde112-ece0-4104-b0ef-673ac8e38792","status":"Succeeded","startTime":"2021-04-16T09:07:28.3002961Z","endTime":"2021-04-16T09:07:59.9149406Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -933,10 +933,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A07%3A59.90891Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A07%3A59.90891Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -968,7 +968,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -984,13 +984,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1002,7 +1002,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e","name":"1b27b5c2-44a1-4a05-bffa-58e12e01563e","status":"Succeeded","startTime":"2021-04-16T09:08:29.977826Z","endTime":"2021-04-16T09:08:38.9598754Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1b27b5c2-44a1-4a05-bffa-58e12e01563e","name":"1b27b5c2-44a1-4a05-bffa-58e12e01563e","status":"Succeeded","startTime":"2021-04-16T09:08:29.977826Z","endTime":"2021-04-16T09:08:38.9598754Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -1372,7 +1372,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -1388,13 +1388,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A10%3A07.292488Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A10%3A07.292488Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1408,7 +1408,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1436,10 +1436,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f","name":"8a841131-88e5-4508-a56d-f81af6ba331f","status":"Succeeded","startTime":"2021-04-16T09:10:07.298917Z","endTime":"2021-04-16T09:10:35.0824884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a841131-88e5-4508-a56d-f81af6ba331f","name":"8a841131-88e5-4508-a56d-f81af6ba331f","status":"Succeeded","startTime":"2021-04-16T09:10:07.298917Z","endTime":"2021-04-16T09:10:35.0824884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1480,10 +1480,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A10%3A35.0792456Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A10%3A35.0792456Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -1515,7 +1515,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -1531,13 +1531,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1549,7 +1549,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1577,10 +1577,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9","name":"4d1395ed-1ccf-4967-973c-c498c9309aa9","status":"Succeeded","startTime":"2021-04-16T09:10:38.4292696Z","endTime":"2021-04-16T09:10:47.7410447Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4d1395ed-1ccf-4967-973c-c498c9309aa9","name":"4d1395ed-1ccf-4967-973c-c498c9309aa9","status":"Succeeded","startTime":"2021-04-16T09:10:38.4292696Z","endTime":"2021-04-16T09:10:47.7410447Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' headers: cache-control: - no-cache @@ -1621,10 +1621,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1665,10 +1665,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1709,10 +1709,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1753,10 +1753,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1797,10 +1797,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1841,10 +1841,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1885,10 +1885,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1929,10 +1929,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1973,10 +1973,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2017,10 +2017,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2061,10 +2061,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2105,10 +2105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2149,10 +2149,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2193,10 +2193,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2237,10 +2237,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2281,10 +2281,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2325,10 +2325,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2369,10 +2369,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2413,10 +2413,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:08:38Z","backupId":"22790c98-2f9f-bf6e-f7f6-ecd374c085ed","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-16T09:10:47Z","backupId":"be0d9116-2089-806a-96f0-4ae42557d325","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -2457,10 +2457,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -2491,7 +2491,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -2507,13 +2507,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A14%3A45.874576Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A14%3A45.874576Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2527,7 +2527,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2555,10 +2555,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659","name":"3295dced-077b-4b4d-b4f6-468c035eb659","status":"Patching","startTime":"2021-04-16T09:14:45.8795688Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659","name":"3295dced-077b-4b4d-b4f6-468c035eb659","status":"Patching","startTime":"2021-04-16T09:14:45.8795688Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2599,10 +2599,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659","name":"3295dced-077b-4b4d-b4f6-468c035eb659","status":"Succeeded","startTime":"2021-04-16T09:14:45.8795688Z","endTime":"2021-04-16T09:15:22.0891289Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3295dced-077b-4b4d-b4f6-468c035eb659","name":"3295dced-077b-4b4d-b4f6-468c035eb659","status":"Succeeded","startTime":"2021-04-16T09:14:45.8795688Z","endTime":"2021-04-16T09:15:22.0891289Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2643,10 +2643,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A15%3A22.0793205Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A15%3A22.0793205Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -2689,7 +2689,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -2730,10 +2730,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -2764,7 +2764,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -2780,13 +2780,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A15%3A52.4258993Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A15%3A52.4258993Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2800,7 +2800,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2828,10 +2828,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158","name":"a32b9cf3-453e-47f2-8730-770a17335158","status":"Patching","startTime":"2021-04-16T09:15:52.4313817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158","name":"a32b9cf3-453e-47f2-8730-770a17335158","status":"Patching","startTime":"2021-04-16T09:15:52.4313817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2872,10 +2872,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a32b9cf3-453e-47f2-8730-770a17335158","name":"a32b9cf3-453e-47f2-8730-770a17335158","status":"Succeeded","startTime":"2021-04-16T09:15:52.4313817Z","endTime":"2021-04-16T09:16:27.7922565Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a32b9cf3-453e-47f2-8730-770a17335158","name":"a32b9cf3-453e-47f2-8730-770a17335158","status":"Succeeded","startTime":"2021-04-16T09:15:52.4313817Z","endTime":"2021-04-16T09:16:27.7922565Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2916,10 +2916,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A16%3A27.787044Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T09%3A16%3A27.787044Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"e52f1354-3f5d-3652-c06f-aeab0a167e27","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73f67989","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -2962,7 +2962,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -3003,10 +3003,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralusstage","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","name":"sdk-py-tests-acc-1/snapmirror.c6da03f9-bda2-47e2-a5d0-086d122f6158_0.2021-04-15_101234-4260CAJWzHKc","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T10:12:34Z","backupId":"13e6a948-acd6-8c55-203c-5183afcae7a2","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7422","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps3424","name":"sdk-py-tests-acc-1/ps3424","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:02:31Z","backupId":"d918505f-1d7d-9a7b-b449-d56013e3ff49","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","name":"sdk-py-tests-acc-1/snapmirror.14a2a013-e355-49f9-9ba1-e5eb8100c00d_0.2021-04-15_110141-4263gdprSfAv","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:01:41Z","backupId":"7328e12c-4feb-1eea-5076-397db77357cd","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6345","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7374","name":"sdk-py-tests-acc-1/ps7374","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:28:10Z","backupId":"128d8b3f-7207-13be-d66f-14c990dde4d6","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","name":"sdk-py-tests-acc-1/snapmirror.7dfce3b1-b18a-4876-a8bf-92fc786acfd8_0.2021-04-15_112723-4287hDUOxSpf","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:27:23Z","backupId":"70f0ad90-1b71-0cfa-36bc-c3c97de53cce","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9937","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps1827","name":"sdk-py-tests-acc-1/ps1827","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:58Z","backupId":"6e6cab2e-244a-4eb7-98bf-53ab9fdab6ba","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","name":"sdk-py-tests-acc-1/snapmirror.2886f2d3-6ffe-4b16-ae5f-f21d8ced6b17_0.2021-04-15_114608-4295jNqZOEzD","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T11:46:08Z","backupId":"c0b5f79c-c6e9-d26e-4e19-ab28f8003c26","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps1849","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps444","name":"sdk-py-tests-acc-1/ps444","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:52Z","backupId":"9ddbaac6-84f9-e91b-1dd4-efabebec3223","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","name":"sdk-py-tests-acc-1/snapmirror.b2bc0de8-6678-4871-8676-4e06bb952d08_0.2021-04-15_155005-4308TnYDlLMH","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T15:50:05Z","backupId":"3ee394c1-543d-2d60-3dfb-a6cfec2521d3","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4101","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5733","name":"sdk-py-tests-acc-1/ps5733","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:13:33Z","backupId":"f2649782-afbf-6bc0-ca42-25e32f85fcbd","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","name":"sdk-py-tests-acc-1/snapmirror.30da2db7-baf1-4cc0-a4a2-ab63ac17531e_0.2021-04-15_161245-4310SVsXcepT","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T16:12:45Z","backupId":"9d9390ab-baef-2023-ec79-2a903db473fb","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7434","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps8766","name":"sdk-py-tests-acc-1/ps8766","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:51Z","backupId":"54f14726-2a17-0b5b-57a2-d4a5e6677f9a","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","name":"sdk-py-tests-acc-1/snapmirror.b3598ffe-579d-4a76-a8a9-2b4944d03962_0.2021-04-15_171902-4312gGtIiIps","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:19:02Z","backupId":"d77c9360-6a02-d858-d2a4-b9526ad9d3bf","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps6830","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6217","name":"sdk-py-tests-acc-1/ps6217","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:39:15Z","backupId":"fc3b7cb0-8488-1dce-df0e-020d7ee3977e","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","name":"sdk-py-tests-acc-1/snapmirror.4c890ca3-79e5-4bf5-b27b-3775bd5cafd5_0.2021-04-15_173826-4315FkffRMud","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:38:26Z","backupId":"cf46eea2-f6f4-733d-4c3f-17fa4999284a","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps9922","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps6594","name":"sdk-py-tests-acc-1/ps6594","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:57:30Z","backupId":"a800d005-bd96-d72b-c72e-5a7c4edc9de9","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","name":"sdk-py-tests-acc-1/snapmirror.59cb357c-b87d-40c0-9f66-18b8ae9d28c5_0.2021-04-15_175642-4316MkpmDfhO","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T17:56:42Z","backupId":"6bc9d193-4886-b72d-675b-f84d218326e7","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps7903","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5850","name":"sdk-py-tests-acc-1/ps5850","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:56Z","backupId":"db90f1ee-0c37-d0c5-77fb-bb681a2f5977","size":352256,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","name":"sdk-py-tests-acc-1/snapmirror.465db8a6-5b4f-460e-babf-9a6e7f349fa9_0.2021-04-15_181708-4319bTqMGGej","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T18:17:08Z","backupId":"d65e3782-7e3d-6f70-6973-3a6a61bbd1a1","size":331776,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4732","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps5203","name":"sdk-py-tests-acc-1/ps5203","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:04:07Z","backupId":"4b592289-61a9-0f59-e6d4-51438c1ecfb3","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","name":"sdk-py-tests-acc-1/snapmirror.5ee24c2f-2b9d-4484-b694-7ebceec0e3d5_0.2021-04-15_190317-4320jApCLYom","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T19:03:17Z","backupId":"d6c7e975-c45c-dc12-c104-f8064b88ad9a","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps3912","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps4692","name":"sdk-py-tests-acc-1/ps4692","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:25:00Z","backupId":"8c159b15-2e2e-3377-cd0f-7ca7b5c0731b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","name":"sdk-py-tests-acc-1/snapmirror.8a32f085-c6a9-4b82-8e2f-2c2e0caa8480_0.2021-04-15_222413-4321NGZbUsBl","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:24:13Z","backupId":"3881422f-b344-e3a6-fc58-975d0a2d0e8b","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps2845","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps7725","name":"sdk-py-tests-acc-1/ps7725","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:44:51Z","backupId":"eb7cd536-6378-895f-eba9-3b942e05045b","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","name":"sdk-py-tests-acc-1/snapmirror.942ebfb6-1986-4eb8-9f29-6495caa3d46a_0.2021-04-15_224359-4323IEqTcgwR","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T22:43:59Z","backupId":"78283577-610e-1958-5b57-4bddc0316f72","size":311296,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps8420","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/ps2111","name":"sdk-py-tests-acc-1/ps2111","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:05:32Z","backupId":"67759547-c7ad-5c07-355e-4d18021bcd5e","size":331776,"backupType":"Manual","label":"powershellBackupTest","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/accountBackups/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","name":"sdk-py-tests-acc-1/snapmirror.28a9470c-9bcc-4c44-ab3f-4095df0fdc49_0.2021-04-15_230443-4326IgQXGKtN","type":"Microsoft.NetApp/netAppAccounts/accountBackups","location":"southcentralus","properties":{"creationDate":"2021-04-15T23:04:43Z","backupId":"1a28d0ac-2f13-e86f-e367-0fec21b5428c","size":323584,"backupType":"Scheduled","provisioningState":"Succeeded","failureReason":"None","volumeName":"ps4543","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -3049,13 +3049,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3065,7 +3065,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3093,10 +3093,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Deleting","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Deleting","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3137,10 +3137,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Deleting","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Deleting","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3181,10 +3181,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Succeeded","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"2021-04-16T09:18:21.25454Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3452a4db-c414-4ca7-a459-fd51886b052b","name":"3452a4db-c414-4ca7-a459-fd51886b052b","status":"Succeeded","startTime":"2021-04-16T09:16:59.7523792Z","endTime":"2021-04-16T09:18:21.25454Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3225,11 +3225,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -3267,13 +3267,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3283,7 +3283,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3311,10 +3311,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505","name":"5daa52e9-b985-401b-b32b-e40dcb47a505","status":"Succeeded","startTime":"2021-04-16T09:22:04.2714583Z","endTime":"2021-04-16T09:22:06.5181823Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5daa52e9-b985-401b-b32b-e40dcb47a505","name":"5daa52e9-b985-401b-b32b-e40dcb47a505","status":"Succeeded","startTime":"2021-04-16T09:22:04.2714583Z","endTime":"2021-04-16T09:22:06.5181823Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -3357,7 +3357,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -3393,7 +3393,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -3429,7 +3429,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -3465,7 +3465,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -3499,11 +3499,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -3541,13 +3541,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3557,7 +3557,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3585,10 +3585,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7","name":"39cdb268-9346-4c52-9c43-83e529d44ce7","status":"Succeeded","startTime":"2021-04-16T09:23:27.716303Z","endTime":"2021-04-16T09:23:27.7713063Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/39cdb268-9346-4c52-9c43-83e529d44ce7","name":"39cdb268-9346-4c52-9c43-83e529d44ce7","status":"Succeeded","startTime":"2021-04-16T09:23:27.716303Z","endTime":"2021-04-16T09:23:27.7713063Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -3629,11 +3629,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_create_delete_backup.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_create_delete_backup.yaml index 634aa3e5d96a..35f7b9e12b77 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_create_delete_backup.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_create_delete_backup.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T12%3A32%3A02.8984702Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T12%3A32%3A02.8984702Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f704672c-c773-480c-8a3f-270164bda659?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f704672c-c773-480c-8a3f-270164bda659?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f704672c-c773-480c-8a3f-270164bda659?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f704672c-c773-480c-8a3f-270164bda659?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f704672c-c773-480c-8a3f-270164bda659","name":"f704672c-c773-480c-8a3f-270164bda659","status":"Succeeded","startTime":"2021-04-16T12:32:02.9038722Z","endTime":"2021-04-16T12:32:02.9835932Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f704672c-c773-480c-8a3f-270164bda659","name":"f704672c-c773-480c-8a3f-270164bda659","status":"Succeeded","startTime":"2021-04-16T12:32:02.9038722Z","endTime":"2021-04-16T12:32:02.9835932Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T12%3A32%3A02.9818409Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T12%3A32%3A02.9818409Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T12%3A32%3A37.5156354Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T12%3A32%3A37.5156354Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1fe36559-1b95-49e3-adb9-11347c811611?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1fe36559-1b95-49e3-adb9-11347c811611?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1fe36559-1b95-49e3-adb9-11347c811611?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1fe36559-1b95-49e3-adb9-11347c811611?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1fe36559-1b95-49e3-adb9-11347c811611","name":"1fe36559-1b95-49e3-adb9-11347c811611","status":"Succeeded","startTime":"2021-04-16T12:32:37.5221225Z","endTime":"2021-04-16T12:32:38.1969594Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1fe36559-1b95-49e3-adb9-11347c811611","name":"1fe36559-1b95-49e3-adb9-11347c811611","status":"Succeeded","startTime":"2021-04-16T12:32:37.5221225Z","endTime":"2021-04-16T12:32:38.1969594Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T12%3A32%3A38.1938803Z''\"","location":"southcentralusstage","properties":{"poolId":"1b5443f5-b745-4405-d083-529916792587","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T12%3A32%3A38.1938803Z''\"","location":"southcentralus","properties":{"poolId":"1b5443f5-b745-4405-d083-529916792587","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A33%3A22.7041844Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A33%3A22.7041844Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Creating","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Succeeded","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"2021-04-16T12:36:44.4675719Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4af9b46b-3d59-4a96-ad31-74efa512a99a","name":"4af9b46b-3d59-4a96-ad31-74efa512a99a","status":"Succeeded","startTime":"2021-04-16T12:33:22.7093921Z","endTime":"2021-04-16T12:36:44.4675719Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A36%3A44.4519836Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A36%3A44.4519836Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A36%3A44.4519836Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A36%3A44.4519836Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A37%3A07.625462Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A37%3A07.625462Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2","name":"d5eb1c62-278a-4065-bad7-e727866485f2","status":"Patching","startTime":"2021-04-16T12:37:07.6315221Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2","name":"d5eb1c62-278a-4065-bad7-e727866485f2","status":"Patching","startTime":"2021-04-16T12:37:07.6315221Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2","name":"d5eb1c62-278a-4065-bad7-e727866485f2","status":"Succeeded","startTime":"2021-04-16T12:37:07.6315221Z","endTime":"2021-04-16T12:37:43.0259576Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5eb1c62-278a-4065-bad7-e727866485f2","name":"d5eb1c62-278a-4065-bad7-e727866485f2","status":"Succeeded","startTime":"2021-04-16T12:37:07.6315221Z","endTime":"2021-04-16T12:37:43.0259576Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -933,10 +933,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A37%3A43.0236307Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A37%3A43.0236307Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -968,7 +968,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -984,13 +984,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1002,7 +1002,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225","name":"45d4ee8e-7c7d-436f-89a5-f8b8171f5225","status":"Succeeded","startTime":"2021-04-16T12:38:09.2030285Z","endTime":"2021-04-16T12:38:18.2172742Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/45d4ee8e-7c7d-436f-89a5-f8b8171f5225","name":"45d4ee8e-7c7d-436f-89a5-f8b8171f5225","status":"Succeeded","startTime":"2021-04-16T12:38:09.2030285Z","endTime":"2021-04-16T12:38:18.2172742Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1382,10 +1382,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1426,10 +1426,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1470,10 +1470,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1514,10 +1514,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1558,10 +1558,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1602,10 +1602,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1646,10 +1646,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1690,10 +1690,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1734,10 +1734,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1778,10 +1778,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1822,10 +1822,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1866,10 +1866,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -1900,7 +1900,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -1916,13 +1916,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A42%3A16.52011Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A42%3A16.52011Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1936,7 +1936,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1964,10 +1964,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94","name":"88f2a0e2-5b53-4a42-976f-40200548ba94","status":"Succeeded","startTime":"2021-04-16T12:42:16.5247888Z","endTime":"2021-04-16T12:42:44.6199239Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88f2a0e2-5b53-4a42-976f-40200548ba94","name":"88f2a0e2-5b53-4a42-976f-40200548ba94","status":"Succeeded","startTime":"2021-04-16T12:42:16.5247888Z","endTime":"2021-04-16T12:42:44.6199239Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2008,10 +2008,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A42%3A44.6150846Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A42%3A44.6150846Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -2043,7 +2043,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -2059,13 +2059,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2077,7 +2077,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2105,10 +2105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691","name":"4bf3d070-7142-4508-88f5-e80c5543e691","status":"Succeeded","startTime":"2021-04-16T12:42:47.5760309Z","endTime":"2021-04-16T12:42:56.5853605Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4bf3d070-7142-4508-88f5-e80c5543e691","name":"4bf3d070-7142-4508-88f5-e80c5543e691","status":"Succeeded","startTime":"2021-04-16T12:42:47.5760309Z","endTime":"2021-04-16T12:42:56.5853605Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' headers: cache-control: - no-cache @@ -2149,10 +2149,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2193,10 +2193,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2237,10 +2237,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2281,10 +2281,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2325,10 +2325,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2369,10 +2369,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2413,10 +2413,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2457,10 +2457,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2501,10 +2501,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2545,10 +2545,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2589,10 +2589,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2633,10 +2633,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2677,10 +2677,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2721,10 +2721,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2765,10 +2765,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2809,10 +2809,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2853,10 +2853,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2897,10 +2897,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2941,10 +2941,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:38:18Z","backupId":"fca9fa5d-f6e6-ce37-5398-10f8b8de2d1c","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -2987,13 +2987,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3003,7 +3003,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3031,10 +3031,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3075,10 +3075,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3119,10 +3119,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3163,10 +3163,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3207,10 +3207,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3251,10 +3251,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3295,10 +3295,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3339,10 +3339,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3383,10 +3383,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3427,10 +3427,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Deleting","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3471,10 +3471,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Succeeded","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"2021-04-16T12:52:25.5290349Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b96b004e-d7af-49cc-a232-173df387ba32","name":"b96b004e-d7af-49cc-a232-173df387ba32","status":"Succeeded","startTime":"2021-04-16T12:46:56.8257404Z","endTime":"2021-04-16T12:52:25.5290349Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -3515,7 +3515,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -3556,10 +3556,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T12:42:56Z","backupId":"699ad0f8-d7d3-3d76-1542-06ed2c5bd120","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -3600,10 +3600,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -3634,7 +3634,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -3650,13 +3650,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A52%3A39.2675738Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A52%3A39.2675738Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3670,7 +3670,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3698,10 +3698,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","name":"fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","status":"Patching","startTime":"2021-04-16T12:52:39.2742889Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","name":"fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","status":"Patching","startTime":"2021-04-16T12:52:39.2742889Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3742,10 +3742,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","name":"fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","status":"Succeeded","startTime":"2021-04-16T12:52:39.2742889Z","endTime":"2021-04-16T12:53:15.3717151Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","name":"fc6f1fe2-cc38-4ff1-8070-e4440a7f28d0","status":"Succeeded","startTime":"2021-04-16T12:52:39.2742889Z","endTime":"2021-04-16T12:53:15.3717151Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3786,10 +3786,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A53%3A15.3692448Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T12%3A53%3A15.3692448Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1844327a-e920-7854-0f21-b881ef7fa498","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"1844327a-e920-7854-0f21-b881ef7fa498","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_874cb030","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -3832,7 +3832,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -3873,7 +3873,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -3919,13 +3919,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3935,7 +3935,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3963,10 +3963,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Deleting","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Deleting","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -4007,10 +4007,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Deleting","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Deleting","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -4051,10 +4051,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Succeeded","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"2021-04-16T12:55:02.7763045Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0642990e-625d-4467-ab3e-f593aadb1e78","name":"0642990e-625d-4467-ab3e-f593aadb1e78","status":"Succeeded","startTime":"2021-04-16T12:53:48.7600872Z","endTime":"2021-04-16T12:55:02.7763045Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -4095,11 +4095,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -4137,13 +4137,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -4153,7 +4153,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -4181,10 +4181,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7","name":"40db32cb-b07f-432b-a0a7-c29306d78ed7","status":"Succeeded","startTime":"2021-04-16T12:58:52.7193963Z","endTime":"2021-04-16T12:58:54.5417929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40db32cb-b07f-432b-a0a7-c29306d78ed7","name":"40db32cb-b07f-432b-a0a7-c29306d78ed7","status":"Succeeded","startTime":"2021-04-16T12:58:52.7193963Z","endTime":"2021-04-16T12:58:54.5417929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -4227,7 +4227,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4263,7 +4263,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4299,7 +4299,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4335,7 +4335,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4369,11 +4369,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -4411,13 +4411,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -4427,7 +4427,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -4455,10 +4455,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b","name":"a4a641df-717a-4e76-8267-20e03d3a192b","status":"Succeeded","startTime":"2021-04-16T13:00:16.397452Z","endTime":"2021-04-16T13:00:16.4624528Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a4a641df-717a-4e76-8267-20e03d3a192b","name":"a4a641df-717a-4e76-8267-20e03d3a192b","status":"Succeeded","startTime":"2021-04-16T13:00:16.397452Z","endTime":"2021-04-16T13:00:16.4624528Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -4499,11 +4499,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_by_name.yaml index cbb886a718dc..e2d43bc1cb05 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T14%3A20%3A20.7592699Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T14%3A20%3A20.7592699Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458","name":"4585b9b9-e7ca-422d-b9d3-51d5aa050458","status":"Succeeded","startTime":"2021-04-16T14:20:20.766338Z","endTime":"2021-04-16T14:20:20.8213447Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4585b9b9-e7ca-422d-b9d3-51d5aa050458","name":"4585b9b9-e7ca-422d-b9d3-51d5aa050458","status":"Succeeded","startTime":"2021-04-16T14:20:20.766338Z","endTime":"2021-04-16T14:20:20.8213447Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T14%3A20%3A20.8199337Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T14%3A20%3A20.8199337Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T14%3A20%3A54.2434691Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T14%3A20%3A54.2434691Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a","name":"b4385b00-7825-41e0-b09f-263fd05dc41a","status":"Succeeded","startTime":"2021-04-16T14:20:54.2490194Z","endTime":"2021-04-16T14:20:54.3525791Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4385b00-7825-41e0-b09f-263fd05dc41a","name":"b4385b00-7825-41e0-b09f-263fd05dc41a","status":"Succeeded","startTime":"2021-04-16T14:20:54.2490194Z","endTime":"2021-04-16T14:20:54.3525791Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T14%3A20%3A54.347774Z''\"","location":"southcentralusstage","properties":{"poolId":"1bed784f-a894-4c19-b3ad-aeb6ff7a23bd","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T14%3A20%3A54.347774Z''\"","location":"southcentralus","properties":{"poolId":"1bed784f-a894-4c19-b3ad-aeb6ff7a23bd","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A21%3A39.0391659Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A21%3A39.0391659Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Creating","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Succeeded","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"2021-04-16T14:24:57.9792872Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","name":"bd3cc0f1-a16f-46e8-a35a-a3a381187c6f","status":"Succeeded","startTime":"2021-04-16T14:21:39.0459084Z","endTime":"2021-04-16T14:24:57.9792872Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A24%3A57.9770077Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A24%3A57.9770077Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A24%3A57.9770077Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A24%3A57.9770077Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A25%3A23.1959385Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A25%3A23.1959385Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a","name":"c9af4804-8882-4a51-b110-2c456419555a","status":"Patching","startTime":"2021-04-16T14:25:23.2018821Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a","name":"c9af4804-8882-4a51-b110-2c456419555a","status":"Patching","startTime":"2021-04-16T14:25:23.2018821Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9af4804-8882-4a51-b110-2c456419555a","name":"c9af4804-8882-4a51-b110-2c456419555a","status":"Succeeded","startTime":"2021-04-16T14:25:23.2018821Z","endTime":"2021-04-16T14:25:53.7913021Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c9af4804-8882-4a51-b110-2c456419555a","name":"c9af4804-8882-4a51-b110-2c456419555a","status":"Succeeded","startTime":"2021-04-16T14:25:23.2018821Z","endTime":"2021-04-16T14:25:53.7913021Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -933,10 +933,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A25%3A53.7876905Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A25%3A53.7876905Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -968,7 +968,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -984,13 +984,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1002,7 +1002,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802","name":"e6ca38b8-8116-4995-9c3a-427c829b5802","status":"Succeeded","startTime":"2021-04-16T14:26:25.2945518Z","endTime":"2021-04-16T14:26:33.8667937Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e6ca38b8-8116-4995-9c3a-427c829b5802","name":"e6ca38b8-8116-4995-9c3a-427c829b5802","status":"Succeeded","startTime":"2021-04-16T14:26:25.2945518Z","endTime":"2021-04-16T14:26:33.8667937Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T14:26:33Z","backupId":"05d7c827-dcf9-3c34-b7b5-11c3ac279dbe","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1382,10 +1382,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -1416,7 +1416,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -1432,13 +1432,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A28%3A03.1836992Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A28%3A03.1836992Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1452,7 +1452,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1480,10 +1480,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58","name":"5128fc42-8ddf-4201-b8c3-42d702f78f58","status":"Patching","startTime":"2021-04-16T14:28:03.1905179Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58","name":"5128fc42-8ddf-4201-b8c3-42d702f78f58","status":"Patching","startTime":"2021-04-16T14:28:03.1905179Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1524,10 +1524,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58","name":"5128fc42-8ddf-4201-b8c3-42d702f78f58","status":"Succeeded","startTime":"2021-04-16T14:28:03.1905179Z","endTime":"2021-04-16T14:28:39.3036823Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5128fc42-8ddf-4201-b8c3-42d702f78f58","name":"5128fc42-8ddf-4201-b8c3-42d702f78f58","status":"Succeeded","startTime":"2021-04-16T14:28:03.1905179Z","endTime":"2021-04-16T14:28:39.3036823Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1568,10 +1568,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A28%3A39.2993806Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T14%3A28%3A39.2993806Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"a15dc359-4cae-c4f3-3b22-d2c4d852932d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_7484f00e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -1614,7 +1614,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -1657,13 +1657,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1673,7 +1673,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1701,10 +1701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Deleting","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Deleting","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1745,10 +1745,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Deleting","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Deleting","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1789,10 +1789,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Succeeded","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"2021-04-16T14:30:22.2043674Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42bf65b5-1d91-4dab-8254-d818a1478451","name":"42bf65b5-1d91-4dab-8254-d818a1478451","status":"Succeeded","startTime":"2021-04-16T14:29:09.9677431Z","endTime":"2021-04-16T14:30:22.2043674Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1833,11 +1833,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1875,13 +1875,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1891,7 +1891,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1919,10 +1919,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6","name":"0bfef364-5251-4d12-a475-bdf2628dbbf6","status":"Succeeded","startTime":"2021-04-16T14:34:13.4686317Z","endTime":"2021-04-16T14:34:14.9791273Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0bfef364-5251-4d12-a475-bdf2628dbbf6","name":"0bfef364-5251-4d12-a475-bdf2628dbbf6","status":"Succeeded","startTime":"2021-04-16T14:34:13.4686317Z","endTime":"2021-04-16T14:34:14.9791273Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -1965,7 +1965,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2001,7 +2001,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2037,7 +2037,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2073,7 +2073,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -2107,11 +2107,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -2149,13 +2149,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2165,7 +2165,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2193,10 +2193,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb","name":"888bb71a-0756-4387-b6da-e5414109a0cb","status":"Succeeded","startTime":"2021-04-16T14:35:36.9810092Z","endTime":"2021-04-16T14:35:37.0415269Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/888bb71a-0756-4387-b6da-e5414109a0cb","name":"888bb71a-0756-4387-b6da-e5414109a0cb","status":"Succeeded","startTime":"2021-04-16T14:35:36.9810092Z","endTime":"2021-04-16T14:35:37.0415269Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -2237,11 +2237,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_status.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_status.yaml index 390cd9d211b9..01a94383a4dc 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_status.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_get_backup_status.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-17T09%3A03%3A28.2231291Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-17T09%3A03%3A28.2231291Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7","name":"86fa3a1f-c0f1-4408-bdae-22939c8107e7","status":"Succeeded","startTime":"2021-05-17T09:03:28.2246896Z","endTime":"2021-05-17T09:03:28.3046957Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86fa3a1f-c0f1-4408-bdae-22939c8107e7","name":"86fa3a1f-c0f1-4408-bdae-22939c8107e7","status":"Succeeded","startTime":"2021-05-17T09:03:28.2246896Z","endTime":"2021-05-17T09:03:28.3046957Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-17T09%3A03%3A28.3038522Z''\"","location":"southcentralusstage","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-17T09%3A03%3A28.3038522Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-17T09%3A04%3A01.7677447Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-17T09%3A04%3A01.7677447Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20","name":"a2065c08-3c8d-4ed8-8833-126117ca7e20","status":"Succeeded","startTime":"2021-05-17T09:04:01.7691276Z","endTime":"2021-05-17T09:04:01.8377415Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a2065c08-3c8d-4ed8-8833-126117ca7e20","name":"a2065c08-3c8d-4ed8-8833-126117ca7e20","status":"Succeeded","startTime":"2021-05-17T09:04:01.7691276Z","endTime":"2021-05-17T09:04:01.8377415Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-17T09%3A04%3A01.8350215Z''\"","location":"southcentralusstage","properties":{"poolId":"873bec70-a316-de1e-f035-7af6b1117416","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-17T09%3A04%3A01.8350215Z''\"","location":"southcentralus","properties":{"poolId":"873bec70-a316-de1e-f035-7af6b1117416","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A04%3A45.0141894Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A04%3A45.0141894Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Creating","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Succeeded","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"2021-05-17T09:07:50.2147767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b9e0fcb-1f34-4b19-9eca-f43af4bda835","name":"6b9e0fcb-1f34-4b19-9eca-f43af4bda835","status":"Succeeded","startTime":"2021-05-17T09:04:45.0181134Z","endTime":"2021-05-17T09:07:50.2147767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A07%3A50.2088642Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A07%3A50.2088642Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A07%3A50.2088642Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A07%3A50.2088642Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A08%3A29.6249264Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A08%3A29.6249264Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704","name":"800fc9c2-adc8-4870-acc5-af6528e6f704","status":"Succeeded","startTime":"2021-05-17T09:08:29.62936Z","endTime":"2021-05-17T09:08:39.3103222Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/800fc9c2-adc8-4870-acc5-af6528e6f704","name":"800fc9c2-adc8-4870-acc5-af6528e6f704","status":"Succeeded","startTime":"2021-05-17T09:08:29.62936Z","endTime":"2021-05-17T09:08:39.3103222Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A08%3A39.3083285Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-17T09%3A08%3A39.3083285Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"6129249f-04bf-5fb4-4be5-37ba3dd0525e","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_af5a1264","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -924,7 +924,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -940,13 +940,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -958,7 +958,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -986,10 +986,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb","name":"37394440-eb3a-441d-bcb1-b61ac6c0fdeb","status":"Succeeded","startTime":"2021-05-17T09:09:00.6810122Z","endTime":"2021-05-17T09:09:01.0567191Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37394440-eb3a-441d-bcb1-b61ac6c0fdeb","name":"37394440-eb3a-441d-bcb1-b61ac6c0fdeb","status":"Succeeded","startTime":"2021-05-17T09:09:00.6810122Z","endTime":"2021-05-17T09:09:01.0567191Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1382,10 +1382,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1426,10 +1426,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1470,10 +1470,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1514,10 +1514,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1558,10 +1558,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1602,10 +1602,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1646,10 +1646,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1690,10 +1690,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1734,10 +1734,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1778,10 +1778,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-05-17T09:09:01Z","backupId":"cbc11167-b8a7-e046-d442-b1320a612a49","size":323584,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1822,7 +1822,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backupStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backupStatus?api-version=2021-04-01 response: body: string: '{"error":{"code":"VolumeBackupStatusNotAvailable","message":"Backup diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_list_backup.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_list_backup.yaml index 53682ac2fcb2..2f4ae5ac31a1 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_list_backup.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_list_backup.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T13%3A01%3A09.567547Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T13%3A01%3A09.567547Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a","name":"1938231e-436e-430f-ab9b-6418fe7a779a","status":"Succeeded","startTime":"2021-04-16T13:01:09.5737278Z","endTime":"2021-04-16T13:01:09.6437567Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1938231e-436e-430f-ab9b-6418fe7a779a","name":"1938231e-436e-430f-ab9b-6418fe7a779a","status":"Succeeded","startTime":"2021-04-16T13:01:09.5737278Z","endTime":"2021-04-16T13:01:09.6437567Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T13%3A01%3A09.6404642Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T13%3A01%3A09.6404642Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T13%3A01%3A44.1262954Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T13%3A01%3A44.1262954Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e290787e-40c5-49bf-86ef-851355c47538?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e290787e-40c5-49bf-86ef-851355c47538?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e290787e-40c5-49bf-86ef-851355c47538?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e290787e-40c5-49bf-86ef-851355c47538?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e290787e-40c5-49bf-86ef-851355c47538","name":"e290787e-40c5-49bf-86ef-851355c47538","status":"Succeeded","startTime":"2021-04-16T13:01:44.1283369Z","endTime":"2021-04-16T13:01:46.067737Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e290787e-40c5-49bf-86ef-851355c47538","name":"e290787e-40c5-49bf-86ef-851355c47538","status":"Succeeded","startTime":"2021-04-16T13:01:44.1283369Z","endTime":"2021-04-16T13:01:46.067737Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T13%3A01%3A46.0623629Z''\"","location":"southcentralusstage","properties":{"poolId":"c119e543-2f6d-1505-7f0e-624bfd19470e","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T13%3A01%3A46.0623629Z''\"","location":"southcentralus","properties":{"poolId":"c119e543-2f6d-1505-7f0e-624bfd19470e","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A02%3A29.4277262Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A02%3A29.4277262Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Creating","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Succeeded","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"2021-04-16T13:05:51.0124171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","name":"64c2e3d6-68e1-4f25-bf8b-c5eb9dbe0d44","status":"Succeeded","startTime":"2021-04-16T13:02:29.4322433Z","endTime":"2021-04-16T13:05:51.0124171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A05%3A51.0072627Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A05%3A51.0072627Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A05%3A51.0072627Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A05%3A51.0072627Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A06%3A14.7111167Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A06%3A14.7111167Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f","name":"247112f2-21e9-4c0e-8043-aca15208ba5f","status":"Patching","startTime":"2021-04-16T13:06:14.7180134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f","name":"247112f2-21e9-4c0e-8043-aca15208ba5f","status":"Patching","startTime":"2021-04-16T13:06:14.7180134Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -889,10 +889,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f","name":"247112f2-21e9-4c0e-8043-aca15208ba5f","status":"Succeeded","startTime":"2021-04-16T13:06:14.7180134Z","endTime":"2021-04-16T13:06:47.7680696Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/247112f2-21e9-4c0e-8043-aca15208ba5f","name":"247112f2-21e9-4c0e-8043-aca15208ba5f","status":"Succeeded","startTime":"2021-04-16T13:06:14.7180134Z","endTime":"2021-04-16T13:06:47.7680696Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -933,10 +933,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A06%3A47.7616177Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A06%3A47.7616177Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -968,7 +968,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -984,13 +984,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -1002,7 +1002,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1030,10 +1030,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386","name":"85fc46d5-cb3d-4a48-94d1-40e42bcf1386","status":"Succeeded","startTime":"2021-04-16T13:07:16.2033829Z","endTime":"2021-04-16T13:07:24.6234649Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/85fc46d5-cb3d-4a48-94d1-40e42bcf1386","name":"85fc46d5-cb3d-4a48-94d1-40e42bcf1386","status":"Succeeded","startTime":"2021-04-16T13:07:16.2033829Z","endTime":"2021-04-16T13:07:24.6234649Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1"}}' headers: cache-control: - no-cache @@ -1074,10 +1074,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1118,10 +1118,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1162,10 +1162,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1206,10 +1206,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1250,10 +1250,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1294,10 +1294,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1338,10 +1338,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1382,10 +1382,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1426,10 +1426,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1470,10 +1470,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1514,10 +1514,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1558,10 +1558,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1602,10 +1602,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1646,10 +1646,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1690,10 +1690,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1734,10 +1734,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1778,10 +1778,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1822,10 +1822,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1866,10 +1866,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1910,10 +1910,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1954,10 +1954,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -1998,10 +1998,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2042,10 +2042,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2086,10 +2086,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2130,10 +2130,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2174,10 +2174,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -2208,7 +2208,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -2224,13 +2224,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A12%3A51.2210437Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A12%3A51.2210437Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2244,7 +2244,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2272,10 +2272,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd","name":"731e0a81-f0ba-4957-a8ed-05ab51e359fd","status":"Succeeded","startTime":"2021-04-16T13:12:51.2266838Z","endTime":"2021-04-16T13:13:18.1847433Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/731e0a81-f0ba-4957-a8ed-05ab51e359fd","name":"731e0a81-f0ba-4957-a8ed-05ab51e359fd","status":"Succeeded","startTime":"2021-04-16T13:12:51.2266838Z","endTime":"2021-04-16T13:13:18.1847433Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -2316,10 +2316,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A13%3A18.1792128Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A13%3A18.1792128Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -2351,7 +2351,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"useExistingSnapshot": + body: '{"location": "southcentralus", "properties": {"useExistingSnapshot": false}}' headers: Accept: @@ -2367,13 +2367,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"provisioningState":"Creating","useExistingSnapshot":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -2385,7 +2385,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -2413,10 +2413,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d","name":"58cf2dbe-f956-4d48-be16-68521b3c712d","status":"Succeeded","startTime":"2021-04-16T13:13:22.4396047Z","endTime":"2021-04-16T13:13:30.384658Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/58cf2dbe-f956-4d48-be16-68521b3c712d","name":"58cf2dbe-f956-4d48-be16-68521b3c712d","status":"Succeeded","startTime":"2021-04-16T13:13:22.4396047Z","endTime":"2021-04-16T13:13:30.384658Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2"}}' headers: cache-control: - no-cache @@ -2457,10 +2457,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2501,10 +2501,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2545,10 +2545,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2589,10 +2589,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2633,10 +2633,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2677,10 +2677,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2721,10 +2721,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2765,10 +2765,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2809,10 +2809,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2853,10 +2853,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2897,10 +2897,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2941,10 +2941,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -2985,10 +2985,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3029,10 +3029,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3073,10 +3073,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3117,10 +3117,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3161,10 +3161,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":0,"backupType":"Manual","provisioningState":"Creating","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3205,10 +3205,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}' headers: cache-control: - no-cache @@ -3249,10 +3249,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralusstage","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:07:24Z","backupId":"24a99b83-51cd-1873-62cf-dd0ae3a620e8","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-backup-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups","location":"southcentralus","properties":{"creationDate":"2021-04-16T13:13:30Z","backupId":"f5b542c6-3ad5-147d-0f13-a32da704eb47","size":331776,"backupType":"Manual","provisioningState":"Succeeded","failureReason":"None","volumeName":"sdk-py-tests-vol-1","useExistingSnapshot":false}}]}' headers: cache-control: - no-cache @@ -3293,10 +3293,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -3327,7 +3327,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -3343,13 +3343,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A17%3A30.899901Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A17%3A30.899901Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":true,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3363,7 +3363,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3391,10 +3391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6","name":"0829e36a-8180-47c1-9567-c482041f1aa6","status":"Patching","startTime":"2021-04-16T13:17:30.9023546Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6","name":"0829e36a-8180-47c1-9567-c482041f1aa6","status":"Patching","startTime":"2021-04-16T13:17:30.9023546Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3435,10 +3435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6","name":"0829e36a-8180-47c1-9567-c482041f1aa6","status":"Succeeded","startTime":"2021-04-16T13:17:30.9023546Z","endTime":"2021-04-16T13:18:07.358252Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0829e36a-8180-47c1-9567-c482041f1aa6","name":"0829e36a-8180-47c1-9567-c482041f1aa6","status":"Succeeded","startTime":"2021-04-16T13:17:30.9023546Z","endTime":"2021-04-16T13:18:07.358252Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3479,10 +3479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A18%3A07.3558172Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A18%3A07.3558172Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -3525,7 +3525,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -3566,10 +3566,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -3600,7 +3600,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": false}}}}' headers: Accept: @@ -3616,13 +3616,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A18%3A37.062941Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A18%3A37.062941Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Patching","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3636,7 +3636,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3664,10 +3664,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a","name":"eaf194a7-d8dc-4485-9800-e5dcabda825a","status":"Patching","startTime":"2021-04-16T13:18:37.0686883Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a","name":"eaf194a7-d8dc-4485-9800-e5dcabda825a","status":"Patching","startTime":"2021-04-16T13:18:37.0686883Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3708,10 +3708,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a","name":"eaf194a7-d8dc-4485-9800-e5dcabda825a","status":"Succeeded","startTime":"2021-04-16T13:18:37.0686883Z","endTime":"2021-04-16T13:19:14.0794105Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/eaf194a7-d8dc-4485-9800-e5dcabda825a","name":"eaf194a7-d8dc-4485-9800-e5dcabda825a","status":"Succeeded","startTime":"2021-04-16T13:18:37.0686883Z","endTime":"2021-04-16T13:19:14.0794105Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3752,10 +3752,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A19%3A14.0772606Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T13%3A19%3A14.0772606Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"4775832c-b5dd-5587-3276-9afe8f030aec","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"backup":{"backupEnabled":false,"policyEnforced":false,"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault"}},"provisioningState":"Succeeded","fileSystemId":"4775832c-b5dd-5587-3276-9afe8f030aec","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_35345ff4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -3798,7 +3798,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups/sdk-py-tests-backup-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"The requested Backup was not @@ -3839,7 +3839,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/backups?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -3885,13 +3885,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -3901,7 +3901,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -3929,10 +3929,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Deleting","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Deleting","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -3973,10 +3973,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Deleting","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Deleting","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -4017,10 +4017,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Succeeded","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"2021-04-16T13:21:11.8989943Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4cc4845-5eca-4ad9-8e0a-e11890524170","name":"f4cc4845-5eca-4ad9-8e0a-e11890524170","status":"Succeeded","startTime":"2021-04-16T13:19:46.4774625Z","endTime":"2021-04-16T13:21:11.8989943Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -4061,11 +4061,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -4103,13 +4103,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -4119,7 +4119,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -4147,10 +4147,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f","name":"aa4c6f5b-5481-4509-910d-8d4e2da98f9f","status":"Succeeded","startTime":"2021-04-16T13:24:50.3582407Z","endTime":"2021-04-16T13:24:52.0100326Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa4c6f5b-5481-4509-910d-8d4e2da98f9f","name":"aa4c6f5b-5481-4509-910d-8d4e2da98f9f","status":"Succeeded","startTime":"2021-04-16T13:24:50.3582407Z","endTime":"2021-04-16T13:24:52.0100326Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -4193,7 +4193,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4229,7 +4229,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4265,7 +4265,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4301,7 +4301,7 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -4335,11 +4335,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -4377,13 +4377,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -4393,7 +4393,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -4421,10 +4421,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee","name":"57e75f21-26ba-438a-ae18-dc94f260d7ee","status":"Succeeded","startTime":"2021-04-16T13:26:13.9668173Z","endTime":"2021-04-16T13:26:14.0067792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/57e75f21-26ba-438a-ae18-dc94f260d7ee","name":"57e75f21-26ba-438a-ae18-dc94f260d7ee","status":"Succeeded","startTime":"2021-04-16T13:26:13.9668173Z","endTime":"2021-04-16T13:26:14.0067792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -4465,11 +4465,11 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_update_backup.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_update_backup.yaml index e15f61d79725..a94f63187f8c 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_update_backup.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup.test_update_backup.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -15,13 +15,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-18T08%3A49%3A46.2800655Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-18T08%3A49%3A46.2800655Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -61,10 +61,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c","name":"61cfd19b-5c4e-4d91-9915-5ded951f5f8c","status":"Succeeded","startTime":"2021-05-18T08:49:46.2846198Z","endTime":"2021-05-18T08:49:46.3671119Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/61cfd19b-5c4e-4d91-9915-5ded951f5f8c","name":"61cfd19b-5c4e-4d91-9915-5ded951f5f8c","status":"Succeeded","startTime":"2021-05-18T08:49:46.2846198Z","endTime":"2021-05-18T08:49:46.3671119Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -105,10 +105,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-18T08%3A49%3A46.3616328Z''\"","location":"southcentralusstage","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-18T08%3A49%3A46.3616328Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": "Premium"}}' headers: Accept: @@ -156,13 +156,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-18T08%3A50%3A19.5261008Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-18T08%3A50%3A19.5261008Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -202,10 +202,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098","name":"c429d292-e8d7-4035-9d44-fd2bc1b70098","status":"Succeeded","startTime":"2021-05-18T08:50:19.5314151Z","endTime":"2021-05-18T08:50:19.6214452Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c429d292-e8d7-4035-9d44-fd2bc1b70098","name":"c429d292-e8d7-4035-9d44-fd2bc1b70098","status":"Succeeded","startTime":"2021-05-18T08:50:19.5314151Z","endTime":"2021-05-18T08:50:19.6214452Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -246,10 +246,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-18T08%3A50%3A19.6184375Z''\"","location":"southcentralusstage","properties":{"poolId":"eb9e08ae-462b-17c2-8e50-5c32b63aa0c9","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-18T08%3A50%3A19.6184375Z''\"","location":"southcentralus","properties":{"poolId":"eb9e08ae-462b-17c2-8e50-5c32b63aa0c9","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -281,9 +281,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": 0.0, "ldapEnabled": false}}' @@ -301,13 +301,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A51%3A03.1019823Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A51%3A03.1019823Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -347,10 +347,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -391,10 +391,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -435,10 +435,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -479,10 +479,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -523,10 +523,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -567,10 +567,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Creating","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -611,10 +611,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Succeeded","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"2021-05-18T08:54:08.4655861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f43873e2-4229-4d52-b54f-947a7f5c6440","name":"f43873e2-4229-4d52-b54f-947a7f5c6440","status":"Succeeded","startTime":"2021-05-18T08:51:03.1075387Z","endTime":"2021-05-18T08:54:08.4655861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -655,10 +655,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A08.4622285Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A08.4622285Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -701,10 +701,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A08.4622285Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A08.4622285Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache @@ -747,10 +747,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' headers: cache-control: - no-cache @@ -781,7 +781,7 @@ interactions: message: OK - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"backup": - {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", + {"vaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault", "backupEnabled": true}}}}' headers: Accept: @@ -797,13 +797,13 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A47.196849Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-18T08%3A54%3A47.196849Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"3118c7ce-742c-1f64-90f5-de425d15a5a7","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_cb24ada4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktestvnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -817,7 +817,7 @@ interactions: expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -845,10 +845,10 @@ interactions: User-Agent: - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30","name":"37dfe438-bc4b-4f3f-8464-73a58e239b30","status":"Failed","startTime":"2021-05-18T08:54:47.2023751Z","endTime":"2021-05-18T08:54:58.1017183Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"},"error":{"code":"Conflict","message":"Error + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/37dfe438-bc4b-4f3f-8464-73a58e239b30","name":"37dfe438-bc4b-4f3f-8464-73a58e239b30","status":"Failed","startTime":"2021-05-18T08:54:47.2023751Z","endTime":"2021-05-18T08:54:58.1017183Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"},"error":{"code":"Conflict","message":"Error updating VaultUpdate. Error updating vault - [PUT /v1/cbsapi/file-systems/{fileSystemID}/vault][409] updateVaultForVolumeConflict &{Code:409 Message:Cannot assign vault while resource cleanup is in progress, please try again later}","details":[{"code":"ErrorPerformingActionOnResource","message":"Error diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_create_delete_backup_policy.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_create_delete_backup_policy.yaml index 2fa6555011a6..deb45eb6354f 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_create_delete_backup_policy.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_create_delete_backup_policy.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-03-30T14%3A30%3A21.0762227Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A47%3A47.6804882Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5979e153-e394-4240-bd79-5d50b68564e5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a52c0a8a-2e7f-4ff6-90bb-d2243bdbc7db?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:30:22 GMT + - Mon, 07 Jun 2021 13:47:48 GMT etag: - - W/"datetime'2021-03-30T14%3A30%3A21.0762227Z'" + - W/"datetime'2021-06-07T13%3A47%3A47.6804882Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5979e153-e394-4240-bd79-5d50b68564e5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a52c0a8a-2e7f-4ff6-90bb-d2243bdbc7db?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5979e153-e394-4240-bd79-5d50b68564e5","name":"5979e153-e394-4240-bd79-5d50b68564e5","status":"Succeeded","startTime":"2021-03-30T14:30:21.0864064Z","endTime":"2021-03-30T14:30:21.228796Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a52c0a8a-2e7f-4ff6-90bb-d2243bdbc7db","name":"a52c0a8a-2e7f-4ff6-90bb-d2243bdbc7db","status":"Succeeded","startTime":"2021-06-07T13:47:47.6841505Z","endTime":"2021-06-07T13:47:47.7191864Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '528' + - '529' content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:30:52 GMT + - Mon, 07 Jun 2021 13:48:18 GMT expires: - '-1' pragma: @@ -82,10 +82,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -103,12 +99,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-03-30T14%3A30%3A21.2206953Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A47%3A47.7148636Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +113,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:30:52 GMT + - Mon, 07 Jun 2021 13:48:19 GMT etag: - - W/"datetime'2021-03-30T14%3A30%3A21.2206953Z'" + - W/"datetime'2021-06-07T13%3A47%3A47.7148636Z'" expires: - '-1' pragma: @@ -128,10 +124,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -140,7 +132,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 1, "weeklyBackupsToKeep": 0, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -154,15 +146,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A30%3A54.7351763Z''\"","location":"southcentralusstage","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A48%3A21.5082708Z''\"","location":"southcentralus","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5aced2f4-c071-4a79-a238-7e91af8b5f2a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa654ba7-1217-4910-b4fb-40335e3f12a6?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -170,9 +162,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:30:55 GMT + - Mon, 07 Jun 2021 13:48:22 GMT etag: - - W/"datetime'2021-03-30T14%3A30%3A54.7351763Z'" + - W/"datetime'2021-06-07T13%3A48%3A21.5082708Z'" expires: - '-1' pragma: @@ -200,12 +192,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5aced2f4-c071-4a79-a238-7e91af8b5f2a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa654ba7-1217-4910-b4fb-40335e3f12a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5aced2f4-c071-4a79-a238-7e91af8b5f2a","name":"5aced2f4-c071-4a79-a238-7e91af8b5f2a","status":"Succeeded","startTime":"2021-03-30T14:30:54.7492454Z","endTime":"2021-03-30T14:30:55.0951995Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/aa654ba7-1217-4910-b4fb-40335e3f12a6","name":"aa654ba7-1217-4910-b4fb-40335e3f12a6","status":"Succeeded","startTime":"2021-06-07T13:48:21.5124679Z","endTime":"2021-06-07T13:48:21.7094371Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -214,7 +206,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:31:25 GMT + - Mon, 07 Jun 2021 13:48:52 GMT expires: - '-1' pragma: @@ -223,10 +215,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -244,12 +232,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A30%3A55.0867972Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"7a96c391-9164-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A48%3A21.7068467Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"05d668b8-c797-11eb-bdac-e29f6d02d33e","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,9 +246,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:31:26 GMT + - Mon, 07 Jun 2021 13:48:53 GMT etag: - - W/"datetime'2021-03-30T14%3A30%3A55.0867972Z'" + - W/"datetime'2021-06-07T13%3A48%3A21.7068467Z'" expires: - '-1' pragma: @@ -269,10 +257,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -290,12 +274,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A30%3A55.0867972Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"7a96c391-9164-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A48%3A21.7068467Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"05d668b8-c797-11eb-bdac-e29f6d02d33e","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -304,7 +288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:31:28 GMT + - Mon, 07 Jun 2021 13:48:53 GMT expires: - '-1' pragma: @@ -313,10 +297,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -336,25 +316,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0fa860cc-3a8f-4763-b00f-b389beb4e8c6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d312c78b-637a-4fe7-a3e9-aa209a2c0e48?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 30 Mar 2021 14:31:28 GMT + - Mon, 07 Jun 2021 13:48:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0fa860cc-3a8f-4763-b00f-b389beb4e8c6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d312c78b-637a-4fe7-a3e9-aa209a2c0e48?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -380,12 +360,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0fa860cc-3a8f-4763-b00f-b389beb4e8c6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d312c78b-637a-4fe7-a3e9-aa209a2c0e48?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0fa860cc-3a8f-4763-b00f-b389beb4e8c6","name":"0fa860cc-3a8f-4763-b00f-b389beb4e8c6","status":"Succeeded","startTime":"2021-03-30T14:31:29.2327954Z","endTime":"2021-03-30T14:31:32.3877001Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d312c78b-637a-4fe7-a3e9-aa209a2c0e48","name":"d312c78b-637a-4fe7-a3e9-aa209a2c0e48","status":"Succeeded","startTime":"2021-06-07T13:48:54.9808733Z","endTime":"2021-06-07T13:48:55.8737463Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -394,7 +374,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:31:58 GMT + - Mon, 07 Jun 2021 13:49:24 GMT expires: - '-1' pragma: @@ -403,10 +383,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -424,13 +400,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -440,7 +416,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:32:01 GMT + - Mon, 07 Jun 2021 13:49:27 GMT expires: - '-1' pragma: @@ -464,9 +440,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -478,7 +454,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:32:01 GMT + - Mon, 07 Jun 2021 13:49:27 GMT expires: - '-1' pragma: @@ -487,10 +463,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -510,25 +482,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c8f73822-ddc3-4441-baa0-007642be8f6c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d74c6864-7c0d-4a30-9c44-2191647a0773?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 30 Mar 2021 14:32:01 GMT + - Mon, 07 Jun 2021 13:49:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c8f73822-ddc3-4441-baa0-007642be8f6c?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d74c6864-7c0d-4a30-9c44-2191647a0773?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -554,12 +526,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c8f73822-ddc3-4441-baa0-007642be8f6c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d74c6864-7c0d-4a30-9c44-2191647a0773?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c8f73822-ddc3-4441-baa0-007642be8f6c","name":"c8f73822-ddc3-4441-baa0-007642be8f6c","status":"Succeeded","startTime":"2021-03-30T14:32:02.4896584Z","endTime":"2021-03-30T14:32:02.5546589Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d74c6864-7c0d-4a30-9c44-2191647a0773","name":"d74c6864-7c0d-4a30-9c44-2191647a0773","status":"Succeeded","startTime":"2021-06-07T13:49:28.3097325Z","endTime":"2021-06-07T13:49:28.3497564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -568,7 +540,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:32:32 GMT + - Mon, 07 Jun 2021 13:49:58 GMT expires: - '-1' pragma: @@ -577,10 +549,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -598,13 +566,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -614,7 +582,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:32:34 GMT + - Mon, 07 Jun 2021 13:50:00 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_get_backup_policy_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_get_backup_policy_by_name.yaml index bc328ba3082b..abffa268b649 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_get_backup_policy_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_get_backup_policy_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-19T10%3A20%3A26.2633176Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A54%3A37.5059217Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ffc4c65-6b45-4f3c-a9ac-a1bfb7839c79?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42452f96-bde7-48dd-a11c-1c8c3f551a1c?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:20:27 GMT + - Mon, 07 Jun 2021 13:54:37 GMT etag: - - W/"datetime'2021-04-19T10%3A20%3A26.2633176Z'" + - W/"datetime'2021-06-07T13%3A54%3A37.5059217Z'" expires: - '-1' pragma: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ffc4c65-6b45-4f3c-a9ac-a1bfb7839c79?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42452f96-bde7-48dd-a11c-1c8c3f551a1c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ffc4c65-6b45-4f3c-a9ac-a1bfb7839c79","name":"4ffc4c65-6b45-4f3c-a9ac-a1bfb7839c79","status":"Succeeded","startTime":"2021-04-19T10:20:26.2708637Z","endTime":"2021-04-19T10:20:26.3358695Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/42452f96-bde7-48dd-a11c-1c8c3f551a1c","name":"42452f96-bde7-48dd-a11c-1c8c3f551a1c","status":"Succeeded","startTime":"2021-06-07T13:54:37.5093532Z","endTime":"2021-06-07T13:54:37.5790473Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:20:57 GMT + - Mon, 07 Jun 2021 13:55:08 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-19T10%3A20%3A26.333728Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A54%3A37.5750439Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '412' + - '413' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:20:57 GMT + - Mon, 07 Jun 2021 13:55:08 GMT etag: - - W/"datetime'2021-04-19T10%3A20%3A26.333728Z'" + - W/"datetime'2021-06-07T13%3A54%3A37.5750439Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 1, "weeklyBackupsToKeep": 0, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -154,15 +154,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-04-19T10%3A20%3A59.9052524Z''\"","location":"southcentralusstage","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A55%3A11.4436516Z''\"","location":"southcentralus","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/affb0d8b-8a41-4ee0-ad0c-27533c94309a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a69f04fc-237e-41c8-ae46-a11397e06518?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -170,9 +170,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:21:00 GMT + - Mon, 07 Jun 2021 13:55:11 GMT etag: - - W/"datetime'2021-04-19T10%3A20%3A59.9052524Z'" + - W/"datetime'2021-06-07T13%3A55%3A11.4436516Z'" expires: - '-1' pragma: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/affb0d8b-8a41-4ee0-ad0c-27533c94309a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a69f04fc-237e-41c8-ae46-a11397e06518?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/affb0d8b-8a41-4ee0-ad0c-27533c94309a","name":"affb0d8b-8a41-4ee0-ad0c-27533c94309a","status":"Succeeded","startTime":"2021-04-19T10:20:59.9137859Z","endTime":"2021-04-19T10:21:00.1466792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a69f04fc-237e-41c8-ae46-a11397e06518","name":"a69f04fc-237e-41c8-ae46-a11397e06518","status":"Succeeded","startTime":"2021-06-07T13:55:11.4421538Z","endTime":"2021-06-07T13:55:11.7552495Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:21:31 GMT + - Mon, 07 Jun 2021 13:55:42 GMT expires: - '-1' pragma: @@ -244,12 +244,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-04-19T10%3A21%3A00.1407507Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"e129e065-a0f8-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A55%3A11.7509772Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"eb924901-c797-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,9 +258,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:21:33 GMT + - Mon, 07 Jun 2021 13:55:43 GMT etag: - - W/"datetime'2021-04-19T10%3A21%3A00.1407507Z'" + - W/"datetime'2021-06-07T13%3A55%3A11.7509772Z'" expires: - '-1' pragma: @@ -290,12 +290,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-04-19T10%3A21%3A00.1407507Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"e129e065-a0f8-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A55%3A11.7509772Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"eb924901-c797-11eb-80a2-a2a38fe0251c","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -304,9 +304,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:21:34 GMT + - Mon, 07 Jun 2021 13:55:44 GMT etag: - - W/"datetime'2021-04-19T10%3A21%3A00.1407507Z'" + - W/"datetime'2021-06-07T13%3A55%3A11.7509772Z'" expires: - '-1' pragma: @@ -338,25 +338,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/827c96f4-673f-494c-8aae-3048b789a32d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88acf2d0-6336-41d9-b166-a858c2d7602c?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Mon, 19 Apr 2021 10:21:35 GMT + - Mon, 07 Jun 2021 13:55:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/827c96f4-673f-494c-8aae-3048b789a32d?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88acf2d0-6336-41d9-b166-a858c2d7602c?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -382,21 +382,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/827c96f4-673f-494c-8aae-3048b789a32d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88acf2d0-6336-41d9-b166-a858c2d7602c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/827c96f4-673f-494c-8aae-3048b789a32d","name":"827c96f4-673f-494c-8aae-3048b789a32d","status":"Succeeded","startTime":"2021-04-19T10:21:35.3806008Z","endTime":"2021-04-19T10:21:39.7672667Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88acf2d0-6336-41d9-b166-a858c2d7602c","name":"88acf2d0-6336-41d9-b166-a858c2d7602c","status":"Succeeded","startTime":"2021-06-07T13:55:45.091667Z","endTime":"2021-06-07T13:55:46.0317453Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '572' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:22:05 GMT + - Mon, 07 Jun 2021 13:56:15 GMT expires: - '-1' pragma: @@ -426,13 +426,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -442,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:22:07 GMT + - Mon, 07 Jun 2021 13:56:17 GMT expires: - '-1' pragma: @@ -468,25 +468,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a0e41923-386c-44d8-bc54-4159a0c2a88c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/476ee02d-2504-4b2a-843f-fb771bb1a076?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Mon, 19 Apr 2021 10:22:07 GMT + - Mon, 07 Jun 2021 13:56:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a0e41923-386c-44d8-bc54-4159a0c2a88c?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/476ee02d-2504-4b2a-843f-fb771bb1a076?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -512,21 +512,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a0e41923-386c-44d8-bc54-4159a0c2a88c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/476ee02d-2504-4b2a-843f-fb771bb1a076?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a0e41923-386c-44d8-bc54-4159a0c2a88c","name":"a0e41923-386c-44d8-bc54-4159a0c2a88c","status":"Succeeded","startTime":"2021-04-19T10:22:08.621812Z","endTime":"2021-04-19T10:22:08.6613889Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/476ee02d-2504-4b2a-843f-fb771bb1a076","name":"476ee02d-2504-4b2a-843f-fb771bb1a076","status":"Succeeded","startTime":"2021-06-07T13:56:18.2395503Z","endTime":"2021-06-07T13:56:18.2695341Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '528' + - '529' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:22:38 GMT + - Mon, 07 Jun 2021 13:56:48 GMT expires: - '-1' pragma: @@ -556,13 +556,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -572,7 +572,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 10:22:38 GMT + - Mon, 07 Jun 2021 13:56:48 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_list_backup_policies.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_list_backup_policies.yaml index c7eeb979a050..88e214723e42 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_list_backup_policies.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_list_backup_policies.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-03-30T14%3A33%3A37.3822137Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A50%3A17.9142672Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0a975953-24f0-4b18-9463-1e6e8623e94a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/23538b18-5839-40ac-beef-5573dae88c68?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:33:37 GMT + - Mon, 07 Jun 2021 13:50:18 GMT etag: - - W/"datetime'2021-03-30T14%3A33%3A37.3822137Z'" + - W/"datetime'2021-06-07T13%3A50%3A17.9142672Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' x-powered-by: - ASP.NET status: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0a975953-24f0-4b18-9463-1e6e8623e94a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/23538b18-5839-40ac-beef-5573dae88c68?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0a975953-24f0-4b18-9463-1e6e8623e94a","name":"0a975953-24f0-4b18-9463-1e6e8623e94a","status":"Succeeded","startTime":"2021-03-30T14:33:37.3919856Z","endTime":"2021-03-30T14:33:37.457015Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/23538b18-5839-40ac-beef-5573dae88c68","name":"23538b18-5839-40ac-beef-5573dae88c68","status":"Succeeded","startTime":"2021-06-07T13:50:17.922409Z","endTime":"2021-06-07T13:50:17.9524554Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:08 GMT + - Mon, 07 Jun 2021 13:50:48 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-03-30T14%3A33%3A37.4520919Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A50%3A17.9508607Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:09 GMT + - Mon, 07 Jun 2021 13:50:49 GMT etag: - - W/"datetime'2021-03-30T14%3A33%3A37.4520919Z'" + - W/"datetime'2021-06-07T13%3A50%3A17.9508607Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 1, "weeklyBackupsToKeep": 0, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -154,15 +154,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A11.0637338Z''\"","location":"southcentralusstage","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A50%3A51.8065422Z''\"","location":"southcentralus","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a6fd71a3-56bd-4233-8ee5-ca40663157f8?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2b817e02-53a6-4c1b-8862-5b71ea3ce20a?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -170,9 +170,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:12 GMT + - Mon, 07 Jun 2021 13:50:52 GMT etag: - - W/"datetime'2021-03-30T14%3A34%3A11.0637338Z'" + - W/"datetime'2021-06-07T13%3A50%3A51.8065422Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1195' x-powered-by: - ASP.NET status: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a6fd71a3-56bd-4233-8ee5-ca40663157f8?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2b817e02-53a6-4c1b-8862-5b71ea3ce20a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a6fd71a3-56bd-4233-8ee5-ca40663157f8","name":"a6fd71a3-56bd-4233-8ee5-ca40663157f8","status":"Succeeded","startTime":"2021-03-30T14:34:11.0736738Z","endTime":"2021-03-30T14:34:11.2108679Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2b817e02-53a6-4c1b-8862-5b71ea3ce20a","name":"2b817e02-53a6-4c1b-8862-5b71ea3ce20a","status":"Succeeded","startTime":"2021-06-07T13:50:51.8119981Z","endTime":"2021-06-07T13:50:51.9967224Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:42 GMT + - Mon, 07 Jun 2021 13:51:22 GMT expires: - '-1' pragma: @@ -244,12 +244,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A11.2021208Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"fe288688-9164-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A50%3A51.9928787Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"5f6a6d2a-c797-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -258,9 +258,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:43 GMT + - Mon, 07 Jun 2021 13:51:23 GMT etag: - - W/"datetime'2021-03-30T14%3A34%3A11.2021208Z'" + - W/"datetime'2021-06-07T13%3A50%3A51.9928787Z'" expires: - '-1' pragma: @@ -281,7 +281,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 1, "weeklyBackupsToKeep": 0, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -295,15 +295,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A45.4739241Z''\"","location":"southcentralusstage","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A51%3A25.2164731Z''\"","location":"southcentralus","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/92d10a49-7f5a-42ba-9393-09a2e10f53dc?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93655699-3d01-4665-b11e-ce49cd837194?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -311,9 +311,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:34:46 GMT + - Mon, 07 Jun 2021 13:51:25 GMT etag: - - W/"datetime'2021-03-30T14%3A34%3A45.4739241Z'" + - W/"datetime'2021-06-07T13%3A51%3A25.2164731Z'" expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' x-powered-by: - ASP.NET status: @@ -341,21 +341,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/92d10a49-7f5a-42ba-9393-09a2e10f53dc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93655699-3d01-4665-b11e-ce49cd837194?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/92d10a49-7f5a-42ba-9393-09a2e10f53dc","name":"92d10a49-7f5a-42ba-9393-09a2e10f53dc","status":"Succeeded","startTime":"2021-03-30T14:34:45.4840526Z","endTime":"2021-03-30T14:34:45.584032Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93655699-3d01-4665-b11e-ce49cd837194","name":"93655699-3d01-4665-b11e-ce49cd837194","status":"Succeeded","startTime":"2021-06-07T13:51:25.2224085Z","endTime":"2021-06-07T13:51:25.2874611Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2"}}' headers: cache-control: - no-cache content-length: - - '572' + - '573' content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:35:16 GMT + - Mon, 07 Jun 2021 13:51:56 GMT expires: - '-1' pragma: @@ -385,12 +385,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A45.5775891Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"12a6139f-9165-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A51%3A25.2813713Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"73436016-c797-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -399,9 +399,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:35:17 GMT + - Mon, 07 Jun 2021 13:51:57 GMT etag: - - W/"datetime'2021-03-30T14%3A34%3A45.5775891Z'" + - W/"datetime'2021-06-07T13%3A51%3A25.2813713Z'" expires: - '-1' pragma: @@ -431,12 +431,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A11.2021208Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"fe288688-9164-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-03-30T14%3A34%3A45.5775891Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"12a6139f-9165-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A50%3A51.9928787Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"5f6a6d2a-c797-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-2","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A51%3A25.2813713Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"73436016-c797-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -445,7 +445,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:35:18 GMT + - Mon, 07 Jun 2021 13:51:57 GMT expires: - '-1' pragma: @@ -477,25 +477,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b679b41-a4e1-4544-b413-a75845ea12e6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2af9a590-16ea-4b0e-a348-50dc90963fd6?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 30 Mar 2021 14:35:19 GMT + - Mon, 07 Jun 2021 13:51:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b679b41-a4e1-4544-b413-a75845ea12e6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2af9a590-16ea-4b0e-a348-50dc90963fd6?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -521,12 +521,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b679b41-a4e1-4544-b413-a75845ea12e6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2af9a590-16ea-4b0e-a348-50dc90963fd6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b679b41-a4e1-4544-b413-a75845ea12e6","name":"4b679b41-a4e1-4544-b413-a75845ea12e6","status":"Succeeded","startTime":"2021-03-30T14:35:19.8341598Z","endTime":"2021-03-30T14:35:22.7494991Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2af9a590-16ea-4b0e-a348-50dc90963fd6","name":"2af9a590-16ea-4b0e-a348-50dc90963fd6","status":"Succeeded","startTime":"2021-06-07T13:51:58.3884399Z","endTime":"2021-06-07T13:51:59.3288428Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -535,7 +535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:35:49 GMT + - Mon, 07 Jun 2021 13:52:28 GMT expires: - '-1' pragma: @@ -565,13 +565,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -581,7 +581,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:35:51 GMT + - Mon, 07 Jun 2021 13:52:30 GMT expires: - '-1' pragma: @@ -607,25 +607,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c844651d-ff43-483c-9e81-f9c562347bdf?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/727c8202-9959-4150-ac0c-b2a7411ca4a0?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 30 Mar 2021 14:35:52 GMT + - Mon, 07 Jun 2021 13:52:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c844651d-ff43-483c-9e81-f9c562347bdf?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/727c8202-9959-4150-ac0c-b2a7411ca4a0?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -651,21 +651,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c844651d-ff43-483c-9e81-f9c562347bdf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/727c8202-9959-4150-ac0c-b2a7411ca4a0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c844651d-ff43-483c-9e81-f9c562347bdf","name":"c844651d-ff43-483c-9e81-f9c562347bdf","status":"Succeeded","startTime":"2021-03-30T14:35:53.0281833Z","endTime":"2021-03-30T14:35:55.9016914Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/727c8202-9959-4150-ac0c-b2a7411ca4a0","name":"727c8202-9959-4150-ac0c-b2a7411ca4a0","status":"Succeeded","startTime":"2021-06-07T13:52:31.5251187Z","endTime":"2021-06-07T13:52:33.016506Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2"}}' headers: cache-control: - no-cache content-length: - - '573' + - '572' content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:36:22 GMT + - Mon, 07 Jun 2021 13:53:01 GMT expires: - '-1' pragma: @@ -695,13 +695,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-2'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-2'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -711,7 +711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:36:24 GMT + - Mon, 07 Jun 2021 13:53:04 GMT expires: - '-1' pragma: @@ -735,9 +735,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -749,7 +749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:36:24 GMT + - Mon, 07 Jun 2021 13:53:04 GMT expires: - '-1' pragma: @@ -781,25 +781,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9b25eda-158e-4f3e-96ca-241edb2bdaad?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/cad90745-8a70-47f0-9d9f-3c7759246806?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 30 Mar 2021 14:36:25 GMT + - Mon, 07 Jun 2021 13:53:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9b25eda-158e-4f3e-96ca-241edb2bdaad?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/cad90745-8a70-47f0-9d9f-3c7759246806?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -825,21 +825,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9b25eda-158e-4f3e-96ca-241edb2bdaad?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/cad90745-8a70-47f0-9d9f-3c7759246806?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c9b25eda-158e-4f3e-96ca-241edb2bdaad","name":"c9b25eda-158e-4f3e-96ca-241edb2bdaad","status":"Succeeded","startTime":"2021-03-30T14:36:26.26873Z","endTime":"2021-03-30T14:36:26.3187802Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/cad90745-8a70-47f0-9d9f-3c7759246806","name":"cad90745-8a70-47f0-9d9f-3c7759246806","status":"Succeeded","startTime":"2021-06-07T13:53:05.2550821Z","endTime":"2021-06-07T13:53:05.2900863Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '527' + - '529' content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:36:56 GMT + - Mon, 07 Jun 2021 13:53:35 GMT expires: - '-1' pragma: @@ -869,13 +869,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -885,7 +885,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 30 Mar 2021 14:36:56 GMT + - Mon, 07 Jun 2021 13:53:35 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_update_backup_policies.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_update_backup_policies.yaml index e8a1b063c70c..01ae733aa354 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_update_backup_policies.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_backup_policies.test_update_backup_policies.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,25 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-27T10%3A14%3A45.321752Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A57%3A18.5665939Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b926490-a1da-4950-88fc-dc6e22c08b0e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/04bf020e-0bf2-4317-9fde-419cb67c5b98?api-version=2021-04-01 cache-control: - no-cache content-length: - - '365' + - '366' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:14:46 GMT + - Mon, 07 Jun 2021 13:57:19 GMT etag: - - W/"datetime'2021-05-27T10%3A14%3A45.321752Z'" + - W/"datetime'2021-06-07T13%3A57%3A18.5665939Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b926490-a1da-4950-88fc-dc6e22c08b0e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/04bf020e-0bf2-4317-9fde-419cb67c5b98?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b926490-a1da-4950-88fc-dc6e22c08b0e","name":"2b926490-a1da-4950-88fc-dc6e22c08b0e","status":"Succeeded","startTime":"2021-05-27T10:14:45.3263392Z","endTime":"2021-05-27T10:14:45.3963403Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/04bf020e-0bf2-4317-9fde-419cb67c5b98","name":"04bf020e-0bf2-4317-9fde-419cb67c5b98","status":"Succeeded","startTime":"2021-06-07T13:57:18.5682122Z","endTime":"2021-06-07T13:57:18.6175764Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:16 GMT + - Mon, 07 Jun 2021 13:57:49 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc","name":"sdk-py-tests-bp-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-27T10%3A14%3A45.3901565Z''\"","location":"southcentralusstage","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-07T13%3A57%3A18.6122905Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:17 GMT + - Mon, 07 Jun 2021 13:57:49 GMT etag: - - W/"datetime'2021-05-27T10%3A14%3A45.3901565Z'" + - W/"datetime'2021-06-07T13%3A57%3A18.6122905Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 1, "weeklyBackupsToKeep": 0, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -154,15 +154,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-05-27T10%3A15%3A19.6821634Z''\"","location":"southcentralusstage","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A57%3A51.9611037Z''\"","location":"southcentralus","properties":{"enabled":true,"dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0f13927e-c465-45cd-bcb4-6254ea99c3aa?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e023c087-2695-440d-b7e2-63e94d570ba8?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -170,9 +170,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:20 GMT + - Mon, 07 Jun 2021 13:57:52 GMT etag: - - W/"datetime'2021-05-27T10%3A15%3A19.6821634Z'" + - W/"datetime'2021-06-07T13%3A57%3A51.9611037Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0f13927e-c465-45cd-bcb4-6254ea99c3aa?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e023c087-2695-440d-b7e2-63e94d570ba8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0f13927e-c465-45cd-bcb4-6254ea99c3aa","name":"0f13927e-c465-45cd-bcb4-6254ea99c3aa","status":"Succeeded","startTime":"2021-05-27T10:15:19.6907407Z","endTime":"2021-05-27T10:15:19.8630799Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e023c087-2695-440d-b7e2-63e94d570ba8","name":"e023c087-2695-440d-b7e2-63e94d570ba8","status":"Succeeded","startTime":"2021-06-07T13:57:51.9666968Z","endTime":"2021-06-07T13:57:52.0954439Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:50 GMT + - Mon, 07 Jun 2021 13:58:22 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-05-27T10%3A15%3A19.8568947Z''\"","location":"southcentralusstage","properties":{"enabled":true,"backupPolicyId":"70b8a322-bed4-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A57%3A52.089911Z''\"","location":"southcentralus","properties":{"enabled":true,"backupPolicyId":"59d03157-c798-11eb-bdac-e29f6d02d33e","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '621' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:50 GMT + - Mon, 07 Jun 2021 13:58:23 GMT etag: - - W/"datetime'2021-05-27T10%3A15%3A19.8568947Z'" + - W/"datetime'2021-06-07T13%3A57%3A52.089911Z'" expires: - '-1' pragma: @@ -281,7 +281,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"dailyBackupsToKeep": + body: '{"location": "southcentralus", "properties": {"dailyBackupsToKeep": 0, "weeklyBackupsToKeep": 1, "monthlyBackupsToKeep": 0, "enabled": true}}' headers: Accept: @@ -295,29 +295,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-05-27T10%3A15%3A51.757798Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Patching","enabled":true,"backupPolicyId":"70b8a322-bed4-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A58%3A24.1645394Z''\"","location":"southcentralus","properties":{"provisioningState":"Patching","enabled":true,"backupPolicyId":"59d03157-c798-11eb-bdac-e29f6d02d33e","dailyBackupsToKeep":1,"weeklyBackupsToKeep":0,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7919f0f8-ac11-417a-92a3-9d43140706ad?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c3303f9-9356-4127-9eed-7aafe961de11?api-version=2021-04-01 cache-control: - no-cache content-length: - - '620' + - '621' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:15:52 GMT + - Mon, 07 Jun 2021 13:58:24 GMT etag: - - W/"datetime'2021-05-27T10%3A15%3A51.757798Z'" + - W/"datetime'2021-06-07T13%3A58%3A24.1645394Z'" expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7919f0f8-ac11-417a-92a3-9d43140706ad?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c3303f9-9356-4127-9eed-7aafe961de11?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -327,7 +327,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-powered-by: - ASP.NET status: @@ -343,21 +343,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7919f0f8-ac11-417a-92a3-9d43140706ad?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c3303f9-9356-4127-9eed-7aafe961de11?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7919f0f8-ac11-417a-92a3-9d43140706ad","name":"7919f0f8-ac11-417a-92a3-9d43140706ad","status":"Succeeded","startTime":"2021-05-27T10:15:51.7621187Z","endTime":"2021-05-27T10:15:52.7431871Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c3303f9-9356-4127-9eed-7aafe961de11","name":"9c3303f9-9356-4127-9eed-7aafe961de11","status":"Succeeded","startTime":"2021-06-07T13:58:24.1653995Z","endTime":"2021-06-07T13:58:24.926856Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '572' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:16:22 GMT + - Mon, 07 Jun 2021 13:58:54 GMT expires: - '-1' pragma: @@ -387,12 +387,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-bp-acc/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-05-27T10%3A15%3A52.7354997Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","enabled":true,"backupPolicyId":"70b8a322-bed4-11eb-afa1-8e7939edd0e7","dailyBackupsToKeep":0,"weeklyBackupsToKeep":1,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-backup-policy-1","type":"Microsoft.NetApp/netAppAccounts/backupPolicies","etag":"W/\"datetime''2021-06-07T13%3A58%3A24.9240753Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","enabled":true,"backupPolicyId":"59d03157-c798-11eb-bdac-e29f6d02d33e","dailyBackupsToKeep":0,"weeklyBackupsToKeep":1,"monthlyBackupsToKeep":0,"yearlyBackupsToKeep":0}}' headers: cache-control: - no-cache @@ -401,9 +401,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:16:22 GMT + - Mon, 07 Jun 2021 13:58:55 GMT etag: - - W/"datetime'2021-05-27T10%3A15%3A52.7354997Z'" + - W/"datetime'2021-06-07T13%3A58%3A24.9240753Z'" expires: - '-1' pragma: @@ -435,25 +435,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4e6fdcf3-54f6-4bca-9d26-34e2925bb7fd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3de877f9-9811-4d63-ba70-4c208e4d772e?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 10:16:24 GMT + - Mon, 07 Jun 2021 13:58:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4e6fdcf3-54f6-4bca-9d26-34e2925bb7fd?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3de877f9-9811-4d63-ba70-4c208e4d772e?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -479,12 +479,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4e6fdcf3-54f6-4bca-9d26-34e2925bb7fd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3de877f9-9811-4d63-ba70-4c208e4d772e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4e6fdcf3-54f6-4bca-9d26-34e2925bb7fd","name":"4e6fdcf3-54f6-4bca-9d26-34e2925bb7fd","status":"Succeeded","startTime":"2021-05-27T10:16:24.7507592Z","endTime":"2021-05-27T10:16:25.9278342Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3de877f9-9811-4d63-ba70-4c208e4d772e","name":"3de877f9-9811-4d63-ba70-4c208e4d772e","status":"Succeeded","startTime":"2021-06-07T13:58:56.9884299Z","endTime":"2021-06-07T13:58:57.8385056Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1"}}' headers: cache-control: - no-cache @@ -493,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:16:54 GMT + - Mon, 07 Jun 2021 13:59:26 GMT expires: - '-1' pragma: @@ -523,13 +523,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc/backupPolicies/sdk-py-tests-backup-policy-1'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/backupPolicies/sdk-py-tests-backup-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -539,7 +539,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:16:56 GMT + - Mon, 07 Jun 2021 13:59:28 GMT expires: - '-1' pragma: @@ -565,25 +565,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9477b31d-0855-4aba-a9d2-fac935e35f49?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d3b4b2c-6667-4e25-9075-86505cc45393?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 10:16:57 GMT + - Mon, 07 Jun 2021 13:59:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9477b31d-0855-4aba-a9d2-fac935e35f49?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d3b4b2c-6667-4e25-9075-86505cc45393?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -609,12 +609,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9477b31d-0855-4aba-a9d2-fac935e35f49?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d3b4b2c-6667-4e25-9075-86505cc45393?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9477b31d-0855-4aba-a9d2-fac935e35f49","name":"9477b31d-0855-4aba-a9d2-fac935e35f49","status":"Succeeded","startTime":"2021-05-27T10:16:57.7869339Z","endTime":"2021-05-27T10:16:57.8219523Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8d3b4b2c-6667-4e25-9075-86505cc45393","name":"8d3b4b2c-6667-4e25-9075-86505cc45393","status":"Succeeded","startTime":"2021-06-07T13:59:30.1036279Z","endTime":"2021-06-07T13:59:30.1336961Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -623,7 +623,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:17:27 GMT + - Mon, 07 Jun 2021 13:59:59 GMT expires: - '-1' pragma: @@ -653,13 +653,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/bp_rg_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-bp-acc'' - under resource group ''bp_rg_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -669,7 +669,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:17:27 GMT + - Mon, 07 Jun 2021 13:59:59 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml index ffda5ef97fa6..1886d039a3d7 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A03%3A54.1484449Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A43%3A55.3523313Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96cb2e0-ead4-4834-913e-754426ac73ef?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a84a1c86-b0ad-4435-a992-eb558063ece9?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:03:54 GMT + - Wed, 09 Jun 2021 10:43:56 GMT etag: - - W/"datetime'2021-04-08T11%3A03%3A54.1484449Z'" + - W/"datetime'2021-06-09T10%3A43%3A55.3523313Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96cb2e0-ead4-4834-913e-754426ac73ef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a84a1c86-b0ad-4435-a992-eb558063ece9?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e96cb2e0-ead4-4834-913e-754426ac73ef","name":"e96cb2e0-ead4-4834-913e-754426ac73ef","status":"Succeeded","startTime":"2021-04-08T11:03:54.1633529Z","endTime":"2021-04-08T11:03:54.2658544Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a84a1c86-b0ad-4435-a992-eb558063ece9","name":"a84a1c86-b0ad-4435-a992-eb558063ece9","status":"Succeeded","startTime":"2021-06-09T10:43:55.354701Z","endTime":"2021-06-09T10:43:55.4097013Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:04:24 GMT + - Wed, 09 Jun 2021 10:44:25 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A03%3A54.2607784Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A43%3A55.39911Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:04:25 GMT + - Wed, 09 Jun 2021 10:44:25 GMT etag: - - W/"datetime'2021-04-08T11%3A03%3A54.2607784Z'" + - W/"datetime'2021-06-09T10%3A43%3A55.39911Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A04%3A28.7125897Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A44%3A30.2015538Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ffff177a-08fa-436c-8e98-cf78ba810de8?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c57009f0-b75c-4207-968d-8a35e44aa4cc?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:04:29 GMT + - Wed, 09 Jun 2021 10:44:30 GMT etag: - - W/"datetime'2021-04-08T11%3A04%3A28.7125897Z'" + - W/"datetime'2021-06-09T10%3A44%3A30.2015538Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ffff177a-08fa-436c-8e98-cf78ba810de8?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c57009f0-b75c-4207-968d-8a35e44aa4cc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/ffff177a-08fa-436c-8e98-cf78ba810de8","name":"ffff177a-08fa-436c-8e98-cf78ba810de8","status":"Succeeded","startTime":"2021-04-08T11:04:28.7243261Z","endTime":"2021-04-08T11:04:29.4047424Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c57009f0-b75c-4207-968d-8a35e44aa4cc","name":"c57009f0-b75c-4207-968d-8a35e44aa4cc","status":"Succeeded","startTime":"2021-06-09T10:44:30.2061228Z","endTime":"2021-06-09T10:44:30.5661223Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:05:00 GMT + - Wed, 09 Jun 2021 10:45:01 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A04%3A29.3970053Z''\"","location":"southcentralusstage","properties":{"poolId":"9dfe8ac9-6a24-784a-1034-1491236c2762","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A44%3A30.5468638Z''\"","location":"southcentralus","properties":{"poolId":"222a4bfb-f5b4-bec2-26f2-5279bc35067d","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:05:00 GMT + - Wed, 09 Jun 2021 10:45:01 GMT etag: - - W/"datetime'2021-04-08T11%3A04%3A29.3970053Z'" + - W/"datetime'2021-06-09T10%3A44%3A30.5468638Z'" expires: - '-1' pragma: @@ -290,21 +290,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A04%3A29.3970053Z''\"","location":"southcentralusstage","properties":{"poolId":"9dfe8ac9-6a24-784a-1034-1491236c2762","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A44%3A30.5468638Z''\"","location":"southcentralus","properties":{"poolId":"222a4bfb-f5b4-bec2-26f2-5279bc35067d","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '634' + - '655' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:05:00 GMT + - Wed, 09 Jun 2021 10:45:01 GMT expires: - '-1' pragma: @@ -336,25 +336,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7d8e65f3-debc-4d5b-b909-a1c02ed6f224?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/11ca88fe-4ad2-4662-ad5b-485027c8396d?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:05:11 GMT + - Wed, 09 Jun 2021 10:45:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7d8e65f3-debc-4d5b-b909-a1c02ed6f224?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/11ca88fe-4ad2-4662-ad5b-485027c8396d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -380,21 +380,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7d8e65f3-debc-4d5b-b909-a1c02ed6f224?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/11ca88fe-4ad2-4662-ad5b-485027c8396d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7d8e65f3-debc-4d5b-b909-a1c02ed6f224","name":"7d8e65f3-debc-4d5b-b909-a1c02ed6f224","status":"Succeeded","startTime":"2021-04-08T11:05:11.3620939Z","endTime":"2021-04-08T11:05:13.6080084Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/11ca88fe-4ad2-4662-ad5b-485027c8396d","name":"11ca88fe-4ad2-4662-ad5b-485027c8396d","status":"Succeeded","startTime":"2021-06-09T10:45:12.7252245Z","endTime":"2021-06-09T10:45:13.1752145Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:05:41 GMT + - Wed, 09 Jun 2021 10:45:42 GMT expires: - '-1' pragma: @@ -426,9 +426,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -436,7 +436,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:05:51 GMT + - Wed, 09 Jun 2021 10:45:53 GMT expires: - '-1' pragma: @@ -462,9 +462,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -472,7 +472,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:06:01 GMT + - Wed, 09 Jun 2021 10:46:04 GMT expires: - '-1' pragma: @@ -498,9 +498,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -508,7 +508,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:06:12 GMT + - Wed, 09 Jun 2021 10:46:14 GMT expires: - '-1' pragma: @@ -534,9 +534,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -544,7 +544,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:06:22 GMT + - Wed, 09 Jun 2021 10:46:24 GMT expires: - '-1' pragma: @@ -568,23 +568,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:06:32 GMT + - Wed, 09 Jun 2021 10:46:34 GMT expires: - '-1' pragma: @@ -608,9 +608,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -622,7 +622,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:06:33 GMT + - Wed, 09 Jun 2021 10:46:35 GMT expires: - '-1' pragma: @@ -654,25 +654,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/efbbb57d-ad73-4b70-8cd1-f27290239794?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/12383e3e-b513-44ca-b9d7-6a5549c86354?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:06:34 GMT + - Wed, 09 Jun 2021 10:46:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/efbbb57d-ad73-4b70-8cd1-f27290239794?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/12383e3e-b513-44ca-b9d7-6a5549c86354?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -698,21 +698,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/efbbb57d-ad73-4b70-8cd1-f27290239794?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/12383e3e-b513-44ca-b9d7-6a5549c86354?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/efbbb57d-ad73-4b70-8cd1-f27290239794","name":"efbbb57d-ad73-4b70-8cd1-f27290239794","status":"Succeeded","startTime":"2021-04-08T11:06:34.7046163Z","endTime":"2021-04-08T11:06:34.9118266Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/12383e3e-b513-44ca-b9d7-6a5549c86354","name":"12383e3e-b513-44ca-b9d7-6a5549c86354","status":"Succeeded","startTime":"2021-06-09T10:46:36.9362682Z","endTime":"2021-06-09T10:46:36.9963044Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:07:04 GMT + - Wed, 09 Jun 2021 10:47:06 GMT expires: - '-1' pragma: @@ -742,23 +742,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:07:06 GMT + - Wed, 09 Jun 2021 10:47:09 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml index d9544dff5bca..3ef158652437 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A15%3A36.4818989Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T14%3A06%3A03.8548323Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf6e1df6-cf1d-4f54-8ce5-0984f9ff7198?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/03674d78-16a0-4ff9-a66c-bee3f8328978?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:15:37 GMT + - Wed, 09 Jun 2021 14:06:04 GMT etag: - - W/"datetime'2021-04-08T11%3A15%3A36.4818989Z'" + - W/"datetime'2021-06-09T14%3A06%3A03.8548323Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf6e1df6-cf1d-4f54-8ce5-0984f9ff7198?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/03674d78-16a0-4ff9-a66c-bee3f8328978?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/bf6e1df6-cf1d-4f54-8ce5-0984f9ff7198","name":"bf6e1df6-cf1d-4f54-8ce5-0984f9ff7198","status":"Succeeded","startTime":"2021-04-08T11:15:36.4908492Z","endTime":"2021-04-08T11:15:36.641991Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/03674d78-16a0-4ff9-a66c-bee3f8328978","name":"03674d78-16a0-4ff9-a66c-bee3f8328978","status":"Succeeded","startTime":"2021-06-09T14:06:03.8591605Z","endTime":"2021-06-09T14:06:03.9141509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:06 GMT + - Wed, 09 Jun 2021 14:06:35 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A15%3A36.6358802Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T14%3A06%3A03.9090816Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:07 GMT + - Wed, 09 Jun 2021 14:06:35 GMT etag: - - W/"datetime'2021-04-08T11%3A15%3A36.6358802Z'" + - W/"datetime'2021-06-09T14%3A06%3A03.9090816Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A16%3A10.6561767Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T14%3A06%3A37.6889175Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f81c9a0-ad27-49cd-b760-3aafbd8c516c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4fed2a0-48c4-4471-ac21-118ce4c5beb4?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:10 GMT + - Wed, 09 Jun 2021 14:06:38 GMT etag: - - W/"datetime'2021-04-08T11%3A16%3A10.6561767Z'" + - W/"datetime'2021-06-09T14%3A06%3A37.6889175Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f81c9a0-ad27-49cd-b760-3aafbd8c516c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4fed2a0-48c4-4471-ac21-118ce4c5beb4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7f81c9a0-ad27-49cd-b760-3aafbd8c516c","name":"7f81c9a0-ad27-49cd-b760-3aafbd8c516c","status":"Succeeded","startTime":"2021-04-08T11:16:10.6685832Z","endTime":"2021-04-08T11:16:11.1566954Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f4fed2a0-48c4-4471-ac21-118ce4c5beb4","name":"f4fed2a0-48c4-4471-ac21-118ce4c5beb4","status":"Succeeded","startTime":"2021-06-09T14:06:37.6962756Z","endTime":"2021-06-09T14:06:37.831287Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '554' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:41 GMT + - Wed, 09 Jun 2021 14:07:07 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A16%3A11.149817Z''\"","location":"westcentralus","properties":{"poolId":"735704ec-63c5-b109-2ddb-c3bc14ba70e1","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T14%3A06%3A37.8299693Z''\"","location":"southcentralus","properties":{"poolId":"bb0a2c9b-ed25-83af-6815-b87b7499e1d1","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '621' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:41 GMT + - Wed, 09 Jun 2021 14:07:08 GMT etag: - - W/"datetime'2021-04-08T11%3A16%3A11.149817Z'" + - W/"datetime'2021-06-09T14%3A06%3A37.8299693Z'" expires: - '-1' pragma: @@ -290,23 +290,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A16%3A11.149817Z''\"","location":"westcentralus","properties":{"poolId":"735704ec-63c5-b109-2ddb-c3bc14ba70e1","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T14%3A06%3A37.8299693Z''\"","location":"southcentralus","properties":{"poolId":"bb0a2c9b-ed25-83af-6815-b87b7499e1d1","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '621' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:16:42 GMT + - Wed, 09 Jun 2021 14:07:08 GMT etag: - - W/"datetime'2021-04-08T11%3A16%3A11.149817Z'" + - W/"datetime'2021-06-09T14%3A06%3A37.8299693Z'" expires: - '-1' pragma: @@ -338,25 +338,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ac90ec0f-b53b-4190-881a-615e42be1ba6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe7dc70b-594c-4991-b8ec-d049afbe8f60?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:16:52 GMT + - Wed, 09 Jun 2021 14:07:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ac90ec0f-b53b-4190-881a-615e42be1ba6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe7dc70b-594c-4991-b8ec-d049afbe8f60?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -382,21 +382,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ac90ec0f-b53b-4190-881a-615e42be1ba6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe7dc70b-594c-4991-b8ec-d049afbe8f60?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/ac90ec0f-b53b-4190-881a-615e42be1ba6","name":"ac90ec0f-b53b-4190-881a-615e42be1ba6","status":"Succeeded","startTime":"2021-04-08T11:16:53.0288299Z","endTime":"2021-04-08T11:16:55.4393847Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe7dc70b-594c-4991-b8ec-d049afbe8f60","name":"fe7dc70b-594c-4991-b8ec-d049afbe8f60","status":"Succeeded","startTime":"2021-06-09T14:07:19.9724107Z","endTime":"2021-06-09T14:07:20.212394Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '554' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:17:23 GMT + - Wed, 09 Jun 2021 14:07:49 GMT expires: - '-1' pragma: @@ -428,9 +428,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -438,7 +438,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:17:33 GMT + - Wed, 09 Jun 2021 14:08:00 GMT expires: - '-1' pragma: @@ -464,9 +464,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -474,7 +474,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:17:44 GMT + - Wed, 09 Jun 2021 14:08:11 GMT expires: - '-1' pragma: @@ -500,9 +500,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -510,7 +510,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:17:54 GMT + - Wed, 09 Jun 2021 14:08:21 GMT expires: - '-1' pragma: @@ -536,9 +536,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -546,7 +546,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:18:04 GMT + - Wed, 09 Jun 2021 14:08:31 GMT expires: - '-1' pragma: @@ -570,23 +570,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:18:14 GMT + - Wed, 09 Jun 2021 14:08:42 GMT expires: - '-1' pragma: @@ -612,25 +612,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b6af8065-a347-4623-ba95-89086f1e7ec0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90126e92-bf5b-460c-afc1-cc3f3c88cbdc?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:18:15 GMT + - Wed, 09 Jun 2021 14:08:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b6af8065-a347-4623-ba95-89086f1e7ec0?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90126e92-bf5b-460c-afc1-cc3f3c88cbdc?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -656,21 +656,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b6af8065-a347-4623-ba95-89086f1e7ec0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90126e92-bf5b-460c-afc1-cc3f3c88cbdc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b6af8065-a347-4623-ba95-89086f1e7ec0","name":"b6af8065-a347-4623-ba95-89086f1e7ec0","status":"Succeeded","startTime":"2021-04-08T11:18:16.2840904Z","endTime":"2021-04-08T11:18:16.3928928Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/90126e92-bf5b-460c-afc1-cc3f3c88cbdc","name":"90126e92-bf5b-460c-afc1-cc3f3c88cbdc","status":"Succeeded","startTime":"2021-06-09T14:08:43.4795913Z","endTime":"2021-06-09T14:08:43.549604Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:18:46 GMT + - Wed, 09 Jun 2021 14:09:13 GMT expires: - '-1' pragma: @@ -700,23 +700,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:18:48 GMT + - Wed, 09 Jun 2021 14:09:15 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml index a6c22c81c36a..98cc3cfac4b3 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A08%3A20.2943662Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A51%3A42.2481656Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d6f38dc9-bc02-447d-9c10-e04f74ed4fb7?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/13ee7091-6ff4-4b7a-a424-4a77fc123a67?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:08:20 GMT + - Wed, 09 Jun 2021 10:51:42 GMT etag: - - W/"datetime'2021-04-08T11%3A08%3A20.2943662Z'" + - W/"datetime'2021-06-09T10%3A51%3A42.2481656Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d6f38dc9-bc02-447d-9c10-e04f74ed4fb7?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/13ee7091-6ff4-4b7a-a424-4a77fc123a67?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/d6f38dc9-bc02-447d-9c10-e04f74ed4fb7","name":"d6f38dc9-bc02-447d-9c10-e04f74ed4fb7","status":"Succeeded","startTime":"2021-04-08T11:08:20.3037928Z","endTime":"2021-04-08T11:08:20.4237979Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/13ee7091-6ff4-4b7a-a424-4a77fc123a67","name":"13ee7091-6ff4-4b7a-a424-4a77fc123a67","status":"Succeeded","startTime":"2021-06-09T10:51:42.2546746Z","endTime":"2021-06-09T10:51:42.3796783Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:08:51 GMT + - Wed, 09 Jun 2021 10:52:13 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A08%3A20.417719Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A51%3A42.3723215Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '401' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:08:51 GMT + - Wed, 09 Jun 2021 10:52:13 GMT etag: - - W/"datetime'2021-04-08T11%3A08%3A20.417719Z'" + - W/"datetime'2021-06-09T10%3A51%3A42.3723215Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A08%3A54.8294929Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A16.0926539Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3bb03a4e-8393-4d94-bf41-f778bef36115?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/82eed82c-e6bf-4238-8b03-7db7ba4d8e70?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:08:55 GMT + - Wed, 09 Jun 2021 10:52:17 GMT etag: - - W/"datetime'2021-04-08T11%3A08%3A54.8294929Z'" + - W/"datetime'2021-06-09T10%3A52%3A16.0926539Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-powered-by: - ASP.NET status: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3bb03a4e-8393-4d94-bf41-f778bef36115?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/82eed82c-e6bf-4238-8b03-7db7ba4d8e70?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3bb03a4e-8393-4d94-bf41-f778bef36115","name":"3bb03a4e-8393-4d94-bf41-f778bef36115","status":"Succeeded","startTime":"2021-04-08T11:08:54.8411307Z","endTime":"2021-04-08T11:08:55.2543767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/82eed82c-e6bf-4238-8b03-7db7ba4d8e70","name":"82eed82c-e6bf-4238-8b03-7db7ba4d8e70","status":"Succeeded","startTime":"2021-06-09T10:52:16.0957815Z","endTime":"2021-06-09T10:52:16.4457641Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:09:25 GMT + - Wed, 09 Jun 2021 10:52:46 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A08%3A55.2468811Z''\"","location":"westcentralus","properties":{"poolId":"e553ba81-5754-55e0-2d3a-5445ca7ab67f","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A16.4441427Z''\"","location":"southcentralus","properties":{"poolId":"5da25cf4-efda-4e87-8e1b-7f3915a0ba2b","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:09:26 GMT + - Wed, 09 Jun 2021 10:52:47 GMT etag: - - W/"datetime'2021-04-08T11%3A08%3A55.2468811Z'" + - W/"datetime'2021-06-09T10%3A52%3A16.4441427Z'" expires: - '-1' pragma: @@ -281,8 +281,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -291,29 +291,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A09%3A28.2489366Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A50.1603101Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1a36cfaf-15b7-493a-b660-f42ef5fcd1ae?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/410bd300-a0bc-4831-b023-cb59993f2640?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:09:29 GMT + - Wed, 09 Jun 2021 10:52:50 GMT etag: - - W/"datetime'2021-04-08T11%3A09%3A28.2489366Z'" + - W/"datetime'2021-06-09T10%3A52%3A50.1603101Z'" expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' x-powered-by: - ASP.NET status: @@ -341,21 +341,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1a36cfaf-15b7-493a-b660-f42ef5fcd1ae?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/410bd300-a0bc-4831-b023-cb59993f2640?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/1a36cfaf-15b7-493a-b660-f42ef5fcd1ae","name":"1a36cfaf-15b7-493a-b660-f42ef5fcd1ae","status":"Succeeded","startTime":"2021-04-08T11:09:28.2628059Z","endTime":"2021-04-08T11:09:28.6243457Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/410bd300-a0bc-4831-b023-cb59993f2640","name":"410bd300-a0bc-4831-b023-cb59993f2640","status":"Succeeded","startTime":"2021-06-09T10:52:50.1657483Z","endTime":"2021-06-09T10:52:50.2507482Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:09:59 GMT + - Wed, 09 Jun 2021 10:53:21 GMT expires: - '-1' pragma: @@ -385,23 +385,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A09%3A28.6139884Z''\"","location":"westcentralus","properties":{"poolId":"a8b5dd16-db5b-c985-5615-48e25ddbba8a","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A50.2437735Z''\"","location":"southcentralus","properties":{"poolId":"6c68984a-bbc2-d012-cf78-aff8877f56ad","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:09:59 GMT + - Wed, 09 Jun 2021 10:53:21 GMT etag: - - W/"datetime'2021-04-08T11%3A09%3A28.6139884Z'" + - W/"datetime'2021-06-09T10%3A52%3A50.2437735Z'" expires: - '-1' pragma: @@ -431,21 +431,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A08%3A55.2468811Z''\"","location":"westcentralus","properties":{"poolId":"e553ba81-5754-55e0-2d3a-5445ca7ab67f","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A09%3A28.6139884Z''\"","location":"westcentralus","properties":{"poolId":"a8b5dd16-db5b-c985-5615-48e25ddbba8a","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A16.4441427Z''\"","location":"southcentralus","properties":{"poolId":"5da25cf4-efda-4e87-8e1b-7f3915a0ba2b","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A52%3A50.2437735Z''\"","location":"southcentralus","properties":{"poolId":"6c68984a-bbc2-d012-cf78-aff8877f56ad","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '1257' + - '1299' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:10:00 GMT + - Wed, 09 Jun 2021 10:53:21 GMT expires: - '-1' pragma: @@ -477,25 +477,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da45f6c9-d6f7-4bda-b5e6-2d73e6c76288?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/abcbecd3-f00b-44c8-ade5-df654760b10a?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:10:10 GMT + - Wed, 09 Jun 2021 10:53:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da45f6c9-d6f7-4bda-b5e6-2d73e6c76288?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/abcbecd3-f00b-44c8-ade5-df654760b10a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -505,7 +505,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' x-powered-by: - ASP.NET status: @@ -521,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da45f6c9-d6f7-4bda-b5e6-2d73e6c76288?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/abcbecd3-f00b-44c8-ade5-df654760b10a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/da45f6c9-d6f7-4bda-b5e6-2d73e6c76288","name":"da45f6c9-d6f7-4bda-b5e6-2d73e6c76288","status":"Succeeded","startTime":"2021-04-08T11:10:10.6918867Z","endTime":"2021-04-08T11:10:12.8098897Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/abcbecd3-f00b-44c8-ade5-df654760b10a","name":"abcbecd3-f00b-44c8-ade5-df654760b10a","status":"Succeeded","startTime":"2021-06-09T10:53:32.5839212Z","endTime":"2021-06-09T10:53:33.2589231Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:10:40 GMT + - Wed, 09 Jun 2021 10:54:02 GMT expires: - '-1' pragma: @@ -567,9 +567,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -577,7 +577,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:10:51 GMT + - Wed, 09 Jun 2021 10:54:12 GMT expires: - '-1' pragma: @@ -587,7 +587,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 204 message: No Content @@ -603,9 +603,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -613,7 +613,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:11:01 GMT + - Wed, 09 Jun 2021 10:54:23 GMT expires: - '-1' pragma: @@ -623,7 +623,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14997' status: code: 204 message: No Content @@ -639,9 +639,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -649,7 +649,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:11:11 GMT + - Wed, 09 Jun 2021 10:54:34 GMT expires: - '-1' pragma: @@ -659,7 +659,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14996' status: code: 204 message: No Content @@ -675,9 +675,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -685,7 +685,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:11:21 GMT + - Wed, 09 Jun 2021 10:54:44 GMT expires: - '-1' pragma: @@ -695,7 +695,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14995' status: code: 204 message: No Content @@ -709,23 +709,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:11:31 GMT + - Wed, 09 Jun 2021 10:54:54 GMT expires: - '-1' pragma: @@ -751,25 +751,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5d35fbd9-04c5-4c25-9247-a7659b80bce9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9aba4048-6c9c-40fc-a743-fd724b3847f4?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:11:42 GMT + - Wed, 09 Jun 2021 10:55:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5d35fbd9-04c5-4c25-9247-a7659b80bce9?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9aba4048-6c9c-40fc-a743-fd724b3847f4?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14992' + - '14994' x-powered-by: - ASP.NET status: @@ -795,21 +795,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5d35fbd9-04c5-4c25-9247-a7659b80bce9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9aba4048-6c9c-40fc-a743-fd724b3847f4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5d35fbd9-04c5-4c25-9247-a7659b80bce9","name":"5d35fbd9-04c5-4c25-9247-a7659b80bce9","status":"Succeeded","startTime":"2021-04-08T11:11:43.5967322Z","endTime":"2021-04-08T11:11:45.6333504Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9aba4048-6c9c-40fc-a743-fd724b3847f4","name":"9aba4048-6c9c-40fc-a743-fd724b3847f4","status":"Succeeded","startTime":"2021-06-09T10:55:06.2727781Z","endTime":"2021-06-09T10:55:06.4977797Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:12:13 GMT + - Wed, 09 Jun 2021 10:55:35 GMT expires: - '-1' pragma: @@ -841,9 +841,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -851,7 +851,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:12:23 GMT + - Wed, 09 Jun 2021 10:55:47 GMT expires: - '-1' pragma: @@ -861,7 +861,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14991' + - '14993' status: code: 204 message: No Content @@ -877,9 +877,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -887,7 +887,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:12:33 GMT + - Wed, 09 Jun 2021 10:55:57 GMT expires: - '-1' pragma: @@ -897,7 +897,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14990' + - '14992' status: code: 204 message: No Content @@ -913,9 +913,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -923,7 +923,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:12:44 GMT + - Wed, 09 Jun 2021 10:56:08 GMT expires: - '-1' pragma: @@ -933,7 +933,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14989' + - '14991' status: code: 204 message: No Content @@ -949,9 +949,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -959,7 +959,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:12:54 GMT + - Wed, 09 Jun 2021 10:56:18 GMT expires: - '-1' pragma: @@ -969,7 +969,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14988' + - '14990' status: code: 204 message: No Content @@ -983,23 +983,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:13:04 GMT + - Wed, 09 Jun 2021 10:56:28 GMT expires: - '-1' pragma: @@ -1025,25 +1025,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5b4dc356-6f78-4530-818f-8276f4ea2579?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c6d1bbee-1638-45d4-a4c3-3b02da660d4d?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:13:06 GMT + - Wed, 09 Jun 2021 10:56:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5b4dc356-6f78-4530-818f-8276f4ea2579?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c6d1bbee-1638-45d4-a4c3-3b02da660d4d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1053,7 +1053,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14987' + - '14989' x-powered-by: - ASP.NET status: @@ -1069,21 +1069,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5b4dc356-6f78-4530-818f-8276f4ea2579?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c6d1bbee-1638-45d4-a4c3-3b02da660d4d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5b4dc356-6f78-4530-818f-8276f4ea2579","name":"5b4dc356-6f78-4530-818f-8276f4ea2579","status":"Succeeded","startTime":"2021-04-08T11:13:06.6846782Z","endTime":"2021-04-08T11:13:06.7995831Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c6d1bbee-1638-45d4-a4c3-3b02da660d4d","name":"c6d1bbee-1638-45d4-a4c3-3b02da660d4d","status":"Succeeded","startTime":"2021-06-09T10:56:30.0789107Z","endTime":"2021-06-09T10:56:30.1189125Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:13:37 GMT + - Wed, 09 Jun 2021 10:57:00 GMT expires: - '-1' pragma: @@ -1113,23 +1113,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:13:39 GMT + - Wed, 09 Jun 2021 10:57:02 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml index 87b566573422..e5e96b2b35cc 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_patch_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A24%3A01.5452768Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A01%3A21.8720482Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/422655e7-aa2d-48b7-b652-561750e276a3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19b84f96-0fa1-4854-999b-97af832e6df6?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:24:02 GMT + - Wed, 09 Jun 2021 11:01:22 GMT etag: - - W/"datetime'2021-04-08T11%3A24%3A01.5452768Z'" + - W/"datetime'2021-06-09T11%3A01%3A21.8720482Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/422655e7-aa2d-48b7-b652-561750e276a3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19b84f96-0fa1-4854-999b-97af832e6df6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/422655e7-aa2d-48b7-b652-561750e276a3","name":"422655e7-aa2d-48b7-b652-561750e276a3","status":"Succeeded","startTime":"2021-04-08T11:24:01.5537814Z","endTime":"2021-04-08T11:24:01.7797719Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19b84f96-0fa1-4854-999b-97af832e6df6","name":"19b84f96-0fa1-4854-999b-97af832e6df6","status":"Succeeded","startTime":"2021-06-09T11:01:21.8803435Z","endTime":"2021-06-09T11:01:21.9553456Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:24:32 GMT + - Wed, 09 Jun 2021 11:01:52 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A24%3A01.768166Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A01%3A21.9438626Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '401' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:24:32 GMT + - Wed, 09 Jun 2021 11:01:52 GMT etag: - - W/"datetime'2021-04-08T11%3A24%3A01.768166Z'" + - W/"datetime'2021-06-09T11%3A01%3A21.9438626Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A24%3A36.3650135Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A01%3A55.7521078Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a6a11b7-50c8-44c4-8eef-407049f8a538?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc981912-869e-42c2-97bc-770883367041?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:24:36 GMT + - Wed, 09 Jun 2021 11:01:55 GMT etag: - - W/"datetime'2021-04-08T11%3A24%3A36.3650135Z'" + - W/"datetime'2021-06-09T11%3A01%3A55.7521078Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a6a11b7-50c8-44c4-8eef-407049f8a538?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc981912-869e-42c2-97bc-770883367041?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/8a6a11b7-50c8-44c4-8eef-407049f8a538","name":"8a6a11b7-50c8-44c4-8eef-407049f8a538","status":"Succeeded","startTime":"2021-04-08T11:24:36.3737876Z","endTime":"2021-04-08T11:24:36.5212799Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc981912-869e-42c2-97bc-770883367041","name":"bc981912-869e-42c2-97bc-770883367041","status":"Succeeded","startTime":"2021-06-09T11:01:55.7564597Z","endTime":"2021-06-09T11:01:56.0514614Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:25:07 GMT + - Wed, 09 Jun 2021 11:02:26 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A24%3A36.5122637Z''\"","location":"westcentralus","properties":{"poolId":"4905af1f-4113-cb5d-f970-01c19f48aa77","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A01%3A56.0488811Z''\"","location":"southcentralus","properties":{"poolId":"2c1ca36d-3e74-f6cf-517d-3231f19b4266","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:25:07 GMT + - Wed, 09 Jun 2021 11:02:26 GMT etag: - - W/"datetime'2021-04-08T11%3A24%3A36.5122637Z'" + - W/"datetime'2021-06-09T11%3A01%3A56.0488811Z'" expires: - '-1' pragma: @@ -295,29 +295,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A25%3A08.6825012Z''\"","location":"westcentralus","properties":{"provisioningState":"Patching","poolId":"4905af1f-4113-cb5d-f970-01c19f48aa77","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A02%3A27.8232544Z''\"","location":"southcentralus","properties":{"provisioningState":"Patching","poolId":"2c1ca36d-3e74-f6cf-517d-3231f19b4266","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01381080-bb31-4d8f-9af7-4c3ea7634514?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5e5a0087-10d0-4323-8766-4198e14306e1?api-version=2021-04-01 cache-control: - no-cache content-length: - - '621' + - '642' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:25:08 GMT + - Wed, 09 Jun 2021 11:02:27 GMT etag: - - W/"datetime'2021-04-08T11%3A25%3A08.6825012Z'" + - W/"datetime'2021-06-09T11%3A02%3A27.8232544Z'" expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01381080-bb31-4d8f-9af7-4c3ea7634514?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5e5a0087-10d0-4323-8766-4198e14306e1?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -327,7 +327,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-powered-by: - ASP.NET status: @@ -343,21 +343,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01381080-bb31-4d8f-9af7-4c3ea7634514?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5e5a0087-10d0-4323-8766-4198e14306e1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/01381080-bb31-4d8f-9af7-4c3ea7634514","name":"01381080-bb31-4d8f-9af7-4c3ea7634514","status":"Succeeded","startTime":"2021-04-08T11:25:08.6917225Z","endTime":"2021-04-08T11:25:10.7139421Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5e5a0087-10d0-4323-8766-4198e14306e1","name":"5e5a0087-10d0-4323-8766-4198e14306e1","status":"Succeeded","startTime":"2021-06-09T11:02:27.8264003Z","endTime":"2021-06-09T11:02:29.1164262Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:25:38 GMT + - Wed, 09 Jun 2021 11:02:58 GMT expires: - '-1' pragma: @@ -387,23 +387,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A25%3A10.7059669Z''\"","location":"westcentralus","tags":{"Tag2":"Value1"},"properties":{"poolId":"4905af1f-4113-cb5d-f970-01c19f48aa77","serviceLevel":"Premium","size":4398046511104,"qosType":"Manual","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A02%3A29.1111631Z''\"","location":"southcentralus","tags":{"Tag2":"Value1"},"properties":{"poolId":"2c1ca36d-3e74-f6cf-517d-3231f19b4266","serviceLevel":"Premium","size":4398046511104,"qosType":"Manual","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '649' + - '670' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:25:38 GMT + - Wed, 09 Jun 2021 11:02:58 GMT etag: - - W/"datetime'2021-04-08T11%3A25%3A10.7059669Z'" + - W/"datetime'2021-06-09T11%3A02%3A29.1111631Z'" expires: - '-1' pragma: @@ -435,25 +435,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/08c6b384-c480-470a-afa6-3811656a15bb?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/44f580d0-a8c1-445b-b6ee-425af4671f1c?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:25:50 GMT + - Wed, 09 Jun 2021 11:03:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/08c6b384-c480-470a-afa6-3811656a15bb?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/44f580d0-a8c1-445b-b6ee-425af4671f1c?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -463,7 +463,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' x-powered-by: - ASP.NET status: @@ -479,21 +479,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/08c6b384-c480-470a-afa6-3811656a15bb?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/44f580d0-a8c1-445b-b6ee-425af4671f1c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/08c6b384-c480-470a-afa6-3811656a15bb","name":"08c6b384-c480-470a-afa6-3811656a15bb","status":"Succeeded","startTime":"2021-04-08T11:25:50.279098Z","endTime":"2021-04-08T11:25:52.5400609Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/44f580d0-a8c1-445b-b6ee-425af4671f1c","name":"44f580d0-a8c1-445b-b6ee-425af4671f1c","status":"Succeeded","startTime":"2021-06-09T11:03:09.7322532Z","endTime":"2021-06-09T11:03:11.8672367Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '551' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:26:20 GMT + - Wed, 09 Jun 2021 11:03:39 GMT expires: - '-1' pragma: @@ -525,9 +525,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -535,7 +535,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:26:30 GMT + - Wed, 09 Jun 2021 11:03:49 GMT expires: - '-1' pragma: @@ -545,7 +545,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14996' status: code: 204 message: No Content @@ -561,9 +561,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -571,7 +571,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:26:40 GMT + - Wed, 09 Jun 2021 11:04:00 GMT expires: - '-1' pragma: @@ -581,7 +581,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14995' status: code: 204 message: No Content @@ -597,9 +597,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -607,7 +607,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:26:50 GMT + - Wed, 09 Jun 2021 11:04:11 GMT expires: - '-1' pragma: @@ -617,7 +617,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14994' status: code: 204 message: No Content @@ -633,9 +633,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -643,7 +643,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:27:02 GMT + - Wed, 09 Jun 2021 11:04:21 GMT expires: - '-1' pragma: @@ -653,7 +653,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14993' status: code: 204 message: No Content @@ -667,23 +667,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:27:12 GMT + - Wed, 09 Jun 2021 11:04:31 GMT expires: - '-1' pragma: @@ -709,25 +709,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/52a7113b-e271-4d63-9098-43e13b354d5e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0c01c43b-b59f-4752-8203-be83c3f32ea2?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:27:13 GMT + - Wed, 09 Jun 2021 11:04:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/52a7113b-e271-4d63-9098-43e13b354d5e?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0c01c43b-b59f-4752-8203-be83c3f32ea2?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -737,7 +737,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14992' x-powered-by: - ASP.NET status: @@ -753,21 +753,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/52a7113b-e271-4d63-9098-43e13b354d5e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0c01c43b-b59f-4752-8203-be83c3f32ea2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/52a7113b-e271-4d63-9098-43e13b354d5e","name":"52a7113b-e271-4d63-9098-43e13b354d5e","status":"Succeeded","startTime":"2021-04-08T11:27:13.5982859Z","endTime":"2021-04-08T11:27:13.6766438Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0c01c43b-b59f-4752-8203-be83c3f32ea2","name":"0c01c43b-b59f-4752-8203-be83c3f32ea2","status":"Succeeded","startTime":"2021-06-09T11:04:33.3307911Z","endTime":"2021-06-09T11:04:33.3707792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:27:43 GMT + - Wed, 09 Jun 2021 11:05:02 GMT expires: - '-1' pragma: @@ -797,23 +797,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:27:45 GMT + - Wed, 09 Jun 2021 11:05:05 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml index 796a74c55afa..b7bf9d4be290 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_pool.test_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A19%3A49.8271228Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A57%3A16.1777324Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/27d7e5c6-441e-49b9-a4b6-364a90c8cfd0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/686e8f43-d9e7-4210-91be-2343850e2bb9?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:19:51 GMT + - Wed, 09 Jun 2021 10:57:17 GMT etag: - - W/"datetime'2021-04-08T11%3A19%3A49.8271228Z'" + - W/"datetime'2021-06-09T10%3A57%3A16.1777324Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/27d7e5c6-441e-49b9-a4b6-364a90c8cfd0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/686e8f43-d9e7-4210-91be-2343850e2bb9?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/27d7e5c6-441e-49b9-a4b6-364a90c8cfd0","name":"27d7e5c6-441e-49b9-a4b6-364a90c8cfd0","status":"Succeeded","startTime":"2021-04-08T11:19:49.8353022Z","endTime":"2021-04-08T11:19:50.0675017Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/686e8f43-d9e7-4210-91be-2343850e2bb9","name":"686e8f43-d9e7-4210-91be-2343850e2bb9","status":"Succeeded","startTime":"2021-06-09T10:57:16.1801425Z","endTime":"2021-06-09T10:57:16.2301375Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:21 GMT + - Wed, 09 Jun 2021 10:57:46 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A19%3A50.0527333Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T10%3A57%3A16.2278234Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:21 GMT + - Wed, 09 Jun 2021 10:57:47 GMT etag: - - W/"datetime'2021-04-08T11%3A19%3A50.0527333Z'" + - W/"datetime'2021-06-09T10%3A57%3A16.2278234Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '95' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A20%3A23.9854Z''\"","location":"westcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A57%3A50.4225004Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b45a7fd0-1c34-4585-8cdb-134d8685824f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c65f2ab1-28ea-41d0-83db-26c244998d1f?api-version=2021-04-01 cache-control: - no-cache content-length: - - '523' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:24 GMT + - Wed, 09 Jun 2021 10:57:50 GMT etag: - - W/"datetime'2021-04-08T11%3A20%3A23.9854Z'" + - W/"datetime'2021-06-09T10%3A57%3A50.4225004Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b45a7fd0-1c34-4585-8cdb-134d8685824f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c65f2ab1-28ea-41d0-83db-26c244998d1f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b45a7fd0-1c34-4585-8cdb-134d8685824f","name":"b45a7fd0-1c34-4585-8cdb-134d8685824f","status":"Succeeded","startTime":"2021-04-08T11:20:23.9934613Z","endTime":"2021-04-08T11:20:24.3384772Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c65f2ab1-28ea-41d0-83db-26c244998d1f","name":"c65f2ab1-28ea-41d0-83db-26c244998d1f","status":"Succeeded","startTime":"2021-06-09T10:57:50.4263485Z","endTime":"2021-06-09T10:57:50.5013523Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:54 GMT + - Wed, 09 Jun 2021 10:58:21 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A20%3A24.3294336Z''\"","location":"westcentralus","properties":{"poolId":"c134e526-2f40-e5e4-d4cd-cd5be6d29052","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A57%3A50.4989587Z''\"","location":"southcentralus","properties":{"poolId":"a34068cf-27b5-be81-9079-eb0c6e8807e6","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:54 GMT + - Wed, 09 Jun 2021 10:58:21 GMT etag: - - W/"datetime'2021-04-08T11%3A20%3A24.3294336Z'" + - W/"datetime'2021-06-09T10%3A57%3A50.4989587Z'" expires: - '-1' pragma: @@ -281,7 +281,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"size": 4398046511104, "qosType": + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "qosType": "Manual"}}' headers: Accept: @@ -291,29 +291,29 @@ interactions: Connection: - keep-alive Content-Length: - - '89' + - '90' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A20%3A55.9811831Z''\"","location":"westcentralus","properties":{"provisioningState":"Updating","poolId":"c134e526-2f40-e5e4-d4cd-cd5be6d29052","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A58%3A22.4224376Z''\"","location":"southcentralus","properties":{"provisioningState":"Updating","poolId":"a34068cf-27b5-be81-9079-eb0c6e8807e6","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/14e631e8-48ba-4f11-b7ae-ff8382ab4ef6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0fa423aa-52ab-4a4d-a540-3c90a571bd03?api-version=2021-04-01 cache-control: - no-cache content-length: - - '621' + - '642' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:20:55 GMT + - Wed, 09 Jun 2021 10:58:22 GMT etag: - - W/"datetime'2021-04-08T11%3A20%3A55.9811831Z'" + - W/"datetime'2021-06-09T10%3A58%3A22.4224376Z'" expires: - '-1' pragma: @@ -329,7 +329,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-powered-by: - ASP.NET status: @@ -345,21 +345,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/14e631e8-48ba-4f11-b7ae-ff8382ab4ef6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0fa423aa-52ab-4a4d-a540-3c90a571bd03?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/14e631e8-48ba-4f11-b7ae-ff8382ab4ef6","name":"14e631e8-48ba-4f11-b7ae-ff8382ab4ef6","status":"Succeeded","startTime":"2021-04-08T11:20:55.9875015Z","endTime":"2021-04-08T11:20:58.2644314Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0fa423aa-52ab-4a4d-a540-3c90a571bd03","name":"0fa423aa-52ab-4a4d-a540-3c90a571bd03","status":"Succeeded","startTime":"2021-06-09T10:58:22.4245658Z","endTime":"2021-06-09T10:58:22.6195682Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:21:26 GMT + - Wed, 09 Jun 2021 10:58:51 GMT expires: - '-1' pragma: @@ -389,23 +389,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-08T11%3A20%3A58.2578177Z''\"","location":"westcentralus","properties":{"poolId":"c134e526-2f40-e5e4-d4cd-cd5be6d29052","serviceLevel":"Premium","size":4398046511104,"qosType":"Manual","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T10%3A58%3A22.6175753Z''\"","location":"southcentralus","properties":{"poolId":"a34068cf-27b5-be81-9079-eb0c6e8807e6","serviceLevel":"Premium","size":4398046511104,"qosType":"Manual","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '624' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:21:26 GMT + - Wed, 09 Jun 2021 10:58:53 GMT etag: - - W/"datetime'2021-04-08T11%3A20%3A58.2578177Z'" + - W/"datetime'2021-06-09T10%3A58%3A22.6175753Z'" expires: - '-1' pragma: @@ -437,25 +437,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3fd65493-709a-4fe3-b41c-d5e770bee2b0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/89d45a2d-a9f4-457a-b3a8-abda7777ad7e?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:21:37 GMT + - Wed, 09 Jun 2021 10:59:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3fd65493-709a-4fe3-b41c-d5e770bee2b0?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/89d45a2d-a9f4-457a-b3a8-abda7777ad7e?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -481,21 +481,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3fd65493-709a-4fe3-b41c-d5e770bee2b0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/89d45a2d-a9f4-457a-b3a8-abda7777ad7e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/3fd65493-709a-4fe3-b41c-d5e770bee2b0","name":"3fd65493-709a-4fe3-b41c-d5e770bee2b0","status":"Succeeded","startTime":"2021-04-08T11:21:37.8699452Z","endTime":"2021-04-08T11:21:40.3679332Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/89d45a2d-a9f4-457a-b3a8-abda7777ad7e","name":"89d45a2d-a9f4-457a-b3a8-abda7777ad7e","status":"Succeeded","startTime":"2021-06-09T10:59:04.3420401Z","endTime":"2021-06-09T10:59:04.512044Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '552' + - '554' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:22:07 GMT + - Wed, 09 Jun 2021 10:59:33 GMT expires: - '-1' pragma: @@ -527,9 +527,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -537,7 +537,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:22:18 GMT + - Wed, 09 Jun 2021 10:59:44 GMT expires: - '-1' pragma: @@ -563,9 +563,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -573,7 +573,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:22:28 GMT + - Wed, 09 Jun 2021 10:59:55 GMT expires: - '-1' pragma: @@ -599,9 +599,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -609,7 +609,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:22:38 GMT + - Wed, 09 Jun 2021 11:00:05 GMT expires: - '-1' pragma: @@ -635,9 +635,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -645,7 +645,7 @@ interactions: cache-control: - no-cache date: - - Thu, 08 Apr 2021 11:22:48 GMT + - Wed, 09 Jun 2021 11:00:15 GMT expires: - '-1' pragma: @@ -669,23 +669,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '273' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:22:58 GMT + - Wed, 09 Jun 2021 11:00:26 GMT expires: - '-1' pragma: @@ -711,25 +711,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/91cd5ade-ebc3-4def-a220-361d58b21f43?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a31e3c64-77f5-4eec-af10-3f7d629ed99b?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:23:00 GMT + - Wed, 09 Jun 2021 11:00:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/91cd5ade-ebc3-4def-a220-361d58b21f43?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a31e3c64-77f5-4eec-af10-3f7d629ed99b?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -755,21 +755,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/91cd5ade-ebc3-4def-a220-361d58b21f43?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a31e3c64-77f5-4eec-af10-3f7d629ed99b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/91cd5ade-ebc3-4def-a220-361d58b21f43","name":"91cd5ade-ebc3-4def-a220-361d58b21f43","status":"Succeeded","startTime":"2021-04-08T11:23:00.9089439Z","endTime":"2021-04-08T11:23:01.0161919Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a31e3c64-77f5-4eec-af10-3f7d629ed99b","name":"a31e3c64-77f5-4eec-af10-3f7d629ed99b","status":"Succeeded","startTime":"2021-06-09T11:00:27.9618026Z","endTime":"2021-06-09T11:00:28.0317957Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:23:31 GMT + - Wed, 09 Jun 2021 11:00:58 GMT expires: - '-1' pragma: @@ -799,23 +799,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:23:33 GMT + - Wed, 09 Jun 2021 11:01:00 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml index 2e3db8304e5a..a909faa11d68 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_create_delete_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,19 +9,19 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T16%3A35%3A13.40181Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T14%3A10%3A03.7545518Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/74bd3efa-3945-459b-b935-083e209ceb85?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5bae6a97-21cc-43b2-8539-4b629bad57e3?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:35:13 GMT + - Wed, 09 Jun 2021 14:10:04 GMT etag: - - W/"datetime'2021-04-16T16%3A35%3A13.40181Z'" + - W/"datetime'2021-06-09T14%3A10%3A03.7545518Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/74bd3efa-3945-459b-b935-083e209ceb85?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5bae6a97-21cc-43b2-8539-4b629bad57e3?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/74bd3efa-3945-459b-b935-083e209ceb85","name":"74bd3efa-3945-459b-b935-083e209ceb85","status":"Succeeded","startTime":"2021-04-16T16:35:13.4083285Z","endTime":"2021-04-16T16:35:13.4783096Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5bae6a97-21cc-43b2-8539-4b629bad57e3","name":"5bae6a97-21cc-43b2-8539-4b629bad57e3","status":"Succeeded","startTime":"2021-06-09T14:10:03.7596219Z","endTime":"2021-06-09T14:10:03.8092577Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:35:44 GMT + - Wed, 09 Jun 2021 14:10:34 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T16%3A35%3A13.476084Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T14%3A10%3A03.8050332Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '405' + - '404' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:35:44 GMT + - Wed, 09 Jun 2021 14:10:34 GMT etag: - - W/"datetime'2021-04-16T16%3A35%3A13.476084Z'" + - W/"datetime'2021-06-09T14%3A10%3A03.8050332Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T16%3A35%3A46.8750353Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T14%3A10%3A38.0634113Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40ae6965-6e3c-4398-abb0-5fb2feef6efe?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/685068a8-71fe-48e7-94b7-9193a85f8795?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:35:47 GMT + - Wed, 09 Jun 2021 14:10:38 GMT etag: - - W/"datetime'2021-04-16T16%3A35%3A46.8750353Z'" + - W/"datetime'2021-06-09T14%3A10%3A38.0634113Z'" expires: - '-1' pragma: @@ -184,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-powered-by: - ASP.NET status: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40ae6965-6e3c-4398-abb0-5fb2feef6efe?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/685068a8-71fe-48e7-94b7-9193a85f8795?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/40ae6965-6e3c-4398-abb0-5fb2feef6efe","name":"40ae6965-6e3c-4398-abb0-5fb2feef6efe","status":"Succeeded","startTime":"2021-04-16T16:35:46.879459Z","endTime":"2021-04-16T16:35:47.2745056Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/685068a8-71fe-48e7-94b7-9193a85f8795","name":"685068a8-71fe-48e7-94b7-9193a85f8795","status":"Succeeded","startTime":"2021-06-09T14:10:38.0654123Z","endTime":"2021-06-09T14:10:38.5404311Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '555' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:36:17 GMT + - Wed, 09 Jun 2021 14:11:08 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T16%3A35%3A47.2721146Z''\"","location":"southcentralusstage","properties":{"poolId":"c7c72108-c218-31a3-44be-b263a119b62c","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T14%3A10%3A38.5394954Z''\"","location":"southcentralus","properties":{"poolId":"cc9140dd-d231-59a3-b240-1d6084cddb01","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '643' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:36:18 GMT + - Wed, 09 Jun 2021 14:11:08 GMT etag: - - W/"datetime'2021-04-16T16%3A35%3A47.2721146Z'" + - W/"datetime'2021-06-09T14%3A10%3A38.5394954Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A36%3A21.561743Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T14%3A11%3A11.6267505Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 cache-control: - no-cache content-length: - - '952' + - '974' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:36:22 GMT + - Wed, 09 Jun 2021 14:11:12 GMT etag: - - W/"datetime'2021-04-16T16%3A36%3A21.561743Z'" + - W/"datetime'2021-06-09T14%3A11%3A11.6267505Z'" expires: - '-1' pragma: @@ -329,7 +329,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-powered-by: - ASP.NET status: @@ -345,21 +345,65 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '570' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 14:11:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:36:52 GMT + - Wed, 09 Jun 2021 14:12:12 GMT expires: - '-1' pragma: @@ -389,21 +433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:37:22 GMT + - Wed, 09 Jun 2021 14:12:43 GMT expires: - '-1' pragma: @@ -433,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:37:52 GMT + - Wed, 09 Jun 2021 14:13:13 GMT expires: - '-1' pragma: @@ -477,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:38:23 GMT + - Wed, 09 Jun 2021 14:13:43 GMT expires: - '-1' pragma: @@ -521,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:38:53 GMT + - Wed, 09 Jun 2021 14:14:13 GMT expires: - '-1' pragma: @@ -565,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Creating","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Creating","startTime":"2021-06-09T14:11:11.628693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:39:23 GMT + - Wed, 09 Jun 2021 14:14:45 GMT expires: - '-1' pragma: @@ -609,21 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d78e0c16-e28d-47bf-a5f5-4f7389a0da05","name":"d78e0c16-e28d-47bf-a5f5-4f7389a0da05","status":"Succeeded","startTime":"2021-04-16T16:36:21.5650607Z","endTime":"2021-04-16T16:39:46.1072755Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f65917a3-bb84-4c2a-a191-ff3e549235ba","name":"f65917a3-bb84-4c2a-a191-ff3e549235ba","status":"Succeeded","startTime":"2021-06-09T14:11:11.628693Z","endTime":"2021-06-09T14:15:09.27497Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '579' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:39:53 GMT + - Wed, 09 Jun 2021 14:15:14 GMT expires: - '-1' pragma: @@ -653,23 +697,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A39%3A46.1009534Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"b7b0d316-090f-378b-4c51-aa03f39feae1","fileSystemId":"b7b0d316-090f-378b-4c51-aa03f39feae1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"b7b0d316-090f-378b-4c51-aa03f39feae1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_2eff878b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T14%3A15%3A09.2729418Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"9649c9ff-4c93-85a9-473e-60825261cf9b","fileSystemId":"9649c9ff-4c93-85a9-473e-60825261cf9b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"9649c9ff-4c93-85a9-473e-60825261cf9b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_efb8cdce","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:39:54 GMT + - Wed, 09 Jun 2021 14:15:15 GMT etag: - - W/"datetime'2021-04-16T16%3A39%3A46.1009534Z'" + - W/"datetime'2021-06-09T14%3A15%3A09.2729418Z'" expires: - '-1' pragma: @@ -699,23 +743,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A39%3A46.1009534Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"b7b0d316-090f-378b-4c51-aa03f39feae1","fileSystemId":"b7b0d316-090f-378b-4c51-aa03f39feae1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"b7b0d316-090f-378b-4c51-aa03f39feae1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_2eff878b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T14%3A15%3A09.2729418Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"9649c9ff-4c93-85a9-473e-60825261cf9b","fileSystemId":"9649c9ff-4c93-85a9-473e-60825261cf9b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"9649c9ff-4c93-85a9-473e-60825261cf9b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_efb8cdce","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:39:54 GMT + - Wed, 09 Jun 2021 14:15:15 GMT etag: - - W/"datetime'2021-04-16T16%3A39%3A46.1009534Z'" + - W/"datetime'2021-06-09T14%3A15%3A09.2729418Z'" expires: - '-1' pragma: @@ -736,7 +780,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -745,31 +789,31 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6f3e7a7c-d41d-4d1b-bfa7-49f3c94091da?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e869e7b-45cb-4ea3-81d2-05feb1841f4c?api-version=2021-04-01 cache-control: - no-cache content-length: - - '491' + - '489' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:39:54 GMT + - Wed, 09 Jun 2021 14:15:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6f3e7a7c-d41d-4d1b-bfa7-49f3c94091da?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e869e7b-45cb-4ea3-81d2-05feb1841f4c?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -779,7 +823,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' x-powered-by: - ASP.NET status: @@ -795,21 +839,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6f3e7a7c-d41d-4d1b-bfa7-49f3c94091da?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e869e7b-45cb-4ea3-81d2-05feb1841f4c?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6f3e7a7c-d41d-4d1b-bfa7-49f3c94091da","name":"6f3e7a7c-d41d-4d1b-bfa7-49f3c94091da","status":"Succeeded","startTime":"2021-04-16T16:39:55.4124793Z","endTime":"2021-04-16T16:40:11.8107811Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7e869e7b-45cb-4ea3-81d2-05feb1841f4c","name":"7e869e7b-45cb-4ea3-81d2-05feb1841f4c","status":"Succeeded","startTime":"2021-06-09T14:15:16.5316737Z","endTime":"2021-06-09T14:15:19.3516557Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:40:25 GMT + - Wed, 09 Jun 2021 14:15:46 GMT expires: - '-1' pragma: @@ -839,21 +883,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"bebf4b9d-ab3c-7280-5d39-d5962b6fcc7e","created":"2021-04-16T16:40:05Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"e6a8bab0-973a-13d0-ba5a-f7bae8701fc8","created":"2021-06-09T14:15:16Z"}}' headers: cache-control: - no-cache content-length: - - '577' + - '575' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:40:28 GMT + - Wed, 09 Jun 2021 14:15:47 GMT expires: - '-1' pragma: @@ -883,21 +927,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"bebf4b9d-ab3c-7280-5d39-d5962b6fcc7e","fileSystemId":"b7b0d316-090f-378b-4c51-aa03f39feae1","created":"2021-04-16T16:40:05Z"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"e6a8bab0-973a-13d0-ba5a-f7bae8701fc8","fileSystemId":"9649c9ff-4c93-85a9-473e-60825261cf9b","created":"2021-06-09T14:15:16Z"}}]}' headers: cache-control: - no-cache content-length: - - '643' + - '641' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:40:31 GMT + - Wed, 09 Jun 2021 14:15:47 GMT expires: - '-1' pragma: @@ -929,25 +973,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/50da4cff-b9ff-46c7-bd90-c443a4613a70?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/199d6ed1-52ae-4e2a-8685-73cbca8b1a38?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:40:31 GMT + - Wed, 09 Jun 2021 14:15:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/50da4cff-b9ff-46c7-bd90-c443a4613a70?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/199d6ed1-52ae-4e2a-8685-73cbca8b1a38?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -957,7 +1001,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-powered-by: - ASP.NET status: @@ -973,21 +1017,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/50da4cff-b9ff-46c7-bd90-c443a4613a70?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/199d6ed1-52ae-4e2a-8685-73cbca8b1a38?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/50da4cff-b9ff-46c7-bd90-c443a4613a70","name":"50da4cff-b9ff-46c7-bd90-c443a4613a70","status":"Succeeded","startTime":"2021-04-16T16:40:32.2361604Z","endTime":"2021-04-16T16:40:45.3512836Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/199d6ed1-52ae-4e2a-8685-73cbca8b1a38","name":"199d6ed1-52ae-4e2a-8685-73cbca8b1a38","status":"Succeeded","startTime":"2021-06-09T14:15:47.9647789Z","endTime":"2021-06-09T14:15:50.0798131Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:41:02 GMT + - Wed, 09 Jun 2021 14:16:17 GMT expires: - '-1' pragma: @@ -1017,9 +1061,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"Snapshot sdk-py-tests-snapshot-1 @@ -1032,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:41:24 GMT + - Wed, 09 Jun 2021 14:16:38 GMT expires: - '-1' pragma: @@ -1058,9 +1102,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -1072,7 +1116,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:41:28 GMT + - Wed, 09 Jun 2021 14:16:38 GMT expires: - '-1' pragma: @@ -1104,25 +1148,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:41:30 GMT + - Wed, 09 Jun 2021 14:16:40 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1132,7 +1176,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' x-powered-by: - ASP.NET status: @@ -1148,65 +1192,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525","name":"e1b77a56-6410-46fc-85fa-c08097003525","status":"Deleting","startTime":"2021-04-16T16:41:30.4054547Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 16 Apr 2021 16:42:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525","name":"e1b77a56-6410-46fc-85fa-c08097003525","status":"Deleting","startTime":"2021-04-16T16:41:30.4054547Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59","name":"69e351bb-7e2d-41d3-971c-637e8f8d1e59","status":"Deleting","startTime":"2021-06-09T14:16:40.615897Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:42:30 GMT + - Wed, 09 Jun 2021 14:17:10 GMT expires: - '-1' pragma: @@ -1236,21 +1236,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e1b77a56-6410-46fc-85fa-c08097003525","name":"e1b77a56-6410-46fc-85fa-c08097003525","status":"Succeeded","startTime":"2021-04-16T16:41:30.4054547Z","endTime":"2021-04-16T16:42:34.0435558Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/69e351bb-7e2d-41d3-971c-637e8f8d1e59","name":"69e351bb-7e2d-41d3-971c-637e8f8d1e59","status":"Succeeded","startTime":"2021-06-09T14:16:40.615897Z","endTime":"2021-06-09T14:17:38.3579808Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:43:00 GMT + - Wed, 09 Jun 2021 14:17:40 GMT expires: - '-1' pragma: @@ -1280,23 +1280,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:46:22 GMT + - Wed, 09 Jun 2021 14:21:02 GMT expires: - '-1' pragma: @@ -1322,25 +1322,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa9fe218-306d-462a-bb6e-994e1c316f22?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9b65bcb3-117c-44ef-87b8-f087281a4488?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:46:34 GMT + - Wed, 09 Jun 2021 14:21:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa9fe218-306d-462a-bb6e-994e1c316f22?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9b65bcb3-117c-44ef-87b8-f087281a4488?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1366,21 +1366,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa9fe218-306d-462a-bb6e-994e1c316f22?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9b65bcb3-117c-44ef-87b8-f087281a4488?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/aa9fe218-306d-462a-bb6e-994e1c316f22","name":"aa9fe218-306d-462a-bb6e-994e1c316f22","status":"Succeeded","startTime":"2021-04-16T16:46:34.8626928Z","endTime":"2021-04-16T16:46:36.3181188Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9b65bcb3-117c-44ef-87b8-f087281a4488","name":"9b65bcb3-117c-44ef-87b8-f087281a4488","status":"Succeeded","startTime":"2021-06-09T14:21:13.7234669Z","endTime":"2021-06-09T14:21:13.9334706Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:47:04 GMT + - Wed, 09 Jun 2021 14:21:43 GMT expires: - '-1' pragma: @@ -1412,9 +1412,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1422,7 +1422,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 16:47:15 GMT + - Wed, 09 Jun 2021 14:21:54 GMT expires: - '-1' pragma: @@ -1448,9 +1448,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1458,7 +1458,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 16:47:25 GMT + - Wed, 09 Jun 2021 14:22:04 GMT expires: - '-1' pragma: @@ -1484,9 +1484,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1494,7 +1494,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 16:47:36 GMT + - Wed, 09 Jun 2021 14:22:15 GMT expires: - '-1' pragma: @@ -1520,9 +1520,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1530,7 +1530,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 16:47:46 GMT + - Wed, 09 Jun 2021 14:22:25 GMT expires: - '-1' pragma: @@ -1554,23 +1554,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:47:56 GMT + - Wed, 09 Jun 2021 14:22:35 GMT expires: - '-1' pragma: @@ -1596,25 +1596,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1c29dce3-4efb-4b80-9189-1ab8613885ec?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3a6ae582-b6d7-44d2-96e3-0b6fc4731660?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:47:57 GMT + - Wed, 09 Jun 2021 14:22:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1c29dce3-4efb-4b80-9189-1ab8613885ec?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3a6ae582-b6d7-44d2-96e3-0b6fc4731660?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1640,21 +1640,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1c29dce3-4efb-4b80-9189-1ab8613885ec?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3a6ae582-b6d7-44d2-96e3-0b6fc4731660?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1c29dce3-4efb-4b80-9189-1ab8613885ec","name":"1c29dce3-4efb-4b80-9189-1ab8613885ec","status":"Succeeded","startTime":"2021-04-16T16:47:58.391242Z","endTime":"2021-04-16T16:47:58.4610986Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3a6ae582-b6d7-44d2-96e3-0b6fc4731660","name":"3a6ae582-b6d7-44d2-96e3-0b6fc4731660","status":"Succeeded","startTime":"2021-06-09T14:22:37.3926566Z","endTime":"2021-06-09T14:22:37.4376671Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '522' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:48:28 GMT + - Wed, 09 Jun 2021 14:23:07 GMT expires: - '-1' pragma: @@ -1684,23 +1684,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:48:30 GMT + - Wed, 09 Jun 2021 14:23:09 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml index d6764c9a31f8..f721c1fd1c58 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_get_snapshot_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T17%3A04%3A50.2701126Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A42%3A52.7388209Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d4b4ef93-51fa-4b65-b773-96fadcc66788?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/66ddfd26-3b84-4c20-9a32-0ac25666eaca?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:04:50 GMT + - Wed, 09 Jun 2021 11:42:53 GMT etag: - - W/"datetime'2021-04-16T17%3A04%3A50.2701126Z'" + - W/"datetime'2021-06-09T11%3A42%3A52.7388209Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d4b4ef93-51fa-4b65-b773-96fadcc66788?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/66ddfd26-3b84-4c20-9a32-0ac25666eaca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d4b4ef93-51fa-4b65-b773-96fadcc66788","name":"d4b4ef93-51fa-4b65-b773-96fadcc66788","status":"Succeeded","startTime":"2021-04-16T17:04:50.2748445Z","endTime":"2021-04-16T17:04:50.3344541Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/66ddfd26-3b84-4c20-9a32-0ac25666eaca","name":"66ddfd26-3b84-4c20-9a32-0ac25666eaca","status":"Succeeded","startTime":"2021-06-09T11:42:52.7423671Z","endTime":"2021-06-09T11:42:52.8223315Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:21 GMT + - Wed, 09 Jun 2021 11:43:24 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T17%3A04%3A50.332147Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A42%3A52.8175549Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '405' + - '404' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:21 GMT + - Wed, 09 Jun 2021 11:43:24 GMT etag: - - W/"datetime'2021-04-16T17%3A04%3A50.332147Z'" + - W/"datetime'2021-06-09T11%3A42%3A52.8175549Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T17%3A05%3A24.0559897Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A43%3A26.9521145Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e5ca2fe6-95bb-43a4-a433-058d8416b3d9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4fe5043d-deef-41e8-9147-39cec5377f41?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:24 GMT + - Wed, 09 Jun 2021 11:43:27 GMT etag: - - W/"datetime'2021-04-16T17%3A05%3A24.0559897Z'" + - W/"datetime'2021-06-09T11%3A43%3A26.9521145Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e5ca2fe6-95bb-43a4-a433-058d8416b3d9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4fe5043d-deef-41e8-9147-39cec5377f41?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e5ca2fe6-95bb-43a4-a433-058d8416b3d9","name":"e5ca2fe6-95bb-43a4-a433-058d8416b3d9","status":"Succeeded","startTime":"2021-04-16T17:05:24.065069Z","endTime":"2021-04-16T17:05:24.3647882Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4fe5043d-deef-41e8-9147-39cec5377f41","name":"4fe5043d-deef-41e8-9147-39cec5377f41","status":"Succeeded","startTime":"2021-06-09T11:43:26.9593988Z","endTime":"2021-06-09T11:43:27.1343976Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '555' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:55 GMT + - Wed, 09 Jun 2021 11:43:57 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T17%3A05%3A24.3613437Z''\"","location":"southcentralusstage","properties":{"poolId":"ec0e39dc-265f-3453-5873-2871a1232121","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A43%3A27.1245401Z''\"","location":"southcentralus","properties":{"poolId":"f0b5756f-0f25-96d3-e18f-b49e46ea69a5","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '643' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:55 GMT + - Wed, 09 Jun 2021 11:43:57 GMT etag: - - W/"datetime'2021-04-16T17%3A05%3A24.3613437Z'" + - W/"datetime'2021-06-09T11%3A43%3A27.1245401Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T17%3A05%3A59.045714Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A44%3A00.3448287Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 cache-control: - no-cache content-length: - - '952' + - '974' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:05:59 GMT + - Wed, 09 Jun 2021 11:44:00 GMT etag: - - W/"datetime'2021-04-16T17%3A05%3A59.045714Z'" + - W/"datetime'2021-06-09T11%3A44%3A00.3448287Z'" expires: - '-1' pragma: @@ -345,21 +345,65 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '570' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 11:44:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:06:29 GMT + - Wed, 09 Jun 2021 11:45:01 GMT expires: - '-1' pragma: @@ -389,21 +433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:07:00 GMT + - Wed, 09 Jun 2021 11:45:31 GMT expires: - '-1' pragma: @@ -433,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:07:30 GMT + - Wed, 09 Jun 2021 11:46:01 GMT expires: - '-1' pragma: @@ -477,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:08:01 GMT + - Wed, 09 Jun 2021 11:46:32 GMT expires: - '-1' pragma: @@ -521,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:08:31 GMT + - Wed, 09 Jun 2021 11:47:02 GMT expires: - '-1' pragma: @@ -565,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Creating","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Creating","startTime":"2021-06-09T11:44:00.350533Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:09:01 GMT + - Wed, 09 Jun 2021 11:47:33 GMT expires: - '-1' pragma: @@ -609,21 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","name":"b4ec01ba-3752-42d7-8feb-6b26fa9b11a4","status":"Succeeded","startTime":"2021-04-16T17:05:59.0538782Z","endTime":"2021-04-16T17:09:19.4710347Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9c9a75c6-0da7-4537-8d69-c3773788ac43","name":"9c9a75c6-0da7-4537-8d69-c3773788ac43","status":"Succeeded","startTime":"2021-06-09T11:44:00.350533Z","endTime":"2021-06-09T11:48:00.9422217Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:09:31 GMT + - Wed, 09 Jun 2021 11:48:03 GMT expires: - '-1' pragma: @@ -653,23 +697,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T17%3A09%3A19.4645252Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4c395e75-eaaa-6c09-33a3-a80524bac189","fileSystemId":"4c395e75-eaaa-6c09-33a3-a80524bac189","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4c395e75-eaaa-6c09-33a3-a80524bac189","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_827376c6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A48%3A00.9369465Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"db242857-28b3-f63e-1efb-f839510b7629","fileSystemId":"db242857-28b3-f63e-1efb-f839510b7629","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"db242857-28b3-f63e-1efb-f839510b7629","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_14d65186","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:09:32 GMT + - Wed, 09 Jun 2021 11:48:03 GMT etag: - - W/"datetime'2021-04-16T17%3A09%3A19.4645252Z'" + - W/"datetime'2021-06-09T11%3A48%3A00.9369465Z'" expires: - '-1' pragma: @@ -699,23 +743,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T17%3A09%3A19.4645252Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4c395e75-eaaa-6c09-33a3-a80524bac189","fileSystemId":"4c395e75-eaaa-6c09-33a3-a80524bac189","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4c395e75-eaaa-6c09-33a3-a80524bac189","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_827376c6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A48%3A00.9369465Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"db242857-28b3-f63e-1efb-f839510b7629","fileSystemId":"db242857-28b3-f63e-1efb-f839510b7629","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"db242857-28b3-f63e-1efb-f839510b7629","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_14d65186","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:09:32 GMT + - Wed, 09 Jun 2021 11:48:04 GMT etag: - - W/"datetime'2021-04-16T17%3A09%3A19.4645252Z'" + - W/"datetime'2021-06-09T11%3A48%3A00.9369465Z'" expires: - '-1' pragma: @@ -736,7 +780,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -745,31 +789,31 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f1186b67-8975-4bcf-a133-50195e8de13c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/76583c88-2e39-4a81-b70d-af729594e942?api-version=2021-04-01 cache-control: - no-cache content-length: - - '491' + - '489' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:09:32 GMT + - Wed, 09 Jun 2021 11:48:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f1186b67-8975-4bcf-a133-50195e8de13c?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/76583c88-2e39-4a81-b70d-af729594e942?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -795,21 +839,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f1186b67-8975-4bcf-a133-50195e8de13c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/76583c88-2e39-4a81-b70d-af729594e942?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f1186b67-8975-4bcf-a133-50195e8de13c","name":"f1186b67-8975-4bcf-a133-50195e8de13c","status":"Succeeded","startTime":"2021-04-16T17:09:33.6281721Z","endTime":"2021-04-16T17:09:49.6149334Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/76583c88-2e39-4a81-b70d-af729594e942","name":"76583c88-2e39-4a81-b70d-af729594e942","status":"Succeeded","startTime":"2021-06-09T11:48:05.4200453Z","endTime":"2021-06-09T11:48:07.7300485Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:10:03 GMT + - Wed, 09 Jun 2021 11:48:35 GMT expires: - '-1' pragma: @@ -839,21 +883,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"b7aa6c82-c0c4-6ea4-d75e-4b8148a50ca4","created":"2021-04-16T17:09:43Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"0463407d-6183-1fe0-c06e-84bd9e89fb2c","created":"2021-06-09T11:48:05Z"}}' headers: cache-control: - no-cache content-length: - - '577' + - '575' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:10:06 GMT + - Wed, 09 Jun 2021 11:48:35 GMT expires: - '-1' pragma: @@ -883,21 +927,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"b7aa6c82-c0c4-6ea4-d75e-4b8148a50ca4","created":"2021-04-16T17:09:43Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"0463407d-6183-1fe0-c06e-84bd9e89fb2c","created":"2021-06-09T11:48:05Z"}}' headers: cache-control: - no-cache content-length: - - '577' + - '575' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:10:08 GMT + - Wed, 09 Jun 2021 11:48:36 GMT expires: - '-1' pragma: @@ -929,25 +973,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/dfa44c9c-27fa-4324-bdbc-18ef37009943?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5f4b8342-7419-466a-bcc1-6a776ad5c19d?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:10:08 GMT + - Wed, 09 Jun 2021 11:48:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/dfa44c9c-27fa-4324-bdbc-18ef37009943?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5f4b8342-7419-466a-bcc1-6a776ad5c19d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -973,21 +1017,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/dfa44c9c-27fa-4324-bdbc-18ef37009943?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5f4b8342-7419-466a-bcc1-6a776ad5c19d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/dfa44c9c-27fa-4324-bdbc-18ef37009943","name":"dfa44c9c-27fa-4324-bdbc-18ef37009943","status":"Succeeded","startTime":"2021-04-16T17:10:09.2315998Z","endTime":"2021-04-16T17:10:31.5186527Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5f4b8342-7419-466a-bcc1-6a776ad5c19d","name":"5f4b8342-7419-466a-bcc1-6a776ad5c19d","status":"Succeeded","startTime":"2021-06-09T11:48:36.9104872Z","endTime":"2021-06-09T11:48:40.4104842Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:10:39 GMT + - Wed, 09 Jun 2021 11:49:06 GMT expires: - '-1' pragma: @@ -1017,9 +1061,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"Snapshot sdk-py-tests-snapshot-1 @@ -1032,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:11:02 GMT + - Wed, 09 Jun 2021 11:49:27 GMT expires: - '-1' pragma: @@ -1060,25 +1104,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:11:03 GMT + - Wed, 09 Jun 2021 11:49:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1104,65 +1148,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228","name":"0b07ced5-59d1-48af-87cd-7427d33f8228","status":"Deleting","startTime":"2021-04-16T17:11:04.6788633Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 16 Apr 2021 17:11:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228","name":"0b07ced5-59d1-48af-87cd-7427d33f8228","status":"Deleting","startTime":"2021-04-16T17:11:04.6788633Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60","name":"ef483f17-d9d5-4e64-8282-7eca36545d60","status":"Deleting","startTime":"2021-06-09T11:49:29.6827433Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:12:04 GMT + - Wed, 09 Jun 2021 11:49:59 GMT expires: - '-1' pragma: @@ -1192,21 +1192,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0b07ced5-59d1-48af-87cd-7427d33f8228","name":"0b07ced5-59d1-48af-87cd-7427d33f8228","status":"Succeeded","startTime":"2021-04-16T17:11:04.6788633Z","endTime":"2021-04-16T17:12:16.6217535Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ef483f17-d9d5-4e64-8282-7eca36545d60","name":"ef483f17-d9d5-4e64-8282-7eca36545d60","status":"Succeeded","startTime":"2021-06-09T11:49:29.6827433Z","endTime":"2021-06-09T11:50:16.142733Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '581' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:12:35 GMT + - Wed, 09 Jun 2021 11:50:30 GMT expires: - '-1' pragma: @@ -1236,23 +1236,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:15:56 GMT + - Wed, 09 Jun 2021 11:53:51 GMT expires: - '-1' pragma: @@ -1278,25 +1278,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b3b8e59c-12f4-4af1-ab02-0df5e68617a2?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f245d3d2-0c6d-46d9-941b-e9c0c9080327?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:16:08 GMT + - Wed, 09 Jun 2021 11:54:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b3b8e59c-12f4-4af1-ab02-0df5e68617a2?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f245d3d2-0c6d-46d9-941b-e9c0c9080327?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1322,21 +1322,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b3b8e59c-12f4-4af1-ab02-0df5e68617a2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f245d3d2-0c6d-46d9-941b-e9c0c9080327?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b3b8e59c-12f4-4af1-ab02-0df5e68617a2","name":"b3b8e59c-12f4-4af1-ab02-0df5e68617a2","status":"Succeeded","startTime":"2021-04-16T17:16:08.5251586Z","endTime":"2021-04-16T17:16:09.9969909Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f245d3d2-0c6d-46d9-941b-e9c0c9080327","name":"f245d3d2-0c6d-46d9-941b-e9c0c9080327","status":"Succeeded","startTime":"2021-06-09T11:54:03.8693304Z","endTime":"2021-06-09T11:54:04.059335Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '554' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:16:38 GMT + - Wed, 09 Jun 2021 11:54:33 GMT expires: - '-1' pragma: @@ -1368,9 +1368,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1378,7 +1378,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:16:48 GMT + - Wed, 09 Jun 2021 11:54:43 GMT expires: - '-1' pragma: @@ -1404,9 +1404,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1414,7 +1414,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:16:59 GMT + - Wed, 09 Jun 2021 11:54:54 GMT expires: - '-1' pragma: @@ -1440,9 +1440,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1450,7 +1450,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:17:09 GMT + - Wed, 09 Jun 2021 11:55:04 GMT expires: - '-1' pragma: @@ -1476,9 +1476,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1486,7 +1486,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:17:20 GMT + - Wed, 09 Jun 2021 11:55:15 GMT expires: - '-1' pragma: @@ -1510,23 +1510,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:17:30 GMT + - Wed, 09 Jun 2021 11:55:25 GMT expires: - '-1' pragma: @@ -1552,25 +1552,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e909ee0-a86a-4ea2-984e-ae07485fc6ae?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9364197a-6066-445f-8221-f03d9653676b?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:17:31 GMT + - Wed, 09 Jun 2021 11:55:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e909ee0-a86a-4ea2-984e-ae07485fc6ae?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9364197a-6066-445f-8221-f03d9653676b?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1596,21 +1596,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e909ee0-a86a-4ea2-984e-ae07485fc6ae?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9364197a-6066-445f-8221-f03d9653676b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e909ee0-a86a-4ea2-984e-ae07485fc6ae","name":"5e909ee0-a86a-4ea2-984e-ae07485fc6ae","status":"Succeeded","startTime":"2021-04-16T17:17:32.1717Z","endTime":"2021-04-16T17:17:32.2467185Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9364197a-6066-445f-8221-f03d9653676b","name":"9364197a-6066-445f-8221-f03d9653676b","status":"Succeeded","startTime":"2021-06-09T11:55:27.2657817Z","endTime":"2021-06-09T11:55:27.3357886Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '520' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:18:02 GMT + - Wed, 09 Jun 2021 11:55:56 GMT expires: - '-1' pragma: @@ -1640,23 +1640,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:18:02 GMT + - Wed, 09 Jun 2021 11:55:57 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml index 73d344f07aa0..b7b6e8e4f6cd 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot.test_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T16%3A49%3A22.4612002Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A10%3A15.1306387Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94166547-e085-4c29-8f14-c4a5cd979408?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3691603d-01fe-4bfa-b87c-da8ba69acc2d?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:49:23 GMT + - Wed, 09 Jun 2021 11:10:16 GMT etag: - - W/"datetime'2021-04-16T16%3A49%3A22.4612002Z'" + - W/"datetime'2021-06-09T11%3A10%3A15.1306387Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94166547-e085-4c29-8f14-c4a5cd979408?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3691603d-01fe-4bfa-b87c-da8ba69acc2d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94166547-e085-4c29-8f14-c4a5cd979408","name":"94166547-e085-4c29-8f14-c4a5cd979408","status":"Succeeded","startTime":"2021-04-16T16:49:22.4685614Z","endTime":"2021-04-16T16:49:22.5286195Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3691603d-01fe-4bfa-b87c-da8ba69acc2d","name":"3691603d-01fe-4bfa-b87c-da8ba69acc2d","status":"Succeeded","startTime":"2021-06-09T11:10:15.1320966Z","endTime":"2021-06-09T11:10:15.1920982Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:49:53 GMT + - Wed, 09 Jun 2021 11:10:45 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-16T16%3A49%3A22.526617Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A10%3A15.1872942Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '405' + - '404' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:49:53 GMT + - Wed, 09 Jun 2021 11:10:46 GMT etag: - - W/"datetime'2021-04-16T16%3A49%3A22.526617Z'" + - W/"datetime'2021-06-09T11%3A10%3A15.1872942Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T16%3A49%3A55.9674196Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A10%3A49.5424332Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5a913d9c-72d6-430f-ad18-a561205ceaa6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a47a2e6d-6c04-4645-b454-4644baf4e605?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:49:56 GMT + - Wed, 09 Jun 2021 11:10:49 GMT etag: - - W/"datetime'2021-04-16T16%3A49%3A55.9674196Z'" + - W/"datetime'2021-06-09T11%3A10%3A49.5424332Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5a913d9c-72d6-430f-ad18-a561205ceaa6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a47a2e6d-6c04-4645-b454-4644baf4e605?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5a913d9c-72d6-430f-ad18-a561205ceaa6","name":"5a913d9c-72d6-430f-ad18-a561205ceaa6","status":"Succeeded","startTime":"2021-04-16T16:49:55.9738518Z","endTime":"2021-04-16T16:49:56.2457866Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a47a2e6d-6c04-4645-b454-4644baf4e605","name":"a47a2e6d-6c04-4645-b454-4644baf4e605","status":"Succeeded","startTime":"2021-06-09T11:10:49.5482417Z","endTime":"2021-06-09T11:10:49.6582452Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:50:26 GMT + - Wed, 09 Jun 2021 11:11:20 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-16T16%3A49%3A56.2405968Z''\"","location":"southcentralusstage","properties":{"poolId":"5b9713f5-3060-da87-a13a-5642ad387fa7","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T11%3A10%3A49.653391Z''\"","location":"southcentralus","properties":{"poolId":"b56d42f6-efc3-c34a-4bd3-7b7b2c8e36be","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '642' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:50:26 GMT + - Wed, 09 Jun 2021 11:11:20 GMT etag: - - W/"datetime'2021-04-16T16%3A49%3A56.2405968Z'" + - W/"datetime'2021-06-09T11%3A10%3A49.653391Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A50%3A30.813527Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A11%3A23.1987041Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 cache-control: - no-cache content-length: - - '952' + - '974' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:50:31 GMT + - Wed, 09 Jun 2021 11:11:23 GMT etag: - - W/"datetime'2021-04-16T16%3A50%3A30.813527Z'" + - W/"datetime'2021-06-09T11%3A11%3A23.1987041Z'" expires: - '-1' pragma: @@ -345,21 +345,109 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 11:11:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 11:12:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:51:01 GMT + - Wed, 09 Jun 2021 11:12:55 GMT expires: - '-1' pragma: @@ -389,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:51:32 GMT + - Wed, 09 Jun 2021 11:13:24 GMT expires: - '-1' pragma: @@ -433,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:52:01 GMT + - Wed, 09 Jun 2021 11:13:55 GMT expires: - '-1' pragma: @@ -477,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:52:32 GMT + - Wed, 09 Jun 2021 11:14:26 GMT expires: - '-1' pragma: @@ -521,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:53:02 GMT + - Wed, 09 Jun 2021 11:14:55 GMT expires: - '-1' pragma: @@ -565,21 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Creating","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Creating","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:53:33 GMT + - Wed, 09 Jun 2021 11:15:26 GMT expires: - '-1' pragma: @@ -609,21 +697,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a16f6d3c-577c-4e7a-8135-cea343b1bfc2","name":"a16f6d3c-577c-4e7a-8135-cea343b1bfc2","status":"Succeeded","startTime":"2021-04-16T16:50:30.8185503Z","endTime":"2021-04-16T16:53:48.6958259Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3c0205eb-26a3-49b4-b879-8780e14563ca","name":"3c0205eb-26a3-49b4-b879-8780e14563ca","status":"Succeeded","startTime":"2021-06-09T11:11:23.2004805Z","endTime":"2021-06-09T11:15:30.3425377Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '582' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:03 GMT + - Wed, 09 Jun 2021 11:15:57 GMT expires: - '-1' pragma: @@ -653,23 +741,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A53%3A48.6928877Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_244e7783","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A15%3A30.312926Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"371bc630-c941-bf12-3264-8f97957407f1","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_907495c2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1739' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:03 GMT + - Wed, 09 Jun 2021 11:15:57 GMT etag: - - W/"datetime'2021-04-16T16%3A53%3A48.6928877Z'" + - W/"datetime'2021-06-09T11%3A15%3A30.312926Z'" expires: - '-1' pragma: @@ -699,23 +787,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A53%3A48.6928877Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_244e7783","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A15%3A30.312926Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"371bc630-c941-bf12-3264-8f97957407f1","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_907495c2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1739' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:04 GMT + - Wed, 09 Jun 2021 11:15:57 GMT etag: - - W/"datetime'2021-04-16T16%3A53%3A48.6928877Z'" + - W/"datetime'2021-06-09T11%3A15%3A30.312926Z'" expires: - '-1' pragma: @@ -736,7 +824,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -745,31 +833,31 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247e366a-1a93-4a15-a28a-50fc24244ce3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d2533b35-0745-47f3-923d-b5c2fd934d24?api-version=2021-04-01 cache-control: - no-cache content-length: - - '491' + - '489' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:04 GMT + - Wed, 09 Jun 2021 11:15:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247e366a-1a93-4a15-a28a-50fc24244ce3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d2533b35-0745-47f3-923d-b5c2fd934d24?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -795,21 +883,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247e366a-1a93-4a15-a28a-50fc24244ce3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d2533b35-0745-47f3-923d-b5c2fd934d24?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/247e366a-1a93-4a15-a28a-50fc24244ce3","name":"247e366a-1a93-4a15-a28a-50fc24244ce3","status":"Succeeded","startTime":"2021-04-16T16:54:04.8605404Z","endTime":"2021-04-16T16:54:20.7146396Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d2533b35-0745-47f3-923d-b5c2fd934d24","name":"d2533b35-0745-47f3-923d-b5c2fd934d24","status":"Succeeded","startTime":"2021-06-09T11:15:58.5959328Z","endTime":"2021-06-09T11:16:01.4209301Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:35 GMT + - Wed, 09 Jun 2021 11:16:28 GMT expires: - '-1' pragma: @@ -839,21 +927,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"012719fe-28ff-6ce9-1355-1a5fce232ebf","created":"2021-04-16T16:54:13Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"9ad931a2-b498-91bb-718a-d7a7f9e269a5","created":"2021-06-09T11:15:58Z"}}' headers: cache-control: - no-cache content-length: - - '577' + - '575' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:37 GMT + - Wed, 09 Jun 2021 11:16:28 GMT expires: - '-1' pragma: @@ -883,23 +971,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-16T16%3A53%3A48.6928877Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_244e7783","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T11%3A15%3A30.312926Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"371bc630-c941-bf12-3264-8f97957407f1","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_907495c2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1739' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:38 GMT + - Wed, 09 Jun 2021 11:16:28 GMT etag: - - W/"datetime'2021-04-16T16%3A53%3A48.6928877Z'" + - W/"datetime'2021-06-09T11%3A15%3A30.312926Z'" expires: - '-1' pragma: @@ -920,7 +1008,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -929,31 +1017,31 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7ff59659-8140-48f3-b16c-0c6712664ee7?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86c7dbbe-646a-4e38-9292-b9dd800e1f23?api-version=2021-04-01 cache-control: - no-cache content-length: - - '491' + - '489' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:54:38 GMT + - Wed, 09 Jun 2021 11:16:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7ff59659-8140-48f3-b16c-0c6712664ee7?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86c7dbbe-646a-4e38-9292-b9dd800e1f23?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -979,21 +1067,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7ff59659-8140-48f3-b16c-0c6712664ee7?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86c7dbbe-646a-4e38-9292-b9dd800e1f23?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7ff59659-8140-48f3-b16c-0c6712664ee7","name":"7ff59659-8140-48f3-b16c-0c6712664ee7","status":"Succeeded","startTime":"2021-04-16T16:54:38.7621981Z","endTime":"2021-04-16T16:54:53.9579971Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/86c7dbbe-646a-4e38-9292-b9dd800e1f23","name":"86c7dbbe-646a-4e38-9292-b9dd800e1f23","status":"Succeeded","startTime":"2021-06-09T11:16:30.1020402Z","endTime":"2021-06-09T11:16:32.4820368Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:55:08 GMT + - Wed, 09 Jun 2021 11:17:00 GMT expires: - '-1' pragma: @@ -1023,21 +1111,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"5e61479a-7d78-7c11-6218-be3fc65439dd","created":"2021-04-16T16:54:47Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"c2e82b24-0fca-2b2a-bb67-245d9d827d46","created":"2021-06-09T11:16:30Z"}}' headers: cache-control: - no-cache content-length: - - '577' + - '575' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:55:12 GMT + - Wed, 09 Jun 2021 11:17:00 GMT expires: - '-1' pragma: @@ -1067,21 +1155,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"012719fe-28ff-6ce9-1355-1a5fce232ebf","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","created":"2021-04-16T16:54:13Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","snapshotId":"5e61479a-7d78-7c11-6218-be3fc65439dd","fileSystemId":"ef4ac967-e5b9-e29d-1483-6b5cef57b823","created":"2021-04-16T16:54:47Z"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"9ad931a2-b498-91bb-718a-d7a7f9e269a5","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","created":"2021-06-09T11:15:58Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1/sdk-py-tests-snapshot-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"southcentralus","properties":{"provisioningState":"Succeeded","snapshotId":"c2e82b24-0fca-2b2a-bb67-245d9d827d46","fileSystemId":"371bc630-c941-bf12-3264-8f97957407f1","created":"2021-06-09T11:16:30Z"}}]}' headers: cache-control: - no-cache content-length: - - '1275' + - '1271' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:55:14 GMT + - Wed, 09 Jun 2021 11:17:01 GMT expires: - '-1' pragma: @@ -1113,25 +1201,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fddcc7b7-292e-498c-bccd-8915d99bde62?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40f1e149-1305-4868-8c3d-c37d982772b8?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:55:14 GMT + - Wed, 09 Jun 2021 11:17:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fddcc7b7-292e-498c-bccd-8915d99bde62?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40f1e149-1305-4868-8c3d-c37d982772b8?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1157,21 +1245,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fddcc7b7-292e-498c-bccd-8915d99bde62?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40f1e149-1305-4868-8c3d-c37d982772b8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fddcc7b7-292e-498c-bccd-8915d99bde62","name":"fddcc7b7-292e-498c-bccd-8915d99bde62","status":"Succeeded","startTime":"2021-04-16T16:55:15.683131Z","endTime":"2021-04-16T16:55:34.9165654Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/40f1e149-1305-4868-8c3d-c37d982772b8","name":"40f1e149-1305-4868-8c3d-c37d982772b8","status":"Succeeded","startTime":"2021-06-09T11:17:01.5270463Z","endTime":"2021-06-09T11:17:03.8070539Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1"}}' headers: cache-control: - no-cache content-length: - - '617' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:55:45 GMT + - Wed, 09 Jun 2021 11:17:31 GMT expires: - '-1' pragma: @@ -1201,9 +1289,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"Snapshot sdk-py-tests-snapshot-1 @@ -1216,7 +1304,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:56:08 GMT + - Wed, 09 Jun 2021 11:17:51 GMT expires: - '-1' pragma: @@ -1244,25 +1332,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fb6ab970-f6ff-4ff2-bb6a-d1211b72df78?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1be20a54-fe7e-4f60-ac8c-6319e1011801?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:56:09 GMT + - Wed, 09 Jun 2021 11:17:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fb6ab970-f6ff-4ff2-bb6a-d1211b72df78?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1be20a54-fe7e-4f60-ac8c-6319e1011801?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1288,21 +1376,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fb6ab970-f6ff-4ff2-bb6a-d1211b72df78?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1be20a54-fe7e-4f60-ac8c-6319e1011801?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fb6ab970-f6ff-4ff2-bb6a-d1211b72df78","name":"fb6ab970-f6ff-4ff2-bb6a-d1211b72df78","status":"Succeeded","startTime":"2021-04-16T16:56:09.1223928Z","endTime":"2021-04-16T16:56:20.9081654Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1be20a54-fe7e-4f60-ac8c-6319e1011801","name":"1be20a54-fe7e-4f60-ac8c-6319e1011801","status":"Succeeded","startTime":"2021-06-09T11:17:52.4751736Z","endTime":"2021-06-09T11:17:54.8251886Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2"}}' headers: cache-control: - no-cache content-length: - - '618' + - '616' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:56:39 GMT + - Wed, 09 Jun 2021 11:18:22 GMT expires: - '-1' pragma: @@ -1332,9 +1420,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/snapshots/sdk-py-tests-snapshot-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"NotFound","message":"Snapshot sdk-py-tests-snapshot-2 @@ -1347,7 +1435,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:57:01 GMT + - Wed, 09 Jun 2021 11:18:43 GMT expires: - '-1' pragma: @@ -1375,25 +1463,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 16:57:03 GMT + - Wed, 09 Jun 2021 11:18:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1419,21 +1507,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3","name":"10658769-62e5-4e3e-9e6a-157c46b7a9b3","status":"Deleting","startTime":"2021-04-16T16:57:03.7122427Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8","name":"1335ce29-497f-4ed5-a70c-9ab8129f37a8","status":"Deleting","startTime":"2021-06-09T11:18:44.7013246Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:57:33 GMT + - Wed, 09 Jun 2021 11:19:14 GMT expires: - '-1' pragma: @@ -1463,65 +1551,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3","name":"10658769-62e5-4e3e-9e6a-157c46b7a9b3","status":"Deleting","startTime":"2021-04-16T16:57:03.7122427Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1335ce29-497f-4ed5-a70c-9ab8129f37a8","name":"1335ce29-497f-4ed5-a70c-9ab8129f37a8","status":"Succeeded","startTime":"2021-06-09T11:18:44.7013246Z","endTime":"2021-06-09T11:19:43.2835474Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '582' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 16:58:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/10658769-62e5-4e3e-9e6a-157c46b7a9b3","name":"10658769-62e5-4e3e-9e6a-157c46b7a9b3","status":"Succeeded","startTime":"2021-04-16T16:57:03.7122427Z","endTime":"2021-04-16T16:58:26.4756908Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '584' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 16 Apr 2021 16:58:34 GMT + - Wed, 09 Jun 2021 11:19:44 GMT expires: - '-1' pragma: @@ -1551,23 +1595,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:01:55 GMT + - Wed, 09 Jun 2021 11:23:06 GMT expires: - '-1' pragma: @@ -1593,25 +1637,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/84caf047-0e57-4364-bae4-b0581b918de5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd3ea958-e4ba-4e40-a848-555585d81942?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:02:07 GMT + - Wed, 09 Jun 2021 11:23:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/84caf047-0e57-4364-bae4-b0581b918de5?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd3ea958-e4ba-4e40-a848-555585d81942?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1621,7 +1665,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-powered-by: - ASP.NET status: @@ -1637,21 +1681,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/84caf047-0e57-4364-bae4-b0581b918de5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd3ea958-e4ba-4e40-a848-555585d81942?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/84caf047-0e57-4364-bae4-b0581b918de5","name":"84caf047-0e57-4364-bae4-b0581b918de5","status":"Succeeded","startTime":"2021-04-16T17:02:07.5099696Z","endTime":"2021-04-16T17:02:08.831849Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd3ea958-e4ba-4e40-a848-555585d81942","name":"fd3ea958-e4ba-4e40-a848-555585d81942","status":"Succeeded","startTime":"2021-06-09T11:23:19.0360957Z","endTime":"2021-06-09T11:23:19.3911177Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '555' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:02:38 GMT + - Wed, 09 Jun 2021 11:23:49 GMT expires: - '-1' pragma: @@ -1683,9 +1727,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1693,7 +1737,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:02:48 GMT + - Wed, 09 Jun 2021 11:23:59 GMT expires: - '-1' pragma: @@ -1703,7 +1747,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 204 message: No Content @@ -1719,9 +1763,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1729,7 +1773,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:02:57 GMT + - Wed, 09 Jun 2021 11:24:09 GMT expires: - '-1' pragma: @@ -1739,7 +1783,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14997' status: code: 204 message: No Content @@ -1755,9 +1799,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1765,7 +1809,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:03:08 GMT + - Wed, 09 Jun 2021 11:24:20 GMT expires: - '-1' pragma: @@ -1775,7 +1819,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14996' status: code: 204 message: No Content @@ -1791,9 +1835,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1801,7 +1845,7 @@ interactions: cache-control: - no-cache date: - - Fri, 16 Apr 2021 17:03:18 GMT + - Wed, 09 Jun 2021 11:24:31 GMT expires: - '-1' pragma: @@ -1811,7 +1855,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14995' status: code: 204 message: No Content @@ -1825,23 +1869,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:03:28 GMT + - Wed, 09 Jun 2021 11:24:41 GMT expires: - '-1' pragma: @@ -1867,25 +1911,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7aa9d39c-c88f-4d0a-b958-d3a4ae411d63?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3da72088-f1d7-42b1-905d-39cacfe92c0a?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 16 Apr 2021 17:03:30 GMT + - Wed, 09 Jun 2021 11:24:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7aa9d39c-c88f-4d0a-b958-d3a4ae411d63?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3da72088-f1d7-42b1-905d-39cacfe92c0a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1895,7 +1939,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14994' x-powered-by: - ASP.NET status: @@ -1911,21 +1955,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7aa9d39c-c88f-4d0a-b958-d3a4ae411d63?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3da72088-f1d7-42b1-905d-39cacfe92c0a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/7aa9d39c-c88f-4d0a-b958-d3a4ae411d63","name":"7aa9d39c-c88f-4d0a-b958-d3a4ae411d63","status":"Succeeded","startTime":"2021-04-16T17:03:31.2087063Z","endTime":"2021-04-16T17:03:31.2586846Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/3da72088-f1d7-42b1-905d-39cacfe92c0a","name":"3da72088-f1d7-42b1-905d-39cacfe92c0a","status":"Succeeded","startTime":"2021-06-09T11:24:42.6227532Z","endTime":"2021-06-09T11:24:42.6677509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:04:00 GMT + - Wed, 09 Jun 2021 11:25:12 GMT expires: - '-1' pragma: @@ -1955,23 +1999,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 17:04:02 GMT + - Wed, 09 Jun 2021 11:25:14 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_assign_snapshot_policy_to_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_assign_snapshot_policy_to_volume.yaml index 79a0a2c12996..385b4be7b458 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_assign_snapshot_policy_to_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_assign_snapshot_policy_to_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-21T09%3A58%3A39.0117237Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A42%3A28.0425909Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/28bc6dc8-58c8-4bf2-82f0-a9c21bd95016?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55425383-a462-4a7e-a59c-8834c14512a1?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:58:39 GMT + - Wed, 09 Jun 2021 12:42:28 GMT etag: - - W/"datetime'2021-04-21T09%3A58%3A39.0117237Z'" + - W/"datetime'2021-06-09T12%3A42%3A28.0425909Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/28bc6dc8-58c8-4bf2-82f0-a9c21bd95016?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55425383-a462-4a7e-a59c-8834c14512a1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/28bc6dc8-58c8-4bf2-82f0-a9c21bd95016","name":"28bc6dc8-58c8-4bf2-82f0-a9c21bd95016","status":"Succeeded","startTime":"2021-04-21T09:58:39.0182581Z","endTime":"2021-04-21T09:58:39.1082599Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/55425383-a462-4a7e-a59c-8834c14512a1","name":"55425383-a462-4a7e-a59c-8834c14512a1","status":"Succeeded","startTime":"2021-06-09T12:42:28.0509164Z","endTime":"2021-06-09T12:42:28.1609286Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:09 GMT + - Wed, 09 Jun 2021 12:42:58 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-21T09%3A58%3A39.1015392Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A42%3A28.1573307Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '406' + - '404' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:09 GMT + - Wed, 09 Jun 2021 12:42:59 GMT etag: - - W/"datetime'2021-04-21T09%3A58%3A39.1015392Z'" + - W/"datetime'2021-06-09T12%3A42%3A28.1573307Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-21T09%3A59%3A12.3990746Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T12%3A43%3A02.0117934Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/14182ff7-d7d2-408a-b0b6-2972242950f5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dc0d36d2-1d6f-45f4-888b-e6f455718f48?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:13 GMT + - Wed, 09 Jun 2021 12:43:02 GMT etag: - - W/"datetime'2021-04-21T09%3A59%3A12.3990746Z'" + - W/"datetime'2021-06-09T12%3A43%3A02.0117934Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/14182ff7-d7d2-408a-b0b6-2972242950f5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dc0d36d2-1d6f-45f4-888b-e6f455718f48?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/14182ff7-d7d2-408a-b0b6-2972242950f5","name":"14182ff7-d7d2-408a-b0b6-2972242950f5","status":"Succeeded","startTime":"2021-04-21T09:59:12.403806Z","endTime":"2021-04-21T09:59:12.9904787Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dc0d36d2-1d6f-45f4-888b-e6f455718f48","name":"dc0d36d2-1d6f-45f4-888b-e6f455718f48","status":"Succeeded","startTime":"2021-06-09T12:43:02.147661Z","endTime":"2021-06-09T12:43:02.287696Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '553' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:43 GMT + - Wed, 09 Jun 2021 12:43:33 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-21T09%3A59%3A12.9844341Z''\"","location":"southcentralusstage","properties":{"poolId":"5f649a1e-ec16-d12f-b52c-613b29d4412a","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T12%3A43%3A02.2833632Z''\"","location":"southcentralus","properties":{"poolId":"9c1ac688-c2a2-0585-86a8-808607c56e7d","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '643' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:43 GMT + - Wed, 09 Jun 2021 12:43:33 GMT etag: - - W/"datetime'2021-04-21T09%3A59%3A12.9844341Z'" + - W/"datetime'2021-06-09T12%3A43%3A02.2833632Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-21T09%3A59%3A45.8274538Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T12%3A43%3A35.5246716Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '974' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 09:59:46 GMT + - Wed, 09 Jun 2021 12:43:36 GMT etag: - - W/"datetime'2021-04-21T09%3A59%3A45.8274538Z'" + - W/"datetime'2021-06-09T12%3A43%3A35.5246716Z'" expires: - '-1' pragma: @@ -345,21 +345,109 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 12:44:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 12:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Creating","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:00:17 GMT + - Wed, 09 Jun 2021 12:45:07 GMT expires: - '-1' pragma: @@ -389,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Creating","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:00:47 GMT + - Wed, 09 Jun 2021 12:45:37 GMT expires: - '-1' pragma: @@ -433,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Creating","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:01:17 GMT + - Wed, 09 Jun 2021 12:46:08 GMT expires: - '-1' pragma: @@ -477,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Creating","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:01:47 GMT + - Wed, 09 Jun 2021 12:46:38 GMT expires: - '-1' pragma: @@ -521,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Creating","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Creating","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:02:17 GMT + - Wed, 09 Jun 2021 12:47:08 GMT expires: - '-1' pragma: @@ -565,21 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16585870-01d7-4bf6-9baf-053ba1f5a9bf","name":"16585870-01d7-4bf6-9baf-053ba1f5a9bf","status":"Succeeded","startTime":"2021-04-21T09:59:45.8358474Z","endTime":"2021-04-21T10:02:44.0572976Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88c321ff-c4ca-46c3-be78-01d51f22bc3d","name":"88c321ff-c4ca-46c3-be78-01d51f22bc3d","status":"Succeeded","startTime":"2021-06-09T12:43:35.5319943Z","endTime":"2021-06-09T12:47:35.3844181Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '582' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:02:47 GMT + - Wed, 09 Jun 2021 12:47:39 GMT expires: - '-1' pragma: @@ -609,23 +697,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-21T10%3A02%3A44.0522889Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"91f2c16f-1792-4b24-1547-df489f76ad5c","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_fe0e01db","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T12%3A47%3A35.3737016Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_5e24252c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:02:48 GMT + - Wed, 09 Jun 2021 12:47:40 GMT etag: - - W/"datetime'2021-04-21T10%3A02%3A44.0522889Z'" + - W/"datetime'2021-06-09T12%3A47%3A35.3737016Z'" expires: - '-1' pragma: @@ -646,7 +734,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -655,29 +743,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-21T10%3A02%3A49.0938451Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Updating","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A47%3A40.6273991Z''\"","location":"southcentralus","properties":{"provisioningState":"Updating","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d64cb7f4-fcfd-4bf0-bec1-805fd89aad16?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c72ff7c6-d190-4c3c-9e2a-51f831158cdc?api-version=2021-04-01 cache-control: - no-cache content-length: - - '405' + - '403' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:02:48 GMT + - Wed, 09 Jun 2021 12:47:40 GMT etag: - - W/"datetime'2021-04-21T10%3A02%3A49.0938451Z'" + - W/"datetime'2021-06-09T12%3A47%3A40.6273991Z'" expires: - '-1' pragma: @@ -709,21 +797,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d64cb7f4-fcfd-4bf0-bec1-805fd89aad16?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c72ff7c6-d190-4c3c-9e2a-51f831158cdc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d64cb7f4-fcfd-4bf0-bec1-805fd89aad16","name":"d64cb7f4-fcfd-4bf0-bec1-805fd89aad16","status":"Succeeded","startTime":"2021-04-21T10:02:49.0954952Z","endTime":"2021-04-21T10:02:49.576233Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c72ff7c6-d190-4c3c-9e2a-51f831158cdc","name":"c72ff7c6-d190-4c3c-9e2a-51f831158cdc","status":"Succeeded","startTime":"2021-06-09T12:47:40.6299832Z","endTime":"2021-06-09T12:47:41.4449868Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '522' + - '521' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:18 GMT + - Wed, 09 Jun 2021 12:48:10 GMT expires: - '-1' pragma: @@ -753,23 +841,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-21T10%3A02%3A49.5721817Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A47%3A41.4409716Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '406' + - '404' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:19 GMT + - Wed, 09 Jun 2021 12:48:10 GMT etag: - - W/"datetime'2021-04-21T10%3A02%3A49.5721817Z'" + - W/"datetime'2021-06-09T12%3A47%3A41.4409716Z'" expires: - '-1' pragma: @@ -790,7 +878,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -801,29 +889,29 @@ interactions: Connection: - keep-alive Content-Length: - - '191' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-21T10%3A03%3A23.7310693Z''\"","location":"southcentralusstage","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A48%3A15.01055Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/85d010ef-3438-40cc-89a6-a4ab116dc0fd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5d28b3f5-b911-4a4f-85b7-f73fa080c32a?api-version=2021-04-01 cache-control: - no-cache content-length: - - '582' + - '578' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:24 GMT + - Wed, 09 Jun 2021 12:48:15 GMT etag: - - W/"datetime'2021-04-21T10%3A03%3A23.7310693Z'" + - W/"datetime'2021-06-09T12%3A48%3A15.01055Z'" expires: - '-1' pragma: @@ -843,7 +931,7 @@ interactions: message: Created - request: body: '{"properties": {"usageThreshold": 107374182400, "dataProtection": {"snapshot": - {"snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}}}' + {"snapshotPolicyId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}}}' headers: Accept: - application/json @@ -852,33 +940,33 @@ interactions: Connection: - keep-alive Content-Length: - - '298' + - '301' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-21T10%3A03%3A25.2583503Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"91f2c16f-1792-4b24-1547-df489f76ad5c","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_fe0e01db","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T12%3A48%3A16.2364777Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Patching","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_5e24252c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/114262a6-59d3-487d-bc43-13e271ab13a9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/77066838-5a3b-43ec-a4cc-ddc354c74f1f?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1668' + - '1739' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:24 GMT + - Wed, 09 Jun 2021 12:48:15 GMT etag: - - W/"datetime'2021-04-21T10%3A03%3A25.2583503Z'" + - W/"datetime'2021-06-09T12%3A48%3A16.2364777Z'" expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/114262a6-59d3-487d-bc43-13e271ab13a9?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/77066838-5a3b-43ec-a4cc-ddc354c74f1f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -904,21 +992,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/114262a6-59d3-487d-bc43-13e271ab13a9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/77066838-5a3b-43ec-a4cc-ddc354c74f1f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/114262a6-59d3-487d-bc43-13e271ab13a9","name":"114262a6-59d3-487d-bc43-13e271ab13a9","status":"Succeeded","startTime":"2021-04-21T10:03:25.2638124Z","endTime":"2021-04-21T10:03:42.0259398Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/77066838-5a3b-43ec-a4cc-ddc354c74f1f","name":"77066838-5a3b-43ec-a4cc-ddc354c74f1f","status":"Succeeded","startTime":"2021-06-09T12:48:16.2421194Z","endTime":"2021-06-09T12:48:20.4421488Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '582' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:54 GMT + - Wed, 09 Jun 2021 12:48:46 GMT expires: - '-1' pragma: @@ -948,23 +1036,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-21T10%3A03%3A42.022175Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"91f2c16f-1792-4b24-1547-df489f76ad5c","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"snapshot":{"snapshotPolicyId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}},"provisioningState":"Succeeded","fileSystemId":"91f2c16f-1792-4b24-1547-df489f76ad5c","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_fe0e01db","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T12%3A48%3A20.4374409Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"snapshot":{"snapshotPolicyId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}},"provisioningState":"Succeeded","fileSystemId":"d6bf412c-1ac0-d5b8-1439-d239e09b7647","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_5e24252c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1914' + - '1989' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:03:54 GMT + - Wed, 09 Jun 2021 12:48:46 GMT etag: - - W/"datetime'2021-04-21T10%3A03%3A42.022175Z'" + - W/"datetime'2021-06-09T12%3A48%3A20.4374409Z'" expires: - '-1' pragma: @@ -996,25 +1084,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 21 Apr 2021 10:03:55 GMT + - Wed, 09 Jun 2021 12:48:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1040,65 +1128,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225","name":"24e6de50-24da-4f69-9bb3-89b336a63225","status":"Deleting","startTime":"2021-04-21T10:03:56.4215546Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '573' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 21 Apr 2021 10:04:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225","name":"24e6de50-24da-4f69-9bb3-89b336a63225","status":"Deleting","startTime":"2021-04-21T10:03:56.4215546Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522","name":"8041a63e-ae5b-4f1d-9983-890f52eff522","status":"Deleting","startTime":"2021-06-09T12:48:47.7132311Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:04:57 GMT + - Wed, 09 Jun 2021 12:49:17 GMT expires: - '-1' pragma: @@ -1128,21 +1172,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/24e6de50-24da-4f69-9bb3-89b336a63225","name":"24e6de50-24da-4f69-9bb3-89b336a63225","status":"Succeeded","startTime":"2021-04-21T10:03:56.4215546Z","endTime":"2021-04-21T10:05:03.965421Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8041a63e-ae5b-4f1d-9983-890f52eff522","name":"8041a63e-ae5b-4f1d-9983-890f52eff522","status":"Succeeded","startTime":"2021-06-09T12:48:47.7132311Z","endTime":"2021-06-09T12:49:25.4682062Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '583' + - '582' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:05:27 GMT + - Wed, 09 Jun 2021 12:49:47 GMT expires: - '-1' pragma: @@ -1172,23 +1216,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:08:47 GMT + - Wed, 09 Jun 2021 12:53:12 GMT expires: - '-1' pragma: @@ -1214,25 +1258,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cd3f19e3-956c-4b47-a6fc-bbaa7ae78d88?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8db465a6-9324-4dba-ba8c-8896753385ef?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 21 Apr 2021 10:08:49 GMT + - Wed, 09 Jun 2021 12:53:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cd3f19e3-956c-4b47-a6fc-bbaa7ae78d88?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8db465a6-9324-4dba-ba8c-8896753385ef?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1258,21 +1302,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cd3f19e3-956c-4b47-a6fc-bbaa7ae78d88?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8db465a6-9324-4dba-ba8c-8896753385ef?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cd3f19e3-956c-4b47-a6fc-bbaa7ae78d88","name":"cd3f19e3-956c-4b47-a6fc-bbaa7ae78d88","status":"Succeeded","startTime":"2021-04-21T10:08:50.1058601Z","endTime":"2021-04-21T10:08:50.1608587Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8db465a6-9324-4dba-ba8c-8896753385ef","name":"8db465a6-9324-4dba-ba8c-8896753385ef","status":"Succeeded","startTime":"2021-06-09T12:53:14.3088333Z","endTime":"2021-06-09T12:53:14.3388324Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '571' + - '569' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:09:20 GMT + - Wed, 09 Jun 2021 12:53:44 GMT expires: - '-1' pragma: @@ -1302,23 +1346,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '286' + - '289' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:09:25 GMT + - Wed, 09 Jun 2021 12:53:49 GMT expires: - '-1' pragma: @@ -1344,25 +1388,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4f4cc11-2e26-47ec-ac45-e258cf082b8b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/be4fe107-c674-4d94-a0dd-5265bbb0cdb4?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 21 Apr 2021 10:09:35 GMT + - Wed, 09 Jun 2021 12:54:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4f4cc11-2e26-47ec-ac45-e258cf082b8b?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/be4fe107-c674-4d94-a0dd-5265bbb0cdb4?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1388,21 +1432,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4f4cc11-2e26-47ec-ac45-e258cf082b8b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/be4fe107-c674-4d94-a0dd-5265bbb0cdb4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b4f4cc11-2e26-47ec-ac45-e258cf082b8b","name":"b4f4cc11-2e26-47ec-ac45-e258cf082b8b","status":"Succeeded","startTime":"2021-04-21T10:09:36.4638673Z","endTime":"2021-04-21T10:09:37.3859626Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/be4fe107-c674-4d94-a0dd-5265bbb0cdb4","name":"be4fe107-c674-4d94-a0dd-5265bbb0cdb4","status":"Succeeded","startTime":"2021-06-09T12:54:07.8160259Z","endTime":"2021-06-09T12:54:08.1510323Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:10:06 GMT + - Wed, 09 Jun 2021 12:54:37 GMT expires: - '-1' pragma: @@ -1434,9 +1478,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1444,7 +1488,7 @@ interactions: cache-control: - no-cache date: - - Wed, 21 Apr 2021 10:10:16 GMT + - Wed, 09 Jun 2021 12:54:48 GMT expires: - '-1' pragma: @@ -1470,9 +1514,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1480,7 +1524,7 @@ interactions: cache-control: - no-cache date: - - Wed, 21 Apr 2021 10:10:26 GMT + - Wed, 09 Jun 2021 12:54:58 GMT expires: - '-1' pragma: @@ -1506,9 +1550,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1516,7 +1560,7 @@ interactions: cache-control: - no-cache date: - - Wed, 21 Apr 2021 10:10:38 GMT + - Wed, 09 Jun 2021 12:55:08 GMT expires: - '-1' pragma: @@ -1542,9 +1586,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1552,7 +1596,7 @@ interactions: cache-control: - no-cache date: - - Wed, 21 Apr 2021 10:10:48 GMT + - Wed, 09 Jun 2021 12:55:19 GMT expires: - '-1' pragma: @@ -1576,23 +1620,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:10:58 GMT + - Wed, 09 Jun 2021 12:55:29 GMT expires: - '-1' pragma: @@ -1618,25 +1662,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b01f0c7-20b2-416c-a618-ce035752767e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5554ad1c-5230-4cb6-8111-3e64ab8ec207?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 21 Apr 2021 10:10:59 GMT + - Wed, 09 Jun 2021 12:55:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b01f0c7-20b2-416c-a618-ce035752767e?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5554ad1c-5230-4cb6-8111-3e64ab8ec207?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1662,21 +1706,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b01f0c7-20b2-416c-a618-ce035752767e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5554ad1c-5230-4cb6-8111-3e64ab8ec207?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6b01f0c7-20b2-416c-a618-ce035752767e","name":"6b01f0c7-20b2-416c-a618-ce035752767e","status":"Succeeded","startTime":"2021-04-21T10:10:59.9289149Z","endTime":"2021-04-21T10:10:59.9889154Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5554ad1c-5230-4cb6-8111-3e64ab8ec207","name":"5554ad1c-5230-4cb6-8111-3e64ab8ec207","status":"Succeeded","startTime":"2021-06-09T12:55:31.4548667Z","endTime":"2021-06-09T12:55:33.2548831Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:11:30 GMT + - Wed, 09 Jun 2021 12:56:01 GMT expires: - '-1' pragma: @@ -1706,23 +1750,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 10:11:32 GMT + - Wed, 09 Jun 2021 12:56:03 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_create_delete_snapshot_policy.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_create_delete_snapshot_policy.yaml index a574c3e8be4b..037c11b5caa8 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_create_delete_snapshot_policy.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_create_delete_snapshot_policy.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A28%3A13.8283165Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A56%3A32.9887154Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0b61ec90-e2a9-48e7-b76a-bade13caa86b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/689507a1-dd98-4647-8cf5-04a3d1b45923?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:28:14 GMT + - Wed, 09 Jun 2021 11:56:33 GMT etag: - - W/"datetime'2021-04-08T11%3A28%3A13.8283165Z'" + - W/"datetime'2021-06-09T11%3A56%3A32.9887154Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0b61ec90-e2a9-48e7-b76a-bade13caa86b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/689507a1-dd98-4647-8cf5-04a3d1b45923?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0b61ec90-e2a9-48e7-b76a-bade13caa86b","name":"0b61ec90-e2a9-48e7-b76a-bade13caa86b","status":"Succeeded","startTime":"2021-04-08T11:28:13.8379816Z","endTime":"2021-04-08T11:28:14.0500555Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/689507a1-dd98-4647-8cf5-04a3d1b45923","name":"689507a1-dd98-4647-8cf5-04a3d1b45923","status":"Succeeded","startTime":"2021-06-09T11:56:32.992927Z","endTime":"2021-06-09T11:56:33.0729187Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:28:44 GMT + - Wed, 09 Jun 2021 11:57:04 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A28%3A14.03539Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T11%3A56%3A33.0645882Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '400' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:28:45 GMT + - Wed, 09 Jun 2021 11:57:04 GMT etag: - - W/"datetime'2021-04-08T11%3A28%3A14.03539Z'" + - W/"datetime'2021-06-09T11%3A56%3A33.0645882Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -151,29 +151,29 @@ interactions: Connection: - keep-alive Content-Length: - - '185' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A28%3A46.2963357Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T11%3A57%3A06.6376633Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/f603d2b2-927f-476e-a37e-7264a926058d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/0d37973c-bd93-4072-959b-9eeff8276a18?api-version=2021-04-01 cache-control: - no-cache content-length: - - '578' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:28:45 GMT + - Wed, 09 Jun 2021 11:57:07 GMT etag: - - W/"datetime'2021-04-08T11%3A28%3A46.2963357Z'" + - W/"datetime'2021-06-09T11%3A57%3A06.6376633Z'" expires: - '-1' pragma: @@ -201,21 +201,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A28%3A46.4858259Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T11%3A57%3A06.6972726Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '591' + - '593' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:28:46 GMT + - Wed, 09 Jun 2021 11:57:07 GMT expires: - '-1' pragma: @@ -247,25 +247,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa371d27-371f-4acb-be3f-ae10eef11d70?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f90f7667-9cff-4635-905f-821c1e07c437?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:28:46 GMT + - Wed, 09 Jun 2021 11:57:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa371d27-371f-4acb-be3f-ae10eef11d70?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f90f7667-9cff-4635-905f-821c1e07c437?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -291,21 +291,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa371d27-371f-4acb-be3f-ae10eef11d70?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f90f7667-9cff-4635-905f-821c1e07c437?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/fa371d27-371f-4acb-be3f-ae10eef11d70","name":"fa371d27-371f-4acb-be3f-ae10eef11d70","status":"Succeeded","startTime":"2021-04-08T11:28:47.1252866Z","endTime":"2021-04-08T11:28:47.4336276Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f90f7667-9cff-4635-905f-821c1e07c437","name":"f90f7667-9cff-4635-905f-821c1e07c437","status":"Succeeded","startTime":"2021-06-09T11:57:08.8197109Z","endTime":"2021-06-09T11:57:08.869708Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '566' + - '568' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:29:17 GMT + - Wed, 09 Jun 2021 11:57:38 GMT expires: - '-1' pragma: @@ -335,35 +335,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The resource with identifier - ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' - is not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '288' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:29:22 GMT + - Wed, 09 Jun 2021 11:57:44 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-ms-failure-cause: + - gateway status: code: 404 message: Not Found @@ -377,9 +375,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -391,7 +389,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:29:22 GMT + - Wed, 09 Jun 2021 11:57:44 GMT expires: - '-1' pragma: @@ -423,25 +421,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/485f17c3-28c5-4a20-9297-cc7b303f0c48?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d383ec2e-36b3-4f23-9dc7-54d28e224b04?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:29:23 GMT + - Wed, 09 Jun 2021 11:57:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/485f17c3-28c5-4a20-9297-cc7b303f0c48?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d383ec2e-36b3-4f23-9dc7-54d28e224b04?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -467,21 +465,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/485f17c3-28c5-4a20-9297-cc7b303f0c48?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d383ec2e-36b3-4f23-9dc7-54d28e224b04?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/485f17c3-28c5-4a20-9297-cc7b303f0c48","name":"485f17c3-28c5-4a20-9297-cc7b303f0c48","status":"Succeeded","startTime":"2021-04-08T11:29:24.096592Z","endTime":"2021-04-08T11:29:24.1832222Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d383ec2e-36b3-4f23-9dc7-54d28e224b04","name":"d383ec2e-36b3-4f23-9dc7-54d28e224b04","status":"Succeeded","startTime":"2021-06-09T11:57:45.1822491Z","endTime":"2021-06-09T11:57:45.3222761Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:29:53 GMT + - Wed, 09 Jun 2021 11:58:15 GMT expires: - '-1' pragma: @@ -511,23 +509,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:29:56 GMT + - Wed, 09 Jun 2021 11:58:17 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_get_snapshot_policy_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_get_snapshot_policy_by_name.yaml index 4e28fd94bc05..6731b10fc749 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_get_snapshot_policy_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_get_snapshot_policy_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A33%3A11.5561776Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A02%3A53.7627451Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/824e35ea-81f8-4503-90f1-45087f13c017?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f8e8de92-3513-47dd-8f7f-c6ef35635fd1?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:33:12 GMT + - Wed, 09 Jun 2021 12:02:54 GMT etag: - - W/"datetime'2021-04-08T11%3A33%3A11.5561776Z'" + - W/"datetime'2021-06-09T12%3A02%3A53.7627451Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/824e35ea-81f8-4503-90f1-45087f13c017?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f8e8de92-3513-47dd-8f7f-c6ef35635fd1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/824e35ea-81f8-4503-90f1-45087f13c017","name":"824e35ea-81f8-4503-90f1-45087f13c017","status":"Succeeded","startTime":"2021-04-08T11:33:11.5676533Z","endTime":"2021-04-08T11:33:11.771003Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f8e8de92-3513-47dd-8f7f-c6ef35635fd1","name":"f8e8de92-3513-47dd-8f7f-c6ef35635fd1","status":"Succeeded","startTime":"2021-06-09T12:02:53.7720804Z","endTime":"2021-06-09T12:02:54.3220781Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:33:42 GMT + - Wed, 09 Jun 2021 12:03:24 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A33%3A11.7654476Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A02%3A54.290782Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '403' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:33:42 GMT + - Wed, 09 Jun 2021 12:03:25 GMT etag: - - W/"datetime'2021-04-08T11%3A33%3A11.7654476Z'" + - W/"datetime'2021-06-09T12%3A02%3A54.290782Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -151,29 +151,29 @@ interactions: Connection: - keep-alive Content-Length: - - '185' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A33%3A43.7910783Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A03%3A27.2165533Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7b62f445-12d1-4a79-a433-7c7b2058f939?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/61a4ca5e-a2e0-439b-8862-b92b2085bbf9?api-version=2021-04-01 cache-control: - no-cache content-length: - - '578' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:33:43 GMT + - Wed, 09 Jun 2021 12:03:28 GMT etag: - - W/"datetime'2021-04-08T11%3A33%3A43.7910783Z'" + - W/"datetime'2021-06-09T12%3A03%3A27.2165533Z'" expires: - '-1' pragma: @@ -185,7 +185,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' x-powered-by: - ASP.NET status: @@ -201,23 +201,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A33%3A43.8725161Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A03%3A27.3000266Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '579' + - '581' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:33:43 GMT + - Wed, 09 Jun 2021 12:03:28 GMT etag: - - W/"datetime'2021-04-08T11%3A33%3A43.8725161Z'" + - W/"datetime'2021-06-09T12%3A03%3A27.3000266Z'" expires: - '-1' pragma: @@ -249,25 +249,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9e9a8ef-fddd-4b63-8d33-aa138f8d18e4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b692cb6-6456-49d4-9b27-45393d5d7ecb?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:33:44 GMT + - Wed, 09 Jun 2021 12:03:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9e9a8ef-fddd-4b63-8d33-aa138f8d18e4?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b692cb6-6456-49d4-9b27-45393d5d7ecb?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -277,7 +277,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14999' x-powered-by: - ASP.NET status: @@ -293,21 +293,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9e9a8ef-fddd-4b63-8d33-aa138f8d18e4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b692cb6-6456-49d4-9b27-45393d5d7ecb?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/b9e9a8ef-fddd-4b63-8d33-aa138f8d18e4","name":"b9e9a8ef-fddd-4b63-8d33-aa138f8d18e4","status":"Succeeded","startTime":"2021-04-08T11:33:44.541746Z","endTime":"2021-04-08T11:33:44.6016513Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b692cb6-6456-49d4-9b27-45393d5d7ecb","name":"6b692cb6-6456-49d4-9b27-45393d5d7ecb","status":"Succeeded","startTime":"2021-06-09T12:03:29.1171326Z","endTime":"2021-06-09T12:03:29.1421032Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '565' + - '569' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:34:14 GMT + - Wed, 09 Jun 2021 12:03:58 GMT expires: - '-1' pragma: @@ -337,35 +337,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The resource with identifier - ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' - is not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '288' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:34:20 GMT + - Wed, 09 Jun 2021 12:04:03 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-ms-failure-cause: + - gateway status: code: 404 message: Not Found @@ -381,25 +379,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62461e2d-4d32-4bd2-9d16-9c94bcd18cd5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/db042671-5b28-4410-89f3-273d92fba432?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:34:21 GMT + - Wed, 09 Jun 2021 12:04:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62461e2d-4d32-4bd2-9d16-9c94bcd18cd5?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/db042671-5b28-4410-89f3-273d92fba432?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -409,7 +407,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14992' + - '14998' x-powered-by: - ASP.NET status: @@ -425,21 +423,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62461e2d-4d32-4bd2-9d16-9c94bcd18cd5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/db042671-5b28-4410-89f3-273d92fba432?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/62461e2d-4d32-4bd2-9d16-9c94bcd18cd5","name":"62461e2d-4d32-4bd2-9d16-9c94bcd18cd5","status":"Succeeded","startTime":"2021-04-08T11:34:21.0774953Z","endTime":"2021-04-08T11:34:21.4321306Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/db042671-5b28-4410-89f3-273d92fba432","name":"db042671-5b28-4410-89f3-273d92fba432","status":"Succeeded","startTime":"2021-06-09T12:04:05.2252143Z","endTime":"2021-06-09T12:04:05.2702046Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:34:53 GMT + - Wed, 09 Jun 2021 12:04:35 GMT expires: - '-1' pragma: @@ -469,23 +467,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:34:53 GMT + - Wed, 09 Jun 2021 12:04:35 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_list_snapshot_policies.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_list_snapshot_policies.yaml index 855447ad2807..630fb87acafa 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_list_snapshot_policies.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_list_snapshot_policies.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A30%3A40.707898Z''\"","location":"westcentralus","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A00%3A10.8578412Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cd6cad47-bf8f-4f60-bf8d-adadb533161b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93fc8008-d4cd-45c7-8715-77e6cb51588d?api-version=2021-04-01 cache-control: - no-cache content-length: - - '354' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:30:41 GMT + - Wed, 09 Jun 2021 12:00:11 GMT etag: - - W/"datetime'2021-04-08T11%3A30%3A40.707898Z'" + - W/"datetime'2021-06-09T12%3A00%3A10.8578412Z'" expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET status: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cd6cad47-bf8f-4f60-bf8d-adadb533161b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93fc8008-d4cd-45c7-8715-77e6cb51588d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/cd6cad47-bf8f-4f60-bf8d-adadb533161b","name":"cd6cad47-bf8f-4f60-bf8d-adadb533161b","status":"Succeeded","startTime":"2021-04-08T11:30:40.715374Z","endTime":"2021-04-08T11:30:40.8615876Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/93fc8008-d4cd-45c7-8715-77e6cb51588d","name":"93fc8008-d4cd-45c7-8715-77e6cb51588d","status":"Succeeded","startTime":"2021-06-09T12:00:10.8606225Z","endTime":"2021-06-09T12:00:10.9156257Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:11 GMT + - Wed, 09 Jun 2021 12:00:41 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-08T11%3A30%3A40.85544Z''\"","location":"westcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A00%3A10.9112994Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '400' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:11 GMT + - Wed, 09 Jun 2021 12:00:43 GMT etag: - - W/"datetime'2021-04-08T11%3A30%3A40.85544Z'" + - W/"datetime'2021-06-09T12%3A00%3A10.9112994Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -151,29 +151,29 @@ interactions: Connection: - keep-alive Content-Length: - - '185' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A31%3A12.9323587Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A00%3A45.8324133Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/0d1e1e95-5325-4abf-8e7c-32c79c688296?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c74a5429-febb-42c7-ba50-45c834402967?api-version=2021-04-01 cache-control: - no-cache content-length: - - '578' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:12 GMT + - Wed, 09 Jun 2021 12:00:45 GMT etag: - - W/"datetime'2021-04-08T11%3A31%3A12.9323587Z'" + - W/"datetime'2021-06-09T12%3A00%3A45.8324133Z'" expires: - '-1' pragma: @@ -185,14 +185,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' x-powered-by: - ASP.NET status: code: 201 message: Created - request: - body: '{"location": "westcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -203,29 +203,29 @@ interactions: Connection: - keep-alive Content-Length: - - '185' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-2","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A31%3A13.5888163Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-2","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A00%3A48.9095768Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/5def0190-08de-4f25-bdd8-72976772858e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ee3e8b8f-032b-4e01-a836-6a9cbb0dbcc7?api-version=2021-04-01 cache-control: - no-cache content-length: - - '578' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:13 GMT + - Wed, 09 Jun 2021 12:00:48 GMT etag: - - W/"datetime'2021-04-08T11%3A31%3A13.5888163Z'" + - W/"datetime'2021-06-09T12%3A00%3A48.9095768Z'" expires: - '-1' pragma: @@ -237,7 +237,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1197' x-powered-by: - ASP.NET status: @@ -253,21 +253,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A31%3A13.0336845Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-2","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-04-08T11%3A31%3A13.6861571Z''\"","location":"westcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A00%3A45.9778156Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-2","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A00%3A48.9578991Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '1171' + - '1175' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:13 GMT + - Wed, 09 Jun 2021 12:00:50 GMT expires: - '-1' pragma: @@ -299,25 +299,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/493f270f-5301-4a55-87e8-6646cdc1d4ce?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88b812ad-2bc6-4957-8636-b1239534b39e?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:31:14 GMT + - Wed, 09 Jun 2021 12:00:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/493f270f-5301-4a55-87e8-6646cdc1d4ce?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88b812ad-2bc6-4957-8636-b1239534b39e?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -327,7 +327,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14999' x-powered-by: - ASP.NET status: @@ -343,21 +343,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/493f270f-5301-4a55-87e8-6646cdc1d4ce?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88b812ad-2bc6-4957-8636-b1239534b39e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/493f270f-5301-4a55-87e8-6646cdc1d4ce","name":"493f270f-5301-4a55-87e8-6646cdc1d4ce","status":"Succeeded","startTime":"2021-04-08T11:31:14.4364283Z","endTime":"2021-04-08T11:31:14.585987Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/88b812ad-2bc6-4957-8636-b1239534b39e","name":"88b812ad-2bc6-4957-8636-b1239534b39e","status":"Succeeded","startTime":"2021-06-09T12:00:50.9217254Z","endTime":"2021-06-09T12:00:50.9517313Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '565' + - '569' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:44 GMT + - Wed, 09 Jun 2021 12:01:21 GMT expires: - '-1' pragma: @@ -387,35 +387,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The resource with identifier - ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' - is not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '288' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:31:49 GMT + - Wed, 09 Jun 2021 12:01:27 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-ms-failure-cause: + - gateway status: code: 404 message: Not Found @@ -431,25 +429,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7c249896-51a9-4ac4-a849-36375735b142?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a2be18b-81fd-4d4f-b3bf-c14de70676f4?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:31:50 GMT + - Wed, 09 Jun 2021 12:01:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7c249896-51a9-4ac4-a849-36375735b142?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a2be18b-81fd-4d4f-b3bf-c14de70676f4?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -459,7 +457,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14992' + - '14998' x-powered-by: - ASP.NET status: @@ -475,21 +473,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7c249896-51a9-4ac4-a849-36375735b142?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a2be18b-81fd-4d4f-b3bf-c14de70676f4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/7c249896-51a9-4ac4-a849-36375735b142","name":"7c249896-51a9-4ac4-a849-36375735b142","status":"Succeeded","startTime":"2021-04-08T11:31:50.6252221Z","endTime":"2021-04-08T11:31:50.6952726Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8a2be18b-81fd-4d4f-b3bf-c14de70676f4","name":"8a2be18b-81fd-4d4f-b3bf-c14de70676f4","status":"Succeeded","startTime":"2021-06-09T12:01:28.3000183Z","endTime":"2021-06-09T12:01:28.640016Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2"}}' headers: cache-control: - no-cache content-length: - - '566' + - '568' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:32:20 GMT + - Wed, 09 Jun 2021 12:01:58 GMT expires: - '-1' pragma: @@ -519,35 +517,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The resource with identifier - ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2'' - is not found."}}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-2'' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '288' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:32:25 GMT + - Wed, 09 Jun 2021 12:02:04 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-powered-by: - - ASP.NET + x-ms-failure-cause: + - gateway status: code: 404 message: Not Found @@ -561,9 +557,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -575,7 +571,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:32:25 GMT + - Wed, 09 Jun 2021 12:02:04 GMT expires: - '-1' pragma: @@ -607,25 +603,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbc6fabb-ca4a-4582-90f0-10bdb15296ba?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/007fd37f-033f-43f4-abb1-31cbc7253aec?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 08 Apr 2021 11:32:26 GMT + - Wed, 09 Jun 2021 12:02:05 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbc6fabb-ca4a-4582-90f0-10bdb15296ba?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/007fd37f-033f-43f4-abb1-31cbc7253aec?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -635,7 +631,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14991' + - '14997' x-powered-by: - ASP.NET status: @@ -651,21 +647,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbc6fabb-ca4a-4582-90f0-10bdb15296ba?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/007fd37f-033f-43f4-abb1-31cbc7253aec?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westcentralus/operationResults/dbc6fabb-ca4a-4582-90f0-10bdb15296ba","name":"dbc6fabb-ca4a-4582-90f0-10bdb15296ba","status":"Succeeded","startTime":"2021-04-08T11:32:27.3764309Z","endTime":"2021-04-08T11:32:27.595599Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/007fd37f-033f-43f4-abb1-31cbc7253aec","name":"007fd37f-033f-43f4-abb1-31cbc7253aec","status":"Succeeded","startTime":"2021-06-09T12:02:05.1100247Z","endTime":"2021-06-09T12:02:05.1700258Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '517' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:32:57 GMT + - Wed, 09 Jun 2021 12:02:34 GMT expires: - '-1' pragma: @@ -695,23 +691,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 08 Apr 2021 11:32:57 GMT + - Wed, 09 Jun 2021 12:02:35 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_update_snapshot_policies.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_update_snapshot_policies.yaml index 9a87b9cb3a7a..9428588a87dc 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_update_snapshot_policies.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_snapshot_policies.test_update_snapshot_policies.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-27T10%3A38%3A48.0734767Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A34%3A34.3270171Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a5dd6a92-fcfc-41bb-892f-9c7270f07ec4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6dffc07e-b47f-4d3c-aa9a-6127b57a552b?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:38:48 GMT + - Wed, 09 Jun 2021 12:34:34 GMT etag: - - W/"datetime'2021-05-27T10%3A38%3A48.0734767Z'" + - W/"datetime'2021-06-09T12%3A34%3A34.3270171Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a5dd6a92-fcfc-41bb-892f-9c7270f07ec4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6dffc07e-b47f-4d3c-aa9a-6127b57a552b?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/a5dd6a92-fcfc-41bb-892f-9c7270f07ec4","name":"a5dd6a92-fcfc-41bb-892f-9c7270f07ec4","status":"Succeeded","startTime":"2021-05-27T10:38:48.079645Z","endTime":"2021-05-27T10:38:48.1096359Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6dffc07e-b47f-4d3c-aa9a-6127b57a552b","name":"6dffc07e-b47f-4d3c-aa9a-6127b57a552b","status":"Succeeded","startTime":"2021-06-09T12:34:34.335074Z","endTime":"2021-06-09T12:34:34.4600769Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '522' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:18 GMT + - Wed, 09 Jun 2021 12:35:05 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-27T10%3A38%3A48.1031987Z''\"","location":"southcentralusstage","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T12%3A34%3A34.4538883Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '406' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:19 GMT + - Wed, 09 Jun 2021 12:35:05 GMT etag: - - W/"datetime'2021-05-27T10%3A38%3A48.1031987Z'" + - W/"datetime'2021-06-09T12%3A34%3A34.4538883Z'" expires: - '-1' pragma: @@ -140,7 +140,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"hourlySchedule": {"snapshotsToKeep": + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {"snapshotsToKeep": 1, "minute": 50}, "dailySchedule": {}, "weeklySchedule": {}, "monthlySchedule": {}, "enabled": false}}' headers: @@ -151,29 +151,29 @@ interactions: Connection: - keep-alive Content-Length: - - '191' + - '186' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-05-27T10%3A39%3A21.3631274Z''\"","location":"southcentralusstage","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A35%3A07.6837568Z''\"","location":"southcentralus","properties":{"enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{},"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e803681f-5fcf-4a86-94dd-f760ddaa891f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7a85d638-a1df-4e3a-85e9-354b56eb5f7d?api-version=2021-04-01 cache-control: - no-cache content-length: - - '582' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:21 GMT + - Wed, 09 Jun 2021 12:35:08 GMT etag: - - W/"datetime'2021-05-27T10%3A39%3A21.3631274Z'" + - W/"datetime'2021-06-09T12%3A35%3A07.6837568Z'" expires: - '-1' pragma: @@ -192,9 +192,9 @@ interactions: code: 201 message: Created - request: - body: '{"location": "southcentralusstage", "properties": {"hourlySchedule": {}, - "dailySchedule": {"snapshotsToKeep": 1, "hour": 1, "minute": 50}, "weeklySchedule": - {}, "monthlySchedule": {}, "enabled": false}}' + body: '{"location": "southcentralus", "properties": {"hourlySchedule": {}, "dailySchedule": + {"snapshotsToKeep": 1, "hour": 1, "minute": 50}, "weeklySchedule": {}, "monthlySchedule": + {}, "enabled": false}}' headers: Accept: - application/json @@ -203,33 +203,33 @@ interactions: Connection: - keep-alive Content-Length: - - '202' + - '197' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-05-27T10%3A39%3A22.757079Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Patching","enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A35%3A09.0911047Z''\"","location":"southcentralus","properties":{"provisioningState":"Patching","enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{},"weeklySchedule":{},"monthlySchedule":{}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1eee69fa-a1af-4ca7-898e-dc75bc3d467f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b2692b78-82e6-434e-9a03-d5cc12c1cb90?api-version=2021-04-01 cache-control: - no-cache content-length: - - '581' + - '580' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:22 GMT + - Wed, 09 Jun 2021 12:35:08 GMT etag: - - W/"datetime'2021-05-27T10%3A39%3A22.757079Z'" + - W/"datetime'2021-06-09T12%3A35%3A09.0911047Z'" expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1eee69fa-a1af-4ca7-898e-dc75bc3d467f?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b2692b78-82e6-434e-9a03-d5cc12c1cb90?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -255,21 +255,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1eee69fa-a1af-4ca7-898e-dc75bc3d467f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b2692b78-82e6-434e-9a03-d5cc12c1cb90?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1eee69fa-a1af-4ca7-898e-dc75bc3d467f","name":"1eee69fa-a1af-4ca7-898e-dc75bc3d467f","status":"Succeeded","startTime":"2021-05-27T10:39:22.7648672Z","endTime":"2021-05-27T10:39:22.8332369Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b2692b78-82e6-434e-9a03-d5cc12c1cb90","name":"b2692b78-82e6-434e-9a03-d5cc12c1cb90","status":"Succeeded","startTime":"2021-06-09T12:35:09.0958316Z","endTime":"2021-06-09T12:35:09.1758246Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '571' + - '569' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:52 GMT + - Wed, 09 Jun 2021 12:35:38 GMT expires: - '-1' pragma: @@ -299,23 +299,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-05-27T10%3A39%3A22.8271284Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","enabled":false,"hourlySchedule":{"snapshotsToKeep":1,"minute":50},"dailySchedule":{"snapshotsToKeep":1,"hour":1,"minute":50},"weeklySchedule":{},"monthlySchedule":{}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1","name":"sdk-py-tests-acc-1/sdk-py-tests-snapshot-policy-1","type":"Microsoft.NetApp/netAppAccounts/snapshotPolicies","etag":"W/\"datetime''2021-06-09T12%3A35%3A09.1741628Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","enabled":false,"hourlySchedule":{},"dailySchedule":{"snapshotsToKeep":1,"hour":1,"minute":50},"weeklySchedule":{},"monthlySchedule":{}}}' headers: cache-control: - no-cache content-length: - - '623' + - '590' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:39:52 GMT + - Wed, 09 Jun 2021 12:35:39 GMT etag: - - W/"datetime'2021-05-27T10%3A39%3A22.8271284Z'" + - W/"datetime'2021-06-09T12%3A35%3A09.1741628Z'" expires: - '-1' pragma: @@ -347,25 +347,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9c22ef8b-f505-4abd-8039-4e2b5622530b?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9545b54c-8862-4bf8-aa03-0f6851080887?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 10:39:53 GMT + - Wed, 09 Jun 2021 12:35:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9c22ef8b-f505-4abd-8039-4e2b5622530b?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9545b54c-8862-4bf8-aa03-0f6851080887?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -391,21 +391,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9c22ef8b-f505-4abd-8039-4e2b5622530b?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9545b54c-8862-4bf8-aa03-0f6851080887?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9c22ef8b-f505-4abd-8039-4e2b5622530b","name":"9c22ef8b-f505-4abd-8039-4e2b5622530b","status":"Succeeded","startTime":"2021-05-27T10:39:53.9798292Z","endTime":"2021-05-27T10:39:53.9948247Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9545b54c-8862-4bf8-aa03-0f6851080887","name":"9545b54c-8862-4bf8-aa03-0f6851080887","status":"Succeeded","startTime":"2021-06-09T12:35:40.3609067Z","endTime":"2021-06-09T12:35:40.3859052Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1"}}' headers: cache-control: - no-cache content-length: - - '571' + - '569' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:40:23 GMT + - Wed, 09 Jun 2021 12:36:10 GMT expires: - '-1' pragma: @@ -435,23 +435,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/snapshotPolicies/sdk-py-tests-snapshot-policy-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '286' + - '289' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:40:28 GMT + - Wed, 09 Jun 2021 12:36:15 GMT expires: - '-1' pragma: @@ -477,25 +477,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2dd0d93c-4175-41da-8768-88f7617e9517?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/699e0ba8-8fa5-426e-b185-b49b97709844?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 27 May 2021 10:40:29 GMT + - Wed, 09 Jun 2021 12:36:16 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2dd0d93c-4175-41da-8768-88f7617e9517?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/699e0ba8-8fa5-426e-b185-b49b97709844?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -521,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2dd0d93c-4175-41da-8768-88f7617e9517?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/699e0ba8-8fa5-426e-b185-b49b97709844?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2dd0d93c-4175-41da-8768-88f7617e9517","name":"2dd0d93c-4175-41da-8768-88f7617e9517","status":"Succeeded","startTime":"2021-05-27T10:40:30.0228852Z","endTime":"2021-05-27T10:40:30.0578886Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/699e0ba8-8fa5-426e-b185-b49b97709844","name":"699e0ba8-8fa5-426e-b185-b49b97709844","status":"Succeeded","startTime":"2021-06-09T12:36:16.5805577Z","endTime":"2021-06-09T12:36:16.6405519Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:41:00 GMT + - Wed, 09 Jun 2021 12:36:46 GMT expires: - '-1' pragma: @@ -565,23 +565,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.10 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 27 May 2021 10:41:00 GMT + - Wed, 09 Jun 2021 12:36:46 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_vault.test_get_vault.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_vault.test_get_vault.yaml index 8b1f5f817e43..101abefaae1c 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_vault.test_get_vault.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_vault.test_get_vault.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc","name":"sdk-py-tests-cbs-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T12%3A05%3A27.8208981Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A02%3A45.0358861Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c1e24bf3-89bd-4ede-b25d-363242d42ec5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/284baa1b-d430-46cc-86cf-259fe8a31851?api-version=2021-04-01 cache-control: - no-cache content-length: - - '368' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:05:28 GMT + - Wed, 09 Jun 2021 13:02:45 GMT etag: - - W/"datetime'2021-04-15T12%3A05%3A27.8208981Z'" + - W/"datetime'2021-06-09T13%3A02%3A45.0358861Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c1e24bf3-89bd-4ede-b25d-363242d42ec5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/284baa1b-d430-46cc-86cf-259fe8a31851?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/c1e24bf3-89bd-4ede-b25d-363242d42ec5","name":"c1e24bf3-89bd-4ede-b25d-363242d42ec5","status":"Succeeded","startTime":"2021-04-15T12:05:27.8234012Z","endTime":"2021-04-15T12:05:27.8784028Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/284baa1b-d430-46cc-86cf-259fe8a31851","name":"284baa1b-d430-46cc-86cf-259fe8a31851","status":"Succeeded","startTime":"2021-06-09T13:02:45.0389193Z","endTime":"2021-06-09T13:02:45.1339222Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '530' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:05:59 GMT + - Wed, 09 Jun 2021 13:03:15 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc","name":"sdk-py-tests-cbs-acc","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T12%3A05%3A27.8778397Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A02%3A45.1296876Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '415' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:05:59 GMT + - Wed, 09 Jun 2021 13:03:15 GMT etag: - - W/"datetime'2021-04-15T12%3A05%3A27.8778397Z'" + - W/"datetime'2021-06-09T13%3A02%3A45.1296876Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-cbs-acc/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T12%3A06%3A01.9691765Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A03%3A19.1516126Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7d71399-97bb-4d6c-9054-920d328688f1?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/94bc420f-6570-4304-9739-2ba4aea6152a?api-version=2021-04-01 cache-control: - no-cache content-length: - - '539' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:06:02 GMT + - Wed, 09 Jun 2021 13:03:19 GMT etag: - - W/"datetime'2021-04-15T12%3A06%3A01.9691765Z'" + - W/"datetime'2021-06-09T13%3A03%3A19.1516126Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7d71399-97bb-4d6c-9054-920d328688f1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/94bc420f-6570-4304-9739-2ba4aea6152a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e7d71399-97bb-4d6c-9054-920d328688f1","name":"e7d71399-97bb-4d6c-9054-920d328688f1","status":"Succeeded","startTime":"2021-04-15T12:06:01.9717912Z","endTime":"2021-04-15T12:06:02.0667925Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/94bc420f-6570-4304-9739-2ba4aea6152a","name":"94bc420f-6570-4304-9739-2ba4aea6152a","status":"Succeeded","startTime":"2021-06-09T13:03:19.1550776Z","endTime":"2021-06-09T13:03:19.2650805Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '564' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:06:32 GMT + - Wed, 09 Jun 2021 13:03:50 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-cbs-acc/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T12%3A06%3A02.0637498Z''\"","location":"southcentralusstage","properties":{"poolId":"85fdb7be-11ea-1b6e-923b-7c3432200ebf","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A03%3A19.2637266Z''\"","location":"southcentralus","properties":{"poolId":"c8e5ef40-72f0-33ed-df57-3aba86e2bd91","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '635' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:06:33 GMT + - Wed, 09 Jun 2021 13:03:50 GMT etag: - - W/"datetime'2021-04-15T12%3A06%3A02.0637498Z'" + - W/"datetime'2021-06-09T13%3A03%3A19.2637266Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktest1vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '557' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-cbs-acc/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T12%3A06%3A36.2785678Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktest1vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A03%3A52.9811444Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 cache-control: - no-cache content-length: - - '972' + - '974' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:06:36 GMT + - Wed, 09 Jun 2021 13:03:53 GMT etag: - - W/"datetime'2021-04-15T12%3A06%3A36.2785678Z'" + - W/"datetime'2021-06-09T13%3A03%3A52.9811444Z'" expires: - '-1' pragma: @@ -345,21 +345,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:07:06 GMT + - Wed, 09 Jun 2021 13:04:23 GMT expires: - '-1' pragma: @@ -389,21 +389,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:07:37 GMT + - Wed, 09 Jun 2021 13:04:54 GMT expires: - '-1' pragma: @@ -433,21 +433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:08:08 GMT + - Wed, 09 Jun 2021 13:05:24 GMT expires: - '-1' pragma: @@ -477,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:08:37 GMT + - Wed, 09 Jun 2021 13:05:54 GMT expires: - '-1' pragma: @@ -521,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:09:08 GMT + - Wed, 09 Jun 2021 13:06:25 GMT expires: - '-1' pragma: @@ -565,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Creating","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:09:39 GMT + - Wed, 09 Jun 2021 13:06:55 GMT expires: - '-1' pragma: @@ -609,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","name":"eff0e67c-4faa-49b7-a8a8-1982c9f49a3f","status":"Succeeded","startTime":"2021-04-15T12:06:36.2835416Z","endTime":"2021-04-15T12:09:57.2923989Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '591' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:10:09 GMT + - Wed, 09 Jun 2021 13:07:25 GMT expires: - '-1' pragma: @@ -653,23 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-cbs-acc/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T12%3A09%3A57.2904085Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"ad370239-d162-77d4-11e1-0be25d8835c6","fileSystemId":"ad370239-d162-77d4-11e1-0be25d8835c6","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"ad370239-d162-77d4-11e1-0be25d8835c6","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_dd578b05","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.Network/virtualNetworks/bprgpythonsdktest1vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Creating","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '1688' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:10:09 GMT - etag: - - W/"datetime'2021-04-15T12%3A09%3A57.2904085Z'" + - Wed, 09 Jun 2021 13:07:55 GMT expires: - '-1' pragma: @@ -693,27 +691,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/vaults?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/vaults/cbsvault","name":"sdk-py-tests-cbs-acc/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"33f2107c-2278-11eb-978e-ca9f38216a58"}}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/192e41d6-00af-4a58-95b0-e9954d8159e4","name":"192e41d6-00af-4a58-95b0-e9954d8159e4","status":"Succeeded","startTime":"2021-06-09T13:03:52.9823045Z","endTime":"2021-06-09T13:08:02.8656871Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '354' + - '582' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:10:10 GMT + - Wed, 09 Jun 2021 13:08:26 GMT expires: - '-1' pragma: @@ -742,68 +740,68 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A08%3A02.8598581Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"19fc02c1-2864-d209-4da5-67effbeacc21","fileSystemId":"19fc02c1-2864-d209-4da5-67effbeacc21","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"19fc02c1-2864-d209-4da5-67effbeacc21","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_ed244c9c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '1740' + content-type: + - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:10:11 GMT + - Wed, 09 Jun 2021 13:08:27 GMT + etag: + - W/"datetime'2021-06-09T13%3A08%3A02.8598581Z'" expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","name":"4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","status":"Deleting","startTime":"2021-04-15T12:10:11.9708807Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/vaults/cbsvault","name":"sdk-py-tests-acc-1/cbsvault","type":"Microsoft.NetApp/netAppAccounts/vaults","properties":{"enabled":true,"vaultId":"e738a1bf-e20d-11ea-9877-9250096475fd"}}]}' headers: cache-control: - no-cache content-length: - - '580' + - '348' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:10:41 GMT + - Wed, 09 Jun 2021 13:08:27 GMT expires: - '-1' pragma: @@ -823,6 +821,52 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 09 Jun 2021 13:08:29 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf?api-version=2021-04-01&operationResultResponseType=Location + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14992' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted - request: body: null headers: @@ -833,21 +877,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","name":"4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","status":"Deleting","startTime":"2021-04-15T12:10:11.9708807Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf","name":"d5c0ee81-f0c9-44c4-9d54-9a4297862edf","status":"Deleting","startTime":"2021-06-09T13:08:29.5800657Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:11:12 GMT + - Wed, 09 Jun 2021 13:08:59 GMT expires: - '-1' pragma: @@ -877,21 +921,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","name":"4b4aa4ae-bb11-4199-8a29-0dcc79f37f4a","status":"Succeeded","startTime":"2021-04-15T12:10:11.9708807Z","endTime":"2021-04-15T12:11:26.5620782Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5c0ee81-f0c9-44c4-9d54-9a4297862edf","name":"d5c0ee81-f0c9-44c4-9d54-9a4297862edf","status":"Succeeded","startTime":"2021-06-09T13:08:29.5800657Z","endTime":"2021-06-09T13:09:25.4962552Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '591' + - '582' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:11:42 GMT + - Wed, 09 Jun 2021 13:09:30 GMT expires: - '-1' pragma: @@ -921,23 +965,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''vault_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '306' + - '302' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:15:03 GMT + - Wed, 09 Jun 2021 13:12:50 GMT expires: - '-1' pragma: @@ -963,25 +1007,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/acbcb21d-48aa-451b-bb56-e8dc444075f4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/91fc123a-bd73-4f9f-816d-a5e512739ae2?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 12:15:14 GMT + - Wed, 09 Jun 2021 13:13:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/acbcb21d-48aa-451b-bb56-e8dc444075f4?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/91fc123a-bd73-4f9f-816d-a5e512739ae2?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1007,21 +1051,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/acbcb21d-48aa-451b-bb56-e8dc444075f4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/91fc123a-bd73-4f9f-816d-a5e512739ae2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/acbcb21d-48aa-451b-bb56-e8dc444075f4","name":"acbcb21d-48aa-451b-bb56-e8dc444075f4","status":"Succeeded","startTime":"2021-04-15T12:15:15.6014159Z","endTime":"2021-04-15T12:15:17.6610932Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/91fc123a-bd73-4f9f-816d-a5e512739ae2","name":"91fc123a-bd73-4f9f-816d-a5e512739ae2","status":"Succeeded","startTime":"2021-06-09T13:13:03.3529379Z","endTime":"2021-06-09T13:13:03.5529438Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '564' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:15:45 GMT + - Wed, 09 Jun 2021 13:13:33 GMT expires: - '-1' pragma: @@ -1053,9 +1097,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1063,7 +1107,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 12:15:55 GMT + - Wed, 09 Jun 2021 13:13:43 GMT expires: - '-1' pragma: @@ -1089,9 +1133,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1099,7 +1143,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 12:16:06 GMT + - Wed, 09 Jun 2021 13:13:55 GMT expires: - '-1' pragma: @@ -1125,9 +1169,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1135,7 +1179,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 12:16:16 GMT + - Wed, 09 Jun 2021 13:14:05 GMT expires: - '-1' pragma: @@ -1161,9 +1205,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1171,7 +1215,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 12:16:26 GMT + - Wed, 09 Jun 2021 13:14:15 GMT expires: - '-1' pragma: @@ -1195,23 +1239,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc/capacityPools/sdk-py-tests-pool-1'' - under resource group ''vault_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '279' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:16:37 GMT + - Wed, 09 Jun 2021 13:14:25 GMT expires: - '-1' pragma: @@ -1237,25 +1281,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3cec8eb6-7076-461d-b927-43c182c1bd62?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5b8ece2-7491-499c-ab1c-9d6473d62344?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 12:16:38 GMT + - Wed, 09 Jun 2021 13:14:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3cec8eb6-7076-461d-b927-43c182c1bd62?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5b8ece2-7491-499c-ab1c-9d6473d62344?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1281,21 +1325,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3cec8eb6-7076-461d-b927-43c182c1bd62?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5b8ece2-7491-499c-ab1c-9d6473d62344?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3cec8eb6-7076-461d-b927-43c182c1bd62","name":"3cec8eb6-7076-461d-b927-43c182c1bd62","status":"Succeeded","startTime":"2021-04-15T12:16:39.0481991Z","endTime":"2021-04-15T12:16:39.0981596Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d5b8ece2-7491-499c-ab1c-9d6473d62344","name":"d5b8ece2-7491-499c-ab1c-9d6473d62344","status":"Succeeded","startTime":"2021-06-09T13:14:27.5743279Z","endTime":"2021-06-09T13:14:27.6143356Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '530' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:17:09 GMT + - Wed, 09 Jun 2021 13:14:57 GMT expires: - '-1' pragma: @@ -1325,23 +1369,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault_python_sdk_test/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-cbs-acc'' - under resource group ''vault_python_sdk_test'' was not found. For more details + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '245' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 12:17:11 GMT + - Wed, 09 Jun 2021 13:15:00 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml index 8da31a1239df..b0acbcdbc80e 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_create_delete_list_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T08%3A33%3A34.5348461Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A16%3A16.9128564Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0339e633-b070-4656-a1e4-9cef00a5b9ef?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8dd1fe20-0537-4066-8df5-9ba8a75642a7?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:33:35 GMT + - Wed, 09 Jun 2021 13:16:17 GMT etag: - - W/"datetime'2021-04-15T08%3A33%3A34.5348461Z'" + - W/"datetime'2021-06-09T13%3A16%3A16.9128564Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0339e633-b070-4656-a1e4-9cef00a5b9ef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8dd1fe20-0537-4066-8df5-9ba8a75642a7?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0339e633-b070-4656-a1e4-9cef00a5b9ef","name":"0339e633-b070-4656-a1e4-9cef00a5b9ef","status":"Succeeded","startTime":"2021-04-15T08:33:34.541037Z","endTime":"2021-04-15T08:33:34.6110463Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8dd1fe20-0537-4066-8df5-9ba8a75642a7","name":"8dd1fe20-0537-4066-8df5-9ba8a75642a7","status":"Succeeded","startTime":"2021-06-09T13:16:16.9182916Z","endTime":"2021-06-09T13:16:16.9682894Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '522' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:05 GMT + - Wed, 09 Jun 2021 13:16:47 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T08%3A33%3A34.6059411Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A16%3A16.9651143Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '406' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:05 GMT + - Wed, 09 Jun 2021 13:16:47 GMT etag: - - W/"datetime'2021-04-15T08%3A33%3A34.6059411Z'" + - W/"datetime'2021-06-09T13%3A16%3A16.9651143Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T08%3A34%3A08.6110188Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A16%3A50.4607632Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0aedb7b7-874d-45f6-8958-600cd4f1e87d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d41dd612-82b0-4815-8eef-2da87a076aef?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:09 GMT + - Wed, 09 Jun 2021 13:16:50 GMT etag: - - W/"datetime'2021-04-15T08%3A34%3A08.6110188Z'" + - W/"datetime'2021-06-09T13%3A16%3A50.4607632Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0aedb7b7-874d-45f6-8958-600cd4f1e87d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d41dd612-82b0-4815-8eef-2da87a076aef?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0aedb7b7-874d-45f6-8958-600cd4f1e87d","name":"0aedb7b7-874d-45f6-8958-600cd4f1e87d","status":"Succeeded","startTime":"2021-04-15T08:34:08.6149475Z","endTime":"2021-04-15T08:34:09.3857562Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/d41dd612-82b0-4815-8eef-2da87a076aef","name":"d41dd612-82b0-4815-8eef-2da87a076aef","status":"Succeeded","startTime":"2021-06-09T13:16:50.4652579Z","endTime":"2021-06-09T13:16:50.6202898Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:39 GMT + - Wed, 09 Jun 2021 13:17:21 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T08%3A34%3A09.3812485Z''\"","location":"southcentralusstage","properties":{"poolId":"3423acd1-11f6-518f-789d-63ec13031bd4","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A16%3A50.6188135Z''\"","location":"southcentralus","properties":{"poolId":"b0e4b975-d099-6c90-5ea7-fe0180bdfb7d","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:40 GMT + - Wed, 09 Jun 2021 13:17:21 GMT etag: - - W/"datetime'2021-04-15T08%3A34%3A09.3812485Z'" + - W/"datetime'2021-06-09T13%3A16%3A50.6188135Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A34%3A53.8711249Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A17%3A34.6052233Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '974' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:34:54 GMT + - Wed, 09 Jun 2021 13:17:34 GMT etag: - - W/"datetime'2021-04-15T08%3A34%3A53.8711249Z'" + - W/"datetime'2021-06-09T13%3A17%3A34.6052233Z'" expires: - '-1' pragma: @@ -345,21 +345,109 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 13:18:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '571' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 09 Jun 2021 13:18:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:35:25 GMT + - Wed, 09 Jun 2021 13:19:06 GMT expires: - '-1' pragma: @@ -389,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:35:54 GMT + - Wed, 09 Jun 2021 13:19:35 GMT expires: - '-1' pragma: @@ -433,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:36:25 GMT + - Wed, 09 Jun 2021 13:20:06 GMT expires: - '-1' pragma: @@ -477,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:36:56 GMT + - Wed, 09 Jun 2021 13:20:36 GMT expires: - '-1' pragma: @@ -521,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:37:25 GMT + - Wed, 09 Jun 2021 13:21:07 GMT expires: - '-1' pragma: @@ -565,21 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Creating","startTime":"2021-04-15T08:34:53.877929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Creating","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '572' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:37:56 GMT + - Wed, 09 Jun 2021 13:21:38 GMT expires: - '-1' pragma: @@ -609,21 +697,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/88619987-3b4a-43cd-8b74-536c8c4e5f08","name":"88619987-3b4a-43cd-8b74-536c8c4e5f08","status":"Succeeded","startTime":"2021-04-15T08:34:53.877929Z","endTime":"2021-04-15T08:38:14.3515607Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcf12a27-0754-49f3-b842-8b7bfcbe225e","name":"dcf12a27-0754-49f3-b842-8b7bfcbe225e","status":"Succeeded","startTime":"2021-06-09T13:17:34.6116448Z","endTime":"2021-06-09T13:21:49.0190482Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '583' + - '582' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:38:26 GMT + - Wed, 09 Jun 2021 13:22:08 GMT expires: - '-1' pragma: @@ -653,23 +741,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A38%3A14.3504535Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","fileSystemId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_6ebb387c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A21%3A49.0169463Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","fileSystemId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_e7bc0cb2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:38:26 GMT + - Wed, 09 Jun 2021 13:22:09 GMT etag: - - W/"datetime'2021-04-15T08%3A38%3A14.3504535Z'" + - W/"datetime'2021-06-09T13%3A21%3A49.0169463Z'" expires: - '-1' pragma: @@ -699,21 +787,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A38%3A14.3504535Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","fileSystemId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"6e46d470-3eae-fe05-30f5-b3634d1c1ee5","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_6ebb387c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A21%3A49.0169463Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","fileSystemId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"b652f9ab-b63a-c66d-6a2f-81ceddf9f3b3","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_e7bc0cb2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}]}' headers: cache-control: - no-cache content-length: - - '1681' + - '1752' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:38:27 GMT + - Wed, 09 Jun 2021 13:22:09 GMT expires: - '-1' pragma: @@ -745,25 +833,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 08:38:28 GMT + - Wed, 09 Jun 2021 13:22:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -789,21 +877,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1","name":"f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1","status":"Deleting","startTime":"2021-04-15T08:38:28.9698605Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2","name":"8b61a189-1fd2-4374-ac4f-59f6b5d6cad2","status":"Deleting","startTime":"2021-06-09T13:22:11.4440308Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:38:59 GMT + - Wed, 09 Jun 2021 13:22:41 GMT expires: - '-1' pragma: @@ -833,21 +921,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1","name":"f30d7b02-cd24-4ddb-9b2c-25fb66e45cc1","status":"Succeeded","startTime":"2021-04-15T08:38:28.9698605Z","endTime":"2021-04-15T08:39:21.2125337Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8b61a189-1fd2-4374-ac4f-59f6b5d6cad2","name":"8b61a189-1fd2-4374-ac4f-59f6b5d6cad2","status":"Succeeded","startTime":"2021-06-09T13:22:11.4440308Z","endTime":"2021-06-09T13:23:00.8012925Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '582' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:39:28 GMT + - Wed, 09 Jun 2021 13:23:11 GMT expires: - '-1' pragma: @@ -877,23 +965,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:42:50 GMT + - Wed, 09 Jun 2021 13:26:33 GMT expires: - '-1' pragma: @@ -917,9 +1005,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -931,7 +1019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:42:51 GMT + - Wed, 09 Jun 2021 13:26:34 GMT expires: - '-1' pragma: @@ -961,23 +1049,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:46:12 GMT + - Wed, 09 Jun 2021 13:29:55 GMT expires: - '-1' pragma: @@ -1003,25 +1091,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9b233500-2bda-4644-968e-5bb2255c9692?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a01efff-032b-4b3a-9c2d-a67d29663928?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 08:46:25 GMT + - Wed, 09 Jun 2021 13:30:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9b233500-2bda-4644-968e-5bb2255c9692?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a01efff-032b-4b3a-9c2d-a67d29663928?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1047,21 +1135,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9b233500-2bda-4644-968e-5bb2255c9692?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a01efff-032b-4b3a-9c2d-a67d29663928?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9b233500-2bda-4644-968e-5bb2255c9692","name":"9b233500-2bda-4644-968e-5bb2255c9692","status":"Succeeded","startTime":"2021-04-15T08:46:25.0791541Z","endTime":"2021-04-15T08:46:26.6013348Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a01efff-032b-4b3a-9c2d-a67d29663928","name":"2a01efff-032b-4b3a-9c2d-a67d29663928","status":"Succeeded","startTime":"2021-06-09T13:30:07.1771174Z","endTime":"2021-06-09T13:30:07.4721107Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:46:55 GMT + - Wed, 09 Jun 2021 13:30:37 GMT expires: - '-1' pragma: @@ -1093,9 +1181,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1103,7 +1191,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 08:47:05 GMT + - Wed, 09 Jun 2021 13:30:47 GMT expires: - '-1' pragma: @@ -1129,9 +1217,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1139,7 +1227,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 08:47:16 GMT + - Wed, 09 Jun 2021 13:30:57 GMT expires: - '-1' pragma: @@ -1165,9 +1253,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1175,7 +1263,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 08:47:26 GMT + - Wed, 09 Jun 2021 13:31:08 GMT expires: - '-1' pragma: @@ -1201,9 +1289,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1211,7 +1299,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 08:47:36 GMT + - Wed, 09 Jun 2021 13:31:19 GMT expires: - '-1' pragma: @@ -1235,23 +1323,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:47:46 GMT + - Wed, 09 Jun 2021 13:31:29 GMT expires: - '-1' pragma: @@ -1277,25 +1365,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0ab6f7e7-44d0-4477-9c96-e1eab1fa811e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e123e9a7-eaab-4be9-b0fe-310fee534d25?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 08:47:48 GMT + - Wed, 09 Jun 2021 13:31:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0ab6f7e7-44d0-4477-9c96-e1eab1fa811e?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e123e9a7-eaab-4be9-b0fe-310fee534d25?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1321,21 +1409,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0ab6f7e7-44d0-4477-9c96-e1eab1fa811e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e123e9a7-eaab-4be9-b0fe-310fee534d25?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/0ab6f7e7-44d0-4477-9c96-e1eab1fa811e","name":"0ab6f7e7-44d0-4477-9c96-e1eab1fa811e","status":"Succeeded","startTime":"2021-04-15T08:47:48.5977419Z","endTime":"2021-04-15T08:47:48.6427168Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e123e9a7-eaab-4be9-b0fe-310fee534d25","name":"e123e9a7-eaab-4be9-b0fe-310fee534d25","status":"Succeeded","startTime":"2021-06-09T13:31:31.574037Z","endTime":"2021-06-09T13:31:31.6140411Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:48:18 GMT + - Wed, 09 Jun 2021 13:32:01 GMT expires: - '-1' pragma: @@ -1365,23 +1453,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:48:20 GMT + - Wed, 09 Jun 2021 13:32:03 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml index 339e6bfe9add..d53ced5cc8ba 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T09%3A35%3A16.5142986Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A34%3A12.9354979Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e332a18a-5df6-43bf-98d0-d4dcad544717?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6005aa6f-cf20-4895-b12b-75ba5945dc57?api-version=2021-04-01 cache-control: - no-cache content-length: - - '359' + - '357' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:35:16 GMT + - Wed, 09 Jun 2021 13:34:13 GMT etag: - - W/"datetime'2021-04-15T09%3A35%3A16.5142986Z'" + - W/"datetime'2021-06-09T13%3A34%3A12.9354979Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e332a18a-5df6-43bf-98d0-d4dcad544717?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6005aa6f-cf20-4895-b12b-75ba5945dc57?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e332a18a-5df6-43bf-98d0-d4dcad544717","name":"e332a18a-5df6-43bf-98d0-d4dcad544717","status":"Succeeded","startTime":"2021-04-15T09:35:16.5192115Z","endTime":"2021-04-15T09:35:16.569178Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6005aa6f-cf20-4895-b12b-75ba5945dc57","name":"6005aa6f-cf20-4895-b12b-75ba5945dc57","status":"Succeeded","startTime":"2021-06-09T13:34:12.936375Z","endTime":"2021-06-09T13:34:13.0313838Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '522' + - '520' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:35:47 GMT + - Wed, 09 Jun 2021 13:34:44 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T09%3A35%3A16.5681244Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-09T13%3A34%3A13.0277315Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '406' + - '404' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:35:47 GMT + - Wed, 09 Jun 2021 13:34:44 GMT etag: - - W/"datetime'2021-04-15T09%3A35%3A16.5681244Z'" + - W/"datetime'2021-06-09T13%3A34%3A13.0277315Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T09%3A35%3A50.3183208Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A34%3A47.1773122Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ed4fdfc-cff2-451d-9371-095288a1aef9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c95ee2b7-1aaa-462b-a37e-095a8b0a67ce?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '547' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:35:50 GMT + - Wed, 09 Jun 2021 13:34:47 GMT etag: - - W/"datetime'2021-04-15T09%3A35%3A50.3183208Z'" + - W/"datetime'2021-06-09T13%3A34%3A47.1773122Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ed4fdfc-cff2-451d-9371-095288a1aef9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c95ee2b7-1aaa-462b-a37e-095a8b0a67ce?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4ed4fdfc-cff2-451d-9371-095288a1aef9","name":"4ed4fdfc-cff2-451d-9371-095288a1aef9","status":"Succeeded","startTime":"2021-04-15T09:35:50.320245Z","endTime":"2021-04-15T09:35:50.6035096Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c95ee2b7-1aaa-462b-a37e-095a8b0a67ce","name":"c95ee2b7-1aaa-462b-a37e-095a8b0a67ce","status":"Succeeded","startTime":"2021-06-09T13:34:47.1775307Z","endTime":"2021-06-09T13:34:47.2925423Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:36:21 GMT + - Wed, 09 Jun 2021 13:35:18 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T09%3A35%3A50.6029348Z''\"","location":"southcentralusstage","properties":{"poolId":"2a003601-5c9d-b0fc-7812-8e2f1592dc31","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-09T13%3A34%3A47.2888598Z''\"","location":"southcentralus","properties":{"poolId":"afe3f6f4-f2aa-1b00-d2db-e1d3ae3817c4","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '643' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:36:21 GMT + - Wed, 09 Jun 2021 13:35:18 GMT etag: - - W/"datetime'2021-04-15T09%3A35%3A50.6029348Z'" + - W/"datetime'2021-06-09T13%3A34%3A47.2888598Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A36%3A34.6168044Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A35%3A31.8373742Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '974' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:36:35 GMT + - Wed, 09 Jun 2021 13:35:32 GMT etag: - - W/"datetime'2021-04-15T09%3A36%3A34.6168044Z'" + - W/"datetime'2021-06-09T13%3A35%3A31.8373742Z'" expires: - '-1' pragma: @@ -345,21 +345,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:37:05 GMT + - Wed, 09 Jun 2021 13:36:02 GMT expires: - '-1' pragma: @@ -389,21 +389,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:37:35 GMT + - Wed, 09 Jun 2021 13:36:33 GMT expires: - '-1' pragma: @@ -433,21 +433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:38:05 GMT + - Wed, 09 Jun 2021 13:37:03 GMT expires: - '-1' pragma: @@ -477,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:38:36 GMT + - Wed, 09 Jun 2021 13:37:33 GMT expires: - '-1' pragma: @@ -521,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:39:06 GMT + - Wed, 09 Jun 2021 13:38:04 GMT expires: - '-1' pragma: @@ -565,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Creating","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:39:37 GMT + - Wed, 09 Jun 2021 13:38:33 GMT expires: - '-1' pragma: @@ -609,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/113134e0-049b-4623-a622-abb8d5591177","name":"113134e0-049b-4623-a622-abb8d5591177","status":"Succeeded","startTime":"2021-04-15T09:36:34.6174073Z","endTime":"2021-04-15T09:39:57.985206Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Creating","startTime":"2021-06-09T13:35:31.841168Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '583' + - '570' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:40:06 GMT + - Wed, 09 Jun 2021 13:39:04 GMT expires: - '-1' pragma: @@ -653,23 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A39%3A57.9806992Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","fileSystemId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_c408363f","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ddb0d31b-e06f-43c7-9d12-d68f599c8958","name":"ddb0d31b-e06f-43c7-9d12-d68f599c8958","status":"Succeeded","startTime":"2021-06-09T13:35:31.841168Z","endTime":"2021-06-09T13:39:34.1051991Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '581' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:40:07 GMT - etag: - - W/"datetime'2021-04-15T09%3A39%3A57.9806992Z'" + - Wed, 09 Jun 2021 13:39:34 GMT expires: - '-1' pragma: @@ -693,29 +691,29 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A39%3A57.9806992Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","fileSystemId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"2a7d6e14-0e40-801d-ffe2-b670f756dcc1","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_c408363f","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A39%3A34.0948324Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","fileSystemId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_34a989e4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1740' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:40:07 GMT + - Wed, 09 Jun 2021 13:39:34 GMT etag: - - W/"datetime'2021-04-15T09%3A39%3A57.9806992Z'" + - W/"datetime'2021-06-09T13%3A39%3A34.0948324Z'" expires: - '-1' pragma: @@ -739,48 +737,48 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-09T13%3A39%3A34.0948324Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","fileSystemId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"1fe90d61-b7fa-f5c0-d4bc-e5e04b543d21","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_34a989e4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '1740' + content-type: + - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:40:10 GMT + - Wed, 09 Jun 2021 13:39:35 GMT + etag: + - W/"datetime'2021-06-09T13%3A39%3A34.0948324Z'" expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -790,41 +788,43 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976","name":"cc53a924-6e8a-4f0c-9132-a8fa9bb89976","status":"Deleting","startTime":"2021-04-15T09:40:10.1489972Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269?api-version=2021-04-01 cache-control: - no-cache content-length: - - '573' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Thu, 15 Apr 2021 09:40:39 GMT + - Wed, 09 Jun 2021 13:39:36 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -835,21 +835,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976","name":"cc53a924-6e8a-4f0c-9132-a8fa9bb89976","status":"Deleting","startTime":"2021-04-15T09:40:10.1489972Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269","name":"02eac232-1668-4df6-92cc-4cefdbfc4269","status":"Deleting","startTime":"2021-06-09T13:39:37.0653015Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '571' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:41:10 GMT + - Wed, 09 Jun 2021 13:40:07 GMT expires: - '-1' pragma: @@ -879,21 +879,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/cc53a924-6e8a-4f0c-9132-a8fa9bb89976","name":"cc53a924-6e8a-4f0c-9132-a8fa9bb89976","status":"Succeeded","startTime":"2021-04-15T09:40:10.1489972Z","endTime":"2021-04-15T09:41:10.8856939Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/02eac232-1668-4df6-92cc-4cefdbfc4269","name":"02eac232-1668-4df6-92cc-4cefdbfc4269","status":"Succeeded","startTime":"2021-06-09T13:39:37.0653015Z","endTime":"2021-06-09T13:40:30.7582188Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '582' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:41:40 GMT + - Wed, 09 Jun 2021 13:40:37 GMT expires: - '-1' pragma: @@ -923,23 +923,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '299' + - '302' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:45:02 GMT + - Wed, 09 Jun 2021 13:43:59 GMT expires: - '-1' pragma: @@ -965,25 +965,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d34e0a76-e8d7-4219-b291-3f8dd417b1ac?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd158c56-29ed-4499-9c70-f066e4986e37?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:45:14 GMT + - Wed, 09 Jun 2021 13:44:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d34e0a76-e8d7-4219-b291-3f8dd417b1ac?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd158c56-29ed-4499-9c70-f066e4986e37?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1009,21 +1009,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d34e0a76-e8d7-4219-b291-3f8dd417b1ac?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd158c56-29ed-4499-9c70-f066e4986e37?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d34e0a76-e8d7-4219-b291-3f8dd417b1ac","name":"d34e0a76-e8d7-4219-b291-3f8dd417b1ac","status":"Succeeded","startTime":"2021-04-15T09:45:14.5846445Z","endTime":"2021-04-15T09:45:16.4123383Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bd158c56-29ed-4499-9c70-f066e4986e37","name":"bd158c56-29ed-4499-9c70-f066e4986e37","status":"Succeeded","startTime":"2021-06-09T13:44:11.5382914Z","endTime":"2021-06-09T13:44:11.8632902Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '555' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:45:44 GMT + - Wed, 09 Jun 2021 13:44:41 GMT expires: - '-1' pragma: @@ -1055,9 +1055,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1065,7 +1065,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:45:54 GMT + - Wed, 09 Jun 2021 13:44:51 GMT expires: - '-1' pragma: @@ -1091,9 +1091,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1101,7 +1101,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:46:05 GMT + - Wed, 09 Jun 2021 13:45:02 GMT expires: - '-1' pragma: @@ -1127,9 +1127,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1137,7 +1137,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:46:15 GMT + - Wed, 09 Jun 2021 13:45:12 GMT expires: - '-1' pragma: @@ -1163,9 +1163,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1173,7 +1173,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:46:26 GMT + - Wed, 09 Jun 2021 13:45:22 GMT expires: - '-1' pragma: @@ -1197,23 +1197,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '272' + - '275' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:46:36 GMT + - Wed, 09 Jun 2021 13:45:33 GMT expires: - '-1' pragma: @@ -1239,25 +1239,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9f21b198-fb9f-458c-bc65-3d189ae11be5?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6ae9c5bb-0a28-47d1-a4c9-108c26ec1727?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:46:37 GMT + - Wed, 09 Jun 2021 13:45:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9f21b198-fb9f-458c-bc65-3d189ae11be5?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6ae9c5bb-0a28-47d1-a4c9-108c26ec1727?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1283,21 +1283,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9f21b198-fb9f-458c-bc65-3d189ae11be5?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6ae9c5bb-0a28-47d1-a4c9-108c26ec1727?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9f21b198-fb9f-458c-bc65-3d189ae11be5","name":"9f21b198-fb9f-458c-bc65-3d189ae11be5","status":"Succeeded","startTime":"2021-04-15T09:46:38.1012297Z","endTime":"2021-04-15T09:46:38.1923335Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6ae9c5bb-0a28-47d1-a4c9-108c26ec1727","name":"6ae9c5bb-0a28-47d1-a4c9-108c26ec1727","status":"Succeeded","startTime":"2021-06-09T13:45:35.2570965Z","endTime":"2021-06-09T13:45:35.3671046Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '523' + - '521' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:47:07 GMT + - Wed, 09 Jun 2021 13:46:05 GMT expires: - '-1' pragma: @@ -1327,23 +1327,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '238' + - '241' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:47:09 GMT + - Wed, 09 Jun 2021 13:46:07 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml index e1d488940284..2b9669861075 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,25 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T08%3A51%3A16.534771Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T10%3A46%3A24.2662917Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d23c2b17-2d27-4965-be58-63d13b103845?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8bdd9409-14ff-4e7a-8184-f7591062fd6f?api-version=2021-04-01 cache-control: - no-cache content-length: - - '358' + - '359' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:51:16 GMT + - Tue, 08 Jun 2021 10:46:25 GMT etag: - - W/"datetime'2021-04-15T08%3A51%3A16.534771Z'" + - W/"datetime'2021-06-08T10%3A46%3A24.2662917Z'" expires: - '-1' pragma: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d23c2b17-2d27-4965-be58-63d13b103845?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8bdd9409-14ff-4e7a-8184-f7591062fd6f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d23c2b17-2d27-4965-be58-63d13b103845","name":"d23c2b17-2d27-4965-be58-63d13b103845","status":"Succeeded","startTime":"2021-04-15T08:51:16.5402935Z","endTime":"2021-04-15T08:51:16.5902735Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/8bdd9409-14ff-4e7a-8184-f7591062fd6f","name":"8bdd9409-14ff-4e7a-8184-f7591062fd6f","status":"Succeeded","startTime":"2021-06-08T10:46:24.2692327Z","endTime":"2021-06-08T10:46:24.3142722Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:51:46 GMT + - Tue, 08 Jun 2021 10:46:55 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T08%3A51%3A16.5850203Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T10%3A46%3A24.3084587Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:51:48 GMT + - Tue, 08 Jun 2021 10:46:55 GMT etag: - - W/"datetime'2021-04-15T08%3A51%3A16.5850203Z'" + - W/"datetime'2021-06-08T10%3A46%3A24.3084587Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, + "serviceLevel": "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '122' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T08%3A51%3A49.9834985Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T10%3A46%3A58.462525Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/03a3228f-e646-46dd-a093-31186482f403?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f6fa4860-0b76-4bed-a1e6-69c0cdd78692?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '548' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:51:50 GMT + - Tue, 08 Jun 2021 10:46:59 GMT etag: - - W/"datetime'2021-04-15T08%3A51%3A49.9834985Z'" + - W/"datetime'2021-06-08T10%3A46%3A58.462525Z'" expires: - '-1' pragma: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/03a3228f-e646-46dd-a093-31186482f403?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f6fa4860-0b76-4bed-a1e6-69c0cdd78692?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/03a3228f-e646-46dd-a093-31186482f403","name":"03a3228f-e646-46dd-a093-31186482f403","status":"Succeeded","startTime":"2021-04-15T08:51:49.9888854Z","endTime":"2021-04-15T08:51:50.2434841Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/f6fa4860-0b76-4bed-a1e6-69c0cdd78692","name":"f6fa4860-0b76-4bed-a1e6-69c0cdd78692","status":"Succeeded","startTime":"2021-06-08T10:46:58.4699269Z","endTime":"2021-06-08T10:46:58.8190784Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:52:20 GMT + - Tue, 08 Jun 2021 10:47:29 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T08%3A51%3A50.2385737Z''\"","location":"southcentralusstage","properties":{"poolId":"dfc366d2-bf66-12ad-1135-d49346acbe1c","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T10%3A46%3A58.8158055Z''\"","location":"southcentralus","properties":{"poolId":"83a92893-49bc-7594-280d-9758496604a0","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:52:20 GMT + - Tue, 08 Jun 2021 10:47:29 GMT etag: - - W/"datetime'2021-04-15T08%3A51%3A50.2385737Z'" + - W/"datetime'2021-06-08T10%3A46%3A58.8158055Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '568' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A52%3A34.6301752Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A47%3A42.2395584Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '972' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:52:34 GMT + - Tue, 08 Jun 2021 10:47:42 GMT etag: - - W/"datetime'2021-04-15T08%3A52%3A34.6301752Z'" + - W/"datetime'2021-06-08T10%3A47%3A42.2395584Z'" expires: - '-1' pragma: @@ -345,12 +345,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:53:05 GMT + - Tue, 08 Jun 2021 10:48:12 GMT expires: - '-1' pragma: @@ -389,12 +389,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -403,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:53:36 GMT + - Tue, 08 Jun 2021 10:48:43 GMT expires: - '-1' pragma: @@ -433,12 +433,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -447,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:54:05 GMT + - Tue, 08 Jun 2021 10:49:13 GMT expires: - '-1' pragma: @@ -477,12 +477,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -491,7 +491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:54:36 GMT + - Tue, 08 Jun 2021 10:49:44 GMT expires: - '-1' pragma: @@ -521,12 +521,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -535,7 +535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:55:06 GMT + - Tue, 08 Jun 2021 10:50:14 GMT expires: - '-1' pragma: @@ -565,12 +565,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Creating","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -579,7 +579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:55:37 GMT + - Tue, 08 Jun 2021 10:50:44 GMT expires: - '-1' pragma: @@ -609,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d82ad7b-2196-4bbb-b746-ce7ece1163cd","name":"9d82ad7b-2196-4bbb-b746-ce7ece1163cd","status":"Succeeded","startTime":"2021-04-15T08:52:34.6315227Z","endTime":"2021-04-15T08:55:55.6864482Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '573' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:56:07 GMT + - Tue, 08 Jun 2021 10:51:15 GMT expires: - '-1' pragma: @@ -653,23 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A55%3A55.6850753Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"414f91da-fd32-1439-c54f-c43e1e390b4d","fileSystemId":"414f91da-fd32-1439-c54f-c43e1e390b4d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"414f91da-fd32-1439-c54f-c43e1e390b4d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_818aa127","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Creating","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '573' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:56:07 GMT - etag: - - W/"datetime'2021-04-15T08%3A55%3A55.6850753Z'" + - Tue, 08 Jun 2021 10:51:45 GMT expires: - '-1' pragma: @@ -690,43 +688,30 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-2", - "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", - "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": - "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '547' - Content-Type: - - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A56%3A13.8076616Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/51a872ae-7723-4075-a623-1044d9bf080f","name":"51a872ae-7723-4075-a623-1044d9bf080f","status":"Succeeded","startTime":"2021-06-08T10:47:42.2465531Z","endTime":"2021-06-08T10:52:11.1734007Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3?api-version=2021-02-01 cache-control: - no-cache content-length: - - '953' + - '584' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:56:14 GMT - etag: - - W/"datetime'2021-04-15T08%3A56%3A13.8076616Z'" + - Tue, 08 Jun 2021 10:52:15 GMT expires: - '-1' pragma: @@ -735,15 +720,17 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' x-powered-by: - ASP.NET status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -754,21 +741,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3","name":"e36ca597-b66b-4d7f-a199-b947b27cd9e3","status":"Creating","startTime":"2021-04-15T08:56:13.8086429Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A52%3A11.1691791Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"962dde28-05a6-0ab6-f680-5b1c783715c0","fileSystemId":"962dde28-05a6-0ab6-f680-5b1c783715c0","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"962dde28-05a6-0ab6-f680-5b1c783715c0","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_917a23e6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '573' + - '1719' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:56:44 GMT + - Tue, 08 Jun 2021 10:52:16 GMT + etag: + - W/"datetime'2021-06-08T10%3A52%3A11.1691791Z'" expires: - '-1' pragma: @@ -789,30 +778,43 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-2", + "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": + "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '568' + Content-Type: + - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3","name":"e36ca597-b66b-4d7f-a199-b947b27cd9e3","status":"Creating","startTime":"2021-04-15T08:56:13.8086429Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A52%3A20.3839533Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1f956767-93f3-4bba-8b7b-1f137fbbfdd7?api-version=2021-04-01 cache-control: - no-cache content-length: - - '573' + - '972' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:57:15 GMT + - Tue, 08 Jun 2021 10:52:20 GMT + etag: + - W/"datetime'2021-06-08T10%3A52%3A20.3839533Z'" expires: - '-1' pragma: @@ -821,17 +823,15 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -842,12 +842,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1f956767-93f3-4bba-8b7b-1f137fbbfdd7?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e36ca597-b66b-4d7f-a199-b947b27cd9e3","name":"e36ca597-b66b-4d7f-a199-b947b27cd9e3","status":"Succeeded","startTime":"2021-04-15T08:56:13.8086429Z","endTime":"2021-04-15T08:57:43.8557349Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/1f956767-93f3-4bba-8b7b-1f137fbbfdd7","name":"1f956767-93f3-4bba-8b7b-1f137fbbfdd7","status":"Succeeded","startTime":"2021-06-08T10:52:20.3884216Z","endTime":"2021-06-08T10:52:33.0246874Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache @@ -856,7 +856,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:57:44 GMT + - Tue, 08 Jun 2021 10:52:51 GMT expires: - '-1' pragma: @@ -886,23 +886,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A57%3A43.8535691Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","fileSystemId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_818aa127","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A52%3A33.019597Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","fileSystemId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_917a23e6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1718' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:57:45 GMT + - Tue, 08 Jun 2021 10:52:52 GMT etag: - - W/"datetime'2021-04-15T08%3A57%3A43.8535691Z'" + - W/"datetime'2021-06-08T10%3A52%3A33.019597Z'" expires: - '-1' pragma: @@ -932,21 +932,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-04-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A55%3A55.6850753Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"414f91da-fd32-1439-c54f-c43e1e390b4d","fileSystemId":"414f91da-fd32-1439-c54f-c43e1e390b4d","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"414f91da-fd32-1439-c54f-c43e1e390b4d","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_818aa127","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T08%3A57%3A43.8535691Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","fileSystemId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"43c06a96-0040-0527-c9ba-3dff8fba41d4","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_818aa127","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A52%3A11.1691791Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"962dde28-05a6-0ab6-f680-5b1c783715c0","fileSystemId":"962dde28-05a6-0ab6-f680-5b1c783715c0","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"962dde28-05a6-0ab6-f680-5b1c783715c0","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_917a23e6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T10%3A52%3A33.019597Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","fileSystemId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"ca3bba5b-4ac0-9e38-9541-9904c81412bd","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_917a23e6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}]}' headers: cache-control: - no-cache content-length: - - '3351' + - '3450' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:57:45 GMT + - Tue, 08 Jun 2021 10:52:52 GMT expires: - '-1' pragma: @@ -978,25 +978,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/822f821c-f7e6-4b41-b484-d1b5fe196409?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5d3d1978-01de-4cd8-8eb7-0f4ec5a9a567?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 08:57:46 GMT + - Tue, 08 Jun 2021 10:52:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/822f821c-f7e6-4b41-b484-d1b5fe196409?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5d3d1978-01de-4cd8-8eb7-0f4ec5a9a567?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1022,21 +1022,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/822f821c-f7e6-4b41-b484-d1b5fe196409?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5d3d1978-01de-4cd8-8eb7-0f4ec5a9a567?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/822f821c-f7e6-4b41-b484-d1b5fe196409","name":"822f821c-f7e6-4b41-b484-d1b5fe196409","status":"Succeeded","startTime":"2021-04-15T08:57:47.6547086Z","endTime":"2021-04-15T08:58:17.2355468Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/5d3d1978-01de-4cd8-8eb7-0f4ec5a9a567","name":"5d3d1978-01de-4cd8-8eb7-0f4ec5a9a567","status":"Succeeded","startTime":"2021-06-08T10:52:53.5449115Z","endTime":"2021-06-08T10:53:07.807348Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '583' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 08:58:17 GMT + - Tue, 08 Jun 2021 10:53:23 GMT expires: - '-1' pragma: @@ -1066,13 +1066,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1082,7 +1082,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:01:39 GMT + - Tue, 08 Jun 2021 10:56:44 GMT expires: - '-1' pragma: @@ -1108,25 +1108,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:01:41 GMT + - Tue, 08 Jun 2021 10:56:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1152,12 +1152,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","name":"6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","status":"Deleting","startTime":"2021-04-15T09:01:41.3976233Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595","name":"e265647d-db20-404f-9ed7-21bac0ed7595","status":"Deleting","startTime":"2021-06-08T10:56:47.0480178Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache @@ -1166,7 +1166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:02:11 GMT + - Tue, 08 Jun 2021 10:57:16 GMT expires: - '-1' pragma: @@ -1175,10 +1175,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1196,12 +1192,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","name":"6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","status":"Deleting","startTime":"2021-04-15T09:01:41.3976233Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595","name":"e265647d-db20-404f-9ed7-21bac0ed7595","status":"Deleting","startTime":"2021-06-08T10:56:47.0480178Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache @@ -1210,7 +1206,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:02:41 GMT + - Tue, 08 Jun 2021 10:57:47 GMT expires: - '-1' pragma: @@ -1219,10 +1215,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1240,12 +1232,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","name":"6a14c7ee-c8ef-4562-946f-df4e8f0d1c8d","status":"Succeeded","startTime":"2021-04-15T09:01:41.3976233Z","endTime":"2021-04-15T09:02:53.5572204Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e265647d-db20-404f-9ed7-21bac0ed7595","name":"e265647d-db20-404f-9ed7-21bac0ed7595","status":"Succeeded","startTime":"2021-06-08T10:56:47.0480178Z","endTime":"2021-06-08T10:57:54.5949388Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache @@ -1254,7 +1246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:03:11 GMT + - Tue, 08 Jun 2021 10:58:17 GMT expires: - '-1' pragma: @@ -1263,10 +1255,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1284,13 +1272,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-2'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1300,7 +1288,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:06:33 GMT + - Tue, 08 Jun 2021 11:01:39 GMT expires: - '-1' pragma: @@ -1326,25 +1314,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e000e252-4ad4-465f-ac77-1684c9e693c3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/96d7fce0-8132-4bda-8ee8-6ac7e7acc7d8?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:06:45 GMT + - Tue, 08 Jun 2021 11:01:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e000e252-4ad4-465f-ac77-1684c9e693c3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/96d7fce0-8132-4bda-8ee8-6ac7e7acc7d8?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1370,21 +1358,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e000e252-4ad4-465f-ac77-1684c9e693c3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/96d7fce0-8132-4bda-8ee8-6ac7e7acc7d8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e000e252-4ad4-465f-ac77-1684c9e693c3","name":"e000e252-4ad4-465f-ac77-1684c9e693c3","status":"Succeeded","startTime":"2021-04-15T09:06:45.6321849Z","endTime":"2021-04-15T09:06:46.9982002Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/96d7fce0-8132-4bda-8ee8-6ac7e7acc7d8","name":"96d7fce0-8132-4bda-8ee8-6ac7e7acc7d8","status":"Succeeded","startTime":"2021-06-08T11:01:50.5567245Z","endTime":"2021-06-08T11:01:52.472339Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '556' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:07:15 GMT + - Tue, 08 Jun 2021 11:02:23 GMT expires: - '-1' pragma: @@ -1416,9 +1404,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1426,7 +1414,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:07:25 GMT + - Tue, 08 Jun 2021 11:02:33 GMT expires: - '-1' pragma: @@ -1452,9 +1440,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1462,7 +1450,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:07:36 GMT + - Tue, 08 Jun 2021 11:02:44 GMT expires: - '-1' pragma: @@ -1488,9 +1476,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1498,7 +1486,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:07:46 GMT + - Tue, 08 Jun 2021 11:02:54 GMT expires: - '-1' pragma: @@ -1524,9 +1512,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1534,7 +1522,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:07:56 GMT + - Tue, 08 Jun 2021 11:03:04 GMT expires: - '-1' pragma: @@ -1558,13 +1546,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1574,7 +1562,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:08:07 GMT + - Tue, 08 Jun 2021 11:03:14 GMT expires: - '-1' pragma: @@ -1600,25 +1588,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/00459550-16c9-40d8-a286-62eec03cc97c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c3b14e0a-3a10-4419-8cce-6c862d204793?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:08:08 GMT + - Tue, 08 Jun 2021 11:03:16 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/00459550-16c9-40d8-a286-62eec03cc97c?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c3b14e0a-3a10-4419-8cce-6c862d204793?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1644,12 +1632,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/00459550-16c9-40d8-a286-62eec03cc97c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c3b14e0a-3a10-4419-8cce-6c862d204793?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/00459550-16c9-40d8-a286-62eec03cc97c","name":"00459550-16c9-40d8-a286-62eec03cc97c","status":"Succeeded","startTime":"2021-04-15T09:08:08.8864001Z","endTime":"2021-04-15T09:08:08.9271097Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c3b14e0a-3a10-4419-8cce-6c862d204793","name":"c3b14e0a-3a10-4419-8cce-6c862d204793","status":"Succeeded","startTime":"2021-06-08T11:03:16.5173084Z","endTime":"2021-06-08T11:03:16.5500514Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -1658,7 +1646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:08:38 GMT + - Tue, 08 Jun 2021 11:03:46 GMT expires: - '-1' pragma: @@ -1688,13 +1676,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1704,7 +1692,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:08:40 GMT + - Tue, 08 Jun 2021 11:03:48 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml index e0fa17e807f4..46c2e9333fbf 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_patch_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T10%3A01%3A59.4333111Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T11%3A53%3A36.3536516Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94325272-2dce-4099-b121-ec221b913b15?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60b160a9-6da3-4d62-ae76-0eb936824fe4?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:02:00 GMT + - Tue, 08 Jun 2021 11:53:37 GMT etag: - - W/"datetime'2021-04-15T10%3A01%3A59.4333111Z'" + - W/"datetime'2021-06-08T11%3A53%3A36.3536516Z'" expires: - '-1' pragma: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94325272-2dce-4099-b121-ec221b913b15?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60b160a9-6da3-4d62-ae76-0eb936824fe4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/94325272-2dce-4099-b121-ec221b913b15","name":"94325272-2dce-4099-b121-ec221b913b15","status":"Succeeded","startTime":"2021-04-15T10:01:59.4407352Z","endTime":"2021-04-15T10:01:59.4957743Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/60b160a9-6da3-4d62-ae76-0eb936824fe4","name":"60b160a9-6da3-4d62-ae76-0eb936824fe4","status":"Succeeded","startTime":"2021-06-08T11:53:36.3560247Z","endTime":"2021-06-08T11:53:36.4260247Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:02:30 GMT + - Tue, 08 Jun 2021 11:54:07 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T10%3A01%3A59.4898597Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T11%3A53%3A36.4197368Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:02:30 GMT + - Tue, 08 Jun 2021 11:54:07 GMT etag: - - W/"datetime'2021-04-15T10%3A01%3A59.4898597Z'" + - W/"datetime'2021-06-08T11%3A53%3A36.4197368Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, + "serviceLevel": "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '122' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A02%3A33.1730315Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T11%3A54%3A09.9825557Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/756f5320-8928-4d97-9dc9-ed10962c4009?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4c2613b-dd9c-485f-a350-67d61c77b0ad?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '549' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:02:33 GMT + - Tue, 08 Jun 2021 11:54:10 GMT etag: - - W/"datetime'2021-04-15T10%3A02%3A33.1730315Z'" + - W/"datetime'2021-06-08T11%3A54%3A09.9825557Z'" expires: - '-1' pragma: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/756f5320-8928-4d97-9dc9-ed10962c4009?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4c2613b-dd9c-485f-a350-67d61c77b0ad?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/756f5320-8928-4d97-9dc9-ed10962c4009","name":"756f5320-8928-4d97-9dc9-ed10962c4009","status":"Succeeded","startTime":"2021-04-15T10:02:33.1763089Z","endTime":"2021-04-15T10:02:33.7019153Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4c2613b-dd9c-485f-a350-67d61c77b0ad","name":"b4c2613b-dd9c-485f-a350-67d61c77b0ad","status":"Succeeded","startTime":"2021-06-08T11:54:09.9857474Z","endTime":"2021-06-08T11:54:10.2371767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:03:03 GMT + - Tue, 08 Jun 2021 11:54:40 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A02%3A33.6987869Z''\"","location":"southcentralusstage","properties":{"poolId":"eb98b04c-d7ef-72d2-6289-9fd1e479b31e","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T11%3A54%3A10.2335938Z''\"","location":"southcentralus","properties":{"poolId":"09c1429e-ae02-70ea-e3fa-e6a8d62a0f5f","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:03:04 GMT + - Tue, 08 Jun 2021 11:54:41 GMT etag: - - W/"datetime'2021-04-15T10%3A02%3A33.6987869Z'" + - W/"datetime'2021-06-08T11%3A54%3A10.2335938Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '568' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A03%3A18.1916873Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A54%3A53.1002041Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '972' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:03:18 GMT + - Tue, 08 Jun 2021 11:54:53 GMT etag: - - W/"datetime'2021-04-15T10%3A03%3A18.1916873Z'" + - W/"datetime'2021-06-08T11%3A54%3A53.1002041Z'" expires: - '-1' pragma: @@ -345,12 +345,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:03:48 GMT + - Tue, 08 Jun 2021 11:55:23 GMT expires: - '-1' pragma: @@ -389,12 +389,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -403,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:04:19 GMT + - Tue, 08 Jun 2021 11:55:53 GMT expires: - '-1' pragma: @@ -433,12 +433,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -447,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:04:49 GMT + - Tue, 08 Jun 2021 11:56:24 GMT expires: - '-1' pragma: @@ -477,12 +477,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -491,7 +491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:05:19 GMT + - Tue, 08 Jun 2021 11:56:55 GMT expires: - '-1' pragma: @@ -521,12 +521,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -535,7 +535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:05:50 GMT + - Tue, 08 Jun 2021 11:57:25 GMT expires: - '-1' pragma: @@ -565,12 +565,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Creating","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -579,7 +579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:06:20 GMT + - Tue, 08 Jun 2021 11:57:55 GMT expires: - '-1' pragma: @@ -609,21 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/127d0900-fe82-49c4-8a17-9e952752dcef","name":"127d0900-fe82-49c4-8a17-9e952752dcef","status":"Succeeded","startTime":"2021-04-15T10:03:18.1967824Z","endTime":"2021-04-15T10:06:41.120743Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '583' + - '573' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:06:50 GMT + - Tue, 08 Jun 2021 11:58:25 GMT expires: - '-1' pragma: @@ -653,119 +653,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A06%3A41.1166231Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_841b23cb","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' - headers: - cache-control: - - no-cache - content-length: - - '1669' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Apr 2021 10:06:51 GMT - etag: - - W/"datetime'2021-04-15T10%3A06%3A41.1166231Z'" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: '{"properties": {"usageThreshold": 214748364800}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A06%3A51.8358103Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Patching","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_841b23cb","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16c9f6c9-2ef8-4b42-b947-1670dbc12930?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1668' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Apr 2021 10:06:51 GMT - etag: - - W/"datetime'2021-04-15T10%3A06%3A51.8358103Z'" - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16c9f6c9-2ef8-4b42-b947-1670dbc12930?api-version=2021-02-01&operationResultResponseType=Location - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16c9f6c9-2ef8-4b42-b947-1670dbc12930?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/16c9f6c9-2ef8-4b42-b947-1670dbc12930","name":"16c9f6c9-2ef8-4b42-b947-1670dbc12930","status":"Succeeded","startTime":"2021-04-15T10:06:51.8371396Z","endTime":"2021-04-15T10:07:14.9633495Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '584' + - '573' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:07:21 GMT + - Tue, 08 Jun 2021 11:58:55 GMT expires: - '-1' pragma: @@ -795,23 +697,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A07%3A14.9603079Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":12.8,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"a5252c74-4eb3-7198-9c5b-72b9ef043b4b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_841b23cb","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Creating","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '1670' + - '573' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:07:21 GMT - etag: - - W/"datetime'2021-04-15T10%3A07%3A14.9603079Z'" + - Tue, 08 Jun 2021 11:59:25 GMT expires: - '-1' pragma: @@ -831,52 +731,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Thu, 15 Apr 2021 10:07:22 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01&operationResultResponseType=Location - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-powered-by: - - ASP.NET - status: - code: 202 - message: Accepted - request: body: null headers: @@ -887,21 +741,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b63223de-417c-481b-8d98-4df6c2bb0649","name":"b63223de-417c-481b-8d98-4df6c2bb0649","status":"Succeeded","startTime":"2021-06-08T11:54:53.1080781Z","endTime":"2021-06-08T11:59:26.7935705Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '584' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:07:53 GMT + - Tue, 08 Jun 2021 11:59:56 GMT expires: - '-1' pragma: @@ -931,21 +785,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A59%3A26.7889405Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d2a78bb2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '573' + - '1719' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:08:24 GMT + - Tue, 08 Jun 2021 11:59:56 GMT + etag: + - W/"datetime'2021-06-08T11%3A59%3A26.7889405Z'" expires: - '-1' pragma: @@ -966,49 +822,57 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"usageThreshold": 214748364800}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '48' + Content-Type: + - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A59%3A58.1640757Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Patching","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d2a78bb2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a9a9505-00a7-4fdc-ac32-6158441c9cd6?api-version=2021-04-01 cache-control: - no-cache content-length: - - '573' + - '1718' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:08:54 GMT + - Tue, 08 Jun 2021 11:59:57 GMT + etag: + - W/"datetime'2021-06-08T11%3A59%3A58.1640757Z'" expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a9a9505-00a7-4fdc-ac32-6158441c9cd6?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1019,21 +883,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a9a9505-00a7-4fdc-ac32-6158441c9cd6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2a9a9505-00a7-4fdc-ac32-6158441c9cd6","name":"2a9a9505-00a7-4fdc-ac32-6158441c9cd6","status":"Succeeded","startTime":"2021-06-08T11:59:58.1675984Z","endTime":"2021-06-08T12:00:13.6554393Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' + - '584' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:09:24 GMT + - Tue, 08 Jun 2021 12:00:28 GMT expires: - '-1' pragma: @@ -1063,21 +927,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T12%3A00%3A13.6500014Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","ipAddress":"10.7.0.4"}],"throughputMibps":12.8,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"bb7e2bd2-359b-d2d5-1e77-e8bfab49ea9f","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d2a78bb2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '573' + - '1720' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:09:55 GMT + - Tue, 08 Jun 2021 12:00:29 GMT + etag: + - W/"datetime'2021-06-08T12%3A00%3A13.6500014Z'" expires: - '-1' pragma: @@ -1106,41 +972,43 @@ interactions: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084?api-version=2021-04-01 cache-control: - no-cache content-length: - - '573' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Thu, 15 Apr 2021 10:10:25 GMT + - Tue, 08 Jun 2021 12:00:30 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1151,12 +1019,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084","name":"e188df85-e566-4ea4-8ace-4ac794f77084","status":"Deleting","startTime":"2021-06-08T12:00:30.3625519Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1165,7 +1033,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:10:56 GMT + - Tue, 08 Jun 2021 12:01:00 GMT expires: - '-1' pragma: @@ -1195,12 +1063,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Deleting","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084","name":"e188df85-e566-4ea4-8ace-4ac794f77084","status":"Deleting","startTime":"2021-06-08T12:00:30.3625519Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1209,7 +1077,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:11:25 GMT + - Tue, 08 Jun 2021 12:01:30 GMT expires: - '-1' pragma: @@ -1239,21 +1107,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d27536d5-bc20-4cbb-993a-756ff6622505","name":"d27536d5-bc20-4cbb-993a-756ff6622505","status":"Succeeded","startTime":"2021-04-15T10:07:23.5508555Z","endTime":"2021-04-15T10:11:27.0626338Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/e188df85-e566-4ea4-8ace-4ac794f77084","name":"e188df85-e566-4ea4-8ace-4ac794f77084","status":"Succeeded","startTime":"2021-06-08T12:00:30.3625519Z","endTime":"2021-06-08T12:01:33.342382Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '584' + - '583' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:11:56 GMT + - Tue, 08 Jun 2021 12:02:01 GMT expires: - '-1' pragma: @@ -1283,13 +1151,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1299,7 +1167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:15:17 GMT + - Tue, 08 Jun 2021 12:05:21 GMT expires: - '-1' pragma: @@ -1325,25 +1193,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/89c003c6-4233-4b5a-8bc7-6d30fef108a8?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/18696e25-45a7-4059-8a86-0fadc7280590?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:15:29 GMT + - Tue, 08 Jun 2021 12:05:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/89c003c6-4233-4b5a-8bc7-6d30fef108a8?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/18696e25-45a7-4059-8a86-0fadc7280590?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1353,7 +1221,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' x-powered-by: - ASP.NET status: @@ -1369,21 +1237,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/89c003c6-4233-4b5a-8bc7-6d30fef108a8?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/18696e25-45a7-4059-8a86-0fadc7280590?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/89c003c6-4233-4b5a-8bc7-6d30fef108a8","name":"89c003c6-4233-4b5a-8bc7-6d30fef108a8","status":"Succeeded","startTime":"2021-04-15T10:15:30.2429434Z","endTime":"2021-04-15T10:15:31.7916348Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/18696e25-45a7-4059-8a86-0fadc7280590","name":"18696e25-45a7-4059-8a86-0fadc7280590","status":"Succeeded","startTime":"2021-06-08T12:05:33.847869Z","endTime":"2021-06-08T12:05:35.9825056Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '556' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:16:00 GMT + - Tue, 08 Jun 2021 12:06:04 GMT expires: - '-1' pragma: @@ -1415,9 +1283,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1425,7 +1293,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:16:10 GMT + - Tue, 08 Jun 2021 12:06:14 GMT expires: - '-1' pragma: @@ -1435,7 +1303,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 204 message: No Content @@ -1451,9 +1319,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1461,7 +1329,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:16:21 GMT + - Tue, 08 Jun 2021 12:06:24 GMT expires: - '-1' pragma: @@ -1471,7 +1339,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14996' status: code: 204 message: No Content @@ -1487,9 +1355,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1497,7 +1365,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:16:31 GMT + - Tue, 08 Jun 2021 12:06:34 GMT expires: - '-1' pragma: @@ -1507,7 +1375,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14995' status: code: 204 message: No Content @@ -1523,9 +1391,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1533,7 +1401,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:16:42 GMT + - Tue, 08 Jun 2021 12:06:45 GMT expires: - '-1' pragma: @@ -1543,7 +1411,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14994' status: code: 204 message: No Content @@ -1557,13 +1425,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1573,7 +1441,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:16:52 GMT + - Tue, 08 Jun 2021 12:06:55 GMT expires: - '-1' pragma: @@ -1599,25 +1467,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4a5ca045-62fc-4967-9943-4a7a455b82ab?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b8f1af2-0568-4fbc-abc6-8f3982e25d15?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:16:53 GMT + - Tue, 08 Jun 2021 12:06:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4a5ca045-62fc-4967-9943-4a7a455b82ab?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b8f1af2-0568-4fbc-abc6-8f3982e25d15?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1627,7 +1495,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14993' x-powered-by: - ASP.NET status: @@ -1643,12 +1511,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4a5ca045-62fc-4967-9943-4a7a455b82ab?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b8f1af2-0568-4fbc-abc6-8f3982e25d15?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/4a5ca045-62fc-4967-9943-4a7a455b82ab","name":"4a5ca045-62fc-4967-9943-4a7a455b82ab","status":"Succeeded","startTime":"2021-04-15T10:16:53.6032573Z","endTime":"2021-04-15T10:16:53.6441582Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/6b8f1af2-0568-4fbc-abc6-8f3982e25d15","name":"6b8f1af2-0568-4fbc-abc6-8f3982e25d15","status":"Succeeded","startTime":"2021-06-08T12:06:57.1955654Z","endTime":"2021-06-08T12:06:57.2305741Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -1657,7 +1525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:17:23 GMT + - Tue, 08 Jun 2021 12:07:27 GMT expires: - '-1' pragma: @@ -1687,13 +1555,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1703,7 +1571,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:17:25 GMT + - Tue, 08 Jun 2021 12:07:29 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_pool_change.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_pool_change.yaml index 88f14883d0e8..f417df8e388d 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_pool_change.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_pool_change.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T10%3A18%3A31.6628079Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T12%3A40%3A01.7556451Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e3e0ca9-4b93-404a-b464-05981a6f0b76?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/844fa43c-560c-4b79-bfce-5c318f161282?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:18:31 GMT + - Tue, 08 Jun 2021 12:40:01 GMT etag: - - W/"datetime'2021-04-15T10%3A18%3A31.6628079Z'" + - W/"datetime'2021-06-08T12%3A40%3A01.7556451Z'" expires: - '-1' pragma: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e3e0ca9-4b93-404a-b464-05981a6f0b76?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/844fa43c-560c-4b79-bfce-5c318f161282?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5e3e0ca9-4b93-404a-b464-05981a6f0b76","name":"5e3e0ca9-4b93-404a-b464-05981a6f0b76","status":"Succeeded","startTime":"2021-04-15T10:18:31.6670971Z","endTime":"2021-04-15T10:18:31.7393258Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/844fa43c-560c-4b79-bfce-5c318f161282","name":"844fa43c-560c-4b79-bfce-5c318f161282","status":"Succeeded","startTime":"2021-06-08T12:40:01.7600126Z","endTime":"2021-06-08T12:40:01.8298618Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:02 GMT + - Tue, 08 Jun 2021 12:40:33 GMT expires: - '-1' pragma: @@ -82,10 +82,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -103,23 +99,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T10%3A18%3A31.737538Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T12%3A40%3A01.8244263Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '405' + - '406' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:02 GMT + - Tue, 08 Jun 2021 12:40:33 GMT etag: - - W/"datetime'2021-04-15T10%3A18%3A31.737538Z'" + - W/"datetime'2021-06-08T12%3A40%3A01.8244263Z'" expires: - '-1' pragma: @@ -128,10 +124,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -140,8 +132,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, + "serviceLevel": "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +142,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '122' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A19%3A05.4005676Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T12%3A40%3A35.5698663Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ab0ce79-42d6-4553-aba4-5f9698f23fdb?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/590fa2b1-e06f-4e34-8973-cd7feb224bbe?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '549' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:06 GMT + - Tue, 08 Jun 2021 12:40:36 GMT etag: - - W/"datetime'2021-04-15T10%3A19%3A05.4005676Z'" + - W/"datetime'2021-06-08T12%3A40%3A35.5698663Z'" expires: - '-1' pragma: @@ -200,21 +192,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ab0ce79-42d6-4553-aba4-5f9698f23fdb?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/590fa2b1-e06f-4e34-8973-cd7feb224bbe?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9ab0ce79-42d6-4553-aba4-5f9698f23fdb","name":"9ab0ce79-42d6-4553-aba4-5f9698f23fdb","status":"Succeeded","startTime":"2021-04-15T10:19:05.405889Z","endTime":"2021-04-15T10:19:05.7376121Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/590fa2b1-e06f-4e34-8973-cd7feb224bbe","name":"590fa2b1-e06f-4e34-8973-cd7feb224bbe","status":"Succeeded","startTime":"2021-06-08T12:40:35.5720295Z","endTime":"2021-06-08T12:40:36.3257606Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '556' + - '557' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:36 GMT + - Tue, 08 Jun 2021 12:41:07 GMT expires: - '-1' pragma: @@ -223,10 +215,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -244,23 +232,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A19%3A05.7323211Z''\"","location":"southcentralusstage","properties":{"poolId":"3d005fd5-47e5-a76e-a083-e9b80c6c9ec5","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T12%3A40%3A36.3225643Z''\"","location":"southcentralus","properties":{"poolId":"1183b1e2-0104-c5d6-0991-0f088c267308","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:36 GMT + - Tue, 08 Jun 2021 12:41:07 GMT etag: - - W/"datetime'2021-04-15T10%3A19%3A05.7323211Z'" + - W/"datetime'2021-06-08T12%3A40%3A36.3225643Z'" expires: - '-1' pragma: @@ -269,10 +257,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -281,12 +265,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +279,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '568' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A19%3A50.127065Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T12%3A41%3A19.0289975Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 cache-control: - no-cache content-length: - - '952' + - '972' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:19:50 GMT + - Tue, 08 Jun 2021 12:41:19 GMT etag: - - W/"datetime'2021-04-15T10%3A19%3A50.127065Z'" + - W/"datetime'2021-06-08T12%3A41%3A19.0289975Z'" expires: - '-1' pragma: @@ -345,12 +329,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -359,7 +343,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:20:20 GMT + - Tue, 08 Jun 2021 12:41:49 GMT expires: - '-1' pragma: @@ -368,10 +352,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -389,12 +369,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -403,7 +383,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:20:51 GMT + - Tue, 08 Jun 2021 12:42:21 GMT expires: - '-1' pragma: @@ -412,10 +392,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -433,12 +409,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -447,7 +423,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:21:21 GMT + - Tue, 08 Jun 2021 12:42:51 GMT expires: - '-1' pragma: @@ -456,10 +432,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -477,12 +449,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -491,7 +463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:21:52 GMT + - Tue, 08 Jun 2021 12:43:21 GMT expires: - '-1' pragma: @@ -500,10 +472,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -521,12 +489,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -535,7 +503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:22:21 GMT + - Tue, 08 Jun 2021 12:43:51 GMT expires: - '-1' pragma: @@ -544,10 +512,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -565,12 +529,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -579,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:22:52 GMT + - Tue, 08 Jun 2021 12:44:22 GMT expires: - '-1' pragma: @@ -588,10 +552,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -609,12 +569,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -623,7 +583,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:23:22 GMT + - Tue, 08 Jun 2021 12:44:53 GMT expires: - '-1' pragma: @@ -632,10 +592,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -653,12 +609,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Creating","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Creating","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -667,7 +623,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:23:52 GMT + - Tue, 08 Jun 2021 12:45:24 GMT expires: - '-1' pragma: @@ -676,10 +632,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -697,12 +649,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2b465938-4121-4d8a-bd4e-68b7a68c7525","name":"2b465938-4121-4d8a-bd4e-68b7a68c7525","status":"Succeeded","startTime":"2021-04-15T10:19:50.1344591Z","endTime":"2021-04-15T10:24:03.4806984Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/adf5e6fd-eda3-47c0-9938-708236b861a6","name":"adf5e6fd-eda3-47c0-9938-708236b861a6","status":"Succeeded","startTime":"2021-06-08T12:41:19.0349472Z","endTime":"2021-06-08T12:45:36.1960143Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -711,7 +663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:24:23 GMT + - Tue, 08 Jun 2021 12:45:54 GMT expires: - '-1' pragma: @@ -720,10 +672,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -741,23 +689,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A24%3A03.477896Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73ad54e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T12%3A45%3A36.1920181Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_0a4ffb15","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1668' + - '1719' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:24:24 GMT + - Tue, 08 Jun 2021 12:45:54 GMT etag: - - W/"datetime'2021-04-15T10%3A24%3A03.477896Z'" + - W/"datetime'2021-06-08T12%3A45%3A36.1920181Z'" expires: - '-1' pragma: @@ -766,10 +714,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -778,8 +722,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, + "serviceLevel": "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -788,29 +732,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '122' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A24%3A28.2221356Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T12%3A45%3A59.5343829Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c984a68-41c8-4381-94cb-7b267b034d62?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c02ec973-3b7a-460e-a41f-26b8f66c0fe8?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '549' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:24:28 GMT + - Tue, 08 Jun 2021 12:46:00 GMT etag: - - W/"datetime'2021-04-15T10%3A24%3A28.2221356Z'" + - W/"datetime'2021-06-08T12%3A45%3A59.5343829Z'" expires: - '-1' pragma: @@ -838,21 +782,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c984a68-41c8-4381-94cb-7b267b034d62?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c02ec973-3b7a-460e-a41f-26b8f66c0fe8?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/2c984a68-41c8-4381-94cb-7b267b034d62","name":"2c984a68-41c8-4381-94cb-7b267b034d62","status":"Succeeded","startTime":"2021-04-15T10:24:28.2263908Z","endTime":"2021-04-15T10:24:28.4557433Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c02ec973-3b7a-460e-a41f-26b8f66c0fe8","name":"c02ec973-3b7a-460e-a41f-26b8f66c0fe8","status":"Succeeded","startTime":"2021-06-08T12:45:59.539061Z","endTime":"2021-06-08T12:45:59.7613642Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache content-length: - - '557' + - '556' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:24:58 GMT + - Tue, 08 Jun 2021 12:46:31 GMT expires: - '-1' pragma: @@ -861,10 +805,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -882,23 +822,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T10%3A24%3A28.4536336Z''\"","location":"southcentralusstage","properties":{"poolId":"c8f7a4ac-b147-683d-22b1-230bd574cdf9","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T12%3A45%3A59.7566468Z''\"","location":"southcentralus","properties":{"poolId":"d0496d59-0cdf-2717-7227-3499bb49943b","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:24:58 GMT + - Tue, 08 Jun 2021 12:46:31 GMT etag: - - W/"datetime'2021-04-15T10%3A24%3A28.4536336Z'" + - W/"datetime'2021-06-08T12%3A45%3A59.7566468Z'" expires: - '-1' pragma: @@ -907,10 +847,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -919,7 +855,7 @@ interactions: code: 200 message: OK - request: - body: '{"newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}' + body: '{"newPoolResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}' headers: Accept: - '*/*' @@ -932,25 +868,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/poolChange?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/poolChange?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d4aa83c-a618-488e-96b2-905224e2f2c0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd51a145-d1a6-4ed6-84b8-1e36a5e53e45?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:25:11 GMT + - Tue, 08 Jun 2021 12:46:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d4aa83c-a618-488e-96b2-905224e2f2c0?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd51a145-d1a6-4ed6-84b8-1e36a5e53e45?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -976,12 +912,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d4aa83c-a618-488e-96b2-905224e2f2c0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd51a145-d1a6-4ed6-84b8-1e36a5e53e45?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d4aa83c-a618-488e-96b2-905224e2f2c0","name":"9d4aa83c-a618-488e-96b2-905224e2f2c0","status":"Succeeded","startTime":"2021-04-15T10:25:11.4868896Z","endTime":"2021-04-15T10:25:33.2470489Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd51a145-d1a6-4ed6-84b8-1e36a5e53e45","name":"fd51a145-d1a6-4ed6-84b8-1e36a5e53e45","status":"Succeeded","startTime":"2021-06-08T12:46:43.1574334Z","endTime":"2021-06-08T12:46:48.1694174Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -990,7 +926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:25:41 GMT + - Tue, 08 Jun 2021 12:47:13 GMT expires: - '-1' pragma: @@ -999,10 +935,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1020,21 +952,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9d4aa83c-a618-488e-96b2-905224e2f2c0?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fd51a145-d1a6-4ed6-84b8-1e36a5e53e45?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A25%3A33.2430592Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","ownerId":"93ade68e-e530-11e9-a696-c27beff6b5ea","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73ad54e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","poolId":"c8f7a4ac-b147-683d-22b1-230bd574cdf9","mountTargets":[{"provisioningState":"","mountTargetId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","encryptionKeySource":"Microsoft.NetApp","volumeSpecName":"generic","coolAccess":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T12%3A46%3A48.1668008Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","ownerId":"93ade68e-e530-11e9-a696-c27beff6b5ea","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_0a4ffb15","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","networkFeatures":"Basic","networkSiblingSetId":"42698678-d0a3-a4da-5347-f9836ac1cd13","storageToNetworkProximity":"Default","snapshotDirectoryVisible":true,"vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","poolId":"d0496d59-0cdf-2717-7227-3499bb49943b","mountTargets":[{"provisioningState":"","mountTargetId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","encryptionKeySource":"Microsoft.NetApp","volumeSpecName":"generic","coolAccess":false,"avsDataStore":false,"isDefaultQuotaEnabled":false,"defaultUserQuotaInKiloBytes":0,"defaultGroupQuotaInKiloBytes":0}}' headers: cache-control: - no-cache content-length: - - '2184' + - '2406' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:25:41 GMT + - Tue, 08 Jun 2021 12:47:13 GMT expires: - '-1' pragma: @@ -1043,10 +975,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1064,23 +992,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T10%3A25%3A33.2430592Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"cd3a30ce-f947-dbc0-0c10-9070546aee80","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_73ad54e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-2/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T12%3A46%3A48.1668008Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"796dc7cb-29f2-8dee-54fb-c9c3ce106d22","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_0a4ffb15","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1719' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:25:41 GMT + - Tue, 08 Jun 2021 12:47:13 GMT etag: - - W/"datetime'2021-04-15T10%3A25%3A33.2430592Z'" + - W/"datetime'2021-06-08T12%3A46%3A48.1668008Z'" expires: - '-1' pragma: @@ -1089,10 +1017,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1110,9 +1034,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes?api-version=2021-04-01 response: body: string: '{"value":[]}' @@ -1124,7 +1048,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:25:42 GMT + - Tue, 08 Jun 2021 12:47:14 GMT expires: - '-1' pragma: @@ -1133,10 +1057,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1156,25 +1076,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:25:43 GMT + - Tue, 08 Jun 2021 12:47:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1200,12 +1120,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","name":"e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","status":"Deleting","startTime":"2021-04-15T10:25:44.0340872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464","name":"2fe1f062-bb41-4c71-9642-945d21e5f464","status":"Deleting","startTime":"2021-06-08T12:47:15.1766693Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -1214,7 +1134,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:26:14 GMT + - Tue, 08 Jun 2021 12:47:45 GMT expires: - '-1' pragma: @@ -1223,10 +1143,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1244,65 +1160,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","name":"e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","status":"Deleting","startTime":"2021-04-15T10:25:44.0340872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/2fe1f062-bb41-4c71-9642-945d21e5f464","name":"2fe1f062-bb41-4c71-9642-945d21e5f464","status":"Succeeded","startTime":"2021-06-08T12:47:15.1766693Z","endTime":"2021-06-08T12:48:13.4927771Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '573' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Apr 2021 10:26:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4?api-version=2021-02-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","name":"e0fb01ab-f4c9-48f3-82f6-5ff5209ec4d4","status":"Succeeded","startTime":"2021-04-15T10:25:44.0340872Z","endTime":"2021-04-15T10:26:54.341995Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1"}}' - headers: - cache-control: - - no-cache - content-length: - - '583' + - '584' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:27:14 GMT + - Tue, 08 Jun 2021 12:48:15 GMT expires: - '-1' pragma: @@ -1311,10 +1183,6 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: @@ -1332,13 +1200,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1348,7 +1216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:30:36 GMT + - Tue, 08 Jun 2021 12:51:36 GMT expires: - '-1' pragma: @@ -1374,25 +1242,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4789aaf-b65f-4a2e-bd2a-c230c87e1ed3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/898a620b-97ac-499c-8e3a-6392ae3fd32f?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:30:47 GMT + - Tue, 08 Jun 2021 12:51:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4789aaf-b65f-4a2e-bd2a-c230c87e1ed3?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/898a620b-97ac-499c-8e3a-6392ae3fd32f?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1418,21 +1286,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4789aaf-b65f-4a2e-bd2a-c230c87e1ed3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/898a620b-97ac-499c-8e3a-6392ae3fd32f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e4789aaf-b65f-4a2e-bd2a-c230c87e1ed3","name":"e4789aaf-b65f-4a2e-bd2a-c230c87e1ed3","status":"Succeeded","startTime":"2021-04-15T10:30:48.5876642Z","endTime":"2021-04-15T10:30:50.0357186Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/898a620b-97ac-499c-8e3a-6392ae3fd32f","name":"898a620b-97ac-499c-8e3a-6392ae3fd32f","status":"Succeeded","startTime":"2021-06-08T12:51:48.414412Z","endTime":"2021-06-08T12:51:50.6445015Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '557' + - '556' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:31:18 GMT + - Tue, 08 Jun 2021 12:52:17 GMT expires: - '-1' pragma: @@ -1464,9 +1332,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1474,7 +1342,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:31:28 GMT + - Tue, 08 Jun 2021 12:52:28 GMT expires: - '-1' pragma: @@ -1500,9 +1368,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1510,7 +1378,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:31:39 GMT + - Tue, 08 Jun 2021 12:52:38 GMT expires: - '-1' pragma: @@ -1536,9 +1404,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1546,7 +1414,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:31:49 GMT + - Tue, 08 Jun 2021 12:52:49 GMT expires: - '-1' pragma: @@ -1572,9 +1440,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1582,7 +1450,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:32:00 GMT + - Tue, 08 Jun 2021 12:53:00 GMT expires: - '-1' pragma: @@ -1606,13 +1474,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1622,7 +1490,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:32:10 GMT + - Tue, 08 Jun 2021 12:53:10 GMT expires: - '-1' pragma: @@ -1648,25 +1516,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/33c79482-586c-404e-a18e-40ed780db77e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19f9d20e-a316-438f-a38d-a901f2ef453d?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:32:21 GMT + - Tue, 08 Jun 2021 12:53:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/33c79482-586c-404e-a18e-40ed780db77e?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19f9d20e-a316-438f-a38d-a901f2ef453d?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1692,12 +1560,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/33c79482-586c-404e-a18e-40ed780db77e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19f9d20e-a316-438f-a38d-a901f2ef453d?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/33c79482-586c-404e-a18e-40ed780db77e","name":"33c79482-586c-404e-a18e-40ed780db77e","status":"Succeeded","startTime":"2021-04-15T10:32:22.0877667Z","endTime":"2021-04-15T10:32:23.5333398Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/19f9d20e-a316-438f-a38d-a901f2ef453d","name":"19f9d20e-a316-438f-a38d-a901f2ef453d","status":"Succeeded","startTime":"2021-06-08T12:53:21.6474946Z","endTime":"2021-06-08T12:53:23.5292416Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache @@ -1706,7 +1574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:32:51 GMT + - Tue, 08 Jun 2021 12:53:51 GMT expires: - '-1' pragma: @@ -1738,9 +1606,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -1748,7 +1616,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:33:03 GMT + - Tue, 08 Jun 2021 12:54:02 GMT expires: - '-1' pragma: @@ -1774,9 +1642,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -1784,7 +1652,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:33:13 GMT + - Tue, 08 Jun 2021 12:54:12 GMT expires: - '-1' pragma: @@ -1810,9 +1678,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -1820,7 +1688,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:33:23 GMT + - Tue, 08 Jun 2021 12:54:22 GMT expires: - '-1' pragma: @@ -1846,9 +1714,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -1856,7 +1724,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 10:33:33 GMT + - Tue, 08 Jun 2021 12:54:33 GMT expires: - '-1' pragma: @@ -1880,13 +1748,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-2'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1896,7 +1764,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:33:44 GMT + - Tue, 08 Jun 2021 12:54:43 GMT expires: - '-1' pragma: @@ -1922,25 +1790,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5b3f37d8-c7fb-4a92-a16f-3c1a3a0f3c82?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a7bb218d-3ee4-413b-a25e-9461498c55c1?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 10:33:45 GMT + - Tue, 08 Jun 2021 12:54:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5b3f37d8-c7fb-4a92-a16f-3c1a3a0f3c82?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a7bb218d-3ee4-413b-a25e-9461498c55c1?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1966,12 +1834,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5b3f37d8-c7fb-4a92-a16f-3c1a3a0f3c82?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a7bb218d-3ee4-413b-a25e-9461498c55c1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/5b3f37d8-c7fb-4a92-a16f-3c1a3a0f3c82","name":"5b3f37d8-c7fb-4a92-a16f-3c1a3a0f3c82","status":"Succeeded","startTime":"2021-04-15T10:33:45.7768974Z","endTime":"2021-04-15T10:33:45.8268842Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a7bb218d-3ee4-413b-a25e-9461498c55c1","name":"a7bb218d-3ee4-413b-a25e-9461498c55c1","status":"Succeeded","startTime":"2021-06-08T12:54:44.9319692Z","endTime":"2021-06-08T12:54:44.9669732Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -1980,7 +1848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:34:15 GMT + - Tue, 08 Jun 2021 12:55:14 GMT expires: - '-1' pragma: @@ -2010,13 +1878,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -2026,7 +1894,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:34:17 GMT + - Tue, 08 Jun 2021 12:55:16 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml index a6a3976db9d8..85704231d493 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -13,15 +13,15 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T09%3A47%3A44.1043422Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T11%3A29%3A21.4855742Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b317e456-d21a-4ed7-884e-820816d6b634?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/450a2fb2-b824-47d1-ac10-84756e348c22?api-version=2021-04-01 cache-control: - no-cache content-length: @@ -29,9 +29,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:47:44 GMT + - Tue, 08 Jun 2021 11:29:22 GMT etag: - - W/"datetime'2021-04-15T09%3A47%3A44.1043422Z'" + - W/"datetime'2021-06-08T11%3A29%3A21.4855742Z'" expires: - '-1' pragma: @@ -59,12 +59,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b317e456-d21a-4ed7-884e-820816d6b634?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/450a2fb2-b824-47d1-ac10-84756e348c22?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/b317e456-d21a-4ed7-884e-820816d6b634","name":"b317e456-d21a-4ed7-884e-820816d6b634","status":"Succeeded","startTime":"2021-04-15T09:47:44.1112429Z","endTime":"2021-04-15T09:47:44.1574521Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/450a2fb2-b824-47d1-ac10-84756e348c22","name":"450a2fb2-b824-47d1-ac10-84756e348c22","status":"Succeeded","startTime":"2021-06-08T11:29:21.4929432Z","endTime":"2021-06-08T11:29:21.5229509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:48:14 GMT + - Tue, 08 Jun 2021 11:29:52 GMT expires: - '-1' pragma: @@ -103,12 +103,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-04-15T09%3A47%3A44.1569744Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-08T11%3A29%3A21.5208733Z''\"","location":"southcentralus","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -117,9 +117,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:48:15 GMT + - Tue, 08 Jun 2021 11:29:52 GMT etag: - - W/"datetime'2021-04-15T09%3A47%3A44.1569744Z'" + - W/"datetime'2021-06-08T11%3A29%3A21.5208733Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, + "serviceLevel": "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '122' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T09%3A48%3A17.6310107Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T11%3A29%3A54.6961805Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/034844b2-0599-404a-8f3f-d6ab7c72f01c?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ee2d8c31-3615-4898-b029-22862bb7f470?api-version=2021-04-01 cache-control: - no-cache content-length: - - '530' + - '549' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:48:18 GMT + - Tue, 08 Jun 2021 11:29:55 GMT etag: - - W/"datetime'2021-04-15T09%3A48%3A17.6310107Z'" + - W/"datetime'2021-06-08T11%3A29%3A54.6961805Z'" expires: - '-1' pragma: @@ -200,12 +200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/034844b2-0599-404a-8f3f-d6ab7c72f01c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ee2d8c31-3615-4898-b029-22862bb7f470?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/034844b2-0599-404a-8f3f-d6ab7c72f01c","name":"034844b2-0599-404a-8f3f-d6ab7c72f01c","status":"Succeeded","startTime":"2021-04-15T09:48:17.6383721Z","endTime":"2021-04-15T09:48:17.7883991Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/ee2d8c31-3615-4898-b029-22862bb7f470","name":"ee2d8c31-3615-4898-b029-22862bb7f470","status":"Succeeded","startTime":"2021-06-08T11:29:54.7009331Z","endTime":"2021-06-08T11:29:55.4011412Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -214,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:48:48 GMT + - Tue, 08 Jun 2021 11:30:25 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-04-15T09%3A48%3A17.7885206Z''\"","location":"southcentralusstage","properties":{"poolId":"7e4fc11a-fd38-9f23-8b70-b06d63071949","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-08T11%3A29%3A55.3977746Z''\"","location":"southcentralus","properties":{"poolId":"bb2d8b52-9789-1711-bb81-f3b5495025cf","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '626' + - '645' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:48:49 GMT + - Tue, 08 Jun 2021 11:30:25 GMT etag: - - W/"datetime'2021-04-15T09%3A48%3A17.7885206Z'" + - W/"datetime'2021-06-08T11%3A29%3A55.3977746Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '547' + - '568' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A49%3A02.7238177Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A30%3A38.0249779Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 cache-control: - no-cache content-length: - - '953' + - '972' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:49:03 GMT + - Tue, 08 Jun 2021 11:30:38 GMT etag: - - W/"datetime'2021-04-15T09%3A49%3A02.7238177Z'" + - W/"datetime'2021-06-08T11%3A30%3A38.0249779Z'" expires: - '-1' pragma: @@ -345,12 +345,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -359,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:49:33 GMT + - Tue, 08 Jun 2021 11:31:08 GMT expires: - '-1' pragma: @@ -389,12 +389,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -403,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:50:04 GMT + - Tue, 08 Jun 2021 11:31:38 GMT expires: - '-1' pragma: @@ -433,12 +433,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -447,7 +447,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:50:34 GMT + - Tue, 08 Jun 2021 11:32:08 GMT expires: - '-1' pragma: @@ -477,12 +477,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -491,7 +491,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:51:04 GMT + - Tue, 08 Jun 2021 11:32:40 GMT expires: - '-1' pragma: @@ -521,12 +521,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -535,7 +535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:51:34 GMT + - Tue, 08 Jun 2021 11:33:10 GMT expires: - '-1' pragma: @@ -565,12 +565,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Creating","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -579,7 +579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:52:05 GMT + - Tue, 08 Jun 2021 11:33:40 GMT expires: - '-1' pragma: @@ -609,12 +609,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/51e29f63-2f54-4aed-8dba-3a6a24b25906","name":"51e29f63-2f54-4aed-8dba-3a6a24b25906","status":"Succeeded","startTime":"2021-04-15T09:49:02.7287127Z","endTime":"2021-04-15T09:52:22.5643202Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Creating","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '573' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 08 Jun 2021 11:34:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","name":"a6b97cd3-3a63-4a37-8a7e-4f3dda1bddf4","status":"Succeeded","startTime":"2021-06-08T11:30:38.0301893Z","endTime":"2021-06-08T11:34:41.1900322Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -623,7 +667,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:52:34 GMT + - Tue, 08 Jun 2021 11:34:41 GMT expires: - '-1' pragma: @@ -653,23 +697,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A52%3A22.5635834Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_e06786cf","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A34%3A41.1861713Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_36cee52c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1669' + - '1719' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:52:35 GMT + - Tue, 08 Jun 2021 11:34:41 GMT etag: - - W/"datetime'2021-04-15T09%3A52%3A22.5635834Z'" + - W/"datetime'2021-06-08T11%3A34%3A41.1861713Z'" expires: - '-1' pragma: @@ -690,11 +734,11 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", - "serviceLevel": "Premium", "usageThreshold": 214748364800, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", + "serviceLevel": "Premium", "usageThreshold": 214748364800, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -703,29 +747,29 @@ interactions: Connection: - keep-alive Content-Length: - - '519' + - '540' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A52%3A36.9522272Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Updating","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_e06786cf","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A34%3A42.5841588Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Updating","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_36cee52c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9bfa3753-df3b-4465-abf1-15af00fadb5a?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7760ebf3-16fb-4aec-b503-9c959351342f?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1668' + - '1718' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:52:36 GMT + - Tue, 08 Jun 2021 11:34:44 GMT etag: - - W/"datetime'2021-04-15T09%3A52%3A36.9522272Z'" + - W/"datetime'2021-06-08T11%3A34%3A42.5841588Z'" expires: - '-1' pragma: @@ -757,12 +801,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9bfa3753-df3b-4465-abf1-15af00fadb5a?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7760ebf3-16fb-4aec-b503-9c959351342f?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/9bfa3753-df3b-4465-abf1-15af00fadb5a","name":"9bfa3753-df3b-4465-abf1-15af00fadb5a","status":"Succeeded","startTime":"2021-04-15T09:52:36.9542005Z","endTime":"2021-04-15T09:52:59.4458682Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/7760ebf3-16fb-4aec-b503-9c959351342f","name":"7760ebf3-16fb-4aec-b503-9c959351342f","status":"Succeeded","startTime":"2021-06-08T11:34:42.5878358Z","endTime":"2021-06-08T11:34:51.1690265Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -771,7 +815,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:53:07 GMT + - Tue, 08 Jun 2021 11:35:14 GMT expires: - '-1' pragma: @@ -801,23 +845,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-04-15T09%3A52%3A59.441301Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":12.8,"provisioningState":"Succeeded","fileSystemId":"4e2b2e22-3e4e-4436-04e7-e0d014e98b58","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_e06786cf","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-08T11%3A34%3A51.1632142Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","ipAddress":"10.7.0.4"}],"throughputMibps":12.8,"coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"e2df9ed6-f73d-4748-99be-75d3f23999b5","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":214748364800,"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_36cee52c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdknettestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' headers: cache-control: - no-cache content-length: - - '1642' + - '1304' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:53:07 GMT + - Tue, 08 Jun 2021 11:35:14 GMT etag: - - W/"datetime'2021-04-15T09%3A52%3A59.441301Z'" + - W/"datetime'2021-06-08T11%3A34%3A51.1632142Z'" expires: - '-1' pragma: @@ -849,25 +893,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:53:08 GMT + - Tue, 08 Jun 2021 11:35:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -893,12 +937,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237","name":"38d471f0-2182-4e07-8574-e2aa0f720237","status":"Deleting","startTime":"2021-04-15T09:53:08.6709121Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e","name":"dcb09545-bc57-48e3-b728-512f3001339e","status":"Deleting","startTime":"2021-06-08T11:35:16.3183268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -907,7 +951,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:53:38 GMT + - Tue, 08 Jun 2021 11:35:45 GMT expires: - '-1' pragma: @@ -937,12 +981,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237","name":"38d471f0-2182-4e07-8574-e2aa0f720237","status":"Deleting","startTime":"2021-04-15T09:53:08.6709121Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e","name":"dcb09545-bc57-48e3-b728-512f3001339e","status":"Deleting","startTime":"2021-06-08T11:35:16.3183268Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -951,7 +995,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:54:08 GMT + - Tue, 08 Jun 2021 11:36:16 GMT expires: - '-1' pragma: @@ -981,12 +1025,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/38d471f0-2182-4e07-8574-e2aa0f720237","name":"38d471f0-2182-4e07-8574-e2aa0f720237","status":"Succeeded","startTime":"2021-04-15T09:53:08.6709121Z","endTime":"2021-04-15T09:54:18.288079Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/dcb09545-bc57-48e3-b728-512f3001339e","name":"dcb09545-bc57-48e3-b728-512f3001339e","status":"Succeeded","startTime":"2021-06-08T11:35:16.3183268Z","endTime":"2021-06-08T11:36:23.550941Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache @@ -995,7 +1039,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:54:39 GMT + - Tue, 08 Jun 2021 11:36:46 GMT expires: - '-1' pragma: @@ -1025,13 +1069,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1041,7 +1085,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:58:00 GMT + - Tue, 08 Jun 2021 11:40:07 GMT expires: - '-1' pragma: @@ -1067,25 +1111,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3db720db-0d1e-499d-8fcc-5643b422f2d9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc8b45f4-2157-45ad-97ad-1dfa065ddf59?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:58:13 GMT + - Tue, 08 Jun 2021 11:40:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3db720db-0d1e-499d-8fcc-5643b422f2d9?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc8b45f4-2157-45ad-97ad-1dfa065ddf59?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1111,12 +1155,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3db720db-0d1e-499d-8fcc-5643b422f2d9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc8b45f4-2157-45ad-97ad-1dfa065ddf59?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/3db720db-0d1e-499d-8fcc-5643b422f2d9","name":"3db720db-0d1e-499d-8fcc-5643b422f2d9","status":"Succeeded","startTime":"2021-04-15T09:58:13.0976179Z","endTime":"2021-04-15T09:58:14.7941236Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/bc8b45f4-2157-45ad-97ad-1dfa065ddf59","name":"bc8b45f4-2157-45ad-97ad-1dfa065ddf59","status":"Succeeded","startTime":"2021-06-08T11:40:19.7906273Z","endTime":"2021-06-08T11:40:21.3330938Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache @@ -1125,7 +1169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:58:43 GMT + - Tue, 08 Jun 2021 11:40:50 GMT expires: - '-1' pragma: @@ -1157,9 +1201,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1167,7 +1211,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:58:53 GMT + - Tue, 08 Jun 2021 11:41:00 GMT expires: - '-1' pragma: @@ -1193,9 +1237,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1203,7 +1247,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:59:03 GMT + - Tue, 08 Jun 2021 11:41:10 GMT expires: - '-1' pragma: @@ -1229,9 +1273,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1239,7 +1283,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:59:14 GMT + - Tue, 08 Jun 2021 11:41:21 GMT expires: - '-1' pragma: @@ -1265,9 +1309,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -1275,7 +1319,7 @@ interactions: cache-control: - no-cache date: - - Thu, 15 Apr 2021 09:59:24 GMT + - Tue, 08 Jun 2021 11:41:31 GMT expires: - '-1' pragma: @@ -1299,13 +1343,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1315,7 +1359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 09:59:35 GMT + - Tue, 08 Jun 2021 11:41:41 GMT expires: - '-1' pragma: @@ -1341,25 +1385,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e67370b9-5108-4075-94d7-47ef24807135?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4b1507ca-5900-40b3-8d5c-cfcd0a0355f9?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Thu, 15 Apr 2021 09:59:36 GMT + - Tue, 08 Jun 2021 11:41:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e67370b9-5108-4075-94d7-47ef24807135?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4b1507ca-5900-40b3-8d5c-cfcd0a0355f9?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -1385,12 +1429,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e67370b9-5108-4075-94d7-47ef24807135?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4b1507ca-5900-40b3-8d5c-cfcd0a0355f9?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/e67370b9-5108-4075-94d7-47ef24807135","name":"e67370b9-5108-4075-94d7-47ef24807135","status":"Succeeded","startTime":"2021-04-15T09:59:36.4450406Z","endTime":"2021-04-15T09:59:36.4950436Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/4b1507ca-5900-40b3-8d5c-cfcd0a0355f9","name":"4b1507ca-5900-40b3-8d5c-cfcd0a0355f9","status":"Succeeded","startTime":"2021-06-08T11:41:42.9237271Z","endTime":"2021-06-08T11:41:42.9537259Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache @@ -1399,7 +1443,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:00:06 GMT + - Tue, 08 Jun 2021 11:42:12 GMT expires: - '-1' pragma: @@ -1429,13 +1473,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-net-test-qa7'' was not found. For more details + under resource group ''sdk-python-tests-rg'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: @@ -1445,7 +1489,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Apr 2021 10:00:09 GMT + - Tue, 08 Jun 2021 11:42:15 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_volume_replication.yaml b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_volume_replication.yaml index 9392a965940f..a1902b6a6f6e 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_volume_replication.yaml +++ b/sdk/netapp/azure-mgmt-netapp/tests/recordings/test_volume.test_volume_replication.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "southcentralusstage"}' + body: '{"location": "southcentralus"}' headers: Accept: - application/json @@ -9,29 +9,29 @@ interactions: Connection: - keep-alive Content-Length: - - '35' + - '30' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-12T13%3A59%3A42.9522107Z''\"","location":"southcentralusstage","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-10T08%3A57%3A39.222692Z''\"","location":"southcentralus","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/503ffb53-47de-4646-9a83-662e74edcf21?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/da471efc-b993-4f9e-aef0-94afb3912aef?api-version=2021-04-01 cache-control: - no-cache content-length: - - '355' + - '356' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 13:59:43 GMT + - Thu, 10 Jun 2021 08:57:40 GMT etag: - - W/"datetime'2021-05-12T13%3A59%3A42.9522107Z'" + - W/"datetime'2021-06-10T08%3A57%3A39.222692Z'" expires: - '-1' pragma: @@ -59,21 +59,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/503ffb53-47de-4646-9a83-662e74edcf21?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/da471efc-b993-4f9e-aef0-94afb3912aef?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/503ffb53-47de-4646-9a83-662e74edcf21","name":"503ffb53-47de-4646-9a83-662e74edcf21","status":"Succeeded","startTime":"2021-05-12T13:59:42.9572506Z","endTime":"2021-05-12T13:59:43.0022533Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/da471efc-b993-4f9e-aef0-94afb3912aef","name":"da471efc-b993-4f9e-aef0-94afb3912aef","status":"Succeeded","startTime":"2021-06-10T08:57:39.2276035Z","endTime":"2021-06-10T08:57:39.2835181Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '519' + - '521' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:00:14 GMT + - Thu, 10 Jun 2021 08:58:09 GMT expires: - '-1' pragma: @@ -103,23 +103,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-12T13%3A59%3A42.9959368Z''\"","location":"southcentralusstage","properties":{"encryption":{"keySource":"Microsoft.NetApp"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1","name":"sdk-py-tests-acc-1","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-10T08%3A57%3A39.283301Z''\"","location":"southcentralus","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '402' + - '403' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:00:14 GMT + - Thu, 10 Jun 2021 08:58:10 GMT etag: - - W/"datetime'2021-05-12T13%3A59%3A42.9959368Z'" + - W/"datetime'2021-06-10T08%3A57%3A39.283301Z'" expires: - '-1' pragma: @@ -140,8 +140,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"size": 4398046511104, - "serviceLevel": "Premium"}}' + body: '{"location": "southcentralus", "properties": {"size": 4398046511104, "serviceLevel": + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -150,29 +150,29 @@ interactions: Connection: - keep-alive Content-Length: - - '101' + - '117' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-12T14%3A00%3A17.2123795Z''\"","location":"southcentralusstage","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-10T08%3A58%3A17.3150404Z''\"","location":"southcentralus","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1f98f182-e062-43f3-ab74-5993476c7b46?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a36f64c9-601d-4f92-b1f3-22dbed211a79?api-version=2021-04-01 cache-control: - no-cache content-length: - - '526' + - '547' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:00:18 GMT + - Thu, 10 Jun 2021 08:58:17 GMT etag: - - W/"datetime'2021-05-12T14%3A00%3A17.2123795Z'" + - W/"datetime'2021-06-10T08%3A58%3A17.3150404Z'" expires: - '-1' pragma: @@ -200,21 +200,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1f98f182-e062-43f3-ab74-5993476c7b46?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a36f64c9-601d-4f92-b1f3-22dbed211a79?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/1f98f182-e062-43f3-ab74-5993476c7b46","name":"1f98f182-e062-43f3-ab74-5993476c7b46","status":"Succeeded","startTime":"2021-05-12T14:00:17.2180435Z","endTime":"2021-05-12T14:00:17.3614796Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/a36f64c9-601d-4f92-b1f3-22dbed211a79","name":"a36f64c9-601d-4f92-b1f3-22dbed211a79","status":"Succeeded","startTime":"2021-06-10T08:58:17.3199399Z","endTime":"2021-06-10T08:58:17.459703Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '553' + - '554' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:00:48 GMT + - Thu, 10 Jun 2021 08:58:47 GMT expires: - '-1' pragma: @@ -244,23 +244,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-12T14%3A00%3A17.3577643Z''\"","location":"southcentralusstage","properties":{"poolId":"880a9d65-ebd5-e13f-02f1-33def9d0927c","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-10T08%3A58%3A17.4571839Z''\"","location":"southcentralus","properties":{"poolId":"f6526322-c0c9-ec14-0b83-294c641eba70","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '622' + - '643' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:00:48 GMT + - Thu, 10 Jun 2021 08:58:47 GMT etag: - - W/"datetime'2021-05-12T14%3A00%3A17.3577643Z'" + - W/"datetime'2021-06-10T08%3A58%3A17.4571839Z'" expires: - '-1' pragma: @@ -281,12 +281,12 @@ interactions: code: 200 message: OK - request: - body: '{"location": "southcentralusstage", "properties": {"creationToken": "sdk-py-tests-vol-1", + body: '{"location": "southcentralus", "properties": {"creationToken": "sdk-py-tests-vol-1", "serviceLevel": "Premium", "usageThreshold": 107374182400, "protocolTypes": - ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default", + ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default", "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -295,29 +295,29 @@ interactions: Connection: - keep-alive Content-Length: - - '540' + - '567' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A01%3A00.7901217Z''\"","location":"southcentralusstage","properties":{"throughputMibps":0.0,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T08%3A59%3A00.9643783Z''\"","location":"southcentralus","properties":{"throughputMibps":0.0,"coolAccess":false,"serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 cache-control: - no-cache content-length: - - '942' + - '974' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:01:01 GMT + - Thu, 10 Jun 2021 08:59:02 GMT etag: - - W/"datetime'2021-05-12T14%3A01%3A00.7901217Z'" + - W/"datetime'2021-06-10T08%3A59%3A00.9643783Z'" expires: - '-1' pragma: @@ -345,21 +345,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Creating","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:01:31 GMT + - Thu, 10 Jun 2021 08:59:31 GMT expires: - '-1' pragma: @@ -389,21 +389,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Creating","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:02:01 GMT + - Thu, 10 Jun 2021 09:00:02 GMT expires: - '-1' pragma: @@ -433,21 +433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Creating","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:02:32 GMT + - Thu, 10 Jun 2021 09:00:32 GMT expires: - '-1' pragma: @@ -477,21 +477,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Creating","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:03:02 GMT + - Thu, 10 Jun 2021 09:01:03 GMT expires: - '-1' pragma: @@ -521,21 +521,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Creating","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:03:32 GMT + - Thu, 10 Jun 2021 09:01:33 GMT expires: - '-1' pragma: @@ -565,21 +565,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/82629b48-a16b-448b-9df9-55292e3ffe33","name":"82629b48-a16b-448b-9df9-55292e3ffe33","status":"Succeeded","startTime":"2021-05-12T14:01:00.7952061Z","endTime":"2021-05-12T14:03:58.3013337Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:03 GMT + - Thu, 10 Jun 2021 09:02:03 GMT expires: - '-1' pragma: @@ -609,23 +609,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A03%3A58.2955777Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Creating","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '1639' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:04 GMT - etag: - - W/"datetime'2021-05-12T14%3A03%3A58.2955777Z'" + - Thu, 10 Jun 2021 09:02:33 GMT expires: - '-1' pragma: @@ -649,29 +647,73 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/b4d622b8-196f-4b7a-b703-27952a60a826","name":"b4d622b8-196f-4b7a-b703-27952a60a826","status":"Succeeded","startTime":"2021-06-10T08:59:00.9693504Z","endTime":"2021-06-10T09:02:58.0520423Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + headers: + cache-control: + - no-cache + content-length: + - '582' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 10 Jun 2021 09:03:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A03%3A58.2955777Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A02%3A58.0461205Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1639' + - '1740' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:09 GMT + - Thu, 10 Jun 2021 09:03:05 GMT etag: - - W/"datetime'2021-05-12T14%3A03%3A58.2955777Z'" + - W/"datetime'2021-06-10T09%3A02%3A58.0461205Z'" expires: - '-1' pragma: @@ -701,29 +743,29 @@ interactions: Connection: - keep-alive Content-Length: - - '27' + - '23' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-12T14%3A04%3A13.194657Z''\"","location":"eastus2euap","properties":{"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-10T09%3A03%3A09.3505629Z''\"","location":"eastus2euap","properties":{"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/d0cd41f5-e350-4896-ae4d-b7d32bf7b5a4?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/038d8c9e-d258-4bb2-b88b-498539e6998e?api-version=2021-04-01 cache-control: - no-cache content-length: - - '348' + - '352' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:14 GMT + - Thu, 10 Jun 2021 09:03:10 GMT etag: - - W/"datetime'2021-05-12T14%3A04%3A13.194657Z'" + - W/"datetime'2021-06-10T09%3A03%3A09.3505629Z'" expires: - '-1' pragma: @@ -751,21 +793,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/d0cd41f5-e350-4896-ae4d-b7d32bf7b5a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/038d8c9e-d258-4bb2-b88b-498539e6998e?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/d0cd41f5-e350-4896-ae4d-b7d32bf7b5a4","name":"d0cd41f5-e350-4896-ae4d-b7d32bf7b5a4","status":"Succeeded","startTime":"2021-05-12T14:04:13.2081701Z","endTime":"2021-05-12T14:04:13.5064261Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/038d8c9e-d258-4bb2-b88b-498539e6998e","name":"038d8c9e-d258-4bb2-b88b-498539e6998e","status":"Succeeded","startTime":"2021-06-10T09:03:09.3539929Z","endTime":"2021-06-10T09:03:09.4313171Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: cache-control: - no-cache content-length: - - '513' + - '516' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:44 GMT + - Thu, 10 Jun 2021 09:03:39 GMT expires: - '-1' pragma: @@ -795,23 +837,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-05-12T14%3A04%3A13.503166Z''\"","location":"eastus2euap","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2","name":"sdk-py-tests-acc-2","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2021-06-10T09%3A03%3A09.4293235Z''\"","location":"eastus2euap","properties":{"provisioningState":"Succeeded","encryption":{"keySource":"Microsoft.NetApp"}}}' headers: cache-control: - no-cache content-length: - - '395' + - '399' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:44 GMT + - Thu, 10 Jun 2021 09:03:40 GMT etag: - - W/"datetime'2021-05-12T14%3A04%3A13.503166Z'" + - W/"datetime'2021-06-10T09%3A03%3A09.4293235Z'" expires: - '-1' pragma: @@ -833,7 +875,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "properties": {"size": 4398046511104, "serviceLevel": - "Premium"}}' + "Premium", "coolAccess": false}}' headers: Accept: - application/json @@ -842,29 +884,29 @@ interactions: Connection: - keep-alive Content-Length: - - '93' + - '110' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-12T14%3A04%3A46.8625483Z''\"","location":"eastus2euap","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-10T09%3A03%3A42.024923Z''\"","location":"eastus2euap","properties":{"serviceLevel":"Premium","size":4398046511104,"totalThroughputMibps":0.0,"utilizedThroughputMibps":0.0,"coolAccess":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/b3a88e63-a730-4197-ab70-ef3b182906ca?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/12c0186e-d6fc-4685-8e07-26a1d4ce8f98?api-version=2021-04-01 cache-control: - no-cache content-length: - - '520' + - '541' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:04:47 GMT + - Thu, 10 Jun 2021 09:03:42 GMT etag: - - W/"datetime'2021-05-12T14%3A04%3A46.8625483Z'" + - W/"datetime'2021-06-10T09%3A03%3A42.024923Z'" expires: - '-1' pragma: @@ -892,21 +934,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/b3a88e63-a730-4197-ab70-ef3b182906ca?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/12c0186e-d6fc-4685-8e07-26a1d4ce8f98?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/b3a88e63-a730-4197-ab70-ef3b182906ca","name":"b3a88e63-a730-4197-ab70-ef3b182906ca","status":"Succeeded","startTime":"2021-05-12T14:04:46.8651779Z","endTime":"2021-05-12T14:04:47.1497875Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/12c0186e-d6fc-4685-8e07-26a1d4ce8f98","name":"12c0186e-d6fc-4685-8e07-26a1d4ce8f98","status":"Succeeded","startTime":"2021-06-10T09:03:42.0314884Z","endTime":"2021-06-10T09:03:42.1738776Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache content-length: - - '547' + - '550' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:05:17 GMT + - Thu, 10 Jun 2021 09:04:12 GMT expires: - '-1' pragma: @@ -936,23 +978,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-05-12T14%3A04%3A47.1459213Z''\"","location":"eastus2euap","properties":{"poolId":"9d4e7735-5b1a-acaf-21ec-df770b49358f","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2021-06-10T09%3A03%3A42.1715629Z''\"","location":"eastus2euap","properties":{"poolId":"993078d8-ce70-11b6-23ff-7054bcb4d1b0","serviceLevel":"Premium","size":4398046511104,"qosType":"Auto","totalThroughputMibps":262.144,"utilizedThroughputMibps":0.0,"encryptionType":"Single","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '616' + - '638' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:05:18 GMT + - Thu, 10 Jun 2021 09:04:13 GMT etag: - - W/"datetime'2021-05-12T14%3A04%3A47.1459213Z'" + - W/"datetime'2021-06-10T09%3A03%3A42.1715629Z'" expires: - '-1' pragma: @@ -974,12 +1016,12 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "properties": {"creationToken": "sdk-py-tests-vol-2", - "usageThreshold": 107374182400, "protocolTypes": ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default", + "usageThreshold": 107374182400, "protocolTypes": ["NFSv3"], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default", "volumeType": "DataProtection", "dataProtection": {"replication": {"endpointType": - "dst", "replicationSchedule": "_10minutely", "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}, + "dst", "replicationSchedule": "_10minutely", "remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}, "snapshotDirectoryVisible": true, "kerberosEnabled": false, "securityStyle": "unix", "smbEncryption": false, "smbContinuouslyAvailable": false, "throughputMibps": - 0.0, "ldapEnabled": false}}' + 0.0, "ldapEnabled": false, "coolAccess": false}}' headers: Accept: - application/json @@ -988,29 +1030,29 @@ interactions: Connection: - keep-alive Content-Length: - - '870' + - '905' Content-Type: - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A05%3A30.0331756Z''\"","location":"eastus2euap","properties":{"throughputMibps":0.0,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A04%3A24.6183767Z''\"","location":"eastus2euap","properties":{"throughputMibps":0.0,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"protocolTypes":["NFSv3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1266' + - '1306' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:05:30 GMT + - Thu, 10 Jun 2021 09:04:24 GMT etag: - - W/"datetime'2021-05-12T14%3A05%3A30.0331756Z'" + - W/"datetime'2021-06-10T09%3A04%3A24.6183767Z'" expires: - '-1' pragma: @@ -1038,21 +1080,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Creating","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:06:00 GMT + - Thu, 10 Jun 2021 09:04:55 GMT expires: - '-1' pragma: @@ -1082,21 +1124,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Creating","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:06:30 GMT + - Thu, 10 Jun 2021 09:05:25 GMT expires: - '-1' pragma: @@ -1126,21 +1168,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Creating","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:07:01 GMT + - Thu, 10 Jun 2021 09:05:55 GMT expires: - '-1' pragma: @@ -1170,21 +1212,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Creating","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:07:31 GMT + - Thu, 10 Jun 2021 09:06:26 GMT expires: - '-1' pragma: @@ -1214,21 +1256,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Creating","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:08:01 GMT + - Thu, 10 Jun 2021 09:06:56 GMT expires: - '-1' pragma: @@ -1258,21 +1300,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/48c81880-042d-4331-abf5-86d579f0f997","name":"48c81880-042d-4331-abf5-86d579f0f997","status":"Succeeded","startTime":"2021-05-12T14:05:30.0375531Z","endTime":"2021-05-12T14:08:31.1643844Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '574' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:08:32 GMT + - Thu, 10 Jun 2021 09:07:26 GMT expires: - '-1' pragma: @@ -1302,23 +1344,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A08%3A31.1604281Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '1907' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:08:33 GMT - etag: - - W/"datetime'2021-05-12T14%3A08%3A31.1604281Z'" + - Thu, 10 Jun 2021 09:07:57 GMT expires: - '-1' pragma: @@ -1339,7 +1379,7 @@ interactions: code: 200 message: OK - request: - body: '{"remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}' + body: null headers: Accept: - '*/*' @@ -1347,72 +1387,66 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '233' - Content-Type: - - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/authorizeReplication?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d8791b72-9546-41ec-b03b-0dd589736a95?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '566' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:04 GMT + - Thu, 10 Jun 2021 09:08:27 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d8791b72-9546-41ec-b03b-0dd589736a95?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A04.4106073Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"AuthorizeReplication","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '1650' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:04 GMT - etag: - - W/"datetime'2021-05-12T14%3A09%3A04.4106073Z'" + - Thu, 10 Jun 2021 09:08:58 GMT expires: - '-1' pragma: @@ -1436,29 +1470,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A08%3A31.1604281Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '1907' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:04 GMT - etag: - - W/"datetime'2021-05-12T14%3A08%3A31.1604281Z'" + - Thu, 10 Jun 2021 09:09:27 GMT expires: - '-1' pragma: @@ -1482,29 +1514,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A04.4106073Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"AuthorizeReplication","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Creating","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '1650' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:06 GMT - etag: - - W/"datetime'2021-05-12T14%3A09%3A04.4106073Z'" + - Thu, 10 Jun 2021 09:09:58 GMT expires: - '-1' pragma: @@ -1528,29 +1558,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A08%3A31.1604281Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/5658f315-7561-4959-a545-b6b151f64dcc","name":"5658f315-7561-4959-a545-b6b151f64dcc","status":"Succeeded","startTime":"2021-06-10T09:04:24.6251634Z","endTime":"2021-06-10T09:10:03.8954373Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '1907' + - '577' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:06 GMT - etag: - - W/"datetime'2021-05-12T14%3A08%3A31.1604281Z'" + - Thu, 10 Jun 2021 09:10:28 GMT expires: - '-1' pragma: @@ -1574,29 +1602,29 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A04.4106073Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"AuthorizeReplication","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1650' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:07 GMT + - Thu, 10 Jun 2021 09:10:28 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A04.4106073Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -1617,51 +1645,53 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"remoteVolumeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}' headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '240' + Content-Type: + - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1/authorizeReplication?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A08%3A31.1604281Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/28946d03-6266-4168-93be-0978c888429c?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1907' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:09:08 GMT - etag: - - W/"datetime'2021-05-12T14%3A08%3A31.1604281Z'" + - Thu, 10 Jun 2021 09:11:31 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/28946d03-6266-4168-93be-0978c888429c?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1672,23 +1702,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A04.4106073Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"AuthorizeReplication","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1650' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:09 GMT + - Thu, 10 Jun 2021 09:11:31 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A04.4106073Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -1718,23 +1748,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A08%3A31.1604281Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1907' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:09 GMT + - Thu, 10 Jun 2021 09:11:32 GMT etag: - - W/"datetime'2021-05-12T14%3A08%3A31.1604281Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -1764,23 +1794,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A04.4106073Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","provisioningState":"AuthorizeReplication","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1650' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:10 GMT + - Thu, 10 Jun 2021 09:11:33 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A04.4106073Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -1810,23 +1840,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:11 GMT + - Thu, 10 Jun 2021 09:11:33 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -1856,23 +1886,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:12 GMT + - Thu, 10 Jun 2021 09:11:35 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -1902,23 +1932,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:12 GMT + - Thu, 10 Jun 2021 09:11:35 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -1948,23 +1978,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:13 GMT + - Thu, 10 Jun 2021 09:11:36 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -1994,23 +2024,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:13 GMT + - Thu, 10 Jun 2021 09:11:36 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -2040,23 +2070,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:15 GMT + - Thu, 10 Jun 2021 09:11:37 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -2086,23 +2116,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:15 GMT + - Thu, 10 Jun 2021 09:11:38 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -2132,23 +2162,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:16 GMT + - Thu, 10 Jun 2021 09:11:39 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -2178,23 +2208,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A10%3A03.8889488Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '1997' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:16 GMT + - Thu, 10 Jun 2021 09:11:39 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A10%3A03.8889488Z'" expires: - '-1' pragma: @@ -2224,23 +2254,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A31.5490552Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"provisioningState":"AuthorizeReplication","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '1751' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:18 GMT + - Thu, 10 Jun 2021 09:11:40 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A31.5490552Z'" expires: - '-1' pragma: @@ -2270,23 +2300,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:18 GMT + - Thu, 10 Jun 2021 09:11:40 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2316,23 +2346,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:19 GMT + - Thu, 10 Jun 2021 09:11:42 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2362,23 +2392,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.08403Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"ActivateReplication"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '1915' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:19 GMT + - Thu, 10 Jun 2021 09:11:42 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.08403Z'" + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2408,23 +2438,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '1961' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:21 GMT + - Thu, 10 Jun 2021 09:11:43 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2454,23 +2484,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A20.3825966Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"DataProtection","dataProtection":{"replication":{"replicationId":"7ff51d9d-b9af-a4b8-8864-b6c848c0b0e8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralusstage"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '2005' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:21 GMT + - Thu, 10 Jun 2021 09:11:43 GMT etag: - - W/"datetime'2021-05-12T14%3A09%3A20.3825966Z'" + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2494,27 +2524,29 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d8791b72-9546-41ec-b03b-0dd589736a95?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d8791b72-9546-41ec-b03b-0dd589736a95","name":"d8791b72-9546-41ec-b03b-0dd589736a95","status":"Succeeded","startTime":"2021-05-12T14:09:04.4213304Z","endTime":"2021-05-12T14:09:11.3040777Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '580' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:34 GMT + - Thu, 10 Jun 2021 09:11:45 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2538,27 +2570,29 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/d8791b72-9546-41ec-b03b-0dd589736a95?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"dataProtection":{"replication":{"endPointType":"Src","replicationStatus":"","remotePath":{"externalHostName":"az-bn7-dr244-sto","serverName":"svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","volumeName":"vol_sdk_py_tests_vol_2_b161c4"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","ownerId":"93ade68e-e530-11e9-a696-c27beff6b5ea","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","networkFeatures":"Basic","networkSiblingSetId":"1e262fad-81a1-a9ec-63fd-348b870cf1c3","storageToNetworkProximity":"None","snapshotDirectoryVisible":true,"vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","poolId":"880a9d65-ebd5-e13f-02f1-33def9d0927c","mountTargets":[{"provisioningState":"","mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","encryptionKeySource":"Microsoft.NetApp","volumeSpecName":"generic","coolAccess":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '2776' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:34 GMT + - Thu, 10 Jun 2021 09:11:45 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2588,21 +2622,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:52 GMT + - Thu, 10 Jun 2021 09:11:46 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2632,21 +2668,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:53 GMT + - Thu, 10 Jun 2021 09:11:47 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2676,21 +2714,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:54 GMT + - Thu, 10 Jun 2021 09:11:48 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2720,21 +2760,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:55 GMT + - Thu, 10 Jun 2021 09:11:48 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2764,21 +2806,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:57 GMT + - Thu, 10 Jun 2021 09:11:49 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2808,21 +2852,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:09:58 GMT + - Thu, 10 Jun 2021 09:11:49 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2852,21 +2898,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:00 GMT + - Thu, 10 Jun 2021 09:11:51 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2896,21 +2944,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:01 GMT + - Thu, 10 Jun 2021 09:11:51 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -2940,21 +2990,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:02 GMT + - Thu, 10 Jun 2021 09:11:52 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -2984,21 +3036,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:03 GMT + - Thu, 10 Jun 2021 09:11:52 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -3028,21 +3082,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:05 GMT + - Thu, 10 Jun 2021 09:11:54 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -3072,21 +3128,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:06 GMT + - Thu, 10 Jun 2021 09:11:54 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -3116,21 +3174,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:07 GMT + - Thu, 10 Jun 2021 09:11:55 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -3160,21 +3220,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.2291948Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"endPointType":"dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"ActivateReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2007' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:08 GMT + - Thu, 10 Jun 2021 09:11:55 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.2291948Z'" expires: - '-1' pragma: @@ -3204,21 +3266,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:10 GMT + - Thu, 10 Jun 2021 09:11:57 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -3248,21 +3312,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A56.8823107Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"DataProtection","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2090' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:11 GMT + - Thu, 10 Jun 2021 09:11:57 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A56.8823107Z'" expires: - '-1' pragma: @@ -3286,27 +3352,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/28946d03-6266-4168-93be-0978c888429c?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/28946d03-6266-4168-93be-0978c888429c","name":"28946d03-6266-4168-93be-0978c888429c","status":"Succeeded","startTime":"2021-06-10T09:11:31.5541892Z","endTime":"2021-06-10T09:11:41.5157547Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '111' + - '582' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:12 GMT + - Thu, 10 Jun 2021 09:12:02 GMT expires: - '-1' pragma: @@ -3330,27 +3396,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/28946d03-6266-4168-93be-0978c888429c?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"dataProtection":{"replication":{"endPointType":"Src","replicationStatus":"","remotePath":{"externalHostName":"az-bn9-f01c01-cr115-sto","serverName":"svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","volumeName":"vol_sdk_py_tests_vol_2_5ff890"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","ownerId":"f78e3b96-807a-11e9-adbb-3283d4934d27","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","poolId":"f6526322-c0c9-ec14-0b83-294c641eba70","mountTargets":[{"provisioningState":"","mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","encryptionKeySource":"Microsoft.NetApp","volumeSpecName":"generic","coolAccess":false}}' headers: cache-control: - no-cache content-length: - - '111' + - '2703' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:14 GMT + - Thu, 10 Jun 2021 09:12:02 GMT expires: - '-1' pragma: @@ -3380,12 +3446,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3394,7 +3460,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:15 GMT + - Thu, 10 Jun 2021 09:12:58 GMT expires: - '-1' pragma: @@ -3418,46 +3484,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/breakReplication?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a?api-version=2021-04-01 cache-control: - no-cache content-length: - - '111' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:10:16 GMT + - Thu, 10 Jun 2021 09:12:59 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -3468,12 +3538,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3482,7 +3552,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:17 GMT + - Thu, 10 Jun 2021 09:12:59 GMT expires: - '-1' pragma: @@ -3512,12 +3582,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3526,7 +3596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:19 GMT + - Thu, 10 Jun 2021 09:13:01 GMT expires: - '-1' pragma: @@ -3556,12 +3626,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3570,7 +3640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:20 GMT + - Thu, 10 Jun 2021 09:13:02 GMT expires: - '-1' pragma: @@ -3600,12 +3670,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3614,7 +3684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:21 GMT + - Thu, 10 Jun 2021 09:13:03 GMT expires: - '-1' pragma: @@ -3644,12 +3714,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3658,7 +3728,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:23 GMT + - Thu, 10 Jun 2021 09:13:04 GMT expires: - '-1' pragma: @@ -3688,12 +3758,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3702,7 +3772,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:24 GMT + - Thu, 10 Jun 2021 09:13:07 GMT expires: - '-1' pragma: @@ -3732,12 +3802,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3746,7 +3816,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:25 GMT + - Thu, 10 Jun 2021 09:13:08 GMT expires: - '-1' pragma: @@ -3776,12 +3846,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3790,7 +3860,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:27 GMT + - Thu, 10 Jun 2021 09:13:09 GMT expires: - '-1' pragma: @@ -3820,12 +3890,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3834,7 +3904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:28 GMT + - Thu, 10 Jun 2021 09:13:11 GMT expires: - '-1' pragma: @@ -3864,12 +3934,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3878,7 +3948,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:29 GMT + - Thu, 10 Jun 2021 09:13:12 GMT expires: - '-1' pragma: @@ -3908,12 +3978,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3922,7 +3992,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:30 GMT + - Thu, 10 Jun 2021 09:13:13 GMT expires: - '-1' pragma: @@ -3952,12 +4022,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -3966,7 +4036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:32 GMT + - Thu, 10 Jun 2021 09:13:14 GMT expires: - '-1' pragma: @@ -3996,12 +4066,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -4010,7 +4080,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:33 GMT + - Thu, 10 Jun 2021 09:13:16 GMT expires: - '-1' pragma: @@ -4040,12 +4110,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -4054,7 +4124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:34 GMT + - Thu, 10 Jun 2021 09:13:17 GMT expires: - '-1' pragma: @@ -4084,12 +4154,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -4098,7 +4168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:36 GMT + - Thu, 10 Jun 2021 09:13:18 GMT expires: - '-1' pragma: @@ -4128,12 +4198,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -4142,7 +4212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:37 GMT + - Thu, 10 Jun 2021 09:13:20 GMT expires: - '-1' pragma: @@ -4172,21 +4242,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:38 GMT + - Thu, 10 Jun 2021 09:13:21 GMT expires: - '-1' pragma: @@ -4210,27 +4280,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a","name":"2840b8f4-d306-4de6-9544-88b2d9c96b6a","status":"BreakReplication","startTime":"2021-06-10T09:12:59.9018748Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '111' + - '574' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:39 GMT + - Thu, 10 Jun 2021 09:13:30 GMT expires: - '-1' pragma: @@ -4254,27 +4324,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a","name":"2840b8f4-d306-4de6-9544-88b2d9c96b6a","status":"Succeeded","startTime":"2021-06-10T09:12:59.9018748Z","endTime":"2021-06-10T09:13:30.5004494Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '111' + - '577' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:41 GMT + - Thu, 10 Jun 2021 09:13:59 GMT expires: - '-1' pragma: @@ -4298,27 +4368,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/2840b8f4-d306-4de6-9544-88b2d9c96b6a?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A13%3A30.4929267Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Mirrored","remotePath":{"externalHostName":"az-bn9-f01c01-cr115-sto","serverName":"svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","volumeName":"vol_sdk_py_tests_vol_2_5ff890"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"1a1854d0-5b82-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"993078d8-ce70-11b6-23ff-7054bcb4d1b0","mountTargets":[{"provisioningState":"","mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2746' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:42 GMT + - Thu, 10 Jun 2021 09:14:00 GMT expires: - '-1' pragma: @@ -4348,21 +4418,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A11%3A41.5130698Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2065' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:43 GMT + - Thu, 10 Jun 2021 09:14:22 GMT + etag: + - W/"datetime'2021-06-10T09%3A11%3A41.5130698Z'" expires: - '-1' pragma: @@ -4392,21 +4464,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A13%3A30.4929267Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2076' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:45 GMT + - Thu, 10 Jun 2021 09:14:22 GMT + etag: + - W/"datetime'2021-06-10T09%3A13%3A30.4929267Z'" expires: - '-1' pragma: @@ -4430,46 +4504,48 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/resyncReplication?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/649bfe4d-5eca-4f24-b781-67034941c4ae?api-version=2021-04-01 cache-control: - no-cache content-length: - - '111' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:10:46 GMT + - Thu, 10 Jun 2021 09:14:23 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/649bfe4d-5eca-4f24-b781-67034941c4ae?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -4480,21 +4556,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:47 GMT + - Thu, 10 Jun 2021 09:14:24 GMT expires: - '-1' pragma: @@ -4524,21 +4600,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:48 GMT + - Thu, 10 Jun 2021 09:14:25 GMT expires: - '-1' pragma: @@ -4568,21 +4644,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:50 GMT + - Thu, 10 Jun 2021 09:14:26 GMT expires: - '-1' pragma: @@ -4612,21 +4688,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:51 GMT + - Thu, 10 Jun 2021 09:14:28 GMT expires: - '-1' pragma: @@ -4656,21 +4732,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:52 GMT + - Thu, 10 Jun 2021 09:14:29 GMT expires: - '-1' pragma: @@ -4700,21 +4776,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:54 GMT + - Thu, 10 Jun 2021 09:14:30 GMT expires: - '-1' pragma: @@ -4744,21 +4820,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:55 GMT + - Thu, 10 Jun 2021 09:14:31 GMT expires: - '-1' pragma: @@ -4788,21 +4864,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:56 GMT + - Thu, 10 Jun 2021 09:14:33 GMT expires: - '-1' pragma: @@ -4832,21 +4908,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:10:59 GMT + - Thu, 10 Jun 2021 09:14:34 GMT expires: - '-1' pragma: @@ -4876,21 +4952,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:00 GMT + - Thu, 10 Jun 2021 09:14:35 GMT expires: - '-1' pragma: @@ -4920,21 +4996,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:01 GMT + - Thu, 10 Jun 2021 09:14:37 GMT expires: - '-1' pragma: @@ -4964,21 +5040,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:03 GMT + - Thu, 10 Jun 2021 09:14:38 GMT expires: - '-1' pragma: @@ -5008,21 +5084,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:04 GMT + - Thu, 10 Jun 2021 09:14:39 GMT expires: - '-1' pragma: @@ -5052,21 +5128,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:05 GMT + - Thu, 10 Jun 2021 09:14:41 GMT expires: - '-1' pragma: @@ -5096,21 +5172,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:07 GMT + - Thu, 10 Jun 2021 09:14:44 GMT expires: - '-1' pragma: @@ -5140,21 +5216,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:08 GMT + - Thu, 10 Jun 2021 09:14:46 GMT expires: - '-1' pragma: @@ -5184,21 +5260,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:09 GMT + - Thu, 10 Jun 2021 09:14:47 GMT expires: - '-1' pragma: @@ -5228,21 +5304,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:10 GMT + - Thu, 10 Jun 2021 09:14:48 GMT expires: - '-1' pragma: @@ -5272,21 +5348,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:12 GMT + - Thu, 10 Jun 2021 09:14:50 GMT expires: - '-1' pragma: @@ -5316,21 +5392,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:13 GMT + - Thu, 10 Jun 2021 09:14:51 GMT expires: - '-1' pragma: @@ -5360,21 +5436,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:14 GMT + - Thu, 10 Jun 2021 09:14:52 GMT expires: - '-1' pragma: @@ -5398,27 +5474,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/649bfe4d-5eca-4f24-b781-67034941c4ae?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/649bfe4d-5eca-4f24-b781-67034941c4ae","name":"649bfe4d-5eca-4f24-b781-67034941c4ae","status":"Succeeded","startTime":"2021-06-10T09:14:23.9911672Z","endTime":"2021-06-10T09:14:40.9639931Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '111' + - '577' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:16 GMT + - Thu, 10 Jun 2021 09:14:53 GMT expires: - '-1' pragma: @@ -5442,27 +5518,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/649bfe4d-5eca-4f24-b781-67034941c4ae?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A14%3A40.956974Z''\"","location":"eastus2euap","properties":{"volumeType":"DataProtection","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Broken","remotePath":{"externalHostName":"az-bn9-f01c01-cr115-sto","serverName":"svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","volumeName":"vol_sdk_py_tests_vol_2_5ff890"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"1a1854d0-5b82-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"993078d8-ce70-11b6-23ff-7054bcb4d1b0","mountTargets":[{"provisioningState":"","mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:17 GMT + - Thu, 10 Jun 2021 09:14:53 GMT expires: - '-1' pragma: @@ -5492,21 +5568,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:18 GMT + - Thu, 10 Jun 2021 09:14:54 GMT expires: - '-1' pragma: @@ -5536,21 +5612,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:19 GMT + - Thu, 10 Jun 2021 09:14:56 GMT expires: - '-1' pragma: @@ -5580,21 +5656,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:21 GMT + - Thu, 10 Jun 2021 09:14:57 GMT expires: - '-1' pragma: @@ -5624,21 +5700,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:22 GMT + - Thu, 10 Jun 2021 09:14:58 GMT expires: - '-1' pragma: @@ -5668,21 +5744,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:23 GMT + - Thu, 10 Jun 2021 09:15:00 GMT expires: - '-1' pragma: @@ -5712,21 +5788,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:25 GMT + - Thu, 10 Jun 2021 09:15:01 GMT expires: - '-1' pragma: @@ -5756,21 +5832,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:26 GMT + - Thu, 10 Jun 2021 09:15:02 GMT expires: - '-1' pragma: @@ -5800,21 +5876,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:27 GMT + - Thu, 10 Jun 2021 09:15:03 GMT expires: - '-1' pragma: @@ -5844,21 +5920,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:29 GMT + - Thu, 10 Jun 2021 09:15:05 GMT expires: - '-1' pragma: @@ -5888,21 +5964,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:31 GMT + - Thu, 10 Jun 2021 09:15:06 GMT expires: - '-1' pragma: @@ -5932,21 +6008,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:32 GMT + - Thu, 10 Jun 2021 09:15:07 GMT expires: - '-1' pragma: @@ -5976,21 +6052,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:33 GMT + - Thu, 10 Jun 2021 09:15:09 GMT expires: - '-1' pragma: @@ -6020,21 +6096,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:35 GMT + - Thu, 10 Jun 2021 09:15:10 GMT expires: - '-1' pragma: @@ -6064,21 +6140,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:36 GMT + - Thu, 10 Jun 2021 09:15:11 GMT expires: - '-1' pragma: @@ -6108,21 +6184,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:37 GMT + - Thu, 10 Jun 2021 09:15:13 GMT expires: - '-1' pragma: @@ -6152,21 +6228,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:38 GMT + - Thu, 10 Jun 2021 09:15:14 GMT expires: - '-1' pragma: @@ -6196,21 +6272,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:40 GMT + - Thu, 10 Jun 2021 09:15:15 GMT expires: - '-1' pragma: @@ -6240,21 +6316,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:41 GMT + - Thu, 10 Jun 2021 09:15:17 GMT expires: - '-1' pragma: @@ -6284,21 +6360,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:42 GMT + - Thu, 10 Jun 2021 09:15:18 GMT expires: - '-1' pragma: @@ -6328,21 +6404,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:44 GMT + - Thu, 10 Jun 2021 09:15:19 GMT expires: - '-1' pragma: @@ -6372,21 +6448,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:45 GMT + - Thu, 10 Jun 2021 09:15:20 GMT expires: - '-1' pragma: @@ -6416,21 +6492,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:46 GMT + - Thu, 10 Jun 2021 09:15:22 GMT expires: - '-1' pragma: @@ -6460,21 +6536,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:47 GMT + - Thu, 10 Jun 2021 09:15:23 GMT expires: - '-1' pragma: @@ -6504,21 +6580,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:49 GMT + - Thu, 10 Jun 2021 09:15:24 GMT expires: - '-1' pragma: @@ -6548,21 +6624,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:50 GMT + - Thu, 10 Jun 2021 09:15:26 GMT expires: - '-1' pragma: @@ -6592,21 +6668,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:51 GMT + - Thu, 10 Jun 2021 09:15:27 GMT expires: - '-1' pragma: @@ -6636,21 +6712,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:53 GMT + - Thu, 10 Jun 2021 09:15:28 GMT expires: - '-1' pragma: @@ -6680,21 +6756,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:54 GMT + - Thu, 10 Jun 2021 09:15:29 GMT expires: - '-1' pragma: @@ -6724,21 +6800,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:55 GMT + - Thu, 10 Jun 2021 09:15:32 GMT expires: - '-1' pragma: @@ -6768,21 +6844,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:11:57 GMT + - Thu, 10 Jun 2021 09:15:33 GMT expires: - '-1' pragma: @@ -6812,21 +6888,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:00 GMT + - Thu, 10 Jun 2021 09:15:34 GMT expires: - '-1' pragma: @@ -6856,21 +6932,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:02 GMT + - Thu, 10 Jun 2021 09:15:36 GMT expires: - '-1' pragma: @@ -6900,21 +6976,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:03 GMT + - Thu, 10 Jun 2021 09:15:37 GMT expires: - '-1' pragma: @@ -6944,21 +7020,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:04 GMT + - Thu, 10 Jun 2021 09:15:38 GMT expires: - '-1' pragma: @@ -6988,21 +7064,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:05 GMT + - Thu, 10 Jun 2021 09:15:40 GMT expires: - '-1' pragma: @@ -7032,21 +7108,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:07 GMT + - Thu, 10 Jun 2021 09:15:41 GMT expires: - '-1' pragma: @@ -7076,21 +7152,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:08 GMT + - Thu, 10 Jun 2021 09:15:42 GMT expires: - '-1' pragma: @@ -7120,21 +7196,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:09 GMT + - Thu, 10 Jun 2021 09:15:44 GMT expires: - '-1' pragma: @@ -7164,21 +7240,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:11 GMT + - Thu, 10 Jun 2021 09:15:45 GMT expires: - '-1' pragma: @@ -7208,21 +7284,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:12 GMT + - Thu, 10 Jun 2021 09:15:46 GMT expires: - '-1' pragma: @@ -7252,21 +7328,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:13 GMT + - Thu, 10 Jun 2021 09:15:48 GMT expires: - '-1' pragma: @@ -7296,21 +7372,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:14 GMT + - Thu, 10 Jun 2021 09:15:49 GMT expires: - '-1' pragma: @@ -7340,21 +7416,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:16 GMT + - Thu, 10 Jun 2021 09:15:50 GMT expires: - '-1' pragma: @@ -7384,21 +7460,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:17 GMT + - Thu, 10 Jun 2021 09:15:52 GMT expires: - '-1' pragma: @@ -7428,21 +7504,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Uninitialized","totalProgress":"","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:18 GMT + - Thu, 10 Jun 2021 09:15:53 GMT expires: - '-1' pragma: @@ -7472,21 +7548,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:20 GMT + - Thu, 10 Jun 2021 09:15:54 GMT expires: - '-1' pragma: @@ -7510,50 +7586,46 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/breakReplication?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/425830f7-b2dd-4d6f-bf7b-a599ae847c19?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '117' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:20 GMT + - Thu, 10 Jun 2021 09:15:55 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/425830f7-b2dd-4d6f-bf7b-a599ae847c19?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -7564,21 +7636,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:20 GMT + - Thu, 10 Jun 2021 09:15:57 GMT expires: - '-1' pragma: @@ -7608,21 +7680,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:22 GMT + - Thu, 10 Jun 2021 09:15:58 GMT expires: - '-1' pragma: @@ -7652,21 +7724,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:23 GMT + - Thu, 10 Jun 2021 09:15:59 GMT expires: - '-1' pragma: @@ -7696,21 +7768,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:24 GMT + - Thu, 10 Jun 2021 09:16:01 GMT expires: - '-1' pragma: @@ -7740,21 +7812,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:25 GMT + - Thu, 10 Jun 2021 09:16:02 GMT expires: - '-1' pragma: @@ -7784,21 +7856,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '111' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:27 GMT + - Thu, 10 Jun 2021 09:16:03 GMT expires: - '-1' pragma: @@ -7828,21 +7900,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:28 GMT + - Thu, 10 Jun 2021 09:16:04 GMT expires: - '-1' pragma: @@ -7866,27 +7938,27 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/425830f7-b2dd-4d6f-bf7b-a599ae847c19?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/425830f7-b2dd-4d6f-bf7b-a599ae847c19","name":"425830f7-b2dd-4d6f-bf7b-a599ae847c19","status":"Succeeded","startTime":"2021-05-12T14:12:20.5073795Z","endTime":"2021-05-12T14:12:28.5036963Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '574' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:50 GMT + - Thu, 10 Jun 2021 09:16:06 GMT expires: - '-1' pragma: @@ -7910,27 +7982,27 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/425830f7-b2dd-4d6f-bf7b-a599ae847c19?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A12%3A28.4964291Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{"replication":{"replicationId":"7ff51d9d-b9af-a4b8-8864-b6c848c0b0e8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Mirrored","remotePath":{"externalHostName":"az-bn7-dr244-sto","serverName":"svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","volumeName":"vol_sdk_py_tests_vol_2_b161c4"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralusstage"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"141fa84c-3d22-11ea-b68c-025cb39d3009","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"9d4e7735-5b1a-acaf-21ec-df770b49358f","mountTargets":[{"provisioningState":"","mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '2716' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:51 GMT + - Thu, 10 Jun 2021 09:16:07 GMT expires: - '-1' pragma: @@ -7960,23 +8032,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A09%3A11.2985616Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","dataProtection":{"replication":{"endPointType":"Src","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","remoteVolumeRegion":"eastus2euap"}},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '1961' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:59 GMT - etag: - - W/"datetime'2021-05-12T14%3A09%3A11.2985616Z'" + - Thu, 10 Jun 2021 09:16:08 GMT expires: - '-1' pragma: @@ -8006,23 +8076,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A12%3A28.4964291Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"","dataProtection":{"replication":{"replicationId":"7ff51d9d-b9af-a4b8-8864-b6c848c0b0e8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralusstage"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '1991' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:12:59 GMT - etag: - - W/"datetime'2021-05-12T14%3A12%3A28.4964291Z'" + - Thu, 10 Jun 2021 09:16:10 GMT expires: - '-1' pragma: @@ -8046,48 +8114,46 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/resyncReplication?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/f778def1-3bba-4299-8f1d-2d86efcbe3f8?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '117' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:01 GMT + - Thu, 10 Jun 2021 09:16:11 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/f778def1-3bba-4299-8f1d-2d86efcbe3f8?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -8098,21 +8164,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:01 GMT + - Thu, 10 Jun 2021 09:16:12 GMT expires: - '-1' pragma: @@ -8142,21 +8208,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:03 GMT + - Thu, 10 Jun 2021 09:16:13 GMT expires: - '-1' pragma: @@ -8186,21 +8252,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:04 GMT + - Thu, 10 Jun 2021 09:16:15 GMT expires: - '-1' pragma: @@ -8230,21 +8296,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:06 GMT + - Thu, 10 Jun 2021 09:16:16 GMT expires: - '-1' pragma: @@ -8274,21 +8340,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:07 GMT + - Thu, 10 Jun 2021 09:16:17 GMT expires: - '-1' pragma: @@ -8318,21 +8384,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:08 GMT + - Thu, 10 Jun 2021 09:16:19 GMT expires: - '-1' pragma: @@ -8362,21 +8428,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:09 GMT + - Thu, 10 Jun 2021 09:16:20 GMT expires: - '-1' pragma: @@ -8406,21 +8472,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '109' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:11 GMT + - Thu, 10 Jun 2021 09:16:21 GMT expires: - '-1' pragma: @@ -8450,12 +8516,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8464,7 +8530,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:12 GMT + - Thu, 10 Jun 2021 09:16:22 GMT expires: - '-1' pragma: @@ -8494,12 +8560,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8508,7 +8574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:13 GMT + - Thu, 10 Jun 2021 09:16:24 GMT expires: - '-1' pragma: @@ -8538,12 +8604,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8552,7 +8618,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:15 GMT + - Thu, 10 Jun 2021 09:16:25 GMT expires: - '-1' pragma: @@ -8582,12 +8648,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8596,7 +8662,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:16 GMT + - Thu, 10 Jun 2021 09:16:26 GMT expires: - '-1' pragma: @@ -8626,12 +8692,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8640,7 +8706,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:17 GMT + - Thu, 10 Jun 2021 09:16:28 GMT expires: - '-1' pragma: @@ -8670,12 +8736,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8684,7 +8750,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:18 GMT + - Thu, 10 Jun 2021 09:16:29 GMT expires: - '-1' pragma: @@ -8714,12 +8780,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8728,7 +8794,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:20 GMT + - Thu, 10 Jun 2021 09:16:30 GMT expires: - '-1' pragma: @@ -8758,12 +8824,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8772,7 +8838,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:21 GMT + - Thu, 10 Jun 2021 09:16:31 GMT expires: - '-1' pragma: @@ -8802,12 +8868,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8816,7 +8882,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:22 GMT + - Thu, 10 Jun 2021 09:16:33 GMT expires: - '-1' pragma: @@ -8846,12 +8912,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8860,7 +8926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:24 GMT + - Thu, 10 Jun 2021 09:16:34 GMT expires: - '-1' pragma: @@ -8890,12 +8956,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8904,7 +8970,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:25 GMT + - Thu, 10 Jun 2021 09:16:35 GMT expires: - '-1' pragma: @@ -8934,12 +9000,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8948,7 +9014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:26 GMT + - Thu, 10 Jun 2021 09:16:37 GMT expires: - '-1' pragma: @@ -8978,12 +9044,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -8992,7 +9058,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:27 GMT + - Thu, 10 Jun 2021 09:16:38 GMT expires: - '-1' pragma: @@ -9022,12 +9088,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9036,7 +9102,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:29 GMT + - Thu, 10 Jun 2021 09:16:39 GMT expires: - '-1' pragma: @@ -9066,12 +9132,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9080,7 +9146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:30 GMT + - Thu, 10 Jun 2021 09:16:40 GMT expires: - '-1' pragma: @@ -9104,27 +9170,27 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/f778def1-3bba-4299-8f1d-2d86efcbe3f8?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/f778def1-3bba-4299-8f1d-2d86efcbe3f8","name":"f778def1-3bba-4299-8f1d-2d86efcbe3f8","status":"Succeeded","startTime":"2021-05-12T14:13:01.1810804Z","endTime":"2021-05-12T14:13:13.5056322Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '574' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:31 GMT + - Thu, 10 Jun 2021 09:16:42 GMT expires: - '-1' pragma: @@ -9148,27 +9214,27 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/f778def1-3bba-4299-8f1d-2d86efcbe3f8?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A13%3A13.49721Z''\"","location":"eastus2euap","properties":{"volumeType":"DataProtection","dataProtection":{"replication":{"replicationId":"7ff51d9d-b9af-a4b8-8864-b6c848c0b0e8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Broken","remotePath":{"externalHostName":"az-bn7-dr244-sto","serverName":"svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","volumeName":"vol_sdk_py_tests_vol_2_b161c4"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralusstage"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"141fa84c-3d22-11ea-b68c-025cb39d3009","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"9d4e7735-5b1a-acaf-21ec-df770b49358f","mountTargets":[{"provisioningState":"","mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '2745' + - '117' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:31 GMT + - Thu, 10 Jun 2021 09:16:43 GMT expires: - '-1' pragma: @@ -9198,12 +9264,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9212,7 +9278,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:31 GMT + - Thu, 10 Jun 2021 09:16:44 GMT expires: - '-1' pragma: @@ -9242,12 +9308,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9256,7 +9322,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:33 GMT + - Thu, 10 Jun 2021 09:16:45 GMT expires: - '-1' pragma: @@ -9286,12 +9352,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9300,7 +9366,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:34 GMT + - Thu, 10 Jun 2021 09:16:47 GMT expires: - '-1' pragma: @@ -9330,12 +9396,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9344,7 +9410,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:35 GMT + - Thu, 10 Jun 2021 09:16:48 GMT expires: - '-1' pragma: @@ -9374,12 +9440,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9388,7 +9454,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:37 GMT + - Thu, 10 Jun 2021 09:16:49 GMT expires: - '-1' pragma: @@ -9418,12 +9484,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9432,7 +9498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:38 GMT + - Thu, 10 Jun 2021 09:16:51 GMT expires: - '-1' pragma: @@ -9462,12 +9528,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9476,7 +9542,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:39 GMT + - Thu, 10 Jun 2021 09:16:52 GMT expires: - '-1' pragma: @@ -9506,12 +9572,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9520,7 +9586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:40 GMT + - Thu, 10 Jun 2021 09:16:53 GMT expires: - '-1' pragma: @@ -9550,12 +9616,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9564,7 +9630,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:42 GMT + - Thu, 10 Jun 2021 09:16:54 GMT expires: - '-1' pragma: @@ -9594,12 +9660,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9608,7 +9674,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:43 GMT + - Thu, 10 Jun 2021 09:16:56 GMT expires: - '-1' pragma: @@ -9638,12 +9704,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9652,7 +9718,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:44 GMT + - Thu, 10 Jun 2021 09:16:58 GMT expires: - '-1' pragma: @@ -9682,12 +9748,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9696,7 +9762,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:46 GMT + - Thu, 10 Jun 2021 09:16:59 GMT expires: - '-1' pragma: @@ -9726,12 +9792,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9740,7 +9806,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:47 GMT + - Thu, 10 Jun 2021 09:17:01 GMT expires: - '-1' pragma: @@ -9770,12 +9836,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9784,7 +9850,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:48 GMT + - Thu, 10 Jun 2021 09:17:02 GMT expires: - '-1' pragma: @@ -9814,12 +9880,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9828,7 +9894,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:49 GMT + - Thu, 10 Jun 2021 09:17:03 GMT expires: - '-1' pragma: @@ -9858,12 +9924,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9872,7 +9938,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:51 GMT + - Thu, 10 Jun 2021 09:17:04 GMT expires: - '-1' pragma: @@ -9902,12 +9968,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9916,7 +9982,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:52 GMT + - Thu, 10 Jun 2021 09:17:06 GMT expires: - '-1' pragma: @@ -9946,12 +10012,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -9960,7 +10026,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:53 GMT + - Thu, 10 Jun 2021 09:17:07 GMT expires: - '-1' pragma: @@ -9990,12 +10056,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10004,7 +10070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:54 GMT + - Thu, 10 Jun 2021 09:17:09 GMT expires: - '-1' pragma: @@ -10034,12 +10100,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10048,7 +10114,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:56 GMT + - Thu, 10 Jun 2021 09:17:10 GMT expires: - '-1' pragma: @@ -10078,12 +10144,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10092,7 +10158,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:57 GMT + - Thu, 10 Jun 2021 09:17:11 GMT expires: - '-1' pragma: @@ -10122,12 +10188,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10136,7 +10202,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:13:58 GMT + - Thu, 10 Jun 2021 09:17:12 GMT expires: - '-1' pragma: @@ -10166,12 +10232,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10180,7 +10246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:00 GMT + - Thu, 10 Jun 2021 09:17:14 GMT expires: - '-1' pragma: @@ -10210,12 +10276,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10224,7 +10290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:01 GMT + - Thu, 10 Jun 2021 09:17:15 GMT expires: - '-1' pragma: @@ -10254,12 +10320,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10268,7 +10334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:02 GMT + - Thu, 10 Jun 2021 09:17:16 GMT expires: - '-1' pragma: @@ -10298,12 +10364,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10312,7 +10378,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:03 GMT + - Thu, 10 Jun 2021 09:17:18 GMT expires: - '-1' pragma: @@ -10342,12 +10408,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10356,7 +10422,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:05 GMT + - Thu, 10 Jun 2021 09:17:19 GMT expires: - '-1' pragma: @@ -10386,12 +10452,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10400,7 +10466,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:06 GMT + - Thu, 10 Jun 2021 09:17:20 GMT expires: - '-1' pragma: @@ -10430,12 +10496,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10444,7 +10510,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:08 GMT + - Thu, 10 Jun 2021 09:17:21 GMT expires: - '-1' pragma: @@ -10474,12 +10540,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10488,7 +10554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:09 GMT + - Thu, 10 Jun 2021 09:17:23 GMT expires: - '-1' pragma: @@ -10518,12 +10584,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10532,7 +10598,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:10 GMT + - Thu, 10 Jun 2021 09:17:24 GMT expires: - '-1' pragma: @@ -10562,12 +10628,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10576,7 +10642,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:11 GMT + - Thu, 10 Jun 2021 09:17:25 GMT expires: - '-1' pragma: @@ -10606,12 +10672,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10620,7 +10686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:13 GMT + - Thu, 10 Jun 2021 09:17:27 GMT expires: - '-1' pragma: @@ -10650,12 +10716,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10664,7 +10730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:14 GMT + - Thu, 10 Jun 2021 09:17:28 GMT expires: - '-1' pragma: @@ -10694,12 +10760,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10708,7 +10774,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:15 GMT + - Thu, 10 Jun 2021 09:17:29 GMT expires: - '-1' pragma: @@ -10738,12 +10804,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10752,7 +10818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:17 GMT + - Thu, 10 Jun 2021 09:17:30 GMT expires: - '-1' pragma: @@ -10782,12 +10848,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10796,7 +10862,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:18 GMT + - Thu, 10 Jun 2021 09:17:32 GMT expires: - '-1' pragma: @@ -10826,12 +10892,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10840,7 +10906,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:19 GMT + - Thu, 10 Jun 2021 09:17:33 GMT expires: - '-1' pragma: @@ -10870,12 +10936,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10884,7 +10950,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:20 GMT + - Thu, 10 Jun 2021 09:17:35 GMT expires: - '-1' pragma: @@ -10914,12 +10980,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10928,7 +10994,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:22 GMT + - Thu, 10 Jun 2021 09:17:36 GMT expires: - '-1' pragma: @@ -10958,12 +11024,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -10972,7 +11038,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:23 GMT + - Thu, 10 Jun 2021 09:17:37 GMT expires: - '-1' pragma: @@ -11002,12 +11068,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11016,7 +11082,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:24 GMT + - Thu, 10 Jun 2021 09:17:38 GMT expires: - '-1' pragma: @@ -11046,12 +11112,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11060,7 +11126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:26 GMT + - Thu, 10 Jun 2021 09:17:40 GMT expires: - '-1' pragma: @@ -11090,12 +11156,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11104,7 +11170,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:27 GMT + - Thu, 10 Jun 2021 09:17:41 GMT expires: - '-1' pragma: @@ -11134,12 +11200,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11148,7 +11214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:28 GMT + - Thu, 10 Jun 2021 09:17:42 GMT expires: - '-1' pragma: @@ -11178,12 +11244,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11192,7 +11258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:29 GMT + - Thu, 10 Jun 2021 09:17:43 GMT expires: - '-1' pragma: @@ -11222,12 +11288,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11236,7 +11302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:31 GMT + - Thu, 10 Jun 2021 09:17:45 GMT expires: - '-1' pragma: @@ -11266,12 +11332,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11280,7 +11346,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:32 GMT + - Thu, 10 Jun 2021 09:17:46 GMT expires: - '-1' pragma: @@ -11310,12 +11376,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11324,7 +11390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:33 GMT + - Thu, 10 Jun 2021 09:17:47 GMT expires: - '-1' pragma: @@ -11354,12 +11420,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11368,7 +11434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:34 GMT + - Thu, 10 Jun 2021 09:17:49 GMT expires: - '-1' pragma: @@ -11398,12 +11464,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11412,7 +11478,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:36 GMT + - Thu, 10 Jun 2021 09:17:50 GMT expires: - '-1' pragma: @@ -11442,12 +11508,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11456,7 +11522,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:37 GMT + - Thu, 10 Jun 2021 09:17:51 GMT expires: - '-1' pragma: @@ -11486,12 +11552,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11500,7 +11566,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:39 GMT + - Thu, 10 Jun 2021 09:17:53 GMT expires: - '-1' pragma: @@ -11530,12 +11596,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11544,7 +11610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:40 GMT + - Thu, 10 Jun 2021 09:17:54 GMT expires: - '-1' pragma: @@ -11574,12 +11640,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11588,7 +11654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:41 GMT + - Thu, 10 Jun 2021 09:17:55 GMT expires: - '-1' pragma: @@ -11618,12 +11684,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11632,7 +11698,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:43 GMT + - Thu, 10 Jun 2021 09:17:57 GMT expires: - '-1' pragma: @@ -11662,12 +11728,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11676,7 +11742,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:44 GMT + - Thu, 10 Jun 2021 09:17:58 GMT expires: - '-1' pragma: @@ -11706,12 +11772,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11720,7 +11786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:45 GMT + - Thu, 10 Jun 2021 09:17:59 GMT expires: - '-1' pragma: @@ -11750,12 +11816,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11764,7 +11830,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:46 GMT + - Thu, 10 Jun 2021 09:18:01 GMT expires: - '-1' pragma: @@ -11794,12 +11860,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11808,7 +11874,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:48 GMT + - Thu, 10 Jun 2021 09:18:02 GMT expires: - '-1' pragma: @@ -11838,12 +11904,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11852,7 +11918,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:49 GMT + - Thu, 10 Jun 2021 09:18:03 GMT expires: - '-1' pragma: @@ -11882,12 +11948,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11896,7 +11962,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:50 GMT + - Thu, 10 Jun 2021 09:18:05 GMT expires: - '-1' pragma: @@ -11926,12 +11992,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11940,7 +12006,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:52 GMT + - Thu, 10 Jun 2021 09:18:06 GMT expires: - '-1' pragma: @@ -11970,12 +12036,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -11984,7 +12050,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:54 GMT + - Thu, 10 Jun 2021 09:18:07 GMT expires: - '-1' pragma: @@ -12014,12 +12080,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12028,7 +12094,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:55 GMT + - Thu, 10 Jun 2021 09:18:08 GMT expires: - '-1' pragma: @@ -12058,12 +12124,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12072,7 +12138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:57 GMT + - Thu, 10 Jun 2021 09:18:10 GMT expires: - '-1' pragma: @@ -12102,12 +12168,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12116,7 +12182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:14:59 GMT + - Thu, 10 Jun 2021 09:18:11 GMT expires: - '-1' pragma: @@ -12146,12 +12212,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12160,7 +12226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:01 GMT + - Thu, 10 Jun 2021 09:18:12 GMT expires: - '-1' pragma: @@ -12190,12 +12256,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12204,7 +12270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:02 GMT + - Thu, 10 Jun 2021 09:18:14 GMT expires: - '-1' pragma: @@ -12234,12 +12300,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12248,7 +12314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:05 GMT + - Thu, 10 Jun 2021 09:18:15 GMT expires: - '-1' pragma: @@ -12278,12 +12344,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12292,7 +12358,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:07 GMT + - Thu, 10 Jun 2021 09:18:16 GMT expires: - '-1' pragma: @@ -12322,12 +12388,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12336,7 +12402,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:08 GMT + - Thu, 10 Jun 2021 09:18:17 GMT expires: - '-1' pragma: @@ -12366,12 +12432,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12380,7 +12446,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:10 GMT + - Thu, 10 Jun 2021 09:18:19 GMT expires: - '-1' pragma: @@ -12410,12 +12476,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12424,7 +12490,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:11 GMT + - Thu, 10 Jun 2021 09:18:21 GMT expires: - '-1' pragma: @@ -12454,12 +12520,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12468,7 +12534,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:13 GMT + - Thu, 10 Jun 2021 09:18:22 GMT expires: - '-1' pragma: @@ -12498,12 +12564,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12512,7 +12578,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:14 GMT + - Thu, 10 Jun 2021 09:18:24 GMT expires: - '-1' pragma: @@ -12542,12 +12608,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12556,7 +12622,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:16 GMT + - Thu, 10 Jun 2021 09:18:25 GMT expires: - '-1' pragma: @@ -12586,12 +12652,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12600,7 +12666,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:17 GMT + - Thu, 10 Jun 2021 09:18:26 GMT expires: - '-1' pragma: @@ -12630,12 +12696,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12644,7 +12710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:19 GMT + - Thu, 10 Jun 2021 09:18:27 GMT expires: - '-1' pragma: @@ -12674,12 +12740,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12688,7 +12754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:20 GMT + - Thu, 10 Jun 2021 09:18:29 GMT expires: - '-1' pragma: @@ -12718,12 +12784,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12732,7 +12798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:21 GMT + - Thu, 10 Jun 2021 09:18:30 GMT expires: - '-1' pragma: @@ -12762,12 +12828,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12776,7 +12842,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:23 GMT + - Thu, 10 Jun 2021 09:18:31 GMT expires: - '-1' pragma: @@ -12806,12 +12872,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12820,7 +12886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:24 GMT + - Thu, 10 Jun 2021 09:18:33 GMT expires: - '-1' pragma: @@ -12850,12 +12916,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12864,7 +12930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:26 GMT + - Thu, 10 Jun 2021 09:18:34 GMT expires: - '-1' pragma: @@ -12894,12 +12960,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12908,7 +12974,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:27 GMT + - Thu, 10 Jun 2021 09:18:35 GMT expires: - '-1' pragma: @@ -12938,12 +13004,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12952,7 +13018,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:29 GMT + - Thu, 10 Jun 2021 09:18:37 GMT expires: - '-1' pragma: @@ -12982,12 +13048,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -12996,7 +13062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:30 GMT + - Thu, 10 Jun 2021 09:18:38 GMT expires: - '-1' pragma: @@ -13026,12 +13092,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -13040,7 +13106,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:31 GMT + - Thu, 10 Jun 2021 09:18:39 GMT expires: - '-1' pragma: @@ -13070,12 +13136,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -13084,7 +13150,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:32 GMT + - Thu, 10 Jun 2021 09:18:40 GMT expires: - '-1' pragma: @@ -13114,12 +13180,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -13128,7 +13194,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:34 GMT + - Thu, 10 Jun 2021 09:18:42 GMT expires: - '-1' pragma: @@ -13158,12 +13224,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -13172,7 +13238,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:35 GMT + - Thu, 10 Jun 2021 09:18:43 GMT expires: - '-1' pragma: @@ -13202,12 +13268,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17432","errorMessage":""}' headers: cache-control: - no-cache @@ -13216,7 +13282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:36 GMT + - Thu, 10 Jun 2021 09:18:44 GMT expires: - '-1' pragma: @@ -13246,21 +13312,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:37 GMT + - Thu, 10 Jun 2021 09:18:46 GMT expires: - '-1' pragma: @@ -13284,46 +13350,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/breakReplication?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19?api-version=2021-04-01 cache-control: - no-cache content-length: - - '117' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:15:39 GMT + - Thu, 10 Jun 2021 09:19:16 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -13334,21 +13404,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:40 GMT + - Thu, 10 Jun 2021 09:19:16 GMT expires: - '-1' pragma: @@ -13378,21 +13448,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:41 GMT + - Thu, 10 Jun 2021 09:19:17 GMT expires: - '-1' pragma: @@ -13422,21 +13492,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:43 GMT + - Thu, 10 Jun 2021 09:19:18 GMT expires: - '-1' pragma: @@ -13466,21 +13536,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:44 GMT + - Thu, 10 Jun 2021 09:19:20 GMT expires: - '-1' pragma: @@ -13510,21 +13580,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:45 GMT + - Thu, 10 Jun 2021 09:19:21 GMT expires: - '-1' pragma: @@ -13554,21 +13624,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:47 GMT + - Thu, 10 Jun 2021 09:19:22 GMT expires: - '-1' pragma: @@ -13598,21 +13668,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:48 GMT + - Thu, 10 Jun 2021 09:19:24 GMT expires: - '-1' pragma: @@ -13642,21 +13712,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:49 GMT + - Thu, 10 Jun 2021 09:19:25 GMT expires: - '-1' pragma: @@ -13686,21 +13756,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:51 GMT + - Thu, 10 Jun 2021 09:19:28 GMT expires: - '-1' pragma: @@ -13730,21 +13800,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:52 GMT + - Thu, 10 Jun 2021 09:19:29 GMT expires: - '-1' pragma: @@ -13774,21 +13844,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:53 GMT + - Thu, 10 Jun 2021 09:19:30 GMT expires: - '-1' pragma: @@ -13818,21 +13888,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:54 GMT + - Thu, 10 Jun 2021 09:19:32 GMT expires: - '-1' pragma: @@ -13862,21 +13932,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:56 GMT + - Thu, 10 Jun 2021 09:19:33 GMT expires: - '-1' pragma: @@ -13906,21 +13976,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:57 GMT + - Thu, 10 Jun 2021 09:19:35 GMT expires: - '-1' pragma: @@ -13950,21 +14020,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:15:58 GMT + - Thu, 10 Jun 2021 09:19:36 GMT expires: - '-1' pragma: @@ -13994,2573 +14064,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:25 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:34 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:38 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:56 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:16:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 May 2021 14:17:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-powered-by: - - ASP.NET - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 - response: - body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' - headers: - cache-control: - - no-cache - content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:14 GMT + - Thu, 10 Jun 2021 09:19:38 GMT expires: - '-1' pragma: @@ -16590,21 +14108,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:16 GMT + - Thu, 10 Jun 2021 09:19:39 GMT expires: - '-1' pragma: @@ -16634,21 +14152,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:17 GMT + - Thu, 10 Jun 2021 09:19:41 GMT expires: - '-1' pragma: @@ -16678,21 +14196,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:18 GMT + - Thu, 10 Jun 2021 09:19:42 GMT expires: - '-1' pragma: @@ -16722,21 +14240,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:19 GMT + - Thu, 10 Jun 2021 09:19:43 GMT expires: - '-1' pragma: @@ -16766,21 +14284,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:21 GMT + - Thu, 10 Jun 2021 09:19:45 GMT expires: - '-1' pragma: @@ -16810,21 +14328,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:22 GMT + - Thu, 10 Jun 2021 09:19:46 GMT expires: - '-1' pragma: @@ -16848,27 +14366,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19","name":"53812634-0b11-4990-b5f6-9bb92bd07f19","status":"BreakReplication","startTime":"2021-06-10T09:19:16.7308755Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '117' + - '574' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:23 GMT + - Thu, 10 Jun 2021 09:19:47 GMT expires: - '-1' pragma: @@ -16898,21 +14416,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:24 GMT + - Thu, 10 Jun 2021 09:19:48 GMT expires: - '-1' pragma: @@ -16936,27 +14454,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19","name":"53812634-0b11-4990-b5f6-9bb92bd07f19","status":"Succeeded","startTime":"2021-06-10T09:19:16.7308755Z","endTime":"2021-06-10T09:19:50.661546Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '117' + - '576' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:26 GMT + - Thu, 10 Jun 2021 09:20:17 GMT expires: - '-1' pragma: @@ -16980,27 +14498,27 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/53812634-0b11-4990-b5f6-9bb92bd07f19?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A19%3A50.5728876Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Mirrored","remotePath":{"externalHostName":"az-bn9-f01c01-cr115-sto","serverName":"svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","volumeName":"vol_sdk_py_tests_vol_2_5ff890"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"1a1854d0-5b82-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"993078d8-ce70-11b6-23ff-7054bcb4d1b0","mountTargets":[{"provisioningState":"","mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '117' + - '2746' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:27 GMT + - Thu, 10 Jun 2021 09:20:18 GMT expires: - '-1' pragma: @@ -17024,46 +14542,48 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/deleteReplication?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089?api-version=2021-04-01 cache-control: - no-cache content-length: - - '117' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:17:28 GMT + - Thu, 10 Jun 2021 09:20:22 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -17074,21 +14594,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"20512","errorMessage":""}' headers: cache-control: - no-cache content-length: - - '117' + - '109' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:30 GMT + - Thu, 10 Jun 2021 09:20:22 GMT expires: - '-1' pragma: @@ -17118,21 +14638,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:31 GMT + - Thu, 10 Jun 2021 09:20:24 GMT expires: - '-1' pragma: @@ -17162,21 +14683,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:32 GMT + - Thu, 10 Jun 2021 09:20:25 GMT expires: - '-1' pragma: @@ -17206,21 +14728,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:34 GMT + - Thu, 10 Jun 2021 09:20:27 GMT expires: - '-1' pragma: @@ -17250,21 +14773,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:35 GMT + - Thu, 10 Jun 2021 09:20:28 GMT expires: - '-1' pragma: @@ -17294,21 +14818,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:36 GMT + - Thu, 10 Jun 2021 09:20:30 GMT expires: - '-1' pragma: @@ -17338,21 +14863,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:37 GMT + - Thu, 10 Jun 2021 09:20:31 GMT expires: - '-1' pragma: @@ -17382,21 +14908,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:39 GMT + - Thu, 10 Jun 2021 09:20:32 GMT expires: - '-1' pragma: @@ -17426,21 +14953,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:41 GMT + - Thu, 10 Jun 2021 09:20:34 GMT expires: - '-1' pragma: @@ -17470,21 +14998,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:42 GMT + - Thu, 10 Jun 2021 09:20:35 GMT expires: - '-1' pragma: @@ -17514,21 +15043,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:44 GMT + - Thu, 10 Jun 2021 09:20:36 GMT expires: - '-1' pragma: @@ -17558,21 +15088,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:45 GMT + - Thu, 10 Jun 2021 09:20:38 GMT expires: - '-1' pragma: @@ -17602,21 +15133,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot + get replication status, the volume replication is being: ''Deleting''."}' headers: cache-control: - no-cache content-length: - - '117' + - '170' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:46 GMT + - Thu, 10 Jun 2021 09:20:39 GMT expires: - '-1' pragma: @@ -17646,21 +15178,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"error":{"code":"VolumeReplicationGetStatusFailure","message":"Volume + replication missing or deleted."}}' headers: cache-control: - no-cache content-length: - - '117' + - '105' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:48 GMT + - Thu, 10 Jun 2021 09:20:40 GMT expires: - '-1' pragma: @@ -17669,17 +15202,13 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 400 + message: Bad Request - request: body: null headers: @@ -17690,21 +15219,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '117' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:49 GMT + - Thu, 10 Jun 2021 09:20:42 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -17734,21 +15265,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '117' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:50 GMT + - Thu, 10 Jun 2021 09:20:42 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -17778,21 +15311,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '117' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:51 GMT + - Thu, 10 Jun 2021 09:20:44 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -17822,21 +15357,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Transferring","mirrorState":"Broken","totalProgress":"17624","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '117' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:53 GMT + - Thu, 10 Jun 2021 09:20:44 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -17866,21 +15403,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:17:54 GMT + - Thu, 10 Jun 2021 09:20:45 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -17904,50 +15443,48 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/breakReplication?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/256c4291-5f68-4bb6-b5bd-be5022d05e95?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '2084' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:24 GMT + - Thu, 10 Jun 2021 09:20:45 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/256c4291-5f68-4bb6-b5bd-be5022d05e95?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1196' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -17958,21 +15495,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:25 GMT + - Thu, 10 Jun 2021 09:20:47 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18002,21 +15541,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:26 GMT + - Thu, 10 Jun 2021 09:20:47 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18046,21 +15587,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:27 GMT + - Thu, 10 Jun 2021 09:20:48 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18090,21 +15633,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '111' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:29 GMT + - Thu, 10 Jun 2021 09:20:48 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18134,21 +15679,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Mirrored","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '111' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:30 GMT + - Thu, 10 Jun 2021 09:20:50 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18178,21 +15725,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":true,"relationshipStatus":"Idle","mirrorState":"Broken","totalProgress":"20768","errorMessage":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '109' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:31 GMT + - Thu, 10 Jun 2021 09:20:50 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18216,27 +15765,29 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/256c4291-5f68-4bb6-b5bd-be5022d05e95?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/256c4291-5f68-4bb6-b5bd-be5022d05e95","name":"256c4291-5f68-4bb6-b5bd-be5022d05e95","status":"Succeeded","startTime":"2021-05-12T14:18:24.853508Z","endTime":"2021-05-12T14:18:33.8457927Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '573' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:55 GMT + - Thu, 10 Jun 2021 09:20:51 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18260,27 +15811,29 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/256c4291-5f68-4bb6-b5bd-be5022d05e95?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A18%3A33.8425836Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{"replication":{"replicationId":"7ff51d9d-b9af-a4b8-8864-b6c848c0b0e8","endPointType":"Dst","replicationSchedule":"_10minutely","replicationPolicy":"MirrorAllSnapshots","replicationStatus":"Mirrored","remotePath":{"externalHostName":"az-bn7-dr244-sto","serverName":"svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","volumeName":"vol_sdk_py_tests_vol_2_b161c4"},"remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralusstage"}},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"141fa84c-3d22-11ea-b68c-025cb39d3009","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"9d4e7735-5b1a-acaf-21ec-df770b49358f","mountTargets":[{"provisioningState":"","mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '2716' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:18:55 GMT + - Thu, 10 Jun 2021 09:20:51 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18309,43 +15862,41 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/deleteReplication?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089","name":"8b7dd172-5835-42e4-ba03-ba1ed51ec089","status":"DeleteReplication","startTime":"2021-06-10T09:20:22.476719Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/241761fc-3a48-4143-ac74-e8bfd0e967a4?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '574' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:08 GMT + - Thu, 10 Jun 2021 09:20:52 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/241761fc-3a48-4143-ac74-e8bfd0e967a4?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1195' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -18356,22 +15907,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '170' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:09 GMT + - Thu, 10 Jun 2021 09:20:53 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18401,22 +15953,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '170' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:10 GMT + - Thu, 10 Jun 2021 09:20:53 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18446,22 +15999,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '170' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:12 GMT + - Thu, 10 Jun 2021 09:20:54 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18491,22 +16045,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '170' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:13 GMT + - Thu, 10 Jun 2021 09:20:54 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18536,22 +16091,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '170' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:14 GMT + - Thu, 10 Jun 2021 09:20:55 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18581,22 +16137,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"healthy":false,"relationshipStatus":"","mirrorState":"","totalProgress":"","errorMessage":"Cannot - get replication status, the volume replication is being: ''Deleting''."}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A22.4715451Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{"replication":{"replicationId":"2ebbee0c-a8f9-f682-e6ce-00f61bb63cf8","endPointType":"Dst","replicationSchedule":"_10minutely","remoteVolumeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","remoteVolumeRegion":"southcentralus"}},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"DeleteReplication"}}' headers: cache-control: - no-cache content-length: - - '170' + - '2084' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:16 GMT + - Thu, 10 Jun 2021 09:20:56 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A22.4715451Z'" expires: - '-1' pragma: @@ -18626,22 +16183,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2/replicationStatus?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: - string: '{"error":{"code":"VolumeReplicationMissing","message":"Volume Replication - was not found for volume: ''/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2''"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A28.4123164Z''\"","location":"southcentralus","properties":{"mountTargets":[{"mountTargetId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeSpecName":"generic","coolAccess":false,"volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"65013af7-f559-a24f-7eff-cab3aaec0d8b","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_f78e3b96807a11e9adbb3283d4934d27_45550d76","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false,"unixPermissions":"0770"}}' headers: cache-control: - no-cache content-length: - - '308' + - '1776' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:17 GMT + - Thu, 10 Jun 2021 09:20:57 GMT + etag: + - W/"datetime'2021-06-10T09%3A20%3A28.4123164Z'" expires: - '-1' pragma: @@ -18650,13 +16208,17 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-powered-by: - ASP.NET status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: null headers: @@ -18667,12 +16229,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1","name":"sdk-py-tests-acc-1/sdk-py-tests-pool-1/sdk-py-tests-vol-1","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A19%3A17.0572858Z''\"","location":"southcentralusstage","properties":{"mountTargets":[{"mountTargetId":"76911524-a259-43d1-0ae8-fa83162e535a","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"volumeSpecName":"generic","volumeType":"","dataProtection":{},"provisioningState":"Succeeded","fileSystemId":"76911524-a259-43d1-0ae8-fa83162e535a","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-1","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_93ade68ee53011e9a696c27beff6b5ea_d0593a67","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464/subnets/default","snapshotDirectoryVisible":true,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"encryptionKeySource":"Microsoft.NetApp","ldapEnabled":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A57.6975681Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"coolAccess":false,"volumeType":"","dataProtection":{},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -18681,9 +16243,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:19 GMT + - Thu, 10 Jun 2021 09:20:57 GMT etag: - - W/"datetime'2021-05-12T14%3A19%3A17.0572858Z'" + - W/"datetime'2021-06-10T09%3A20%3A57.6975681Z'" expires: - '-1' pragma: @@ -18707,48 +16269,48 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive + Content-Length: + - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A19%3A17.8216381Z''\"","location":"eastus2euap","properties":{"mountTargets":[{"mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","ipAddress":"10.7.0.4","smbServerFQDN":""}],"throughputMibps":6.4,"volumeType":"","dataProtection":{},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","usageThreshold":107374182400,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"provisioningState":"Succeeded"}}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1592' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Wed, 12 May 2021 14:19:19 GMT - etag: - - W/"datetime'2021-05-12T14%3A19%3A17.8216381Z'" + - Thu, 10 Jun 2021 09:20:58 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' x-powered-by: - ASP.NET status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -18758,43 +16320,41 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089?api-version=2021-04-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089","name":"8b7dd172-5835-42e4-ba03-ba1ed51ec089","status":"Succeeded","startTime":"2021-06-10T09:20:22.476719Z","endTime":"2021-06-10T09:20:57.7037625Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c?api-version=2021-02-01 cache-control: - no-cache content-length: - - '0' + - '576' + content-type: + - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:20 GMT + - Thu, 10 Jun 2021 09:21:23 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c?api-version=2021-02-01&operationResultResponseType=Location pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' x-powered-by: - ASP.NET status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -18805,21 +16365,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/241761fc-3a48-4143-ac74-e8bfd0e967a4?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/8b7dd172-5835-42e4-ba03-ba1ed51ec089?api-version=2021-04-01&operationResultResponseType=Location response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/241761fc-3a48-4143-ac74-e8bfd0e967a4","name":"241761fc-3a48-4143-ac74-e8bfd0e967a4","status":"Succeeded","startTime":"2021-05-12T14:19:09.3966854Z","endTime":"2021-05-12T14:19:17.8259425Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-06-10T09%3A20%3A57.6975681Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{},"fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"1a1854d0-5b82-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_1a1854d05b8211e99e4a3a8c013b5748_a07c55a6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.Network/virtualNetworks/sdk-python-tests-vnet-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"993078d8-ce70-11b6-23ff-7054bcb4d1b0","mountTargets":[{"provisioningState":"","mountTargetId":"17babe16-4d65-878a-1066-5c862b2b66fc","fileSystemId":"17babe16-4d65-878a-1066-5c862b2b66fc","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '574' + - '2107' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:39 GMT + - Thu, 10 Jun 2021 09:21:23 GMT expires: - '-1' pragma: @@ -18849,21 +16409,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/241761fc-3a48-4143-ac74-e8bfd0e967a4?api-version=2021-02-01&operationResultResponseType=Location + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","name":"sdk-py-tests-acc-2/sdk-py-tests-pool-2/sdk-py-tests-vol-2","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2021-05-12T14%3A19%3A17.8216381Z''\"","location":"eastus2euap","properties":{"volumeType":"","dataProtection":{},"fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","serviceLevel":"Premium","creationToken":"sdk-py-tests-vol-2","ownerId":"141fa84c-3d22-11ea-b68c-025cb39d3009","usageThreshold":107374182400,"usedBytes":0,"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"nfsv41":false,"allowedClients":"0.0.0.0/0","kerberos5ReadOnly":false,"kerberos5ReadWrite":false,"kerberos5iReadOnly":false,"kerberos5iReadWrite":false,"kerberos5pReadOnly":false,"kerberos5pReadWrite":false,"hasRootAccess":true,"chownMode":"Restricted"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_141fa84c3d2211eab68c025cb39d3009_5a4786c0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.Network/virtualNetworks/sdktestqa7vnet464-R/subnets/default","vendorID":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2","poolId":"9d4e7735-5b1a-acaf-21ec-df770b49358f","mountTargets":[{"provisioningState":"","mountTargetId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","fileSystemId":"97f7bb71-0cee-da0c-ff19-ee247c695ffa","startIp":"","endIp":"","gateway":"","netmask":"","subnet":"","ipAddress":"10.7.0.4"}],"throughputMibps":6.4,"isCreate":false,"kerberosEnabled":false,"securityStyle":"Unix","smbEncryption":false,"smbContinuouslyAvailable":false,"ldapEnabled":false,"unixPermissions":"0770","coolAccess":false,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906","name":"9a7d5775-9257-4be4-be93-757e4879a906","status":"Deleting","startTime":"2021-06-10T09:20:59.5787848Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '2086' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:39 GMT + - Thu, 10 Jun 2021 09:21:29 GMT expires: - '-1' pragma: @@ -18893,21 +16453,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c","name":"c706c227-6b65-4408-bfa8-9efe691b1c7c","status":"Deleting","startTime":"2021-05-12T14:19:20.9981425Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906","name":"9a7d5775-9257-4be4-be93-757e4879a906","status":"Deleting","startTime":"2021-06-10T09:20:59.5787848Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:19:50 GMT + - Thu, 10 Jun 2021 09:21:59 GMT expires: - '-1' pragma: @@ -18937,21 +16497,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c","name":"c706c227-6b65-4408-bfa8-9efe691b1c7c","status":"Deleting","startTime":"2021-05-12T14:19:20.9981425Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906","name":"9a7d5775-9257-4be4-be93-757e4879a906","status":"Deleting","startTime":"2021-06-10T09:20:59.5787848Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '563' + - '566' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:20:20 GMT + - Thu, 10 Jun 2021 09:22:30 GMT expires: - '-1' pragma: @@ -18981,21 +16541,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/c706c227-6b65-4408-bfa8-9efe691b1c7c","name":"c706c227-6b65-4408-bfa8-9efe691b1c7c","status":"Succeeded","startTime":"2021-05-12T14:19:20.9981425Z","endTime":"2021-05-12T14:20:29.2897145Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/9a7d5775-9257-4be4-be93-757e4879a906","name":"9a7d5775-9257-4be4-be93-757e4879a906","status":"Succeeded","startTime":"2021-06-10T09:20:59.5787848Z","endTime":"2021-06-10T09:22:47.9572342Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2"}}' headers: cache-control: - no-cache content-length: - - '574' + - '577' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:20:52 GMT + - Thu, 10 Jun 2021 09:23:00 GMT expires: - '-1' pragma: @@ -19025,23 +16585,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2/volumes/sdk-py-tests-vol-2'' - under resource group ''sdk-test-qa7-R'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg-R'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '297' + - '304' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:24:12 GMT + - Thu, 10 Jun 2021 09:26:21 GMT expires: - '-1' pragma: @@ -19067,25 +16627,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/68f640c7-1f81-4029-9f18-969e94c3f000?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/ec6cb2e8-bb0d-4ffa-87d3-566f8c5f0fcd?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 12 May 2021 14:24:24 GMT + - Thu, 10 Jun 2021 09:26:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/68f640c7-1f81-4029-9f18-969e94c3f000?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/ec6cb2e8-bb0d-4ffa-87d3-566f8c5f0fcd?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -19111,21 +16671,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/68f640c7-1f81-4029-9f18-969e94c3f000?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/ec6cb2e8-bb0d-4ffa-87d3-566f8c5f0fcd?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/68f640c7-1f81-4029-9f18-969e94c3f000","name":"68f640c7-1f81-4029-9f18-969e94c3f000","status":"Succeeded","startTime":"2021-05-12T14:24:24.7068599Z","endTime":"2021-05-12T14:24:25.0726907Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/ec6cb2e8-bb0d-4ffa-87d3-566f8c5f0fcd","name":"ec6cb2e8-bb0d-4ffa-87d3-566f8c5f0fcd","status":"Succeeded","startTime":"2021-06-10T09:26:33.4025843Z","endTime":"2021-06-10T09:26:33.5626058Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2"}}' headers: cache-control: - no-cache content-length: - - '547' + - '550' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:24:54 GMT + - Thu, 10 Jun 2021 09:27:03 GMT expires: - '-1' pragma: @@ -19157,9 +16717,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -19167,7 +16727,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:25:04 GMT + - Thu, 10 Jun 2021 09:27:13 GMT expires: - '-1' pragma: @@ -19193,9 +16753,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -19203,7 +16763,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:25:15 GMT + - Thu, 10 Jun 2021 09:27:24 GMT expires: - '-1' pragma: @@ -19229,9 +16789,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -19239,7 +16799,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:25:25 GMT + - Thu, 10 Jun 2021 09:27:35 GMT expires: - '-1' pragma: @@ -19265,9 +16825,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '' @@ -19275,7 +16835,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:25:35 GMT + - Thu, 10 Jun 2021 09:27:45 GMT expires: - '-1' pragma: @@ -19299,23 +16859,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2/capacityPools/sdk-py-tests-pool-2'' - under resource group ''sdk-test-qa7-R'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg-R'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '270' + - '277' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:25:46 GMT + - Thu, 10 Jun 2021 09:27:55 GMT expires: - '-1' pragma: @@ -19341,25 +16901,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/64c11284-775c-47b0-bad1-f15a45e75bdc?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/a1fc04cf-94e4-42dc-b15e-aa088df71771?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 12 May 2021 14:25:47 GMT + - Thu, 10 Jun 2021 09:27:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/64c11284-775c-47b0-bad1-f15a45e75bdc?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/a1fc04cf-94e4-42dc-b15e-aa088df71771?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -19385,21 +16945,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/64c11284-775c-47b0-bad1-f15a45e75bdc?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/a1fc04cf-94e4-42dc-b15e-aa088df71771?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/64c11284-775c-47b0-bad1-f15a45e75bdc","name":"64c11284-775c-47b0-bad1-f15a45e75bdc","status":"Succeeded","startTime":"2021-05-12T14:25:48.0556071Z","endTime":"2021-05-12T14:25:48.1903144Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2euap/operationResults/a1fc04cf-94e4-42dc-b15e-aa088df71771","name":"a1fc04cf-94e4-42dc-b15e-aa088df71771","status":"Succeeded","startTime":"2021-06-10T09:27:56.5080671Z","endTime":"2021-06-10T09:27:56.6330592Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2"}}' headers: cache-control: - no-cache content-length: - - '513' + - '516' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:26:18 GMT + - Thu, 10 Jun 2021 09:28:26 GMT expires: - '-1' pragma: @@ -19429,23 +16989,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg-R/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-2'' - under resource group ''sdk-test-qa7-R'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg-R'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '236' + - '243' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:26:20 GMT + - Thu, 10 Jun 2021 09:28:29 GMT expires: - '-1' pragma: @@ -19471,25 +17031,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 12 May 2021 14:26:22 GMT + - Thu, 10 Jun 2021 09:28:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -19515,21 +17075,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd","name":"49da3ad8-7111-4bef-84d7-31c16c34fdcd","status":"Deleting","startTime":"2021-05-12T14:26:22.8715819Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","name":"9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","status":"Deleting","startTime":"2021-06-10T09:28:31.2619337Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:26:53 GMT + - Thu, 10 Jun 2021 09:29:00 GMT expires: - '-1' pragma: @@ -19559,21 +17119,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd","name":"49da3ad8-7111-4bef-84d7-31c16c34fdcd","status":"Deleting","startTime":"2021-05-12T14:26:22.8715819Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","name":"9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","status":"Deleting","startTime":"2021-06-10T09:28:31.2619337Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '569' + - '571' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:27:23 GMT + - Thu, 10 Jun 2021 09:29:31 GMT expires: - '-1' pragma: @@ -19603,21 +17163,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/49da3ad8-7111-4bef-84d7-31c16c34fdcd","name":"49da3ad8-7111-4bef-84d7-31c16c34fdcd","status":"Succeeded","startTime":"2021-05-12T14:26:22.8715819Z","endTime":"2021-05-12T14:27:30.2903176Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","name":"9078dfa8-c1c0-49d7-a29f-2d29136e5cf0","status":"Succeeded","startTime":"2021-06-10T09:28:31.2619337Z","endTime":"2021-06-10T09:29:32.4788318Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1"}}' headers: cache-control: - no-cache content-length: - - '580' + - '582' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:27:53 GMT + - Thu, 10 Jun 2021 09:30:01 GMT expires: - '-1' pragma: @@ -19647,23 +17207,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1/volumes/sdk-py-tests-vol-1'' - under resource group ''sdk-test-qa7'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '295' + - '302' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:31:14 GMT + - Thu, 10 Jun 2021 09:33:23 GMT expires: - '-1' pragma: @@ -19689,25 +17249,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/318c9d40-204e-4a5e-aa4d-c0c466f94db6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe6ff3aa-e25e-4330-ba59-95112425449a?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 12 May 2021 14:31:26 GMT + - Thu, 10 Jun 2021 09:33:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/318c9d40-204e-4a5e-aa4d-c0c466f94db6?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe6ff3aa-e25e-4330-ba59-95112425449a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -19733,21 +17293,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/318c9d40-204e-4a5e-aa4d-c0c466f94db6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe6ff3aa-e25e-4330-ba59-95112425449a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/318c9d40-204e-4a5e-aa4d-c0c466f94db6","name":"318c9d40-204e-4a5e-aa4d-c0c466f94db6","status":"Succeeded","startTime":"2021-05-12T14:31:26.6266058Z","endTime":"2021-05-12T14:31:27.0209445Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/fe6ff3aa-e25e-4330-ba59-95112425449a","name":"fe6ff3aa-e25e-4330-ba59-95112425449a","status":"Succeeded","startTime":"2021-06-10T09:33:35.7342765Z","endTime":"2021-06-10T09:33:35.9775488Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1"}}' headers: cache-control: - no-cache content-length: - - '553' + - '555' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:31:56 GMT + - Thu, 10 Jun 2021 09:34:05 GMT expires: - '-1' pragma: @@ -19779,9 +17339,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -19789,7 +17349,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:32:07 GMT + - Thu, 10 Jun 2021 09:34:15 GMT expires: - '-1' pragma: @@ -19815,9 +17375,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -19825,7 +17385,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:32:17 GMT + - Thu, 10 Jun 2021 09:34:26 GMT expires: - '-1' pragma: @@ -19851,9 +17411,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -19861,7 +17421,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:32:28 GMT + - Thu, 10 Jun 2021 09:34:37 GMT expires: - '-1' pragma: @@ -19887,9 +17447,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '' @@ -19897,7 +17457,7 @@ interactions: cache-control: - no-cache date: - - Wed, 12 May 2021 14:32:38 GMT + - Thu, 10 Jun 2021 09:34:47 GMT expires: - '-1' pragma: @@ -19921,23 +17481,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1/capacityPools/sdk-py-tests-pool-1'' - under resource group ''sdk-test-qa7'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '268' + - '275' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:32:48 GMT + - Thu, 10 Jun 2021 09:34:57 GMT expires: - '-1' pragma: @@ -19963,25 +17523,25 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fd41fa6e-a89a-4a2e-8067-ecec9a79d5ce?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c8c07100-c164-4eb7-83ee-98693264218a?api-version=2021-04-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 12 May 2021 14:32:49 GMT + - Thu, 10 Jun 2021 09:34:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fd41fa6e-a89a-4a2e-8067-ecec9a79d5ce?api-version=2021-02-01&operationResultResponseType=Location + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c8c07100-c164-4eb7-83ee-98693264218a?api-version=2021-04-01&operationResultResponseType=Location pragma: - no-cache server: @@ -20007,21 +17567,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fd41fa6e-a89a-4a2e-8067-ecec9a79d5ce?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c8c07100-c164-4eb7-83ee-98693264218a?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralusstage/operationResults/fd41fa6e-a89a-4a2e-8067-ecec9a79d5ce","name":"fd41fa6e-a89a-4a2e-8067-ecec9a79d5ce","status":"Succeeded","startTime":"2021-05-12T14:32:50.3277998Z","endTime":"2021-05-12T14:32:50.372807Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/southcentralus/operationResults/c8c07100-c164-4eb7-83ee-98693264218a","name":"c8c07100-c164-4eb7-83ee-98693264218a","status":"Succeeded","startTime":"2021-06-10T09:34:59.4231241Z","endTime":"2021-06-10T09:34:59.488127Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1"}}' headers: cache-control: - no-cache content-length: - - '518' + - '520' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:33:20 GMT + - Thu, 10 Jun 2021 09:35:28 GMT expires: - '-1' pragma: @@ -20051,23 +17611,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-mgmt-netapp/3.0.0 Python/3.8.7 (macOS-11.2.3-x86_64-i386-64bit) + - azsdk-python-mgmt-netapp/1.0.0 Python/3.8.10 (macOS-11.3.1-x86_64-i386-64bit) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-test-qa7/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-python-tests-rg/providers/Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1?api-version=2021-04-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.NetApp/netAppAccounts/sdk-py-tests-acc-1'' - under resource group ''sdk-test-qa7'' was not found. For more details please - go to https://aka.ms/ARMResourceNotFoundFix"}}' + under resource group ''sdk-python-tests-rg'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '234' + - '241' content-type: - application/json; charset=utf-8 date: - - Wed, 12 May 2021 14:33:22 GMT + - Thu, 10 Jun 2021 09:35:31 GMT expires: - '-1' pragma: diff --git a/sdk/netapp/azure-mgmt-netapp/tests/setup.py b/sdk/netapp/azure-mgmt-netapp/tests/setup.py index 51c63403098a..a532e4ec95fb 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/setup.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/setup.py @@ -4,25 +4,19 @@ # - rg must exist # - vnet must exist -TEST_RG = 'sdk-net-test-qa7' -TEST_REPL_RG = 'sdk-test-qa7' -TEST_REMOTE_RG = 'sdk-test-qa7-R' +LOCATION = 'southcentralusstage' +REMOTE_LOCATION = 'eastus2euap' +TEST_RG = 'sdk-python-tests-rg' +TEST_REPL_REMOTE_RG = 'sdk-python-tests-rg-R' TEST_ACC_1 = 'sdk-py-tests-acc-1' TEST_ACC_2 = 'sdk-py-tests-acc-2' TEST_POOL_1 = 'sdk-py-tests-pool-1' TEST_POOL_2 = 'sdk-py-tests-pool-2' TEST_VOL_1 = 'sdk-py-tests-vol-1' TEST_VOL_2 = 'sdk-py-tests-vol-2' -SERVICE_LEVEL = 'Premium' -LOCATION = 'southcentralusstage' -REMOTE_LOCATION = 'eastus2euap' -VNET = 'sdknettestqa7vnet464' -REPL_VNET = 'sdktestqa7vnet464' -REMOTE_VNET = 'sdktestqa7vnet464-R' -SERVICE_LEVEL = 'Premium' -# backup properties -BACKUP_VNET = 'bprgpythonsdktestvnet464' -BACKUP_RG = 'bp_rg_python_sdk_test' TEST_BACKUP_1 = 'sdk-py-tests-backup-1' TEST_BACKUP_2 = 'sdk-py-tests-backup-2' -BACKUP_LOCATION = 'southcentralusstage' +SERVICE_LEVEL = 'Premium' +VNET = 'sdk-python-tests-vnet' +REMOTE_VNET = 'sdk-python-tests-vnet-R' +SERVICE_LEVEL = 'Premium' diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_account_backup.py b/sdk/netapp/azure-mgmt-netapp/tests/test_account_backup.py index 9599f5de5dd9..9c895e41edb8 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_account_backup.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_account_backup.py @@ -9,20 +9,19 @@ import azure.mgmt.netapp.models import unittest -backups = [TEST_BACKUP_1, TEST_BACKUP_2] - class NetAppAccountBackupTestCase(AzureMgmtTestCase): def setUp(self): super(NetAppAccountBackupTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) - #list get delete + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_list_account_backups(self): create_backup(self.client, backup_name=TEST_BACKUP_1, live=self.is_live) create_backup(self.client, backup_name=TEST_BACKUP_2, backup_only=True, live=self.is_live) - account_backup_list = self.client.account_backups.list(BACKUP_RG, TEST_ACC_1) + account_backup_list = self.client.account_backups.list(TEST_RG, TEST_ACC_1) backup_count = 0 for backup in account_backup_list: if TEST_BACKUP_1 in backup.name or TEST_BACKUP_2 in backup.name: @@ -33,7 +32,7 @@ def test_list_account_backups(self): disable_backup(self.client, live=self.is_live) disable_backup(self.client, backup_name=TEST_BACKUP_2, live=self.is_live) - account_backup_list = self.client.account_backups.list(BACKUP_RG, TEST_ACC_1) + account_backup_list = self.client.account_backups.list(TEST_RG, TEST_ACC_1) backup_count = 0 for backup in account_backup_list: if TEST_BACKUP_1 in backup.name or TEST_BACKUP_2 in backup.name: @@ -41,35 +40,35 @@ def test_list_account_backups(self): self.assertEqual(backup_count, 0) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) + delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) def test_get_account_backups(self): create_backup(self.client, backup_name=TEST_BACKUP_1, live=self.is_live) - account_backup = self.client.account_backups.get(BACKUP_RG, TEST_ACC_1, TEST_BACKUP_1) + account_backup = self.client.account_backups.get(TEST_RG, TEST_ACC_1, TEST_BACKUP_1) self.assertEqual(account_backup.name, TEST_ACC_1 + "/" + TEST_BACKUP_1) disable_backup(self.client, TEST_BACKUP_1, live=self.is_live) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) + delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) def test_delete_account_backups(self): create_backup(self.client, backup_name=TEST_BACKUP_1, live=self.is_live) - account_backup_list = self.client.account_backups.list(BACKUP_RG, TEST_ACC_1) + account_backup_list = self.client.account_backups.list(TEST_RG, TEST_ACC_1) self.assertGreaterEqual(len(list(account_backup_list)), 1) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - self.client.account_backups.begin_delete(BACKUP_RG, TEST_ACC_1, TEST_BACKUP_1).wait() + delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) + self.client.account_backups.begin_delete(TEST_RG, TEST_ACC_1, TEST_BACKUP_1).wait() - account_backup_list = self.client.account_backups.list(BACKUP_RG, TEST_ACC_1) + account_backup_list = self.client.account_backups.list(TEST_RG, TEST_ACC_1) for backup in account_backup_list: self.assertNotEqual(backup.name, TEST_ACC_1 + "/" + TEST_BACKUP_1) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_backup.py b/sdk/netapp/azure-mgmt-netapp/tests/test_backup.py index a286afc02e2c..0bd9ffbb6ae5 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_backup.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_backup.py @@ -11,10 +11,10 @@ backups = [TEST_BACKUP_1, TEST_BACKUP_2] -def create_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, - volume_name=TEST_VOL_1, location=BACKUP_LOCATION, backup_only=False, live=False): +def create_backup(client, backup_name=TEST_BACKUP_1, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, + volume_name=TEST_VOL_1, location=LOCATION, backup_only=False, live=False): if not backup_only: - create_volume(client, rg, account_name, pool_name, volume_name, location, vnet=BACKUP_VNET, live=live) + create_volume(client, rg, account_name, pool_name, volume_name, location, vnet=VNET, live=live) wait_for_volume(client, rg, account_name, pool_name, volume_name, live) vaults = client.vaults.list(rg, account_name) @@ -24,14 +24,14 @@ def create_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name= "backupEnabled": True } }) - client.volumes.begin_update(BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, volume_patch).result() + client.volumes.begin_update(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, volume_patch).result() backup_body = Backup(location=location) backup = client.backups.begin_create(rg, account_name, pool_name, volume_name, backup_name, backup_body).result() wait_for_backup_created(client, rg, account_name, pool_name, volume_name, backup_name, live) return backup -def disable_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, +def disable_backup(client, backup_name=TEST_BACKUP_1, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1, live=False): vaults = client.vaults.list(rg, account_name) volume_patch = VolumePatch(data_protection={ @@ -40,21 +40,21 @@ def disable_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name "backupEnabled": False } }) - client.volumes.begin_update(BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, volume_patch).wait() + client.volumes.begin_update(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, volume_patch).wait() wait_for_no_backup(client, rg, account_name, pool_name, volume_name, backup_name, live) -def delete_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, +def delete_backup(client, backup_name=TEST_BACKUP_1, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1, live=False): client.backups.begin_delete(rg, account_name, pool_name, volume_name, backup_name).wait() wait_for_no_backup(client, rg, account_name, pool_name, volume_name, backup_name, live) -def get_backup(client, backup_name=TEST_BACKUP_1, rg=BACKUP_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1): +def get_backup(client, backup_name=TEST_BACKUP_1, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1): return client.backups.get(rg, account_name, pool_name, volume_name, backup_name) -def get_backup_list(client, rg=BACKUP_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1): +def get_backup_list(client, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_POOL_1, volume_name=TEST_VOL_1): return client.backups.list(rg, account_name, pool_name, volume_name) @@ -82,41 +82,44 @@ def wait_for_backup_created(client, rg, account_name, pool_name, volume_name, ba if backup.provisioning_state == "Succeeded": break +def clean_up(client, disable_bp=True, live=False): + if disable_bp: + disable_backup(client, live=live) + + delete_volume(client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=live) + delete_pool(client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=live) + delete_account(client, TEST_RG, TEST_ACC_1, live=live) + class NetAppAccountTestCase(AzureMgmtTestCase): def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_backup(self): # Create 2 backups since delete backups can only be used when volume has multiple backups create_backup(self.client, live=self.is_live) - create_backup(self.client, backup_name=TEST_BACKUP_2, backup_only=True, live=self.is_live) backup_list = get_backup_list(self.client) self.assertEqual(len(list(backup_list)), 2) # delete the older backup since we are not able to delete the newest one with delete backup service delete_backup(self.client, live=self.is_live) - - # check if backup was deleted backup_list = get_backup_list(self.client) self.assertEqual(len(list(backup_list)), 1) # automaticaly delete the second backup by disable backups on volume disable_backup(self.client, live=self.is_live) - backup_list = get_backup_list(self.client) self.assertEqual(len(list(backup_list)), 0) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + clean_up(self.client, disable_bp=False, live=self.is_live) def test_list_backup(self): create_backup(self.client, live=self.is_live) create_backup(self.client, backup_name=TEST_BACKUP_2, backup_only=True, live=self.is_live) - backup_list = get_backup_list(self.client) self.assertEqual(len(list(backup_list)), 2) idx = 0 @@ -130,9 +133,7 @@ def test_list_backup(self): backup_list = get_backup_list(self.client) self.assertEqual(len(list(backup_list)), 0) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + clean_up(self.client, disable_bp=False, live=self.is_live) def test_get_backup_by_name(self): create_backup(self.client, live=self.is_live) @@ -140,36 +141,29 @@ def test_get_backup_by_name(self): backup = get_backup(self.client, TEST_BACKUP_1) self.assertEqual(backup.name, TEST_ACC_1 + "/" + TEST_POOL_1 + "/" + TEST_VOL_1 + "/" + TEST_BACKUP_1) - disable_backup(self.client, TEST_BACKUP_1, live=self.is_live) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + clean_up(self.client, live=self.is_live) + @unittest.skip("Skipping test until able to update anyting") def test_update_backup(self): create_backup(self.client, live=self.is_live) tag = {'Tag1': 'Value1'} - backup_body = BackupPatch(location=BACKUP_LOCATION, tags=tag) - self.client.backups.begin_update(BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, TEST_BACKUP_1, backup_body).wait() + backup_body = BackupPatch(location=LOCATION, tags=tag) + self.client.backups.begin_update(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, TEST_BACKUP_1, backup_body).wait() backup = get_backup(self.client) self.assertTrue(backup.tags['Tag1'] == 'Value1') - disable_backup(self.client, live=self.is_live) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + clean_up(self.client, live=self.is_live) + @unittest.skip("Skipping test until this feature has faster performance. Today you have to wait 5 minute after backup creation until you can call backup status") def test_get_backup_status(self): create_backup(self.client, live=self.is_live) - backup_status = self.client.backups.get_status(BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) + backup_status = self.client.backups.get_status(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) self.assertTrue(backup_status.healthy) self.assertEqual(backup_status.mirrorState, "Mirrored") - disable_backup(self.client, live=self.is_live) - delete_volume(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, BACKUP_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, BACKUP_RG, TEST_ACC_1, live=self.is_live) + clean_up(self.client, live=self.is_live) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_backup_policies.py b/sdk/netapp/azure-mgmt-netapp/tests/test_backup_policies.py index d094c0368aca..e5fac321f803 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_backup_policies.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_backup_policies.py @@ -9,12 +9,9 @@ TEST_BACKUP_POLICY_1='sdk-py-tests-backup-policy-1' TEST_BACKUP_POLICY_2='sdk-py-tests-backup-policy-2' BACKUP_POLICIES = [TEST_BACKUP_POLICY_1, TEST_BACKUP_POLICY_2] -BP_LOCATION = 'southcentralusstage' -BP_RESOURCE_GROUP = 'bp_rg_python_sdk_test' -BP_ACCOUNT = 'sdk-py-tests-bp-acc' -def create_backup_policy(client, backup_policy_name, rg=BP_RESOURCE_GROUP, account_name=BP_ACCOUNT, location=BP_LOCATION, backup_policy_only=False): +def create_backup_policy(client, backup_policy_name, rg=TEST_RG, account_name=TEST_ACC_1, location=LOCATION, backup_policy_only=False): if not backup_policy_only: create_account(client, rg, account_name, location) @@ -30,7 +27,7 @@ def create_backup_policy(client, backup_policy_name, rg=BP_RESOURCE_GROUP, accou return backup_policy -def delete_backup_policy(client, backup_policy_name, rg=BP_RESOURCE_GROUP, account_name=BP_ACCOUNT, live=False): +def delete_backup_policy(client, backup_policy_name, rg=TEST_RG, account_name=TEST_ACC_1, live=False): client.backup_policies.begin_delete(rg, account_name, backup_policy_name).wait() wait_for_no_backup_policy(client, rg, account_name, backup_policy_name, live) @@ -50,7 +47,7 @@ def wait_for_no_backup_policy(client, rg, account_name, backup_policy_name, live break -def wait_for_backup_policy_state(client, desired_state, rg=BP_RESOURCE_GROUP, account_name=BP_ACCOUNT, +def wait_for_backup_policy_state(client, desired_state, rg=TEST_RG, account_name=TEST_ACC_1, backup_policy_name=TEST_BACKUP_POLICY_1, live=False): co = 0 while co < 5: @@ -67,24 +64,26 @@ def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_backup_policy(self): create_backup_policy(self.client, TEST_BACKUP_POLICY_1) - backup_policies_list = self.client.backup_policies.list(BP_RESOURCE_GROUP, BP_ACCOUNT) + backup_policies_list = self.client.backup_policies.list(TEST_RG, TEST_ACC_1) self.assertEqual(len(list(backup_policies_list)), 1) delete_backup_policy(self.client, TEST_BACKUP_POLICY_1, live=self.is_live) - backup_policies_list = self.client.backup_policies.list(BP_RESOURCE_GROUP, BP_ACCOUNT) + backup_policies_list = self.client.backup_policies.list(TEST_RG, TEST_ACC_1) self.assertEqual(len(list(backup_policies_list)), 0) - delete_account(self.client, BP_RESOURCE_GROUP, BP_ACCOUNT, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) def test_list_backup_policies(self): create_backup_policy(self.client, TEST_BACKUP_POLICY_1) create_backup_policy(self.client, TEST_BACKUP_POLICY_2, backup_policy_only=True) - backup_policies_list = self.client.backup_policies.list(BP_RESOURCE_GROUP, BP_ACCOUNT) + backup_policies_list = self.client.backup_policies.list(TEST_RG, TEST_ACC_1) self.assertEqual(len(list(backup_policies_list)), 2) idx = 0 for backup_policy in backup_policies_list: @@ -94,32 +93,32 @@ def test_list_backup_policies(self): delete_backup_policy(self.client, TEST_BACKUP_POLICY_1, live=self.is_live) delete_backup_policy(self.client, TEST_BACKUP_POLICY_2, live=self.is_live) - backup_policies_list = self.client.backup_policies.list(BP_RESOURCE_GROUP, BP_ACCOUNT) + backup_policies_list = self.client.backup_policies.list(TEST_RG, TEST_ACC_1) self.assertEqual(len(list(backup_policies_list)), 0) - delete_account(self.client, BP_RESOURCE_GROUP, BP_ACCOUNT) + delete_account(self.client, TEST_RG, TEST_ACC_1) def test_get_backup_policy_by_name(self): create_backup_policy(self.client, TEST_BACKUP_POLICY_1) - backup_policy = self.client.backup_policies.get(BP_RESOURCE_GROUP, BP_ACCOUNT, TEST_BACKUP_POLICY_1) - self.assertEqual(backup_policy.name, BP_ACCOUNT + "/" + TEST_BACKUP_POLICY_1) + backup_policy = self.client.backup_policies.get(TEST_RG, TEST_ACC_1, TEST_BACKUP_POLICY_1) + self.assertEqual(backup_policy.name, TEST_ACC_1 + "/" + TEST_BACKUP_POLICY_1) delete_backup_policy(self.client, TEST_BACKUP_POLICY_1, live=self.is_live) - delete_account(self.client, BP_RESOURCE_GROUP, BP_ACCOUNT) + delete_account(self.client, TEST_RG, TEST_ACC_1) def test_update_backup_policies(self): create_backup_policy(self.client, TEST_BACKUP_POLICY_1) backup_policy_body = BackupPolicyPatch( - location=BP_LOCATION, + location=LOCATION, daily_backups_to_keep=0, weekly_backups_to_keep=1, monthly_backups_to_keep=0, enabled=True ) - backup_policy = self.client.backup_policies.begin_update(BP_RESOURCE_GROUP, BP_ACCOUNT, TEST_BACKUP_POLICY_1, backup_policy_body).result() + backup_policy = self.client.backup_policies.begin_update(TEST_RG, TEST_ACC_1, TEST_BACKUP_POLICY_1, backup_policy_body).result() self.assertEqual(backup_policy.daily_backups_to_keep, 0) self.assertEqual(backup_policy.weekly_backups_to_keep, 1) delete_backup_policy(self.client, TEST_BACKUP_POLICY_1, live=self.is_live) - delete_account(self.client, BP_RESOURCE_GROUP, BP_ACCOUNT) + delete_account(self.client, TEST_RG, TEST_ACC_1) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py b/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py index 6378f1611b86..eb028495f7f8 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_pool.py @@ -61,6 +61,8 @@ def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_pool(self): pool = create_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, LOCATION) self.assertEqual(pool.size, DEFAULT_SIZE) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py index e42c7501efba..f684114a43ab 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot.py @@ -48,6 +48,8 @@ def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_snapshot(self): create_snapshot(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, TEST_SNAPSHOT_1, LOCATION) @@ -89,4 +91,4 @@ def test_get_snapshot_by_name(self): delete_snapshot(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, TEST_SNAPSHOT_1, self.is_live) delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, self.is_live) delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, self.is_live) - delete_account(self.client, TEST_RG, TEST_ACC_1) + delete_account(self.client, TEST_RG, TEST_ACC_1, self.is_live) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot_policies.py b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot_policies.py index a9145684124e..8284acd34606 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot_policies.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_snapshot_policies.py @@ -55,6 +55,8 @@ def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_snapshot_policy(self): create_snapshot_policy(self.client, TEST_SNAPSHOT_POLICY_1) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_vault.py b/sdk/netapp/azure-mgmt-netapp/tests/test_vault.py index 779cde861ec7..9714c07fd1ef 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_vault.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_vault.py @@ -3,23 +3,20 @@ from setup import * import azure.mgmt.netapp.models -CBS_LOCATION = 'southcentralusstage' -CBS_RESOURCE_GROUP = 'vault_python_sdk_test' -CBS_VNET = 'bprgpythonsdktest1vnet464' -CBS_ACCOUNT = 'sdk-py-tests-cbs-acc' class NetAppAccountTestCase(AzureMgmtTestCase): def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_get_vault(self): - create_volume(self.client, CBS_RESOURCE_GROUP, CBS_ACCOUNT, TEST_POOL_1, TEST_VOL_1, location=CBS_LOCATION, - vnet=CBS_VNET) - vaults = self.client.vaults.list(CBS_RESOURCE_GROUP, CBS_ACCOUNT) + create_volume(self.client) + vaults = self.client.vaults.list(TEST_RG, TEST_ACC_1) self.assertEqual(len(list(vaults)), 1) # clean up - delete_volume(self.client, CBS_RESOURCE_GROUP, CBS_ACCOUNT, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, CBS_RESOURCE_GROUP, CBS_ACCOUNT, TEST_POOL_1, live=self.is_live) - delete_account(self.client, CBS_RESOURCE_GROUP, CBS_ACCOUNT, live=self.is_live) + delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) + delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) diff --git a/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py b/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py index 4f12ca8aff0d..818b11a4cf3f 100644 --- a/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py +++ b/sdk/netapp/azure-mgmt-netapp/tests/test_volume.py @@ -52,7 +52,7 @@ def create_volume(client, rg=TEST_RG, account_name=TEST_ACC_1, pool_name=TEST_PO return volume -def create_dp_volume(client, source_volume, rg=TEST_REMOTE_RG, account_name=TEST_ACC_2, pool_name=TEST_POOL_2, +def create_dp_volume(client, source_volume, rg=TEST_REPL_REMOTE_RG, account_name=TEST_ACC_2, pool_name=TEST_POOL_2, volume_name=TEST_VOL_2, location=REMOTE_LOCATION, volume_only=False, live=False): if not volume_only: create_pool( @@ -144,17 +144,18 @@ def delete_volume(client, rg, account_name, pool_name, volume_name, live=False): def wait_for_replication_status(client, target_state, live=False): # python isn't good at do-while loops but loop until we get the target state while True: - replication_status = client.volumes.replication_status(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + replication_status = client.volumes.replication_status(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) if replication_status.mirror_state == target_state: break if live: time.sleep(1) + def wait_for_succeeded(client, live=False): # python isn't good at do-while loops but loop until we get volumes in succeeded state while True: - source_volume = client.volumes.get(TEST_REPL_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) - dp_volume = client.volumes.get(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + source_volume = client.volumes.get(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) + dp_volume = client.volumes.get(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) if (source_volume.provisioning_state == "Succeeded") and (dp_volume.provisioning_state == "Succeeded"): break if live: @@ -166,6 +167,8 @@ def setUp(self): super(NetAppAccountTestCase, self).setUp() self.client = self.create_mgmt_client(azure.mgmt.netapp.NetAppManagementClient) + # Before tests are run live a resource group needs to be created along with vnet and subnet + # Note that when tests are run in live mode it is best to run one test at a time. def test_create_delete_list_volume(self): volume = create_volume( self.client, @@ -213,26 +216,16 @@ def test_list_volumes(self): def test_volume_replication(self): source_volume = create_volume( self.client, - TEST_REPL_RG, + TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, - vnet=REPL_VNET, + vnet=VNET, live=self.is_live) - - if self.is_live: - time.sleep(5) - - self.client.volumes.get( - TEST_REPL_RG, - TEST_ACC_1, - TEST_POOL_1, - TEST_VOL_1) - dp_volume = create_dp_volume( self.client, source_volume, - TEST_REMOTE_RG, + TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2, @@ -243,39 +236,39 @@ def test_volume_replication(self): # sync replication body = AuthorizeRequest(remote_volume_resource_id=dp_volume.id) - self.client.volumes.begin_authorize_replication(TEST_REPL_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, body) + self.client.volumes.begin_authorize_replication(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, body) wait_for_succeeded(self.client, self.is_live) if self.is_live: time.sleep(30) wait_for_replication_status(self.client, "Mirrored", self.is_live) # break replication - self.client.volumes.begin_break_replication(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + self.client.volumes.begin_break_replication(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) wait_for_replication_status(self.client, "Broken", self.is_live) if self.is_live: time.sleep(30) wait_for_succeeded(self.client, self.is_live) # resync - self.client.volumes.begin_resync_replication(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + self.client.volumes.begin_resync_replication(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) wait_for_replication_status(self.client, "Mirrored", self.is_live) if self.is_live: time.sleep(30) # break again - self.client.volumes.begin_break_replication(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + self.client.volumes.begin_break_replication(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) wait_for_replication_status(self.client, "Broken", self.is_live) if self.is_live: time.sleep(30) # delete the data protection object # - initiate delete replication on destination, this then releases on source, both resulting in object deletion - self.client.volumes.begin_delete_replication(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + self.client.volumes.begin_delete_replication(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) replication_found = True # because it was previously present while replication_found: try: - self.client.volumes.replication_status(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) + self.client.volumes.replication_status(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) except: # an exception means the replication was not found # i.e. it has been deleted @@ -290,8 +283,8 @@ def test_volume_replication(self): # and ensure the replication objects are removed # python isn't good at do-while loops but loop until we get volumes in succeeded state while True: - source_volume = self.client.volumes.get(TEST_REPL_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1); - dp_volume = self.client.volumes.get(TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2); + source_volume = self.client.volumes.get(TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1) + dp_volume = self.client.volumes.get(TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2) if (source_volume.provisioning_state == "Succeeded") and (dp_volume.provisioning_state == "Succeeded") and \ (source_volume.data_protection.replication is None) and \ (dp_volume.data_protection.replication is None): @@ -302,14 +295,14 @@ def test_volume_replication(self): # now proceed with the delete of the volumes and tidy up resources # delete destination volume - delete_volume(self.client, TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2, live=self.is_live) - delete_pool(self.client, TEST_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, live=self.is_live) - delete_account(self.client, TEST_REMOTE_RG, TEST_ACC_2, live=self.is_live) + delete_volume(self.client, TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, TEST_VOL_2, live=self.is_live) + delete_pool(self.client, TEST_REPL_REMOTE_RG, TEST_ACC_2, TEST_POOL_2, live=self.is_live) + delete_account(self.client, TEST_REPL_REMOTE_RG, TEST_ACC_2, live=self.is_live) # delete source volume - delete_volume(self.client, TEST_REPL_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) - delete_pool(self.client, TEST_REPL_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) - delete_account(self.client, TEST_REPL_RG, TEST_ACC_1, live=self.is_live) + delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) + delete_pool(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, live=self.is_live) + delete_account(self.client, TEST_RG, TEST_ACC_1, live=self.is_live) def test_get_volume_by_name(self): create_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, LOCATION, live=self.is_live) @@ -342,7 +335,7 @@ def test_update_volume(self): TEST_VOL_1, volume_body ).result() - self.assertEqual("Premium", volume.service_level); # unchanged + self.assertEqual("Premium", volume.service_level) # unchanged self.assertEqual(200 * GIGABYTE, volume.usage_threshold) delete_volume(self.client, TEST_RG, TEST_ACC_1, TEST_POOL_1, TEST_VOL_1, live=self.is_live) From 0ff2bb65589142ef1bc881d1705a60bdf1d9ae47 Mon Sep 17 00:00:00 2001 From: annatisch Date: Mon, 21 Jun 2021 07:33:44 -0700 Subject: [PATCH 15/45] [Perf] Support for test proxy and profiling (#19338) * Added profiler support to perf framework * Removed old loop kwarg * Fixed list test bug * Support old API version * Updated perf framework for test proxy * Support test proxy * Whitespace * Support proxy in legacy tests * Update perf test guide * Support proxy in GetSecretTest Co-authored-by: Mike Harder --- .gitignore | 3 + doc/dev/perfstress_tests.md | 35 +++++-- .../tests/perfstress_tests/get_secret.py | 4 +- .../storage/blob/aio/_blob_client_async.py | 1 - .../blob/aio/_blob_service_client_async.py | 5 +- .../blob/aio/_container_client_async.py | 3 +- .../tests/perfstress_tests/README.md | 19 +++- .../T1_legacy_tests/_test_base_legacy.py | 33 ++++++- .../tests/perfstress_tests/_test_base.py | 15 +-- .../tests/perfstress_tests/list_blobs.py | 3 +- .../perfstress_tests/_policies.py | 38 ++++++++ .../perfstress_tests/perf_stress_runner.py | 96 +++++++++++++++---- .../perfstress_tests/perf_stress_test.py | 75 +++++++++++++-- 13 files changed, 280 insertions(+), 50 deletions(-) create mode 100644 tools/azure-devtools/src/azure_devtools/perfstress_tests/_policies.py diff --git a/.gitignore b/.gitignore index 105533bf0748..87b0050a20cc 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ build/ TestResults/ ENV_DIR/ +# Perf test profiling +cProfile-*.pstats + # tox generated artifacts test-junit-*.xml pylint-*.out.txt diff --git a/doc/dev/perfstress_tests.md b/doc/dev/perfstress_tests.md index 3b68426f62aa..2865d2eac6c4 100644 --- a/doc/dev/perfstress_tests.md +++ b/doc/dev/perfstress_tests.md @@ -2,6 +2,7 @@ 1. [The perfstress framework](#the-perfstress-framework) - [The PerfStressTest base](#the-perfstresstest-base) - [Default command options](#default-command-options) + - [Running with test proxy](#running-with-test-proxy) 2. [Adding performance tests to an SDK](#adding-performance-tests-to-an-sdk) - [Writing a test](#writing-a-test) - [Adding legacy T1 tests](#adding-legacy-t1-tests) @@ -38,6 +39,16 @@ class PerfStressTest: async def global_cleanup(self): # Can be optionally defined. Only run once, regardless of parallelism. + async def record_and_start_playback(self): + # Set up the recording on the test proxy, and configure the proxy in playback mode. + # This function is only run if a test proxy URL is provided (-x). + # There should be no need to overwrite this function. + + async def stop_playback(self): + # Configure the proxy out of playback mode and discard the recording. + # This function is only run if a test proxy URL is provided (-x). + # There should be no need to overwrite this function. + async def setup(self): # Can be optionally defined. Run once per test instance, after global_setup. @@ -65,12 +76,24 @@ class PerfStressTest: ``` ## Default command options The framework has a series of common command line options built in: -- `--duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. -- `--iterations=1` Number of test iterations to run. Default is 1. -- `--parallel=1` Number of tests to run in parallel. Default is 1. -- `--warm-up=5` Number of seconds to spend warming up the connection before measuring begins. Default is 5. +- `-d --duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. +- `-i --iterations=1` Number of test iterations to run. Default is 1. +- `-p --parallel=1` Number of tests to run in parallel. Default is 1. +- `-w --warm-up=5` Number of seconds to spend warming up the connection before measuring begins. Default is 5. - `--sync` Whether to run the tests in sync or async. Default is False (async). - `--no-cleanup` Whether to keep newly created resources after test run. Default is False (resources will be deleted). +- `-x --test-proxy` Whether to run the tests against the test proxy server. Specfiy the URL for the proxy endpoint (e.g. "https://localhost:5001"). +- `--profile` Whether to run the perftest with cProfile. If enabled (default is False), the output file of the **last completed single iteration** will be written to the current working directory in the format `"cProfile---.pstats"`. + + +## Running with the test proxy +Follow the instructions here to install and run the test proxy server: +https://github.com/Azure/azure-sdk-tools/tree/feature/http-recording-server/tools/test-proxy/Azure.Sdk.Tools.TestProxy + +Once running, in a separate process run the perf test in question, combined with the `-x` flag to specify the proxy endpoint. +```cmd +(env) ~/azure-storage-blob/tests> perfstress DownloadTest -x "https://localhost:5001" +``` # Adding performance tests to an SDK The performance tests will be in a submodule called `perfstress_tests` within the `tests` directory in an SDK project. @@ -351,5 +374,5 @@ Using the `perfstress` command alone will list the available perf tests found. N Please add a `README.md` to the perfstress_tests directory so that others know how to setup and run the perf tests, along with a description of the available tests and any support command line options. README files in a `tests/perfstress_tests` directory should already be filtered from CI validation for SDK readmes. Some examples can be found here: -- [Azure Storage Blob](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md) -- [Azure Service Bus](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/servicebus/azure-servicebus/tests/perf_tests/README.md) \ No newline at end of file +- [Azure Storage Blob](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md) +- [Azure Service Bus](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/servicebus/azure-servicebus/tests/perf_tests/README.md) \ No newline at end of file diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py index b40bb6c20841..37230cef3214 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py @@ -21,8 +21,8 @@ def __init__(self, arguments): # Create clients vault_url = self.get_from_env("AZURE_KEYVAULT_URL") - self.client = SecretClient(vault_url, self.credential) - self.async_client = AsyncSecretClient(vault_url, self.async_credential) + self.client = SecretClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncSecretClient(vault_url, self.async_credential, **self._client_kwargs) async def global_setup(self): """The global setup is run only once.""" diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py index a87a409796e1..d13de28f8711 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py @@ -122,7 +122,6 @@ def __init__( self._client = AzureBlobStorage(url=self.url, pipeline=self._pipeline) default_api_version = self._client._config.version # pylint: disable=protected-access self._client._config.version = get_api_version(kwargs, default_api_version) # pylint: disable=protected-access - self._loop = kwargs.get('loop', None) @distributed_trace_async async def get_account_information(self, **kwargs): # type: ignore diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py index d3d72ba65389..15b31566520d 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_service_client_async.py @@ -119,7 +119,6 @@ def __init__( self._client = AzureBlobStorage(url=self.url, pipeline=self._pipeline) default_api_version = self._client._config.version # pylint: disable=protected-access self._client._config.version = get_api_version(kwargs, default_api_version) # pylint: disable=protected-access - self._loop = kwargs.get('loop', None) @distributed_trace_async async def get_user_delegation_key(self, key_start_time, # type: datetime @@ -620,7 +619,7 @@ def get_container_client(self, container): credential=self.credential, api_version=self.api_version, _configuration=self._config, _pipeline=_pipeline, _location_mode=self._location_mode, _hosts=self._hosts, require_encryption=self.require_encryption, key_encryption_key=self.key_encryption_key, - key_resolver_function=self.key_resolver_function, loop=self._loop) + key_resolver_function=self.key_resolver_function) def get_blob_client( self, container, # type: Union[ContainerProperties, str] @@ -675,4 +674,4 @@ def get_blob_client( credential=self.credential, api_version=self.api_version, _configuration=self._config, _pipeline=_pipeline, _location_mode=self._location_mode, _hosts=self._hosts, require_encryption=self.require_encryption, key_encryption_key=self.key_encryption_key, - key_resolver_function=self.key_resolver_function, loop=self._loop) + key_resolver_function=self.key_resolver_function) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py index 93cc87748e34..cd0164392ab6 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py @@ -119,7 +119,6 @@ def __init__( self._client = AzureBlobStorage(url=self.url, pipeline=self._pipeline) default_api_version = self._client._config.version # pylint: disable=protected-access self._client._config.version = get_api_version(kwargs, default_api_version) # pylint: disable=protected-access - self._loop = kwargs.get('loop', None) @distributed_trace_async async def create_container(self, metadata=None, public_access=None, **kwargs): @@ -1207,4 +1206,4 @@ def get_blob_client( credential=self.credential, api_version=self.api_version, _configuration=self._config, _pipeline=_pipeline, _location_mode=self._location_mode, _hosts=self._hosts, require_encryption=self.require_encryption, key_encryption_key=self.key_encryption_key, - key_resolver_function=self.key_resolver_function, loop=self._loop) + key_resolver_function=self.key_resolver_function) diff --git a/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md b/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md index f5bcf6dfad3c..0289e3b68bba 100644 --- a/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md +++ b/sdk/storage/azure-storage-blob/tests/perfstress_tests/README.md @@ -37,13 +37,15 @@ Using the `perfstress` command alone will list the available perf tests found. N ### Common perf command line options These options are available for all perf tests: -- `--duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. -- `--iterations=1` Number of test iterations to run. Default is 1. -- `--parallel=1` Number of tests to run in parallel. Default is 1. +- `-d --duration=10` Number of seconds to run as many operations (the "run" function) as possible. Default is 10. +- `-i --iterations=1` Number of test iterations to run. Default is 1. +- `-p --parallel=1` Number of tests to run in parallel. Default is 1. - `--no-client-share` Whether each parallel test instance should share a single client, or use their own. Default is False (sharing). -- `--warm-up=5` Number of seconds to spend warming up the connection before measuring begins. Default is 5. +- `-w --warm-up=5` Number of seconds to spend warming up the connection before measuring begins. Default is 5. - `--sync` Whether to run the tests in sync or async. Default is False (async). This flag must be used for Storage legacy tests, which do not support async. - `--no-cleanup` Whether to keep newly created resources after test run. Default is False (resources will be deleted). +- `-x --test-proxy` Whether to run the tests against the test proxy server. Specfiy the URL for the proxy endpoint (e.g. "https://localhost:5001"). WARNING: When using with Legacy tests - only HTTPS is supported. +- `--profile` Whether to run the perftest with cProfile. If enabled (default is False), the output file of the **last completed single iteration** will be written to the current working directory in the format `"cProfile---.pstats"`. ### Common Blob command line options The options are available for all Blob perf tests: @@ -77,3 +79,12 @@ The tests currently written for the T1 SDK: ```cmd (env) ~/azure-storage-blob/tests> perfstress UploadTest --parallel=2 --size=10240 ``` + +## Running with the test proxy +Follow the instructions here to install and run the test proxy server: +https://github.com/Azure/azure-sdk-tools/tree/feature/http-recording-server/tools/test-proxy/Azure.Sdk.Tools.TestProxy + +Once running, in a separate process run the perf test in question, combined with the `-x` flag to specify the proxy endpoint. (Note, only the HTTPS endpoint is supported for the Legacy tests). +```cmd +(env) ~/azure-storage-blob/tests> perfstress DownloadTest -x "https://localhost:5001" +``` diff --git a/sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py b/sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py index 0e224e68bf2d..a5a3d607f972 100644 --- a/sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py +++ b/sdk/storage/azure-storage-blob/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py @@ -5,11 +5,30 @@ import os import uuid +import functools + +import requests from azure_devtools.perfstress_tests import PerfStressTest from azure.storage.blob import BlockBlobService + +def test_proxy_callback(proxy_policy, request): + if proxy_policy.recording_id and proxy_policy.mode: + live_endpoint = request.host + request.host = proxy_policy._proxy_url.netloc + request.headers["x-recording-id"] = proxy_policy.recording_id + request.headers["x-recording-mode"] = proxy_policy.mode + request.headers["x-recording-remove"] = "false" + + # Ensure x-recording-upstream-base-uri header is only set once, since the + # same HttpMessage will be reused on retries + if "x-recording-upstream-base-uri" not in request.headers: + original_endpoint = "https://{}".format(live_endpoint) + request.headers["x-recording-upstream-base-uri"] = original_endpoint + + class _LegacyServiceTest(PerfStressTest): service_client = None async_service_client = None @@ -17,14 +36,26 @@ class _LegacyServiceTest(PerfStressTest): def __init__(self, arguments): super().__init__(arguments) connection_string = self.get_from_env("AZURE_STORAGE_CONNECTION_STRING") + session = None + if self.args.test_proxy: + session = requests.Session() + session.verify = False if not _LegacyServiceTest.service_client or self.args.no_client_share: - _LegacyServiceTest.service_client = BlockBlobService(connection_string=connection_string) + _LegacyServiceTest.service_client = BlockBlobService( + connection_string=connection_string, + request_session=session) _LegacyServiceTest.service_client.MAX_SINGLE_PUT_SIZE = self.args.max_put_size _LegacyServiceTest.service_client.MAX_BLOCK_SIZE = self.args.max_block_size _LegacyServiceTest.service_client.MIN_LARGE_BLOCK_UPLOAD_THRESHOLD = self.args.buffer_threshold self.async_service_client = None self.service_client = _LegacyServiceTest.service_client + if self.args.test_proxy: + self.service_client.request_callback = functools.partial( + test_proxy_callback, + self._test_proxy_policy + ) + @staticmethod def add_arguments(parser): super(_LegacyServiceTest, _LegacyServiceTest).add_arguments(parser) diff --git a/sdk/storage/azure-storage-blob/tests/perfstress_tests/_test_base.py b/sdk/storage/azure-storage-blob/tests/perfstress_tests/_test_base.py index 678ea3986e27..ca46e67ffccb 100644 --- a/sdk/storage/azure-storage-blob/tests/perfstress_tests/_test_base.py +++ b/sdk/storage/azure-storage-blob/tests/perfstress_tests/_test_base.py @@ -20,13 +20,16 @@ class _ServiceTest(PerfStressTest): def __init__(self, arguments): super().__init__(arguments) connection_string = self.get_from_env("AZURE_STORAGE_CONNECTION_STRING") - kwargs = {} - kwargs['max_single_put_size'] = self.args.max_put_size - kwargs['max_block_size'] = self.args.max_block_size - kwargs['min_large_block_upload_threshold'] = self.args.buffer_threshold + if self.args.test_proxy: + self._client_kwargs['_additional_pipeline_policies'] = self._client_kwargs['per_retry_policies'] + self._client_kwargs['max_single_put_size'] = self.args.max_put_size + self._client_kwargs['max_block_size'] = self.args.max_block_size + self._client_kwargs['min_large_block_upload_threshold'] = self.args.buffer_threshold + # self._client_kwargs['api_version'] = '2019-02-02' # Used only for comparison with T1 legacy tests + if not _ServiceTest.service_client or self.args.no_client_share: - _ServiceTest.service_client = SyncBlobServiceClient.from_connection_string(conn_str=connection_string, **kwargs) - _ServiceTest.async_service_client = AsyncBlobServiceClient.from_connection_string(conn_str=connection_string, **kwargs) + _ServiceTest.service_client = SyncBlobServiceClient.from_connection_string(conn_str=connection_string, **self._client_kwargs) + _ServiceTest.async_service_client = AsyncBlobServiceClient.from_connection_string(conn_str=connection_string, **self._client_kwargs) self.service_client = _ServiceTest.service_client self.async_service_client =_ServiceTest.async_service_client diff --git a/sdk/storage/azure-storage-blob/tests/perfstress_tests/list_blobs.py b/sdk/storage/azure-storage-blob/tests/perfstress_tests/list_blobs.py index ce73c910cf2a..f5f35a86fff1 100644 --- a/sdk/storage/azure-storage-blob/tests/perfstress_tests/list_blobs.py +++ b/sdk/storage/azure-storage-blob/tests/perfstress_tests/list_blobs.py @@ -22,7 +22,8 @@ async def global_setup(self): next_upload = next(pending) running.add(next_upload) except StopIteration: - await asyncio.wait(running, return_when=asyncio.ALL_COMPLETED) + if running: + await asyncio.wait(running, return_when=asyncio.ALL_COMPLETED) break def run_sync(self): diff --git a/tools/azure-devtools/src/azure_devtools/perfstress_tests/_policies.py b/tools/azure-devtools/src/azure_devtools/perfstress_tests/_policies.py new file mode 100644 index 000000000000..5be416c1175a --- /dev/null +++ b/tools/azure-devtools/src/azure_devtools/perfstress_tests/_policies.py @@ -0,0 +1,38 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from urllib.parse import urlparse + +from azure.core.pipeline.policies import SansIOHTTPPolicy + + +class PerfTestProxyPolicy(SansIOHTTPPolicy): + + def __init__(self, url): + self.recording_id = None + self.mode = None + self._proxy_url = urlparse(url) + + def redirect_to_test_proxy(self, request): + if self.recording_id and self.mode: + request.context.options['connection_verify'] = False + live_endpoint = urlparse(request.http_request.url) + redirected = live_endpoint._replace( + scheme=self._proxy_url.scheme, + netloc=self._proxy_url.netloc + ) + request.http_request.url = redirected.geturl() + request.http_request.headers["x-recording-id"] = self.recording_id + request.http_request.headers["x-recording-mode"] = self.mode + request.http_request.headers["x-recording-remove"] = "false" + + # Ensure x-recording-upstream-base-uri header is only set once, since the + # same HttpMessage will be reused on retries + if "x-recording-upstream-base-uri" not in request.http_request.headers: + original_endpoint = "{}://{}".format(live_endpoint.scheme, live_endpoint.netloc) + request.http_request.headers["x-recording-upstream-base-uri"] = original_endpoint + + def on_request(self, request): + self.redirect_to_test_proxy(request) diff --git a/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_runner.py b/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_runner.py index 3d171d96ac74..a48ded31e10c 100644 --- a/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_runner.py +++ b/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_runner.py @@ -93,6 +93,12 @@ def _parse_args(self): per_test_arg_parser.add_argument( "--sync", action="store_true", help="Run tests in sync mode. Default is False.", default=False ) + per_test_arg_parser.add_argument( + "--profile", action="store_true", help="Run tests with profiler. Default is False.", default=False + ) + per_test_arg_parser.add_argument( + "-x", "--test-proxy", help="URI of TestProxy Server" + ) # Per-test args self._test_class_to_run.add_arguments(per_test_arg_parser) @@ -134,9 +140,13 @@ async def start(self): await tests[0].global_setup() try: await asyncio.gather(*[test.setup() for test in tests]) - self.logger.info("") + if self.per_test_args.test_proxy: + self.logger.info("=== Record and Start Playback ===") + await asyncio.gather(*[test.record_and_start_playback() for test in tests]) + self.logger.info("") + if self.per_test_args.warmup > 0: await self._run_tests(tests, self.per_test_args.warmup, "Warmup") @@ -144,10 +154,19 @@ async def start(self): title = "Test" if self.per_test_args.iterations > 1: title += " " + (i + 1) - await self._run_tests(tests, self.per_test_args.duration, title) + await self._run_tests( + tests, + self.per_test_args.duration, + title, + with_profiler=self.per_test_args.profile) except Exception as e: print("Exception: " + str(e)) finally: + if self.per_test_args.test_proxy: + self.logger.info("=== Stop Playback ===") + await asyncio.gather(*[test.stop_playback() for test in tests]) + self.logger.info("") + if not self.per_test_args.no_cleanup: self.logger.info("=== Cleanup ===") await asyncio.gather(*[test.cleanup() for test in tests]) @@ -161,7 +180,7 @@ async def start(self): finally: await asyncio.gather(*[test.close() for test in tests]) - async def _run_tests(self, tests, duration, title): + async def _run_tests(self, tests, duration, title, with_profiler=False): self._completed_operations = [0] * len(tests) self._last_completion_times = [0] * len(tests) self._last_total_operations = -1 @@ -171,13 +190,16 @@ async def _run_tests(self, tests, duration, title): if self.per_test_args.sync: threads = [] for id, test in enumerate(tests): - thread = threading.Thread(target=lambda: self._run_sync_loop(test, duration, id)) + thread = threading.Thread( + target=lambda: self._run_sync_loop(test, duration, id, with_profiler) + ) threads.append(thread) thread.start() for thread in threads: thread.join() else: - await asyncio.gather(*[self._run_async_loop(test, duration, id) for id, test in enumerate(tests)]) + tasks = [self._run_async_loop(test, duration, id, with_profiler) for id, test in enumerate(tests)] + await asyncio.gather(*tasks) status_thread.stop() @@ -196,23 +218,63 @@ async def _run_tests(self, tests, duration, title): ) self.logger.info("") - def _run_sync_loop(self, test, duration, id): + def _run_sync_loop(self, test, duration, id, with_profiler): start = time.time() runtime = 0 - while runtime < duration: - test.run_sync() - runtime = time.time() - start - self._completed_operations[id] += 1 - self._last_completion_times[id] = runtime + if with_profiler: + import cProfile + profile = None + while runtime < duration: + profile = cProfile.Profile() + profile.enable() + test.run_sync() + profile.disable() + runtime = time.time() - start + self._completed_operations[id] += 1 + self._last_completion_times[id] = runtime + + if profile: + # Store only profile for final iteration + profile_name = "{}/cProfile-{}-{}-sync.pstats".format(os.getcwd(), test.__class__.__name__, id) + print("Dumping profile data to {}".format(profile_name)) + profile.dump_stats(profile_name) + else: + print("No profile generated.") + else: + while runtime < duration: + test.run_sync() + runtime = time.time() - start + self._completed_operations[id] += 1 + self._last_completion_times[id] = runtime - async def _run_async_loop(self, test, duration, id): + async def _run_async_loop(self, test, duration, id, with_profiler): start = time.time() runtime = 0 - while runtime < duration: - await test.run_async() - runtime = time.time() - start - self._completed_operations[id] += 1 - self._last_completion_times[id] = runtime + if with_profiler: + import cProfile + profile = None + while runtime < duration: + profile = cProfile.Profile() + profile.enable() + await test.run_async() + profile.disable() + runtime = time.time() - start + self._completed_operations[id] += 1 + self._last_completion_times[id] = runtime + + if profile: + # Store only profile for final iteration + profile_name = "{}/cProfile-{}-{}-async.pstats".format(os.getcwd(), test.__class__.__name__, id) + print("Dumping profile data to {}".format(profile_name)) + profile.dump_stats(profile_name) + else: + print("No profile generated.") + else: + while runtime < duration: + await test.run_async() + runtime = time.time() - start + self._completed_operations[id] += 1 + self._last_completion_times[id] = runtime def _print_status(self, title): if self._last_total_operations == -1: diff --git a/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_test.py b/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_test.py index 7b6a8aec6919..87531c43b14b 100644 --- a/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_test.py +++ b/tools/azure-devtools/src/azure_devtools/perfstress_tests/perf_stress_test.py @@ -4,6 +4,9 @@ # -------------------------------------------------------------------------------------------- import os +import aiohttp + +from ._policies import PerfTestProxyPolicy class PerfStressTest: @@ -20,6 +23,22 @@ class PerfStressTest: def __init__(self, arguments): self.args = arguments + self._session = None + self._test_proxy_policy = None + self._client_kwargs = {} + self._recording_id = None + + if self.args.test_proxy: + self._session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(verify_ssl=False)) + + # SSL will be disabled for the test proxy requests, so suppress warnings + import warnings + from urllib3.exceptions import InsecureRequestWarning + warnings.simplefilter('ignore', InsecureRequestWarning) + + # Add policy to redirect requests to the test proxy + self._test_proxy_policy = PerfTestProxyPolicy(self.args.test_proxy) + self._client_kwargs['per_retry_policies'] = [self._test_proxy_policy] async def global_setup(self): return @@ -27,6 +46,34 @@ async def global_setup(self): async def global_cleanup(self): return + async def record_and_start_playback(self): + await self._start_recording() + self._test_proxy_policy.recording_id = self._recording_id + self._test_proxy_policy.mode = "record" + + # Record one call to run() + if self.args.sync: + self.run_sync() + else: + await self.run_async() + + await self._stop_recording() + await self._start_playback() + self._test_proxy_policy.recording_id = self._recording_id + self._test_proxy_policy.mode = "playback" + + async def stop_playback(self): + headers = { + "x-recording-id": self._recording_id, + "x-purge-inmemory-recording": "true" + } + url = self.args.test_proxy + "/playback/stop" + async with self._session.post(url, headers=headers) as resp: + assert resp.status == 200 + + self._test_proxy_policy.recording_id = None + self._test_proxy_policy.mode = None + async def setup(self): return @@ -34,13 +81,8 @@ async def cleanup(self): return async def close(self): - return - - def __enter__(self): - return - - def __exit__(self, exc_type, exc_value, traceback): - return + if self._session: + await self._session.close() def run_sync(self): raise Exception("run_sync must be implemented for {}".format(self.__class__.__name__)) @@ -48,6 +90,25 @@ def run_sync(self): async def run_async(self): raise Exception("run_async must be implemented for {}".format(self.__class__.__name__)) + async def _start_recording(self): + url = self.args.test_proxy + "/record/start" + async with self._session.post(url) as resp: + assert resp.status == 200 + self._recording_id = resp.headers["x-recording-id"] + + async def _stop_recording(self): + headers = {"x-recording-id": self._recording_id} + url = self.args.test_proxy + "/record/stop" + async with self._session.post(url, headers=headers) as resp: + assert resp.status == 200 + + async def _start_playback(self): + headers = {"x-recording-id": self._recording_id} + url = self.args.test_proxy + "/playback/start" + async with self._session.post(url, headers=headers) as resp: + assert resp.status == 200 + self._recording_id = resp.headers["x-recording-id"] + @staticmethod def add_arguments(parser): """ From 4d69891427e16c6628a21b3752d305bc491551c6 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:19:00 -0700 Subject: [PATCH 16/45] Sync eng/common directory with azure-sdk-tools for PR 1716 (#19366) * Update links with master to use main * Update ci.yml files Co-authored-by: Chidozie Ononiwu --- eng/common/README.md | 2 +- eng/common/docgeneration/Generate-DocIndex.ps1 | 2 +- eng/common/pipelines/templates/steps/check-spelling.yml | 2 +- .../pipelines/templates/steps/docs-metadata-release.yml | 2 +- .../templates/steps/eng-common-workflow-enforcer.yml | 2 +- eng/common/scripts/Create-APIReview.ps1 | 4 ++-- eng/common/scripts/Package-Properties.ps1 | 4 ++-- eng/common/scripts/Prepare-Release.ps1 | 2 +- eng/common/scripts/Update-DocsMsPackages.ps1 | 2 +- eng/common/scripts/artifact-metadata-parsing.ps1 | 2 +- eng/common/scripts/copy-docs-to-blobstorage.ps1 | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/eng/common/README.md b/eng/common/README.md index b9867f0705e2..732688daadc0 100644 --- a/eng/common/README.md +++ b/eng/common/README.md @@ -1,3 +1,3 @@ # Common Engineering System -Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md) +Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md) diff --git a/eng/common/docgeneration/Generate-DocIndex.ps1 b/eng/common/docgeneration/Generate-DocIndex.ps1 index 82b3a75e4e53..cf9b5f06ff95 100644 --- a/eng/common/docgeneration/Generate-DocIndex.ps1 +++ b/eng/common/docgeneration/Generate-DocIndex.ps1 @@ -177,5 +177,5 @@ else { LogWarning "The function for 'GetGithubIoDocIndexFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } diff --git a/eng/common/pipelines/templates/steps/check-spelling.yml b/eng/common/pipelines/templates/steps/check-spelling.yml index 3865a3f26ece..986d729fc30c 100644 --- a/eng/common/pipelines/templates/steps/check-spelling.yml +++ b/eng/common/pipelines/templates/steps/check-spelling.yml @@ -2,7 +2,7 @@ # and some ref (branch, tag, etc.) or commit hash. Only runs on PRs. # ContinueOnError - true: Pipeline warns on spelling error # false: Pipeline fails on spelling error -# TargetBranch - Target ref (e.g. master) to compare to create file change +# TargetBranch - Target ref (e.g. main) to compare to create file change # list. # CspellConfigPath - Path to cspell.json config location diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index b3c844422585..2f58b90d4d10 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -26,7 +26,7 @@ parameters: default: '' - name: PRBranchName type: string - default: 'master-rdme' + default: 'main-rdme' - name: PRLabels type: string default: 'auto-merge' diff --git a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml index 0125e6cbacee..b68e1cd0c27a 100644 --- a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml +++ b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml @@ -16,7 +16,7 @@ steps: if (($LASTEXITCODE -eq 0) -and ($filesInCommonDir.Count -gt 0)) { Write-Host "##vso[task.LogIssue type=error;]Changes to files under 'eng/common' directory should not be made in this Repo`n${filesInCommonDir}" - Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md" + Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md" exit 1 } } diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index 8b9007253274..0ef5e0ba6818 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -71,7 +71,7 @@ else { Write-Host "The function for 'FindArtifactForApiReviewFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit(1) } @@ -104,7 +104,7 @@ if ($packages) Write-Host "Version: $($version)" Write-Host "SDK Type: $($pkgInfo.SdkType)" - # Run create review step only if build is triggered from master branch or if version is GA. + # Run create review step only if build is triggered from main branch or if version is GA. # This is to avoid invalidating review status by a build triggered from feature branch if ( ($SourceBranch -eq $DefaultBranch) -or (-not $version.IsPrerelease)) { diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 3aadc8d58064..64698a181b7e 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -126,7 +126,7 @@ function Get-AllPkgProperties ([string]$ServiceDirectory = $null) return $pkgPropsResult } -# Given the metadata url under https://github.com/Azure/azure-sdk/tree/master/_data/releases/latest, +# Given the metadata url under https://github.com/Azure/azure-sdk/tree/main/_data/releases/latest, # the function will return the csv metadata back as part of response. function Get-CSVMetadata ([string]$MetadataUri=$MetadataUri) { @@ -143,7 +143,7 @@ function Get-PkgPropsForEntireService ($serviceDirectoryPath) { LogError "The function for '$GetPackageInfoFromRepoFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } foreach ($directory in (Get-ChildItem $serviceDirectoryPath -Directory)) diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1 index eed113299a2e..95f175d3fdaf 100644 --- a/eng/common/scripts/Prepare-Release.ps1 +++ b/eng/common/scripts/Prepare-Release.ps1 @@ -180,7 +180,7 @@ else { LogError "The function 'SetPackageVersion' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index 2d43127b2b14..4292200f3b6f 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -31,6 +31,6 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn")) } else { LogError "The function for '$UpdateFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/artifact-metadata-parsing.ps1 b/eng/common/scripts/artifact-metadata-parsing.ps1 index 2339155b359d..dc96ee917288 100644 --- a/eng/common/scripts/artifact-metadata-parsing.ps1 +++ b/eng/common/scripts/artifact-metadata-parsing.ps1 @@ -101,7 +101,7 @@ function RetrievePackages($artifactLocation) { { LogError "The function for '$GetPackageInfoFromPackageFileFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } } diff --git a/eng/common/scripts/copy-docs-to-blobstorage.ps1 b/eng/common/scripts/copy-docs-to-blobstorage.ps1 index 7864e9680f1f..f037dcf51e4f 100644 --- a/eng/common/scripts/copy-docs-to-blobstorage.ps1 +++ b/eng/common/scripts/copy-docs-to-blobstorage.ps1 @@ -240,6 +240,6 @@ else { LogWarning "The function for '$PublishGithubIODocsFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } From 12e427410cfe2b745f41c3003cc90b5e15bf9739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:27:50 -0700 Subject: [PATCH 17/45] [Key Vault] Update test-resources.json for new MHSM API (#19311) --- sdk/keyvault/test-resources.json | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/sdk/keyvault/test-resources.json b/sdk/keyvault/test-resources.json index ad86a7906503..e40bb34d8844 100644 --- a/sdk/keyvault/test-resources.json +++ b/sdk/keyvault/test-resources.json @@ -60,13 +60,6 @@ "description": "Whether to enable deployment of Managed HSM. The default is false." } }, - "enableSoftDelete": { - "type": "bool", - "defaultValue": true, - "metadata": { - "description": "Whether to enable soft delete for the Key Vault. The default is true." - } - }, "keyVaultDomainSuffix": { "type": "string", "defaultValue": ".vault.azure.net", @@ -84,7 +77,7 @@ }, "variables": { "azureKeyVaultUrl": "[format('https://{0}{1}', parameters('baseName'), parameters('keyVaultDomainSuffix'))]", - "hsmApiVersion": "2020-04-01-preview", + "hsmApiVersion": "2021-04-01-preview", "hsmName": "[concat(parameters('baseName'), 'hsm')]", "mgmtApiVersion": "2019-04-01", "blobContainerName": "backup", @@ -99,10 +92,8 @@ }, "networkAcls": { "bypass": "AzureServices", - "virtualNetworkRules": [ - ], - "ipRules": [ - ], + "virtualNetworkRules": [], + "ipRules": [], "defaultAction": "Allow" } }, @@ -175,7 +166,7 @@ "enabledForDeployment": false, "enabledForDiskEncryption": false, "enabledForTemplateDeployment": false, - "enableSoftDelete": "[parameters('enableSoftDelete')]" + "enableSoftDelete": true } }, { @@ -194,7 +185,9 @@ "[parameters('testApplicationOid')]" ], "enablePurgeProtection": false, - "enableSoftDelete": "[parameters('enableSoftDelete')]" + "enableSoftDelete": true, + "publicNetworkAccess": "Enabled", + "networkAcls": "[variables('networkAcls')]" } }, { From 5de5861ad3d91b4b4e78b8fe282a127d60db5933 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:41:33 -0700 Subject: [PATCH 18/45] Sync eng/common directory with azure-sdk-tools for PR 1719 (#19377) * Update pipeline generation tool version Consume latest changes from pipeline generation tool in https://github.com/Azure/azure-sdk-tools/pull/1708 * Update tool version to include fix for public ci Co-authored-by: Wes Haggard --- .../pipelines/templates/steps/install-pipeline-generation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml index d0da703285f3..d368d52595b3 100644 --- a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml +++ b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml @@ -9,7 +9,7 @@ steps: - script: > dotnet tool install Azure.Sdk.Tools.PipelineGenerator - --version 1.0.2-dev.20210309.1 + --version 1.0.2-dev.20210621.4 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk/nuget/v3/index.json --tool-path ${{parameters.ToolPath}} workingDirectory: $(Pipeline.Workspace)/pipeline-generator From 6f2695b28b4404fe5c7aeb8bf9c945a34f393ee2 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Mon, 21 Jun 2021 16:53:10 -0700 Subject: [PATCH 19/45] Workspaces must be a single param (#19344) * Workspaces must be common * tests yml * lint * changelog * Update sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py --- sdk/monitor/azure-monitor-query/CHANGELOG.md | 3 ++ .../azure/monitor/query/_log_query_client.py | 17 +++--- .../azure/monitor/query/_models.py | 47 ++++------------ .../query/aio/_log_query_client_async.py | 17 +++--- .../sample_log_query_client_without_pandas.py | 3 -- .../sample_log_query_multiple_workspaces.py | 38 +++++++++++++ .../tests/async/test_logs_client_async.py | 54 +++++++++++++++++-- .../tests/test_logs_client.py | 52 ++++++++++++++++-- sdk/monitor/tests.yml | 1 + 9 files changed, 165 insertions(+), 67 deletions(-) create mode 100644 sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py diff --git a/sdk/monitor/azure-monitor-query/CHANGELOG.md b/sdk/monitor/azure-monitor-query/CHANGELOG.md index 0c2d52088ef2..79b22797cf66 100644 --- a/sdk/monitor/azure-monitor-query/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-query/CHANGELOG.md @@ -6,6 +6,9 @@ ### Breaking Changes +- `workspaces`, `workspace_ids`, `qualified_names` and `azure_resource_ids` are now merged into a single `additional_workspaces` list in the query API. +- The `LogQueryRequest` object now takes in a `workspace_id` and `additional_workspaces` instead of `workspace`. + ### Key Bugs Fixed ### Fixed diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py index 3f618ff41214..bc3176afb22c 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py @@ -10,9 +10,9 @@ from ._generated._monitor_query_client import MonitorQueryClient -from ._generated.models import BatchRequest +from ._generated.models import BatchRequest, QueryBody as LogsQueryBody from ._helpers import get_authentication_policy, process_error, construct_iso8601 -from ._models import LogsQueryResults, LogsQueryRequest, LogsQueryBody, LogsBatchResults +from ._models import LogsQueryResults, LogsQueryRequest, LogsBatchResults if TYPE_CHECKING: from azure.core.credentials import TokenCredential @@ -76,14 +76,9 @@ def query(self, workspace_id, query, duration=None, **kwargs): :keyword bool include_render: In the query language, it is possible to specify different render options. By default, the API does not return information regarding the type of visualization to show. If your client requires this information, specify the preference - :keyword workspaces: A list of workspaces that are included in the query. - :paramtype workspaces: list[str] - :keyword qualified_names: A list of qualified workspace names that are included in the query. - :paramtype qualified_names: list[str] - :keyword workspace_ids: A list of workspace IDs that are included in the query. - :paramtype workspace_ids: list[str] - :keyword azure_resource_ids: A list of Azure resource IDs that are included in the query. - :paramtype azure_resource_ids: list[str] + :keyword additional_workspaces: A list of workspaces that are included in the query. + These can be qualified workspace names, workspsce Ids or Azure resource Ids. + :paramtype additional_workspaces: list[str] :return: QueryResults, or the result of cls(response) :rtype: ~azure.monitor.query.LogsQueryResults :raises: ~azure.core.exceptions.HttpResponseError @@ -103,6 +98,7 @@ def query(self, workspace_id, query, duration=None, **kwargs): include_statistics = kwargs.pop("include_statistics", False) include_render = kwargs.pop("include_render", False) server_timeout = kwargs.pop("server_timeout", None) + workspaces = kwargs.pop("additional_workspaces", None) prefer = "" if server_timeout: @@ -119,6 +115,7 @@ def query(self, workspace_id, query, duration=None, **kwargs): body = LogsQueryBody( query=query, timespan=timespan, + workspaces=workspaces, **kwargs ) diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py index cf1e1a90af9c..c0ffc4848879 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py @@ -11,7 +11,6 @@ from ._helpers import order_results, construct_iso8601 from ._generated.models import ( Column as InternalColumn, - QueryBody as InternalQueryBody, LogQueryRequest as InternalLogQueryRequest, ErrorDetails as InternalErrorDetails ) @@ -151,6 +150,8 @@ class LogsQueryRequest(InternalLogQueryRequest): Variables are only populated by the server, and will be ignored when sending a request. + :param workspace_id: Workspace Id to be included in the query. + :type workspace_id: str :param query: The Analytics query. Learn more about the `Analytics query syntax `_. :type query: str @@ -161,60 +162,30 @@ class LogsQueryRequest(InternalLogQueryRequest): with either end_time or duration. :keyword datetime end_time: The end time till which to query the data. This should be accompanied with either start_time or duration. - :param workspace: Workspace Id to be included in the query. - :type workspace: str + :keyword additional_workspaces: A list of workspaces that are included in the query. + These can be qualified workspace names, workspsce Ids or Azure resource Ids. + :paramtype additional_workspaces: list[str] :keyword request_id: The error details. :paramtype request_id: str :keyword headers: Dictionary of :code:``. :paramtype headers: dict[str, str] """ - def __init__(self, query, workspace, duration=None, **kwargs): + def __init__(self, query, workspace_id, duration=None, **kwargs): # type: (str, str, Optional[str], Any) -> None super(LogsQueryRequest, self).__init__(**kwargs) start = kwargs.pop('start_time', None) end = kwargs.pop('end_time', None) timespan = construct_iso8601(start, end, duration) + additional_workspaces = kwargs.pop("additional_workspaces", None) self.id = kwargs.get("request_id", str(uuid.uuid4())) self.headers = kwargs.get("headers", None) self.body = { - "query": query, "timespan": timespan + "query": query, "timespan": timespan, "workspaces": additional_workspaces } - self.workspace = workspace + self.workspace = workspace_id -class LogsQueryBody(InternalQueryBody): - """The Analytics query. Learn more about the - `Analytics query syntax `_. - - All required parameters must be populated in order to send to Azure. - - :param query: Required. The query to execute. - :type query: str - :keyword timespan: Optional. The timespan over which to query data. This is an ISO8601 time - period value. This timespan is applied in addition to any that are specified in the query - expression. - :paramtype timespan: str - :keyword workspaces: A list of workspaces that are included in the query. - :paramtype workspaces: list[str] - :keyword qualified_names: A list of qualified workspace names that are included in the query. - :paramtype qualified_names: list[str] - :keyword workspace_ids: A list of workspace IDs that are included in the query. - :paramtype workspace_ids: list[str] - :keyword azure_resource_ids: A list of Azure resource IDs that are included in the query. - :paramtype azure_resource_ids: list[str] - """ - - def __init__(self, query, timespan=None, **kwargs): - # type: (str, Optional[str], Any) -> None - kwargs.setdefault("query", query) - kwargs.setdefault("timespan", timespan) - super(LogsQueryBody, self).__init__(**kwargs) - self.workspaces = kwargs.get("workspaces", None) - self.qualified_names = kwargs.get("qualified_names", None) - self.workspace_ids = kwargs.get("workspace_ids", None) - self.azure_resource_ids = kwargs.get("azure_resource_ids", None) - class LogsQueryResult(object): """The LogsQueryResult. diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_log_query_client_async.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_log_query_client_async.py index cc743a7f8f5c..c100c5791355 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_log_query_client_async.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_log_query_client_async.py @@ -9,9 +9,9 @@ from azure.core.exceptions import HttpResponseError from .._generated.aio._monitor_query_client import MonitorQueryClient -from .._generated.models import BatchRequest +from .._generated.models import BatchRequest, QueryBody as LogsQueryBody from .._helpers import process_error, construct_iso8601 -from .._models import LogsQueryResults, LogsQueryRequest, LogsQueryBody, LogsBatchResults +from .._models import LogsQueryResults, LogsQueryRequest, LogsBatchResults from ._helpers_asyc import get_authentication_policy if TYPE_CHECKING: @@ -69,14 +69,9 @@ async def query( :keyword bool include_render: In the query language, it is possible to specify different render options. By default, the API does not return information regarding the type of visualization to show. If your client requires this information, specify the preference - :keyword workspaces: A list of workspaces that are included in the query. - :paramtype workspaces: list[str] - :keyword qualified_names: A list of qualified workspace names that are included in the query. - :paramtype qualified_names: list[str] - :keyword workspace_ids: A list of workspace IDs that are included in the query. - :paramtype workspace_ids: list[str] - :keyword azure_resource_ids: A list of Azure resource IDs that are included in the query. - :paramtype azure_resource_ids: list[str] + :keyword additional_workspaces: A list of workspaces that are included in the query. + These can be qualified workspace names, workspsce Ids or Azure resource Ids. + :paramtype additional_workspaces: list[str] :return: QueryResults, or the result of cls(response) :rtype: ~azure.monitor.query.LogsQueryResults :raises: ~azure.core.exceptions.HttpResponseError @@ -87,6 +82,7 @@ async def query( include_statistics = kwargs.pop("include_statistics", False) include_render = kwargs.pop("include_render", False) server_timeout = kwargs.pop("server_timeout", None) + additional_workspaces = kwargs.pop("additional_workspaces", None) prefer = "" if server_timeout: @@ -103,6 +99,7 @@ async def query( body = LogsQueryBody( query=query, timespan=timespan, + workspaces=additional_workspaces, **kwargs ) diff --git a/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py index 69538566582e..fa74b229e3ed 100644 --- a/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py +++ b/sdk/monitor/azure-monitor-query/samples/sample_log_query_client_without_pandas.py @@ -7,7 +7,6 @@ from azure.monitor.query import LogsQueryClient from azure.identity import ClientSecretCredential -# [START client_auth_with_token_cred] credential = ClientSecretCredential( client_id = os.environ['AZURE_CLIENT_ID'], client_secret = os.environ['AZURE_CLIENT_SECRET'], @@ -15,11 +14,9 @@ ) client = LogsQueryClient(credential) -# [END client_auth_with_token_cred] # Response time trend # request duration over the last 12 hours. -# [START send_logs_query] query = """AppRequests | summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""" diff --git a/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py b/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py new file mode 100644 index 000000000000..dcaf828e5145 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/samples/sample_log_query_multiple_workspaces.py @@ -0,0 +1,38 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + +import os +import pandas as pd +from datetime import datetime +from msrest.serialization import UTC +from azure.monitor.query import LogsQueryClient +from azure.identity import ClientSecretCredential + +credential = ClientSecretCredential( + client_id = os.environ['AZURE_CLIENT_ID'], + client_secret = os.environ['AZURE_CLIENT_SECRET'], + tenant_id = os.environ['AZURE_TENANT_ID'] + ) + +client = LogsQueryClient(credential) + +# Response time trend +# request duration over the last 12 hours. +query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" + +end_time = datetime.now(UTC()) + +# returns LogsQueryResults +response = client.query( + os.environ['LOG_WORKSPACE_ID'], + query, + additional_workspaces=[os.environ["SECONDARY_WORKSPACE_ID"]], + ) + +if not response.tables: + print("No results for the query") + +for table in response.tables: + df = pd.DataFrame(table.rows, columns=[col.name for col in table.columns]) + print(df) + diff --git a/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py b/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py index 415df83393ee..e0fe0f6241a5 100644 --- a/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py +++ b/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py @@ -47,20 +47,68 @@ async def test_logs_batch_query(): LogsQueryRequest( query="AzureActivity | summarize count()", timespan="PT1H", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( query= """AppRequests | take 10 | summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""", timespan="PT1H", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( query= "AppRequests | take 2", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), ] response = await client.batch_query(requests) assert len(response.responses) == 3 +@pytest.mark.live_test_only +@pytest.mark.asyncio +async def test_logs_single_query_additional_workspaces_async(): + credential = _credential() + client = LogsQueryClient(credential) + query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" + + # returns LogsQueryResults + response = await client.query( + os.environ['LOG_WORKSPACE_ID'], + query, + additional_workspaces=[os.environ["SECONDARY_WORKSPACE_ID"]], + ) + + assert response + assert len(response.tables[0].rows) == 2 + +@pytest.mark.live_test_only +@pytest.mark.asyncio +async def test_logs_batch_query_additional_workspaces(): + client = LogsQueryClient(_credential()) + query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" + + requests = [ + LogsQueryRequest( + query, + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + LogsQueryRequest( + query, + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + LogsQueryRequest( + query, + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + ] + response = await client.batch_query(requests) + + assert len(response.responses) == 3 + + for resp in response.responses: + assert len(resp.body.tables[0].rows) == 2 diff --git a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py index 97d225e7c853..d3c0ffb8fce6 100644 --- a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py +++ b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py @@ -68,20 +68,66 @@ def test_logs_batch_query(): LogsQueryRequest( query="AzureActivity | summarize count()", timespan="PT1H", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( query= """AppRequests | take 10 | summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""", timespan="PT1H", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( query= "AppRequests | take 2", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), ] response = client.batch_query(requests) assert len(response.responses) == 3 +@pytest.mark.live_test_only +def test_logs_single_query_additional_workspaces(): + credential = _credential() + client = LogsQueryClient(credential) + query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" + + # returns LogsQueryResults + response = client.query( + os.environ['LOG_WORKSPACE_ID'], + query, + additional_workspaces=[os.environ["SECONDARY_WORKSPACE_ID"]], + ) + + assert response is not None + assert len(response.tables[0].rows) == 2 + +@pytest.mark.live_test_only +def test_logs_batch_query_additional_workspaces(): + client = LogsQueryClient(_credential()) + query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" + + requests = [ + LogsQueryRequest( + query, + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + LogsQueryRequest( + query, + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + LogsQueryRequest( + query, + workspace_id= os.environ['LOG_WORKSPACE_ID'], + additional_workspaces=[os.environ['SECONDARY_WORKSPACE_ID']] + ), + ] + response = client.batch_query(requests) + + assert len(response.responses) == 3 + + for resp in response.responses: + assert len(resp.body.tables[0].rows) == 2 diff --git a/sdk/monitor/tests.yml b/sdk/monitor/tests.yml index b4e25640e0f7..8bba87e8b524 100644 --- a/sdk/monitor/tests.yml +++ b/sdk/monitor/tests.yml @@ -12,5 +12,6 @@ stages: AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id) AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret) LOG_WORKSPACE_ID: $(azure-monitor-query-log-workspace) + SECONDARY_WORKSPACE_ID: $(python-query-secondary-workspace-id) METRICS_RESOURCE_URI: $(azure-monitor-query-metrics-uri) AZURE_TEST_RUN_LIVE: 'true' From 53d3f97d062f0fe8e1f23ba3d7122114f7b670ae Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Tue, 22 Jun 2021 09:54:47 +0800 Subject: [PATCH 20/45] [AutoRelease] t2-cosmosdb-2021-06-22-52995 (#19380) * CodeGen from PR 14627 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2021-06-15 (#14627) * Adds base for updating Microsoft.DocumentDB from version stable/2021-04-15 to version 2021-06-15 * Updates readme * Updates API version in new specs and examples * PITR apis to stable version * Fixing readme * Adding parameters * Fixing restorable.json * Fixing linter errors * missing ref * Unflattening the DatabaseAccountCreateUpdateProperties * Adds base for updating Microsoft.DocumentDB from version stable/2021-05-15 to version 2021-06-15 * Updates readme * Updates API version in new specs and examples * Adding the restorable json to readme * Added disableLocalAuth flag to DatabaseAccount CRU operations. * Adding Backup policy migration state * Fixing linter errors * Fixing linter warnings * Fixing breaking change Co-authored-by: ayanMSFT <53790657+ayanMSFT@users.noreply.github.com> * version,CHANGELOG Co-authored-by: SDKAuto Co-authored-by: ayanMSFT <53790657+ayanMSFT@users.noreply.github.com> Co-authored-by: PythonSdkPipelines --- sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md | 28 + sdk/cosmos/azure-mgmt-cosmosdb/_meta.json | 9 +- .../azure/mgmt/cosmosdb/_configuration.py | 2 +- .../cosmosdb/_cosmos_db_management_client.py | 43 +- .../azure/mgmt/cosmosdb/_metadata.json | 13 +- .../azure/mgmt/cosmosdb/_version.py | 2 +- .../azure/mgmt/cosmosdb/aio/_configuration.py | 2 +- .../aio/_cosmos_db_management_client.py | 43 +- .../mgmt/cosmosdb/aio/operations/__init__.py | 18 +- .../_cassandra_resources_operations.py | 176 +- .../aio/operations/_collection_operations.py | 18 +- .../_collection_partition_operations.py | 12 +- ..._collection_partition_region_operations.py | 6 +- .../_collection_region_operations.py | 6 +- .../_database_account_region_operations.py | 6 +- .../_database_accounts_operations.py | 160 +- .../aio/operations/_database_operations.py | 18 +- .../_gremlin_resources_operations.py | 176 +- .../_mongo_db_resources_operations.py | 176 +- .../_notebook_workspaces_operations.py | 74 +- .../cosmosdb/aio/operations/_operations.py | 4 +- .../_partition_key_range_id_operations.py | 6 +- ...artition_key_range_id_region_operations.py | 6 +- .../aio/operations/_percentile_operations.py | 6 +- .../_percentile_source_target_operations.py | 6 +- .../_percentile_target_operations.py | 6 +- ...private_endpoint_connections_operations.py | 40 +- .../_private_link_resources_operations.py | 12 +- ...restorable_database_accounts_operations.py | 12 +- ...storable_mongodb_collections_operations.py | 4 +- ...restorable_mongodb_databases_operations.py | 4 +- ...restorable_mongodb_resources_operations.py | 4 +- .../_restorable_sql_containers_operations.py | 4 +- .../_restorable_sql_databases_operations.py | 4 +- .../_restorable_sql_resources_operations.py | 4 +- .../operations/_sql_resources_operations.py | 516 +++--- .../operations/_table_resources_operations.py | 88 +- .../azure/mgmt/cosmosdb/models/__init__.py | 95 ++ .../_cosmos_db_management_client_enums.py | 58 + .../azure/mgmt/cosmosdb/models/_models.py | 1392 ++++++++++++++-- .../azure/mgmt/cosmosdb/models/_models_py3.py | 1464 +++++++++++++++-- .../mgmt/cosmosdb/operations/__init__.py | 18 +- .../_cassandra_resources_operations.py | 124 +- .../operations/_collection_operations.py | 12 +- .../_collection_partition_operations.py | 8 +- ..._collection_partition_region_operations.py | 4 +- .../_collection_region_operations.py | 4 +- .../_database_account_region_operations.py | 4 +- .../_database_accounts_operations.py | 110 +- .../operations/_database_operations.py | 12 +- .../_gremlin_resources_operations.py | 124 +- .../_mongo_db_resources_operations.py | 124 +- .../_notebook_workspaces_operations.py | 52 +- .../mgmt/cosmosdb/operations/_operations.py | 2 +- .../_partition_key_range_id_operations.py | 4 +- ...artition_key_range_id_region_operations.py | 4 +- .../operations/_percentile_operations.py | 4 +- .../_percentile_source_target_operations.py | 4 +- .../_percentile_target_operations.py | 4 +- ...private_endpoint_connections_operations.py | 28 +- .../_private_link_resources_operations.py | 8 +- ...restorable_database_accounts_operations.py | 6 +- ...storable_mongodb_collections_operations.py | 2 +- ...restorable_mongodb_databases_operations.py | 2 +- ...restorable_mongodb_resources_operations.py | 2 +- .../_restorable_sql_containers_operations.py | 2 +- .../_restorable_sql_databases_operations.py | 2 +- .../_restorable_sql_resources_operations.py | 2 +- .../operations/_sql_resources_operations.py | 406 +++-- .../operations/_table_resources_operations.py | 62 +- 70 files changed, 4303 insertions(+), 1560 deletions(-) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md b/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md index 3b09b6db9bd0..3026fe67a525 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md +++ b/sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md @@ -1,5 +1,33 @@ # Release History +## 6.4.0 (2021-06-22) + +**Features** + + - Model ContinuousModeBackupPolicy has a new parameter migration_state + - Model DatabaseAccountGetResults has a new parameter restore_parameters + - Model DatabaseAccountGetResults has a new parameter analytical_storage_configuration + - Model DatabaseAccountGetResults has a new parameter system_data + - Model DatabaseAccountGetResults has a new parameter instance_id + - Model DatabaseAccountGetResults has a new parameter disable_local_auth + - Model DatabaseAccountGetResults has a new parameter create_mode + - Model BackupPolicy has a new parameter migration_state + - Model DatabaseAccountCreateUpdateParameters has a new parameter analytical_storage_configuration + - Model DatabaseAccountCreateUpdateParameters has a new parameter restore_parameters + - Model DatabaseAccountCreateUpdateParameters has a new parameter disable_local_auth + - Model DatabaseAccountCreateUpdateParameters has a new parameter create_mode + - Model PeriodicModeBackupPolicy has a new parameter migration_state + - Model DatabaseAccountUpdateParameters has a new parameter analytical_storage_configuration + - Model DatabaseAccountUpdateParameters has a new parameter disable_local_auth + - Added operation SqlResourcesOperations.begin_retrieve_continuous_backup_information + - Added operation group RestorableMongodbDatabasesOperations + - Added operation group RestorableDatabaseAccountsOperations + - Added operation group RestorableSqlDatabasesOperations + - Added operation group RestorableSqlContainersOperations + - Added operation group RestorableMongodbResourcesOperations + - Added operation group RestorableMongodbCollectionsOperations + - Added operation group RestorableSqlResourcesOperations + ## 6.3.0 (2021-05-14) **Breaking changes** diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json index 82f96815756a..847fc8ff8a25 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json +++ b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json @@ -1,8 +1,11 @@ { "autorest": "3.4.2", - "use": "@autorest/python@5.6.6", - "commit": "c6a18a2e52c498ab976dddd807221c2a12d5f9d1", + "use": [ + "@autorest/python@5.8.0", + "@autorest/modelerfour@4.19.2" + ], + "commit": "f780b571abddf2fc99233212a00510d3bef6878d", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.4.2", + "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/cosmos-db/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_configuration.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_configuration.py index cee6f30e6db8..6139eba8b244 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_configuration.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-15" + self.api_version = "2021-06-15" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-cosmosdb/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db_management_client.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db_management_client.py index 604c21e3349d..b3d7828522b4 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db_management_client.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db_management_client.py @@ -38,8 +38,15 @@ from .operations import CassandraResourcesOperations from .operations import GremlinResourcesOperations from .operations import NotebookWorkspacesOperations -from .operations import PrivateLinkResourcesOperations from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import RestorableDatabaseAccountsOperations +from .operations import RestorableSqlDatabasesOperations +from .operations import RestorableSqlContainersOperations +from .operations import RestorableSqlResourcesOperations +from .operations import RestorableMongodbDatabasesOperations +from .operations import RestorableMongodbCollectionsOperations +from .operations import RestorableMongodbResourcesOperations from . import models @@ -84,10 +91,24 @@ class CosmosDBManagementClient(object): :vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations :ivar notebook_workspaces: NotebookWorkspacesOperations operations :vartype notebook_workspaces: azure.mgmt.cosmosdb.operations.NotebookWorkspacesOperations - :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.cosmosdb.operations.PrivateLinkResourcesOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations :vartype private_endpoint_connections: azure.mgmt.cosmosdb.operations.PrivateEndpointConnectionsOperations + :ivar private_link_resources: PrivateLinkResourcesOperations operations + :vartype private_link_resources: azure.mgmt.cosmosdb.operations.PrivateLinkResourcesOperations + :ivar restorable_database_accounts: RestorableDatabaseAccountsOperations operations + :vartype restorable_database_accounts: azure.mgmt.cosmosdb.operations.RestorableDatabaseAccountsOperations + :ivar restorable_sql_databases: RestorableSqlDatabasesOperations operations + :vartype restorable_sql_databases: azure.mgmt.cosmosdb.operations.RestorableSqlDatabasesOperations + :ivar restorable_sql_containers: RestorableSqlContainersOperations operations + :vartype restorable_sql_containers: azure.mgmt.cosmosdb.operations.RestorableSqlContainersOperations + :ivar restorable_sql_resources: RestorableSqlResourcesOperations operations + :vartype restorable_sql_resources: azure.mgmt.cosmosdb.operations.RestorableSqlResourcesOperations + :ivar restorable_mongodb_databases: RestorableMongodbDatabasesOperations operations + :vartype restorable_mongodb_databases: azure.mgmt.cosmosdb.operations.RestorableMongodbDatabasesOperations + :ivar restorable_mongodb_collections: RestorableMongodbCollectionsOperations operations + :vartype restorable_mongodb_collections: azure.mgmt.cosmosdb.operations.RestorableMongodbCollectionsOperations + :ivar restorable_mongodb_resources: RestorableMongodbResourcesOperations operations + :vartype restorable_mongodb_resources: azure.mgmt.cosmosdb.operations.RestorableMongodbResourcesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. @@ -152,9 +173,23 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.notebook_workspaces = NotebookWorkspacesOperations( self._client, self._config, self._serialize, self._deserialize) + self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) - self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self.restorable_database_accounts = RestorableDatabaseAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_databases = RestorableSqlDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_containers = RestorableSqlContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_resources = RestorableSqlResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_databases = RestorableMongodbDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_collections = RestorableMongodbCollectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_resources = RestorableMongodbResourcesOperations( self._client, self._config, self._serialize, self._deserialize) def _send_request(self, http_request, **kwargs): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_metadata.json b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_metadata.json index 93dbf27a7c38..5768fa11a66c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_metadata.json +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_metadata.json @@ -1,6 +1,6 @@ { - "chosen_version": "2021-04-15", - "total_api_version_list": ["2021-04-15"], + "chosen_version": "2021-06-15", + "total_api_version_list": ["2021-06-15"], "client": { "name": "CosmosDBManagementClient", "filename": "_cosmos_db_management_client", @@ -117,7 +117,14 @@ "cassandra_resources": "CassandraResourcesOperations", "gremlin_resources": "GremlinResourcesOperations", "notebook_workspaces": "NotebookWorkspacesOperations", + "private_endpoint_connections": "PrivateEndpointConnectionsOperations", "private_link_resources": "PrivateLinkResourcesOperations", - "private_endpoint_connections": "PrivateEndpointConnectionsOperations" + "restorable_database_accounts": "RestorableDatabaseAccountsOperations", + "restorable_sql_databases": "RestorableSqlDatabasesOperations", + "restorable_sql_containers": "RestorableSqlContainersOperations", + "restorable_sql_resources": "RestorableSqlResourcesOperations", + "restorable_mongodb_databases": "RestorableMongodbDatabasesOperations", + "restorable_mongodb_collections": "RestorableMongodbCollectionsOperations", + "restorable_mongodb_resources": "RestorableMongodbResourcesOperations" } } \ No newline at end of file diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py index f519b2e2f369..fba0344fbc7b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.3.0" +VERSION = "6.4.0" diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_configuration.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_configuration.py index 32f8133bbff7..89ca29f296f9 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_configuration.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-15" + self.api_version = "2021-06-15" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-cosmosdb/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_cosmos_db_management_client.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_cosmos_db_management_client.py index 8519a3f95c93..c38011978b58 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_cosmos_db_management_client.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/_cosmos_db_management_client.py @@ -36,8 +36,15 @@ from .operations import CassandraResourcesOperations from .operations import GremlinResourcesOperations from .operations import NotebookWorkspacesOperations -from .operations import PrivateLinkResourcesOperations from .operations import PrivateEndpointConnectionsOperations +from .operations import PrivateLinkResourcesOperations +from .operations import RestorableDatabaseAccountsOperations +from .operations import RestorableSqlDatabasesOperations +from .operations import RestorableSqlContainersOperations +from .operations import RestorableSqlResourcesOperations +from .operations import RestorableMongodbDatabasesOperations +from .operations import RestorableMongodbCollectionsOperations +from .operations import RestorableMongodbResourcesOperations from .. import models @@ -82,10 +89,24 @@ class CosmosDBManagementClient(object): :vartype gremlin_resources: azure.mgmt.cosmosdb.aio.operations.GremlinResourcesOperations :ivar notebook_workspaces: NotebookWorkspacesOperations operations :vartype notebook_workspaces: azure.mgmt.cosmosdb.aio.operations.NotebookWorkspacesOperations - :ivar private_link_resources: PrivateLinkResourcesOperations operations - :vartype private_link_resources: azure.mgmt.cosmosdb.aio.operations.PrivateLinkResourcesOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations :vartype private_endpoint_connections: azure.mgmt.cosmosdb.aio.operations.PrivateEndpointConnectionsOperations + :ivar private_link_resources: PrivateLinkResourcesOperations operations + :vartype private_link_resources: azure.mgmt.cosmosdb.aio.operations.PrivateLinkResourcesOperations + :ivar restorable_database_accounts: RestorableDatabaseAccountsOperations operations + :vartype restorable_database_accounts: azure.mgmt.cosmosdb.aio.operations.RestorableDatabaseAccountsOperations + :ivar restorable_sql_databases: RestorableSqlDatabasesOperations operations + :vartype restorable_sql_databases: azure.mgmt.cosmosdb.aio.operations.RestorableSqlDatabasesOperations + :ivar restorable_sql_containers: RestorableSqlContainersOperations operations + :vartype restorable_sql_containers: azure.mgmt.cosmosdb.aio.operations.RestorableSqlContainersOperations + :ivar restorable_sql_resources: RestorableSqlResourcesOperations operations + :vartype restorable_sql_resources: azure.mgmt.cosmosdb.aio.operations.RestorableSqlResourcesOperations + :ivar restorable_mongodb_databases: RestorableMongodbDatabasesOperations operations + :vartype restorable_mongodb_databases: azure.mgmt.cosmosdb.aio.operations.RestorableMongodbDatabasesOperations + :ivar restorable_mongodb_collections: RestorableMongodbCollectionsOperations operations + :vartype restorable_mongodb_collections: azure.mgmt.cosmosdb.aio.operations.RestorableMongodbCollectionsOperations + :ivar restorable_mongodb_resources: RestorableMongodbResourcesOperations operations + :vartype restorable_mongodb_resources: azure.mgmt.cosmosdb.aio.operations.RestorableMongodbResourcesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The ID of the target subscription. @@ -149,9 +170,23 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.notebook_workspaces = NotebookWorkspacesOperations( self._client, self._config, self._serialize, self._deserialize) + self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) - self.private_endpoint_connections = PrivateEndpointConnectionsOperations( + self.restorable_database_accounts = RestorableDatabaseAccountsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_databases = RestorableSqlDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_containers = RestorableSqlContainersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_sql_resources = RestorableSqlResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_databases = RestorableMongodbDatabasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_collections = RestorableMongodbCollectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.restorable_mongodb_resources = RestorableMongodbResourcesOperations( self._client, self._config, self._serialize, self._deserialize) async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/__init__.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/__init__.py index 6e148cf5877a..a265f7a8b397 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/__init__.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/__init__.py @@ -25,8 +25,15 @@ from ._cassandra_resources_operations import CassandraResourcesOperations from ._gremlin_resources_operations import GremlinResourcesOperations from ._notebook_workspaces_operations import NotebookWorkspacesOperations -from ._private_link_resources_operations import PrivateLinkResourcesOperations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._restorable_database_accounts_operations import RestorableDatabaseAccountsOperations +from ._restorable_sql_databases_operations import RestorableSqlDatabasesOperations +from ._restorable_sql_containers_operations import RestorableSqlContainersOperations +from ._restorable_sql_resources_operations import RestorableSqlResourcesOperations +from ._restorable_mongodb_databases_operations import RestorableMongodbDatabasesOperations +from ._restorable_mongodb_collections_operations import RestorableMongodbCollectionsOperations +from ._restorable_mongodb_resources_operations import RestorableMongodbResourcesOperations __all__ = [ 'DatabaseAccountsOperations', @@ -48,6 +55,13 @@ 'CassandraResourcesOperations', 'GremlinResourcesOperations', 'NotebookWorkspacesOperations', - 'PrivateLinkResourcesOperations', 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'RestorableDatabaseAccountsOperations', + 'RestorableSqlDatabasesOperations', + 'RestorableSqlContainersOperations', + 'RestorableSqlResourcesOperations', + 'RestorableMongodbDatabasesOperations', + 'RestorableMongodbCollectionsOperations', + 'RestorableMongodbResourcesOperations', ] diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_cassandra_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_cassandra_resources_operations.py index 9e9996552432..c1351f65cd00 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_cassandra_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_cassandra_resources_operations.py @@ -47,7 +47,7 @@ def list_cassandra_keyspaces( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.CassandraKeyspaceListResult"]: """Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account. @@ -65,7 +65,7 @@ def list_cassandra_keyspaces( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_cassandra_keyspaces.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get_cassandra_keyspace( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.CassandraKeyspaceGetResults": """Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. @@ -143,14 +143,14 @@ async def get_cassandra_keyspace( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_keyspace.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -186,14 +186,14 @@ async def _create_update_cassandra_keyspace_initial( account_name: str, keyspace_name: str, create_update_cassandra_keyspace_parameters: "_models.CassandraKeyspaceCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.CassandraKeyspaceGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.CassandraKeyspaceGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -201,7 +201,7 @@ async def _create_update_cassandra_keyspace_initial( url = self._create_update_cassandra_keyspace_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_update_cassandra_keyspace( account_name: str, keyspace_name: str, create_update_cassandra_keyspace_parameters: "_models.CassandraKeyspaceCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.CassandraKeyspaceGetResults"]: """Create or update an Azure Cosmos DB Cassandra keyspace. @@ -258,8 +258,8 @@ async def begin_create_update_cassandra_keyspace( :type create_update_cassandra_keyspace_parameters: ~azure.mgmt.cosmosdb.models.CassandraKeyspaceCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CassandraKeyspaceGetResults or the result of cls(response) @@ -295,7 +295,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -319,20 +319,20 @@ async def _delete_cassandra_keyspace_initial( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_cassandra_keyspace_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -363,7 +363,7 @@ async def begin_delete_cassandra_keyspace( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB Cassandra keyspace. @@ -375,8 +375,8 @@ async def begin_delete_cassandra_keyspace( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -408,7 +408,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -432,7 +432,7 @@ async def get_cassandra_keyspace_throughput( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name. @@ -453,14 +453,14 @@ async def get_cassandra_keyspace_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_keyspace_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -496,14 +496,14 @@ async def _update_cassandra_keyspace_throughput_initial( account_name: str, keyspace_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _update_cassandra_keyspace_throughput_initial( url = self._update_cassandra_keyspace_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -553,7 +553,7 @@ async def begin_update_cassandra_keyspace_throughput( account_name: str, keyspace_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB Cassandra Keyspace. @@ -568,8 +568,8 @@ async def begin_update_cassandra_keyspace_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -605,7 +605,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -629,21 +629,21 @@ async def _migrate_cassandra_keyspace_to_autoscale_initial( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_keyspace_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -680,7 +680,7 @@ async def begin_migrate_cassandra_keyspace_to_autoscale( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale. @@ -692,8 +692,8 @@ async def begin_migrate_cassandra_keyspace_to_autoscale( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -728,7 +728,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -752,21 +752,21 @@ async def _migrate_cassandra_keyspace_to_manual_throughput_initial( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_keyspace_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -803,7 +803,7 @@ async def begin_migrate_cassandra_keyspace_to_manual_throughput( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput. @@ -815,8 +815,8 @@ async def begin_migrate_cassandra_keyspace_to_manual_throughput( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -851,7 +851,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -875,7 +875,7 @@ def list_cassandra_tables( resource_group_name: str, account_name: str, keyspace_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.CassandraTableListResult"]: """Lists the Cassandra table under an existing Azure Cosmos DB database account. @@ -895,7 +895,7 @@ def list_cassandra_tables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -908,7 +908,7 @@ def prepare_request(next_link=None): url = self.list_cassandra_tables.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -954,7 +954,7 @@ async def get_cassandra_table( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> "_models.CassandraTableGetResults": """Gets the Cassandra table under an existing Azure Cosmos DB database account. @@ -976,14 +976,14 @@ async def get_cassandra_table( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_table.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1021,14 +1021,14 @@ async def _create_update_cassandra_table_initial( keyspace_name: str, table_name: str, create_update_cassandra_table_parameters: "_models.CassandraTableCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.CassandraTableGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.CassandraTableGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1036,7 +1036,7 @@ async def _create_update_cassandra_table_initial( url = self._create_update_cassandra_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1080,7 +1080,7 @@ async def begin_create_update_cassandra_table( keyspace_name: str, table_name: str, create_update_cassandra_table_parameters: "_models.CassandraTableCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.CassandraTableGetResults"]: """Create or update an Azure Cosmos DB Cassandra Table. @@ -1097,8 +1097,8 @@ async def begin_create_update_cassandra_table( :type create_update_cassandra_table_parameters: ~azure.mgmt.cosmosdb.models.CassandraTableCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CassandraTableGetResults or the result of cls(response) @@ -1135,7 +1135,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1161,20 +1161,20 @@ async def _delete_cassandra_table_initial( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_cassandra_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1207,7 +1207,7 @@ async def begin_delete_cassandra_table( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB Cassandra table. @@ -1221,8 +1221,8 @@ async def begin_delete_cassandra_table( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1255,7 +1255,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1281,7 +1281,7 @@ async def get_cassandra_table_throughput( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name. @@ -1304,14 +1304,14 @@ async def get_cassandra_table_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_table_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1349,14 +1349,14 @@ async def _update_cassandra_table_throughput_initial( keyspace_name: str, table_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1364,7 +1364,7 @@ async def _update_cassandra_table_throughput_initial( url = self._update_cassandra_table_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1408,7 +1408,7 @@ async def begin_update_cassandra_table_throughput( keyspace_name: str, table_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB Cassandra table. @@ -1425,8 +1425,8 @@ async def begin_update_cassandra_table_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1463,7 +1463,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1489,21 +1489,21 @@ async def _migrate_cassandra_table_to_autoscale_initial( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_table_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1542,7 +1542,7 @@ async def begin_migrate_cassandra_table_to_autoscale( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale. @@ -1556,8 +1556,8 @@ async def begin_migrate_cassandra_table_to_autoscale( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1593,7 +1593,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1619,21 +1619,21 @@ async def _migrate_cassandra_table_to_manual_throughput_initial( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_table_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1672,7 +1672,7 @@ async def begin_migrate_cassandra_table_to_manual_throughput( account_name: str, keyspace_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput. @@ -1686,8 +1686,8 @@ async def begin_migrate_cassandra_table_to_manual_throughput( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1723,7 +1723,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_operations.py index 902f1512876b..11fe1e8d61e3 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_operations.py @@ -48,7 +48,7 @@ def list_metrics( database_rid: str, collection_rid: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account and collection. @@ -75,7 +75,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -88,7 +88,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -137,7 +137,7 @@ def list_usages( database_rid: str, collection_rid: str, filter: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.UsagesResult"]: """Retrieves the usages (most recent storage data) for the given collection. @@ -162,7 +162,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -175,7 +175,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -224,7 +224,7 @@ def list_metric_definitions( account_name: str, database_rid: str, collection_rid: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricDefinitionsListResult"]: """Retrieves metric definitions for the given collection. @@ -246,7 +246,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -259,7 +259,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_operations.py index 3a4eca3823ed..2c22d7db0441 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_operations.py @@ -48,7 +48,7 @@ def list_metrics( database_rid: str, collection_rid: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PartitionMetricListResult"]: """Retrieves the metrics determined by the given filter for the given collection, split by partition. @@ -75,7 +75,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -88,7 +88,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -137,7 +137,7 @@ def list_usages( database_rid: str, collection_rid: str, filter: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PartitionUsagesResult"]: """Retrieves the usages (most recent storage data) for the given collection, split by partition. @@ -162,7 +162,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -175,7 +175,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_region_operations.py index a4dc3d831b9f..e5153e7a51d1 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_partition_region_operations.py @@ -49,7 +49,7 @@ def list_metrics( database_rid: str, collection_rid: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PartitionMetricListResult"]: """Retrieves the metrics determined by the given filter for the given collection and region, split by partition. @@ -78,7 +78,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -91,7 +91,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_region_operations.py index 64f195bba166..13a8495c8e0b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_collection_region_operations.py @@ -49,7 +49,7 @@ def list_metrics( database_rid: str, collection_rid: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account, collection and region. @@ -78,7 +78,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -91,7 +91,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_account_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_account_region_operations.py index f10936ec9ea3..41b34c27dd1b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_account_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_account_region_operations.py @@ -47,7 +47,7 @@ def list_metrics( account_name: str, region: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account and region. @@ -71,7 +71,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -84,7 +84,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_accounts_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_accounts_operations.py index 94b47f7f5ed0..958c07c4e169 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_accounts_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_accounts_operations.py @@ -47,7 +47,7 @@ async def get( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountGetResults": """Retrieves the properties of an existing Azure Cosmos DB database account. @@ -65,14 +65,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -106,14 +106,14 @@ async def _update_initial( resource_group_name: str, account_name: str, update_parameters: "_models.DatabaseAccountUpdateParameters", - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountGetResults": cls = kwargs.pop('cls', None) # type: ClsType["_models.DatabaseAccountGetResults"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -121,7 +121,7 @@ async def _update_initial( url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -159,7 +159,7 @@ async def begin_update( resource_group_name: str, account_name: str, update_parameters: "_models.DatabaseAccountUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DatabaseAccountGetResults"]: """Updates the properties of an existing Azure Cosmos DB database account. @@ -171,8 +171,8 @@ async def begin_update( :type update_parameters: ~azure.mgmt.cosmosdb.models.DatabaseAccountUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DatabaseAccountGetResults or the result of cls(response) @@ -207,7 +207,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -230,14 +230,14 @@ async def _create_or_update_initial( resource_group_name: str, account_name: str, create_update_parameters: "_models.DatabaseAccountCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountGetResults": cls = kwargs.pop('cls', None) # type: ClsType["_models.DatabaseAccountGetResults"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -245,7 +245,7 @@ async def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -283,7 +283,7 @@ async def begin_create_or_update( resource_group_name: str, account_name: str, create_update_parameters: "_models.DatabaseAccountCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.DatabaseAccountGetResults"]: """Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account. @@ -296,8 +296,8 @@ async def begin_create_or_update( :type create_update_parameters: ~azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DatabaseAccountGetResults or the result of cls(response) @@ -332,7 +332,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -354,20 +354,20 @@ async def _delete_initial( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -396,7 +396,7 @@ async def begin_delete( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB database account. @@ -406,8 +406,8 @@ async def begin_delete( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -438,7 +438,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -461,21 +461,21 @@ async def _failover_priority_change_initial( resource_group_name: str, account_name: str, failover_parameters: "_models.FailoverPolicies", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") # Construct URL url = self._failover_priority_change_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -509,7 +509,7 @@ async def begin_failover_priority_change( resource_group_name: str, account_name: str, failover_parameters: "_models.FailoverPolicies", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of @@ -524,8 +524,8 @@ async def begin_failover_priority_change( :type failover_parameters: ~azure.mgmt.cosmosdb.models.FailoverPolicies :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -557,7 +557,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -577,7 +577,7 @@ def get_long_running_output(pipeline_response): def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DatabaseAccountsListResult"]: """Lists all the Azure Cosmos DB database accounts available under the subscription. @@ -591,7 +591,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -644,7 +644,7 @@ async def get_next(next_link=None): def list_by_resource_group( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.DatabaseAccountsListResult"]: """Lists all the Azure Cosmos DB database accounts available under the given resource group. @@ -660,7 +660,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -672,7 +672,7 @@ def prepare_request(next_link=None): # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -715,7 +715,7 @@ async def list_keys( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountListKeysResult": """Lists the access keys for the specified Azure Cosmos DB database account. @@ -733,14 +733,14 @@ async def list_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -773,7 +773,7 @@ async def list_connection_strings( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountListConnectionStringsResult": """Lists the connection strings for the specified Azure Cosmos DB database account. @@ -791,14 +791,14 @@ async def list_connection_strings( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_connection_strings.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -832,14 +832,14 @@ async def _offline_region_initial( resource_group_name: str, account_name: str, region_parameter_for_offline: "_models.RegionForOnlineOffline", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -847,7 +847,7 @@ async def _offline_region_initial( url = self._offline_region_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -883,7 +883,7 @@ async def begin_offline_region( resource_group_name: str, account_name: str, region_parameter_for_offline: "_models.RegionForOnlineOffline", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Offline the specified region for the specified Azure Cosmos DB database account. @@ -895,8 +895,8 @@ async def begin_offline_region( :type region_parameter_for_offline: ~azure.mgmt.cosmosdb.models.RegionForOnlineOffline :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -928,7 +928,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -951,14 +951,14 @@ async def _online_region_initial( resource_group_name: str, account_name: str, region_parameter_for_online: "_models.RegionForOnlineOffline", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -966,7 +966,7 @@ async def _online_region_initial( url = self._online_region_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1002,7 +1002,7 @@ async def begin_online_region( resource_group_name: str, account_name: str, region_parameter_for_online: "_models.RegionForOnlineOffline", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Online the specified region for the specified Azure Cosmos DB database account. @@ -1014,8 +1014,8 @@ async def begin_online_region( :type region_parameter_for_online: ~azure.mgmt.cosmosdb.models.RegionForOnlineOffline :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1047,7 +1047,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -1069,7 +1069,7 @@ async def get_read_only_keys( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountListReadOnlyKeysResult": """Lists the read-only access keys for the specified Azure Cosmos DB database account. @@ -1087,14 +1087,14 @@ async def get_read_only_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_read_only_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1127,7 +1127,7 @@ async def list_read_only_keys( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.DatabaseAccountListReadOnlyKeysResult": """Lists the read-only access keys for the specified Azure Cosmos DB database account. @@ -1145,14 +1145,14 @@ async def list_read_only_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_read_only_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1186,21 +1186,21 @@ async def _regenerate_key_initial( resource_group_name: str, account_name: str, key_to_regenerate: "_models.DatabaseAccountRegenerateKeyParameters", - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") # Construct URL url = self._regenerate_key_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1234,7 +1234,7 @@ async def begin_regenerate_key( resource_group_name: str, account_name: str, key_to_regenerate: "_models.DatabaseAccountRegenerateKeyParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Regenerates an access key for the specified Azure Cosmos DB database account. @@ -1246,8 +1246,8 @@ async def begin_regenerate_key( :type key_to_regenerate: ~azure.mgmt.cosmosdb.models.DatabaseAccountRegenerateKeyParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1279,7 +1279,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -1300,7 +1300,7 @@ def get_long_running_output(pipeline_response): async def check_name_exists( self, account_name: str, - **kwargs + **kwargs: Any ) -> bool: """Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 @@ -1318,7 +1318,7 @@ async def check_name_exists( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self.check_name_exists.metadata['url'] # type: ignore @@ -1353,7 +1353,7 @@ def list_metrics( resource_group_name: str, account_name: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account. @@ -1375,7 +1375,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1388,7 +1388,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1433,7 +1433,7 @@ def list_usages( resource_group_name: str, account_name: str, filter: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.UsagesResult"]: """Retrieves the usages (most recent data) for the given database account. @@ -1454,7 +1454,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1467,7 +1467,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1512,7 +1512,7 @@ def list_metric_definitions( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricDefinitionsListResult"]: """Retrieves metric definitions for the given database account. @@ -1530,7 +1530,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1543,7 +1543,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_operations.py index c6a743e494a9..921bc9c48d40 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_database_operations.py @@ -47,7 +47,7 @@ def list_metrics( account_name: str, database_rid: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account and database. @@ -72,7 +72,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -85,7 +85,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } @@ -132,7 +132,7 @@ def list_usages( account_name: str, database_rid: str, filter: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.UsagesResult"]: """Retrieves the usages (most recent data) for the given database. @@ -155,7 +155,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -168,7 +168,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } @@ -215,7 +215,7 @@ def list_metric_definitions( resource_group_name: str, account_name: str, database_rid: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MetricDefinitionsListResult"]: """Retrieves metric definitions for the given database. @@ -235,7 +235,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -248,7 +248,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_gremlin_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_gremlin_resources_operations.py index bf4e095375f0..ae81a5d0de38 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_gremlin_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_gremlin_resources_operations.py @@ -47,7 +47,7 @@ def list_gremlin_databases( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.GremlinDatabaseListResult"]: """Lists the Gremlin databases under an existing Azure Cosmos DB database account. @@ -65,7 +65,7 @@ def list_gremlin_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_gremlin_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get_gremlin_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.GremlinDatabaseGetResults": """Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. @@ -143,14 +143,14 @@ async def get_gremlin_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -186,14 +186,14 @@ async def _create_update_gremlin_database_initial( account_name: str, database_name: str, create_update_gremlin_database_parameters: "_models.GremlinDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.GremlinDatabaseGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GremlinDatabaseGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -201,7 +201,7 @@ async def _create_update_gremlin_database_initial( url = self._create_update_gremlin_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_update_gremlin_database( account_name: str, database_name: str, create_update_gremlin_database_parameters: "_models.GremlinDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.GremlinDatabaseGetResults"]: """Create or update an Azure Cosmos DB Gremlin database. @@ -258,8 +258,8 @@ async def begin_create_update_gremlin_database( :type create_update_gremlin_database_parameters: ~azure.mgmt.cosmosdb.models.GremlinDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GremlinDatabaseGetResults or the result of cls(response) @@ -295,7 +295,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -319,20 +319,20 @@ async def _delete_gremlin_database_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_gremlin_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -363,7 +363,7 @@ async def begin_delete_gremlin_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB Gremlin database. @@ -375,8 +375,8 @@ async def begin_delete_gremlin_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -408,7 +408,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -432,7 +432,7 @@ async def get_gremlin_database_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name. @@ -453,14 +453,14 @@ async def get_gremlin_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -496,14 +496,14 @@ async def _update_gremlin_database_throughput_initial( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _update_gremlin_database_throughput_initial( url = self._update_gremlin_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -553,7 +553,7 @@ async def begin_update_gremlin_database_throughput( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB Gremlin database. @@ -568,8 +568,8 @@ async def begin_update_gremlin_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -605,7 +605,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -629,21 +629,21 @@ async def _migrate_gremlin_database_to_autoscale_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -680,7 +680,7 @@ async def begin_migrate_gremlin_database_to_autoscale( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale. @@ -692,8 +692,8 @@ async def begin_migrate_gremlin_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -728,7 +728,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -752,21 +752,21 @@ async def _migrate_gremlin_database_to_manual_throughput_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -803,7 +803,7 @@ async def begin_migrate_gremlin_database_to_manual_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput. @@ -815,8 +815,8 @@ async def begin_migrate_gremlin_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -851,7 +851,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -875,7 +875,7 @@ def list_gremlin_graphs( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.GremlinGraphListResult"]: """Lists the Gremlin graph under an existing Azure Cosmos DB database account. @@ -895,7 +895,7 @@ def list_gremlin_graphs( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -908,7 +908,7 @@ def prepare_request(next_link=None): url = self.list_gremlin_graphs.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -954,7 +954,7 @@ async def get_gremlin_graph( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> "_models.GremlinGraphGetResults": """Gets the Gremlin graph under an existing Azure Cosmos DB database account. @@ -976,14 +976,14 @@ async def get_gremlin_graph( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_graph.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1021,14 +1021,14 @@ async def _create_update_gremlin_graph_initial( database_name: str, graph_name: str, create_update_gremlin_graph_parameters: "_models.GremlinGraphCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.GremlinGraphGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GremlinGraphGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1036,7 +1036,7 @@ async def _create_update_gremlin_graph_initial( url = self._create_update_gremlin_graph_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1080,7 +1080,7 @@ async def begin_create_update_gremlin_graph( database_name: str, graph_name: str, create_update_gremlin_graph_parameters: "_models.GremlinGraphCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.GremlinGraphGetResults"]: """Create or update an Azure Cosmos DB Gremlin graph. @@ -1097,8 +1097,8 @@ async def begin_create_update_gremlin_graph( :type create_update_gremlin_graph_parameters: ~azure.mgmt.cosmosdb.models.GremlinGraphCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GremlinGraphGetResults or the result of cls(response) @@ -1135,7 +1135,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1161,20 +1161,20 @@ async def _delete_gremlin_graph_initial( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_gremlin_graph_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1207,7 +1207,7 @@ async def begin_delete_gremlin_graph( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB Gremlin graph. @@ -1221,8 +1221,8 @@ async def begin_delete_gremlin_graph( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1255,7 +1255,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1281,7 +1281,7 @@ async def get_gremlin_graph_throughput( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. @@ -1304,14 +1304,14 @@ async def get_gremlin_graph_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_graph_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1349,14 +1349,14 @@ async def _update_gremlin_graph_throughput_initial( database_name: str, graph_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1364,7 +1364,7 @@ async def _update_gremlin_graph_throughput_initial( url = self._update_gremlin_graph_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1408,7 +1408,7 @@ async def begin_update_gremlin_graph_throughput( database_name: str, graph_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB Gremlin graph. @@ -1425,8 +1425,8 @@ async def begin_update_gremlin_graph_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1463,7 +1463,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1489,21 +1489,21 @@ async def _migrate_gremlin_graph_to_autoscale_initial( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_graph_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1542,7 +1542,7 @@ async def begin_migrate_gremlin_graph_to_autoscale( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale. @@ -1556,8 +1556,8 @@ async def begin_migrate_gremlin_graph_to_autoscale( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1593,7 +1593,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1619,21 +1619,21 @@ async def _migrate_gremlin_graph_to_manual_throughput_initial( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_graph_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1672,7 +1672,7 @@ async def begin_migrate_gremlin_graph_to_manual_throughput( account_name: str, database_name: str, graph_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput. @@ -1686,8 +1686,8 @@ async def begin_migrate_gremlin_graph_to_manual_throughput( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1723,7 +1723,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_mongo_db_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_mongo_db_resources_operations.py index 5ff5a6448750..47db3e19bf09 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_mongo_db_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_mongo_db_resources_operations.py @@ -47,7 +47,7 @@ def list_mongo_db_databases( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MongoDBDatabaseListResult"]: """Lists the MongoDB databases under an existing Azure Cosmos DB database account. @@ -65,7 +65,7 @@ def list_mongo_db_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_mongo_db_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get_mongo_db_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.MongoDBDatabaseGetResults": """Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. @@ -143,14 +143,14 @@ async def get_mongo_db_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -186,14 +186,14 @@ async def _create_update_mongo_db_database_initial( account_name: str, database_name: str, create_update_mongo_db_database_parameters: "_models.MongoDBDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.MongoDBDatabaseGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MongoDBDatabaseGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -201,7 +201,7 @@ async def _create_update_mongo_db_database_initial( url = self._create_update_mongo_db_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_update_mongo_db_database( account_name: str, database_name: str, create_update_mongo_db_database_parameters: "_models.MongoDBDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.MongoDBDatabaseGetResults"]: """Create or updates Azure Cosmos DB MongoDB database. @@ -258,8 +258,8 @@ async def begin_create_update_mongo_db_database( :type create_update_mongo_db_database_parameters: ~azure.mgmt.cosmosdb.models.MongoDBDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either MongoDBDatabaseGetResults or the result of cls(response) @@ -295,7 +295,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -319,20 +319,20 @@ async def _delete_mongo_db_database_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_mongo_db_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -363,7 +363,7 @@ async def begin_delete_mongo_db_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB MongoDB database. @@ -375,8 +375,8 @@ async def begin_delete_mongo_db_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -408,7 +408,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -432,7 +432,7 @@ async def get_mongo_db_database_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name. @@ -453,14 +453,14 @@ async def get_mongo_db_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -496,14 +496,14 @@ async def _update_mongo_db_database_throughput_initial( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _update_mongo_db_database_throughput_initial( url = self._update_mongo_db_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -553,7 +553,7 @@ async def begin_update_mongo_db_database_throughput( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of the an Azure Cosmos DB MongoDB database. @@ -568,8 +568,8 @@ async def begin_update_mongo_db_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -605,7 +605,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -629,21 +629,21 @@ async def _migrate_mongo_db_database_to_autoscale_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -680,7 +680,7 @@ async def begin_migrate_mongo_db_database_to_autoscale( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale. @@ -692,8 +692,8 @@ async def begin_migrate_mongo_db_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -728,7 +728,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -752,21 +752,21 @@ async def _migrate_mongo_db_database_to_manual_throughput_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -803,7 +803,7 @@ async def begin_migrate_mongo_db_database_to_manual_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput. @@ -815,8 +815,8 @@ async def begin_migrate_mongo_db_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -851,7 +851,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -875,7 +875,7 @@ def list_mongo_db_collections( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.MongoDBCollectionListResult"]: """Lists the MongoDB collection under an existing Azure Cosmos DB database account. @@ -895,7 +895,7 @@ def list_mongo_db_collections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -908,7 +908,7 @@ def prepare_request(next_link=None): url = self.list_mongo_db_collections.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -954,7 +954,7 @@ async def get_mongo_db_collection( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> "_models.MongoDBCollectionGetResults": """Gets the MongoDB collection under an existing Azure Cosmos DB database account. @@ -976,14 +976,14 @@ async def get_mongo_db_collection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_collection.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1021,14 +1021,14 @@ async def _create_update_mongo_db_collection_initial( database_name: str, collection_name: str, create_update_mongo_db_collection_parameters: "_models.MongoDBCollectionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.MongoDBCollectionGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.MongoDBCollectionGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1036,7 +1036,7 @@ async def _create_update_mongo_db_collection_initial( url = self._create_update_mongo_db_collection_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1080,7 +1080,7 @@ async def begin_create_update_mongo_db_collection( database_name: str, collection_name: str, create_update_mongo_db_collection_parameters: "_models.MongoDBCollectionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.MongoDBCollectionGetResults"]: """Create or update an Azure Cosmos DB MongoDB Collection. @@ -1097,8 +1097,8 @@ async def begin_create_update_mongo_db_collection( :type create_update_mongo_db_collection_parameters: ~azure.mgmt.cosmosdb.models.MongoDBCollectionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either MongoDBCollectionGetResults or the result of cls(response) @@ -1135,7 +1135,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1161,20 +1161,20 @@ async def _delete_mongo_db_collection_initial( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_mongo_db_collection_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1207,7 +1207,7 @@ async def begin_delete_mongo_db_collection( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB MongoDB Collection. @@ -1221,8 +1221,8 @@ async def begin_delete_mongo_db_collection( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1255,7 +1255,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1281,7 +1281,7 @@ async def get_mongo_db_collection_throughput( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name. @@ -1304,14 +1304,14 @@ async def get_mongo_db_collection_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_collection_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1349,14 +1349,14 @@ async def _update_mongo_db_collection_throughput_initial( database_name: str, collection_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1364,7 +1364,7 @@ async def _update_mongo_db_collection_throughput_initial( url = self._update_mongo_db_collection_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1408,7 +1408,7 @@ async def begin_update_mongo_db_collection_throughput( database_name: str, collection_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update the RUs per second of an Azure Cosmos DB MongoDB collection. @@ -1425,8 +1425,8 @@ async def begin_update_mongo_db_collection_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1463,7 +1463,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1489,21 +1489,21 @@ async def _migrate_mongo_db_collection_to_autoscale_initial( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_collection_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1542,7 +1542,7 @@ async def begin_migrate_mongo_db_collection_to_autoscale( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale. @@ -1556,8 +1556,8 @@ async def begin_migrate_mongo_db_collection_to_autoscale( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1593,7 +1593,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1619,21 +1619,21 @@ async def _migrate_mongo_db_collection_to_manual_throughput_initial( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_collection_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1672,7 +1672,7 @@ async def begin_migrate_mongo_db_collection_to_manual_throughput( account_name: str, database_name: str, collection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput. @@ -1686,8 +1686,8 @@ async def begin_migrate_mongo_db_collection_to_manual_throughput( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1723,7 +1723,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_notebook_workspaces_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_notebook_workspaces_operations.py index 220dc375ea89..6a0b3006502b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_notebook_workspaces_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_notebook_workspaces_operations.py @@ -47,7 +47,7 @@ def list_by_database_account( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.NotebookWorkspaceListResult"]: """Gets the notebook workspace resources of an existing Cosmos DB account. @@ -65,7 +65,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -123,7 +123,7 @@ async def get( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> "_models.NotebookWorkspace": """Gets the notebook workspace for a Cosmos DB account. @@ -143,14 +143,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -187,14 +187,14 @@ async def _create_or_update_initial( account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], notebook_create_update_parameters: "_models.NotebookWorkspaceCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> "_models.NotebookWorkspace": cls = kwargs.pop('cls', None) # type: ClsType["_models.NotebookWorkspace"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -202,7 +202,7 @@ async def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_or_update( account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], notebook_create_update_parameters: "_models.NotebookWorkspaceCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.NotebookWorkspace"]: """Creates the notebook workspace for a Cosmos DB account. @@ -258,8 +258,8 @@ async def begin_create_or_update( :type notebook_create_update_parameters: ~azure.mgmt.cosmosdb.models.NotebookWorkspaceCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NotebookWorkspace or the result of cls(response) @@ -295,7 +295,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -319,21 +319,21 @@ async def _delete_initial( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -366,7 +366,7 @@ async def begin_delete( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes the notebook workspace for a Cosmos DB account. @@ -378,8 +378,8 @@ async def begin_delete( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -411,7 +411,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -435,7 +435,7 @@ async def list_connection_info( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> "_models.NotebookWorkspaceConnectionInfoResult": """Retrieves the connection info for the notebook workspace. @@ -455,14 +455,14 @@ async def list_connection_info( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_connection_info.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -498,21 +498,21 @@ async def _regenerate_auth_token_initial( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._regenerate_auth_token_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -545,7 +545,7 @@ async def begin_regenerate_auth_token( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Regenerates the auth token for the notebook workspace. @@ -557,8 +557,8 @@ async def begin_regenerate_auth_token( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -590,7 +590,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -614,21 +614,21 @@ async def _start_initial( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._start_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -661,7 +661,7 @@ async def begin_start( resource_group_name: str, account_name: str, notebook_workspace_name: Union[str, "_models.NotebookWorkspaceName"], - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Starts the notebook workspace. @@ -673,8 +673,8 @@ async def begin_start( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -706,7 +706,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_operations.py index e034407a02ec..e4aadaace2c5 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationListResult"]: """Lists all of the available Cosmos DB Resource Provider operations. @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_operations.py index e55b4e613a20..5def2e0ec326 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_operations.py @@ -49,7 +49,7 @@ def list_metrics( collection_rid: str, partition_key_range_id: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PartitionMetricListResult"]: """Retrieves the metrics determined by the given filter for the given partition key range id. @@ -77,7 +77,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -90,7 +90,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_region_operations.py index db260d99fff9..e4b774017a31 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_partition_key_range_id_region_operations.py @@ -50,7 +50,7 @@ def list_metrics( collection_rid: str, partition_key_range_id: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PartitionMetricListResult"]: """Retrieves the metrics determined by the given filter for the given partition key range id and region. @@ -81,7 +81,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -94,7 +94,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_operations.py index fe0c3aae3dde..e9dba82c91b2 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_operations.py @@ -46,7 +46,7 @@ def list_metrics( resource_group_name: str, account_name: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PercentileMetricListResult"]: """Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data. @@ -69,7 +69,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -82,7 +82,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_source_target_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_source_target_operations.py index fa53bbd7fa90..001d2a56448c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_source_target_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_source_target_operations.py @@ -48,7 +48,7 @@ def list_metrics( source_region: str, target_region: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PercentileMetricListResult"]: """Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data. @@ -77,7 +77,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -90,7 +90,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'sourceRegion': self._serialize.url("source_region", source_region, 'str'), 'targetRegion': self._serialize.url("target_region", target_region, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_target_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_target_operations.py index 59eeff2d061b..df320847d40c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_target_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_percentile_target_operations.py @@ -47,7 +47,7 @@ def list_metrics( account_name: str, target_region: str, filter: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PercentileMetricListResult"]: """Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data. @@ -73,7 +73,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -86,7 +86,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'targetRegion': self._serialize.url("target_region", target_region, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_endpoint_connections_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_endpoint_connections_operations.py index 7bfb73df78ab..2b98290e7cff 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_endpoint_connections_operations.py @@ -47,7 +47,7 @@ def list_by_database_account( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PrivateEndpointConnectionListResult"]: """List all private endpoint connections on a Cosmos DB account. @@ -65,7 +65,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get( resource_group_name: str, account_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateEndpointConnection": """Gets a private endpoint connection. @@ -142,14 +142,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -185,14 +185,14 @@ async def _create_or_update_initial( account_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> Optional["_models.PrivateEndpointConnection"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PrivateEndpointConnection"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -200,7 +200,7 @@ async def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_or_update( account_name: str, private_endpoint_connection_name: str, parameters: "_models.PrivateEndpointConnection", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.PrivateEndpointConnection"]: """Approve or reject a private endpoint connection with a given name. @@ -257,8 +257,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.cosmosdb.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) @@ -294,7 +294,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -318,21 +318,21 @@ async def _delete_initial( resource_group_name: str, account_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -365,7 +365,7 @@ async def begin_delete( resource_group_name: str, account_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection with a given name. @@ -377,8 +377,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,7 +410,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_link_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_link_resources_operations.py index 90d326161825..0b31dc67112e 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_link_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_private_link_resources_operations.py @@ -45,7 +45,7 @@ def list_by_database_account( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.PrivateLinkResourceListResult"]: """Gets the private link resources that need to be created for a Cosmos DB account. @@ -63,7 +63,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -76,7 +76,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -120,7 +120,7 @@ async def get( resource_group_name: str, account_name: str, group_name: str, - **kwargs + **kwargs: Any ) -> "_models.PrivateLinkResource": """Gets the private link resources that need to be created for a Cosmos DB account. @@ -140,14 +140,14 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'groupName': self._serialize.url("group_name", group_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_database_accounts_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_database_accounts_operations.py index 868985365288..e5e5ad7878af 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_database_accounts_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_database_accounts_operations.py @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list_by_location( self, location: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableDatabaseAccountsListResult"]: """Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires @@ -62,7 +62,7 @@ def list_by_location( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -115,7 +115,7 @@ async def get_next(next_link=None): def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableDatabaseAccountsListResult"]: """Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. @@ -130,7 +130,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -184,7 +184,7 @@ async def get_by_location( self, location: str, instance_id: str, - **kwargs + **kwargs: Any ) -> "_models.RestorableDatabaseAccountGetResult": """Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. @@ -203,7 +203,7 @@ async def get_by_location( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" # Construct URL diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_collections_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_collections_operations.py index 92d45bba1c59..23541cb530a7 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_collections_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_collections_operations.py @@ -46,7 +46,7 @@ def list( location: str, instance_id: str, restorable_mongodb_database_rid: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableMongodbCollectionsListResult"]: """Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This @@ -68,7 +68,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_databases_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_databases_operations.py index d4ce7559d83e..ab508651d938 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_databases_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_databases_operations.py @@ -45,7 +45,7 @@ def list( self, location: str, instance_id: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableMongodbDatabasesListResult"]: """Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_resources_operations.py index dc473b4cf32d..ebde30f4a35c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_mongodb_resources_operations.py @@ -47,7 +47,7 @@ def list( instance_id: str, restore_location: Optional[str] = None, restore_timestamp_in_utc: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableMongodbResourcesListResult"]: """Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_containers_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_containers_operations.py index 3f99046726ee..a27192ecd511 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_containers_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_containers_operations.py @@ -48,7 +48,7 @@ def list( restorable_sql_database_rid: Optional[str] = None, start_time: Optional[str] = None, end_time: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableSqlContainersListResult"]: """Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API @@ -74,7 +74,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_databases_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_databases_operations.py index 96af123d47b7..9b7fcd6d8d48 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_databases_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_databases_operations.py @@ -45,7 +45,7 @@ def list( self, location: str, instance_id: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableSqlDatabasesListResult"]: """Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the @@ -66,7 +66,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_resources_operations.py index 7ce7d135b7d4..c22c9b508f1c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_restorable_sql_resources_operations.py @@ -47,7 +47,7 @@ def list( instance_id: str, restore_location: Optional[str] = None, restore_timestamp_in_utc: Optional[str] = None, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.RestorableSqlResourcesListResult"]: """Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and @@ -72,7 +72,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_sql_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_sql_resources_operations.py index 909d84165b3a..619b655cc42b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_sql_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_sql_resources_operations.py @@ -47,7 +47,7 @@ def list_sql_databases( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlDatabaseListResult"]: """Lists the SQL databases under an existing Azure Cosmos DB database account. @@ -65,7 +65,7 @@ def list_sql_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_sql_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get_sql_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlDatabaseGetResults": """Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. @@ -143,14 +143,14 @@ async def get_sql_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -186,14 +186,14 @@ async def _create_update_sql_database_initial( account_name: str, database_name: str, create_update_sql_database_parameters: "_models.SqlDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlDatabaseGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlDatabaseGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -201,7 +201,7 @@ async def _create_update_sql_database_initial( url = self._create_update_sql_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -243,7 +243,7 @@ async def begin_create_update_sql_database( account_name: str, database_name: str, create_update_sql_database_parameters: "_models.SqlDatabaseCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlDatabaseGetResults"]: """Create or update an Azure Cosmos DB SQL database. @@ -258,8 +258,8 @@ async def begin_create_update_sql_database( :type create_update_sql_database_parameters: ~azure.mgmt.cosmosdb.models.SqlDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlDatabaseGetResults or the result of cls(response) @@ -295,7 +295,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -319,20 +319,20 @@ async def _delete_sql_database_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -363,7 +363,7 @@ async def begin_delete_sql_database( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL database. @@ -375,8 +375,8 @@ async def begin_delete_sql_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -408,7 +408,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -432,7 +432,7 @@ async def get_sql_database_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. @@ -453,14 +453,14 @@ async def get_sql_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -496,14 +496,14 @@ async def _update_sql_database_throughput_initial( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -511,7 +511,7 @@ async def _update_sql_database_throughput_initial( url = self._update_sql_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -553,7 +553,7 @@ async def begin_update_sql_database_throughput( account_name: str, database_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB SQL database. @@ -568,8 +568,8 @@ async def begin_update_sql_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -605,7 +605,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -629,21 +629,21 @@ async def _migrate_sql_database_to_autoscale_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -680,7 +680,7 @@ async def begin_migrate_sql_database_to_autoscale( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale. @@ -692,8 +692,8 @@ async def begin_migrate_sql_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -728,7 +728,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -752,21 +752,21 @@ async def _migrate_sql_database_to_manual_throughput_initial( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -803,7 +803,7 @@ async def begin_migrate_sql_database_to_manual_throughput( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput. @@ -815,8 +815,8 @@ async def begin_migrate_sql_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -851,7 +851,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -875,7 +875,7 @@ def list_sql_containers( resource_group_name: str, account_name: str, database_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlContainerListResult"]: """Lists the SQL container under an existing Azure Cosmos DB database account. @@ -895,7 +895,7 @@ def list_sql_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -908,7 +908,7 @@ def prepare_request(next_link=None): url = self.list_sql_containers.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -954,7 +954,7 @@ async def get_sql_container( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlContainerGetResults": """Gets the SQL container under an existing Azure Cosmos DB database account. @@ -976,14 +976,14 @@ async def get_sql_container( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_container.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1021,14 +1021,14 @@ async def _create_update_sql_container_initial( database_name: str, container_name: str, create_update_sql_container_parameters: "_models.SqlContainerCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlContainerGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlContainerGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1036,7 +1036,7 @@ async def _create_update_sql_container_initial( url = self._create_update_sql_container_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1080,7 +1080,7 @@ async def begin_create_update_sql_container( database_name: str, container_name: str, create_update_sql_container_parameters: "_models.SqlContainerCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlContainerGetResults"]: """Create or update an Azure Cosmos DB SQL container. @@ -1097,8 +1097,8 @@ async def begin_create_update_sql_container( :type create_update_sql_container_parameters: ~azure.mgmt.cosmosdb.models.SqlContainerCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlContainerGetResults or the result of cls(response) @@ -1135,7 +1135,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1161,20 +1161,20 @@ async def _delete_sql_container_initial( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_container_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1207,7 +1207,7 @@ async def begin_delete_sql_container( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL container. @@ -1221,8 +1221,8 @@ async def begin_delete_sql_container( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -1255,7 +1255,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1281,7 +1281,7 @@ async def get_sql_container_throughput( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. @@ -1304,14 +1304,14 @@ async def get_sql_container_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_container_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1349,14 +1349,14 @@ async def _update_sql_container_throughput_initial( database_name: str, container_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1364,7 +1364,7 @@ async def _update_sql_container_throughput_initial( url = self._update_sql_container_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1408,7 +1408,7 @@ async def begin_update_sql_container_throughput( database_name: str, container_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB SQL container. @@ -1425,8 +1425,8 @@ async def begin_update_sql_container_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1463,7 +1463,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1489,21 +1489,21 @@ async def _migrate_sql_container_to_autoscale_initial( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_container_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1542,7 +1542,7 @@ async def begin_migrate_sql_container_to_autoscale( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale. @@ -1556,8 +1556,8 @@ async def begin_migrate_sql_container_to_autoscale( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1593,7 +1593,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1619,21 +1619,21 @@ async def _migrate_sql_container_to_manual_throughput_initial( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_container_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1672,7 +1672,7 @@ async def begin_migrate_sql_container_to_manual_throughput( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. @@ -1686,8 +1686,8 @@ async def begin_migrate_sql_container_to_manual_throughput( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1723,7 +1723,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1749,7 +1749,7 @@ def list_sql_stored_procedures( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlStoredProcedureListResult"]: """Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. @@ -1771,7 +1771,7 @@ def list_sql_stored_procedures( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1784,7 +1784,7 @@ def prepare_request(next_link=None): url = self.list_sql_stored_procedures.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1832,7 +1832,7 @@ async def get_sql_stored_procedure( database_name: str, container_name: str, stored_procedure_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlStoredProcedureGetResults": """Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. @@ -1856,14 +1856,14 @@ async def get_sql_stored_procedure( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_stored_procedure.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1903,14 +1903,14 @@ async def _create_update_sql_stored_procedure_initial( container_name: str, stored_procedure_name: str, create_update_sql_stored_procedure_parameters: "_models.SqlStoredProcedureCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlStoredProcedureGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlStoredProcedureGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1918,7 +1918,7 @@ async def _create_update_sql_stored_procedure_initial( url = self._create_update_sql_stored_procedure_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1964,7 +1964,7 @@ async def begin_create_update_sql_stored_procedure( container_name: str, stored_procedure_name: str, create_update_sql_stored_procedure_parameters: "_models.SqlStoredProcedureCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlStoredProcedureGetResults"]: """Create or update an Azure Cosmos DB SQL storedProcedure. @@ -1983,8 +1983,8 @@ async def begin_create_update_sql_stored_procedure( :type create_update_sql_stored_procedure_parameters: ~azure.mgmt.cosmosdb.models.SqlStoredProcedureCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlStoredProcedureGetResults or the result of cls(response) @@ -2022,7 +2022,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2050,20 +2050,20 @@ async def _delete_sql_stored_procedure_initial( database_name: str, container_name: str, stored_procedure_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_stored_procedure_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2098,7 +2098,7 @@ async def begin_delete_sql_stored_procedure( database_name: str, container_name: str, stored_procedure_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL storedProcedure. @@ -2114,8 +2114,8 @@ async def begin_delete_sql_stored_procedure( :type stored_procedure_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -2149,7 +2149,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2176,7 +2176,7 @@ def list_sql_user_defined_functions( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlUserDefinedFunctionListResult"]: """Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. @@ -2198,7 +2198,7 @@ def list_sql_user_defined_functions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -2211,7 +2211,7 @@ def prepare_request(next_link=None): url = self.list_sql_user_defined_functions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2259,7 +2259,7 @@ async def get_sql_user_defined_function( database_name: str, container_name: str, user_defined_function_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlUserDefinedFunctionGetResults": """Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. @@ -2283,14 +2283,14 @@ async def get_sql_user_defined_function( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_user_defined_function.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2330,14 +2330,14 @@ async def _create_update_sql_user_defined_function_initial( container_name: str, user_defined_function_name: str, create_update_sql_user_defined_function_parameters: "_models.SqlUserDefinedFunctionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlUserDefinedFunctionGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlUserDefinedFunctionGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2345,7 +2345,7 @@ async def _create_update_sql_user_defined_function_initial( url = self._create_update_sql_user_defined_function_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2391,7 +2391,7 @@ async def begin_create_update_sql_user_defined_function( container_name: str, user_defined_function_name: str, create_update_sql_user_defined_function_parameters: "_models.SqlUserDefinedFunctionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlUserDefinedFunctionGetResults"]: """Create or update an Azure Cosmos DB SQL userDefinedFunction. @@ -2410,8 +2410,8 @@ async def begin_create_update_sql_user_defined_function( :type create_update_sql_user_defined_function_parameters: ~azure.mgmt.cosmosdb.models.SqlUserDefinedFunctionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlUserDefinedFunctionGetResults or the result of cls(response) @@ -2449,7 +2449,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2477,20 +2477,20 @@ async def _delete_sql_user_defined_function_initial( database_name: str, container_name: str, user_defined_function_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_user_defined_function_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2525,7 +2525,7 @@ async def begin_delete_sql_user_defined_function( database_name: str, container_name: str, user_defined_function_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL userDefinedFunction. @@ -2541,8 +2541,8 @@ async def begin_delete_sql_user_defined_function( :type user_defined_function_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -2576,7 +2576,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2603,7 +2603,7 @@ def list_sql_triggers( account_name: str, database_name: str, container_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlTriggerListResult"]: """Lists the SQL trigger under an existing Azure Cosmos DB database account. @@ -2625,7 +2625,7 @@ def list_sql_triggers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -2638,7 +2638,7 @@ def prepare_request(next_link=None): url = self.list_sql_triggers.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2686,7 +2686,7 @@ async def get_sql_trigger( database_name: str, container_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlTriggerGetResults": """Gets the SQL trigger under an existing Azure Cosmos DB database account. @@ -2710,14 +2710,14 @@ async def get_sql_trigger( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_trigger.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2757,14 +2757,14 @@ async def _create_update_sql_trigger_initial( container_name: str, trigger_name: str, create_update_sql_trigger_parameters: "_models.SqlTriggerCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlTriggerGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlTriggerGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2772,7 +2772,7 @@ async def _create_update_sql_trigger_initial( url = self._create_update_sql_trigger_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2818,7 +2818,7 @@ async def begin_create_update_sql_trigger( container_name: str, trigger_name: str, create_update_sql_trigger_parameters: "_models.SqlTriggerCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlTriggerGetResults"]: """Create or update an Azure Cosmos DB SQL trigger. @@ -2837,8 +2837,8 @@ async def begin_create_update_sql_trigger( :type create_update_sql_trigger_parameters: ~azure.mgmt.cosmosdb.models.SqlTriggerCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlTriggerGetResults or the result of cls(response) @@ -2876,7 +2876,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2904,20 +2904,20 @@ async def _delete_sql_trigger_initial( database_name: str, container_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_trigger_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2952,7 +2952,7 @@ async def begin_delete_sql_trigger( database_name: str, container_name: str, trigger_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL trigger. @@ -2968,8 +2968,8 @@ async def begin_delete_sql_trigger( :type trigger_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -3003,7 +3003,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -3029,7 +3029,7 @@ async def get_sql_role_definition( role_definition_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlRoleDefinitionGetResults": """Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. @@ -3049,7 +3049,7 @@ async def get_sql_role_definition( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3057,7 +3057,7 @@ async def get_sql_role_definition( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3092,14 +3092,14 @@ async def _create_update_sql_role_definition_initial( resource_group_name: str, account_name: str, create_update_sql_role_definition_parameters: "_models.SqlRoleDefinitionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlRoleDefinitionGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlRoleDefinitionGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -3108,7 +3108,7 @@ async def _create_update_sql_role_definition_initial( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3149,7 +3149,7 @@ async def begin_create_update_sql_role_definition( resource_group_name: str, account_name: str, create_update_sql_role_definition_parameters: "_models.SqlRoleDefinitionCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlRoleDefinitionGetResults"]: """Creates or updates an Azure Cosmos DB SQL Role Definition. @@ -3164,8 +3164,8 @@ async def begin_create_update_sql_role_definition( :type create_update_sql_role_definition_parameters: ~azure.mgmt.cosmosdb.models.SqlRoleDefinitionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlRoleDefinitionGetResults or the result of cls(response) @@ -3202,7 +3202,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3225,14 +3225,14 @@ async def _delete_sql_role_definition_initial( role_definition_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3240,7 +3240,7 @@ async def _delete_sql_role_definition_initial( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3271,7 +3271,7 @@ async def begin_delete_sql_role_definition( role_definition_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL Role Definition. @@ -3283,8 +3283,8 @@ async def begin_delete_sql_role_definition( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -3317,7 +3317,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3339,7 +3339,7 @@ def list_sql_role_definitions( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlRoleDefinitionListResult"]: """Retrieves the list of all Azure Cosmos DB SQL Role Definitions. @@ -3357,7 +3357,7 @@ def list_sql_role_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -3370,7 +3370,7 @@ def prepare_request(next_link=None): url = self.list_sql_role_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3414,7 +3414,7 @@ async def get_sql_role_assignment( role_assignment_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> "_models.SqlRoleAssignmentGetResults": """Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. @@ -3434,7 +3434,7 @@ async def get_sql_role_assignment( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3442,7 +3442,7 @@ async def get_sql_role_assignment( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3477,14 +3477,14 @@ async def _create_update_sql_role_assignment_initial( resource_group_name: str, account_name: str, create_update_sql_role_assignment_parameters: "_models.SqlRoleAssignmentCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.SqlRoleAssignmentGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.SqlRoleAssignmentGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -3493,7 +3493,7 @@ async def _create_update_sql_role_assignment_initial( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3534,7 +3534,7 @@ async def begin_create_update_sql_role_assignment( resource_group_name: str, account_name: str, create_update_sql_role_assignment_parameters: "_models.SqlRoleAssignmentCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.SqlRoleAssignmentGetResults"]: """Creates or updates an Azure Cosmos DB SQL Role Assignment. @@ -3549,8 +3549,8 @@ async def begin_create_update_sql_role_assignment( :type create_update_sql_role_assignment_parameters: ~azure.mgmt.cosmosdb.models.SqlRoleAssignmentCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SqlRoleAssignmentGetResults or the result of cls(response) @@ -3587,7 +3587,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3610,14 +3610,14 @@ async def _delete_sql_role_assignment_initial( role_assignment_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3625,7 +3625,7 @@ async def _delete_sql_role_assignment_initial( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3656,7 +3656,7 @@ async def begin_delete_sql_role_assignment( role_assignment_id: str, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB SQL Role Assignment. @@ -3668,8 +3668,8 @@ async def begin_delete_sql_role_assignment( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -3702,7 +3702,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3724,7 +3724,7 @@ def list_sql_role_assignments( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.SqlRoleAssignmentListResult"]: """Retrieves the list of all Azure Cosmos DB SQL Role Assignments. @@ -3742,7 +3742,7 @@ def list_sql_role_assignments( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -3755,7 +3755,7 @@ def prepare_request(next_link=None): url = self.list_sql_role_assignments.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3793,3 +3793,143 @@ async def get_next(next_link=None): get_next, extract_data ) list_sql_role_assignments.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments'} # type: ignore + + async def _retrieve_continuous_backup_information_initial( + self, + resource_group_name: str, + account_name: str, + database_name: str, + container_name: str, + location: "_models.ContinuousBackupRestoreLocation", + **kwargs: Any + ) -> Optional["_models.BackupInformation"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BackupInformation"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-06-15" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._retrieve_continuous_backup_information_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(location, 'ContinuousBackupRestoreLocation') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BackupInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _retrieve_continuous_backup_information_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation'} # type: ignore + + async def begin_retrieve_continuous_backup_information( + self, + resource_group_name: str, + account_name: str, + database_name: str, + container_name: str, + location: "_models.ContinuousBackupRestoreLocation", + **kwargs: Any + ) -> AsyncLROPoller["_models.BackupInformation"]: + """Retrieves continuous backup information for a container resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param account_name: Cosmos DB database account name. + :type account_name: str + :param database_name: Cosmos DB database name. + :type database_name: str + :param container_name: Cosmos DB container name. + :type container_name: str + :param location: The name of the continuous backup restore location. + :type location: ~azure.mgmt.cosmosdb.models.ContinuousBackupRestoreLocation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BackupInformation or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.cosmosdb.models.BackupInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackupInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._retrieve_continuous_backup_information_initial( + resource_group_name=resource_group_name, + account_name=account_name, + database_name=database_name, + container_name=container_name, + location=location, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BackupInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_retrieve_continuous_backup_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation'} # type: ignore diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_table_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_table_resources_operations.py index 23724efd3cbb..efc8e556fb62 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_table_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/aio/operations/_table_resources_operations.py @@ -47,7 +47,7 @@ def list_tables( self, resource_group_name: str, account_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.TableListResult"]: """Lists the Tables under an existing Azure Cosmos DB database account. @@ -65,7 +65,7 @@ def list_tables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -78,7 +78,7 @@ def prepare_request(next_link=None): url = self.list_tables.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -122,7 +122,7 @@ async def get_table( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> "_models.TableGetResults": """Gets the Tables under an existing Azure Cosmos DB database account with the provided name. @@ -142,14 +142,14 @@ async def get_table( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_table.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -185,14 +185,14 @@ async def _create_update_table_initial( account_name: str, table_name: str, create_update_table_parameters: "_models.TableCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.TableGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.TableGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -200,7 +200,7 @@ async def _create_update_table_initial( url = self._create_update_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -242,7 +242,7 @@ async def begin_create_update_table( account_name: str, table_name: str, create_update_table_parameters: "_models.TableCreateUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.TableGetResults"]: """Create or update an Azure Cosmos DB Table. @@ -256,8 +256,8 @@ async def begin_create_update_table( :type create_update_table_parameters: ~azure.mgmt.cosmosdb.models.TableCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TableGetResults or the result of cls(response) @@ -293,7 +293,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -317,20 +317,20 @@ async def _delete_table_initial( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -361,7 +361,7 @@ async def begin_delete_table( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes an existing Azure Cosmos DB Table. @@ -373,8 +373,8 @@ async def begin_delete_table( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -406,7 +406,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -430,7 +430,7 @@ async def get_table_throughput( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> "_models.ThroughputSettingsGetResults": """Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. @@ -451,14 +451,14 @@ async def get_table_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_table_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -494,14 +494,14 @@ async def _update_table_throughput_initial( account_name: str, table_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -509,7 +509,7 @@ async def _update_table_throughput_initial( url = self._update_table_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -551,7 +551,7 @@ async def begin_update_table_throughput( account_name: str, table_name: str, update_throughput_parameters: "_models.ThroughputSettingsUpdateParameters", - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Update RUs per second of an Azure Cosmos DB Table. @@ -566,8 +566,8 @@ async def begin_update_table_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -603,7 +603,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -627,21 +627,21 @@ async def _migrate_table_to_autoscale_initial( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_table_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -678,7 +678,7 @@ async def begin_migrate_table_to_autoscale( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Table from manual throughput to autoscale. @@ -690,8 +690,8 @@ async def begin_migrate_table_to_autoscale( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -726,7 +726,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -750,21 +750,21 @@ async def _migrate_table_to_manual_throughput_initial( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ThroughputSettingsGetResults"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ThroughputSettingsGetResults"]] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_table_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -801,7 +801,7 @@ async def begin_migrate_table_to_manual_throughput( resource_group_name: str, account_name: str, table_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller["_models.ThroughputSettingsGetResults"]: """Migrate an Azure Cosmos DB Table from autoscale to manual throughput. @@ -813,8 +813,8 @@ async def begin_migrate_table_to_manual_throughput( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -849,7 +849,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py index 4373e7eccb2a..a80dd0ef7bb1 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/__init__.py @@ -9,11 +9,14 @@ try: from ._models_py3 import ARMProxyResource from ._models_py3 import ARMResourceProperties + from ._models_py3 import AnalyticalStorageConfiguration from ._models_py3 import ApiProperties from ._models_py3 import AutoUpgradePolicyResource from ._models_py3 import AutoscaleSettings from ._models_py3 import AutoscaleSettingsResource + from ._models_py3 import BackupInformation from ._models_py3 import BackupPolicy + from ._models_py3 import BackupPolicyMigrationState from ._models_py3 import Capability from ._models_py3 import CassandraKeyspaceCreateUpdateParameters from ._models_py3 import CassandraKeyspaceGetPropertiesOptions @@ -36,6 +39,8 @@ from ._models_py3 import ConflictResolutionPolicy from ._models_py3 import ConsistencyPolicy from ._models_py3 import ContainerPartitionKey + from ._models_py3 import ContinuousBackupInformation + from ._models_py3 import ContinuousBackupRestoreLocation from ._models_py3 import ContinuousModeBackupPolicy from ._models_py3 import CorsPolicy from ._models_py3 import CreateUpdateOptions @@ -48,6 +53,7 @@ from ._models_py3 import DatabaseAccountRegenerateKeyParameters from ._models_py3 import DatabaseAccountUpdateParameters from ._models_py3 import DatabaseAccountsListResult + from ._models_py3 import DatabaseRestoreResource from ._models_py3 import ErrorResponse from ._models_py3 import ExcludedPath from ._models_py3 import ExtendedResourceProperties @@ -120,6 +126,26 @@ from ._models_py3 import ProxyResource from ._models_py3 import RegionForOnlineOffline from ._models_py3 import Resource + from ._models_py3 import RestorableDatabaseAccountGetResult + from ._models_py3 import RestorableDatabaseAccountsListResult + from ._models_py3 import RestorableLocationResource + from ._models_py3 import RestorableMongodbCollectionGetResult + from ._models_py3 import RestorableMongodbCollectionPropertiesResource + from ._models_py3 import RestorableMongodbCollectionsListResult + from ._models_py3 import RestorableMongodbDatabaseGetResult + from ._models_py3 import RestorableMongodbDatabasePropertiesResource + from ._models_py3 import RestorableMongodbDatabasesListResult + from ._models_py3 import RestorableMongodbResourcesListResult + from ._models_py3 import RestorableSqlContainerGetResult + from ._models_py3 import RestorableSqlContainerPropertiesResource + from ._models_py3 import RestorableSqlContainerPropertiesResourceContainer + from ._models_py3 import RestorableSqlContainersListResult + from ._models_py3 import RestorableSqlDatabaseGetResult + from ._models_py3 import RestorableSqlDatabasePropertiesResource + from ._models_py3 import RestorableSqlDatabasePropertiesResourceDatabase + from ._models_py3 import RestorableSqlDatabasesListResult + from ._models_py3 import RestorableSqlResourcesListResult + from ._models_py3 import RestoreParameters from ._models_py3 import SpatialSpec from ._models_py3 import SqlContainerCreateUpdateParameters from ._models_py3 import SqlContainerGetPropertiesOptions @@ -154,6 +180,7 @@ from ._models_py3 import SqlUserDefinedFunctionGetResults from ._models_py3 import SqlUserDefinedFunctionListResult from ._models_py3 import SqlUserDefinedFunctionResource + from ._models_py3 import SystemData from ._models_py3 import TableCreateUpdateParameters from ._models_py3 import TableGetPropertiesOptions from ._models_py3 import TableGetPropertiesResource @@ -173,11 +200,14 @@ except (SyntaxError, ImportError): from ._models import ARMProxyResource # type: ignore from ._models import ARMResourceProperties # type: ignore + from ._models import AnalyticalStorageConfiguration # type: ignore from ._models import ApiProperties # type: ignore from ._models import AutoUpgradePolicyResource # type: ignore from ._models import AutoscaleSettings # type: ignore from ._models import AutoscaleSettingsResource # type: ignore + from ._models import BackupInformation # type: ignore from ._models import BackupPolicy # type: ignore + from ._models import BackupPolicyMigrationState # type: ignore from ._models import Capability # type: ignore from ._models import CassandraKeyspaceCreateUpdateParameters # type: ignore from ._models import CassandraKeyspaceGetPropertiesOptions # type: ignore @@ -200,6 +230,8 @@ from ._models import ConflictResolutionPolicy # type: ignore from ._models import ConsistencyPolicy # type: ignore from ._models import ContainerPartitionKey # type: ignore + from ._models import ContinuousBackupInformation # type: ignore + from ._models import ContinuousBackupRestoreLocation # type: ignore from ._models import ContinuousModeBackupPolicy # type: ignore from ._models import CorsPolicy # type: ignore from ._models import CreateUpdateOptions # type: ignore @@ -212,6 +244,7 @@ from ._models import DatabaseAccountRegenerateKeyParameters # type: ignore from ._models import DatabaseAccountUpdateParameters # type: ignore from ._models import DatabaseAccountsListResult # type: ignore + from ._models import DatabaseRestoreResource # type: ignore from ._models import ErrorResponse # type: ignore from ._models import ExcludedPath # type: ignore from ._models import ExtendedResourceProperties # type: ignore @@ -284,6 +317,26 @@ from ._models import ProxyResource # type: ignore from ._models import RegionForOnlineOffline # type: ignore from ._models import Resource # type: ignore + from ._models import RestorableDatabaseAccountGetResult # type: ignore + from ._models import RestorableDatabaseAccountsListResult # type: ignore + from ._models import RestorableLocationResource # type: ignore + from ._models import RestorableMongodbCollectionGetResult # type: ignore + from ._models import RestorableMongodbCollectionPropertiesResource # type: ignore + from ._models import RestorableMongodbCollectionsListResult # type: ignore + from ._models import RestorableMongodbDatabaseGetResult # type: ignore + from ._models import RestorableMongodbDatabasePropertiesResource # type: ignore + from ._models import RestorableMongodbDatabasesListResult # type: ignore + from ._models import RestorableMongodbResourcesListResult # type: ignore + from ._models import RestorableSqlContainerGetResult # type: ignore + from ._models import RestorableSqlContainerPropertiesResource # type: ignore + from ._models import RestorableSqlContainerPropertiesResourceContainer # type: ignore + from ._models import RestorableSqlContainersListResult # type: ignore + from ._models import RestorableSqlDatabaseGetResult # type: ignore + from ._models import RestorableSqlDatabasePropertiesResource # type: ignore + from ._models import RestorableSqlDatabasePropertiesResourceDatabase # type: ignore + from ._models import RestorableSqlDatabasesListResult # type: ignore + from ._models import RestorableSqlResourcesListResult # type: ignore + from ._models import RestoreParameters # type: ignore from ._models import SpatialSpec # type: ignore from ._models import SqlContainerCreateUpdateParameters # type: ignore from ._models import SqlContainerGetPropertiesOptions # type: ignore @@ -318,6 +371,7 @@ from ._models import SqlUserDefinedFunctionGetResults # type: ignore from ._models import SqlUserDefinedFunctionListResult # type: ignore from ._models import SqlUserDefinedFunctionResource # type: ignore + from ._models import SystemData # type: ignore from ._models import TableCreateUpdateParameters # type: ignore from ._models import TableGetPropertiesOptions # type: ignore from ._models import TableGetPropertiesResource # type: ignore @@ -336,10 +390,15 @@ from ._models import VirtualNetworkRule # type: ignore from ._cosmos_db_management_client_enums import ( + AnalyticalStorageSchemaType, + ApiType, + BackupPolicyMigrationStatus, BackupPolicyType, CompositePathSortOrder, ConflictResolutionMode, ConnectorOffer, + CreateMode, + CreatedByType, DataType, DatabaseAccountKind, DefaultConsistencyLevel, @@ -348,10 +407,12 @@ KeyKind, NetworkAclBypass, NotebookWorkspaceName, + OperationType, PartitionKind, PrimaryAggregationType, PublicNetworkAccess, ResourceIdentityType, + RestoreMode, RoleDefinitionType, ServerVersion, SpatialType, @@ -363,11 +424,14 @@ __all__ = [ 'ARMProxyResource', 'ARMResourceProperties', + 'AnalyticalStorageConfiguration', 'ApiProperties', 'AutoUpgradePolicyResource', 'AutoscaleSettings', 'AutoscaleSettingsResource', + 'BackupInformation', 'BackupPolicy', + 'BackupPolicyMigrationState', 'Capability', 'CassandraKeyspaceCreateUpdateParameters', 'CassandraKeyspaceGetPropertiesOptions', @@ -390,6 +454,8 @@ 'ConflictResolutionPolicy', 'ConsistencyPolicy', 'ContainerPartitionKey', + 'ContinuousBackupInformation', + 'ContinuousBackupRestoreLocation', 'ContinuousModeBackupPolicy', 'CorsPolicy', 'CreateUpdateOptions', @@ -402,6 +468,7 @@ 'DatabaseAccountRegenerateKeyParameters', 'DatabaseAccountUpdateParameters', 'DatabaseAccountsListResult', + 'DatabaseRestoreResource', 'ErrorResponse', 'ExcludedPath', 'ExtendedResourceProperties', @@ -474,6 +541,26 @@ 'ProxyResource', 'RegionForOnlineOffline', 'Resource', + 'RestorableDatabaseAccountGetResult', + 'RestorableDatabaseAccountsListResult', + 'RestorableLocationResource', + 'RestorableMongodbCollectionGetResult', + 'RestorableMongodbCollectionPropertiesResource', + 'RestorableMongodbCollectionsListResult', + 'RestorableMongodbDatabaseGetResult', + 'RestorableMongodbDatabasePropertiesResource', + 'RestorableMongodbDatabasesListResult', + 'RestorableMongodbResourcesListResult', + 'RestorableSqlContainerGetResult', + 'RestorableSqlContainerPropertiesResource', + 'RestorableSqlContainerPropertiesResourceContainer', + 'RestorableSqlContainersListResult', + 'RestorableSqlDatabaseGetResult', + 'RestorableSqlDatabasePropertiesResource', + 'RestorableSqlDatabasePropertiesResourceDatabase', + 'RestorableSqlDatabasesListResult', + 'RestorableSqlResourcesListResult', + 'RestoreParameters', 'SpatialSpec', 'SqlContainerCreateUpdateParameters', 'SqlContainerGetPropertiesOptions', @@ -508,6 +595,7 @@ 'SqlUserDefinedFunctionGetResults', 'SqlUserDefinedFunctionListResult', 'SqlUserDefinedFunctionResource', + 'SystemData', 'TableCreateUpdateParameters', 'TableGetPropertiesOptions', 'TableGetPropertiesResource', @@ -524,10 +612,15 @@ 'Usage', 'UsagesResult', 'VirtualNetworkRule', + 'AnalyticalStorageSchemaType', + 'ApiType', + 'BackupPolicyMigrationStatus', 'BackupPolicyType', 'CompositePathSortOrder', 'ConflictResolutionMode', 'ConnectorOffer', + 'CreateMode', + 'CreatedByType', 'DataType', 'DatabaseAccountKind', 'DefaultConsistencyLevel', @@ -536,10 +629,12 @@ 'KeyKind', 'NetworkAclBypass', 'NotebookWorkspaceName', + 'OperationType', 'PartitionKind', 'PrimaryAggregationType', 'PublicNetworkAccess', 'ResourceIdentityType', + 'RestoreMode', 'RoleDefinitionType', 'ServerVersion', 'SpatialType', diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_cosmos_db_management_client_enums.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_cosmos_db_management_client_enums.py index e5c72c97a572..2762ab2e169a 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_cosmos_db_management_client_enums.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_cosmos_db_management_client_enums.py @@ -26,6 +26,33 @@ def __getattr__(cls, name): raise AttributeError(name) +class AnalyticalStorageSchemaType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Describes the types of schema for analytical storage. + """ + + WELL_DEFINED = "WellDefined" + FULL_FIDELITY = "FullFidelity" + +class ApiType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum to indicate the API type of the restorable database account. + """ + + MONGO_DB = "MongoDB" + GREMLIN = "Gremlin" + CASSANDRA = "Cassandra" + TABLE = "Table" + SQL = "Sql" + GREMLIN_V2 = "GremlinV2" + +class BackupPolicyMigrationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Describes the status of migration between backup policy types. + """ + + INVALID = "Invalid" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + FAILED = "Failed" + class BackupPolicyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Describes the mode of backups. """ @@ -53,6 +80,22 @@ class ConnectorOffer(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SMALL = "Small" +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class CreateMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum to indicate the mode of account creation. + """ + + DEFAULT = "Default" + RESTORE = "Restore" + class DatabaseAccountKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the type of database account. This can only be set at database account creation. """ @@ -118,6 +161,15 @@ class NotebookWorkspaceName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)) DEFAULT = "default" +class OperationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enum to indicate the operation type of the event. + """ + + CREATE = "Create" + REPLACE = "Replace" + DELETE = "Delete" + SYSTEM_OPERATION = "SystemOperation" + class PartitionKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create @@ -156,6 +208,12 @@ class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" NONE = "None" +class RestoreMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Describes the mode of the restore. + """ + + POINT_IN_TIME = "PointInTime" + class RoleDefinitionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Indicates whether the Role Definition was built-in or user created. """ diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py index 36d867c57ab0..59ff2806aa5e 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py @@ -10,6 +10,26 @@ import msrest.serialization +class AnalyticalStorageConfiguration(msrest.serialization.Model): + """Analytical storage specific properties. + + :param schema_type: Describes the types of schema for analytical storage. Possible values + include: "WellDefined", "FullFidelity". + :type schema_type: str or ~azure.mgmt.cosmosdb.models.AnalyticalStorageSchemaType + """ + + _attribute_map = { + 'schema_type': {'key': 'schemaType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalyticalStorageConfiguration, self).__init__(**kwargs) + self.schema_type = kwargs.get('schema_type', None) + + class ApiProperties(msrest.serialization.Model): """ApiProperties. @@ -189,6 +209,31 @@ def __init__( self.throughput_policy = kwargs.get('throughput_policy', None) +class BackupInformation(msrest.serialization.Model): + """Backup information of a resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar continuous_backup_information: Information about the status of continuous backups. + :vartype continuous_backup_information: ~azure.mgmt.cosmosdb.models.ContinuousBackupInformation + """ + + _validation = { + 'continuous_backup_information': {'readonly': True}, + } + + _attribute_map = { + 'continuous_backup_information': {'key': 'continuousBackupInformation', 'type': 'ContinuousBackupInformation'}, + } + + def __init__( + self, + **kwargs + ): + super(BackupInformation, self).__init__(**kwargs) + self.continuous_backup_information = None + + class BackupPolicy(msrest.serialization.Model): """The object representing the policy for taking backups on an account. @@ -200,6 +245,9 @@ class BackupPolicy(msrest.serialization.Model): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState """ _validation = { @@ -208,6 +256,7 @@ class BackupPolicy(msrest.serialization.Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, } _subtype_map = { @@ -220,6 +269,36 @@ def __init__( ): super(BackupPolicy, self).__init__(**kwargs) self.type = None # type: Optional[str] + self.migration_state = kwargs.get('migration_state', None) + + +class BackupPolicyMigrationState(msrest.serialization.Model): + """The object representing the state of the migration between the backup policies. + + :param status: Describes the status of migration between backup policy types. Possible values + include: "Invalid", "InProgress", "Completed", "Failed". + :type status: str or ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationStatus + :param target_type: Describes the target backup policy type of the backup policy migration. + Possible values include: "Periodic", "Continuous". + :type target_type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param start_time: Time at which the backup policy migration started (ISO-8601 format). + :type start_time: ~datetime.datetime + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'target_type': {'key': 'targetType', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(BackupPolicyMigrationState, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.target_type = kwargs.get('target_type', None) + self.start_time = kwargs.get('start_time', None) class Capability(msrest.serialization.Model): @@ -1027,6 +1106,44 @@ def __init__( self.system_key = None +class ContinuousBackupInformation(msrest.serialization.Model): + """Information about the status of continuous backups. + + :param latest_restorable_timestamp: The latest restorable timestamp for a resource. + :type latest_restorable_timestamp: str + """ + + _attribute_map = { + 'latest_restorable_timestamp': {'key': 'latestRestorableTimestamp', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContinuousBackupInformation, self).__init__(**kwargs) + self.latest_restorable_timestamp = kwargs.get('latest_restorable_timestamp', None) + + +class ContinuousBackupRestoreLocation(msrest.serialization.Model): + """Properties of the regional restorable account. + + :param location: The name of the continuous backup restore location. + :type location: str + """ + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContinuousBackupRestoreLocation, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + + class ContinuousModeBackupPolicy(BackupPolicy): """The object representing continuous mode backup policy. @@ -1035,6 +1152,9 @@ class ContinuousModeBackupPolicy(BackupPolicy): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState """ _validation = { @@ -1043,6 +1163,7 @@ class ContinuousModeBackupPolicy(BackupPolicy): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, } def __init__( @@ -1228,6 +1349,12 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration + :param create_mode: Enum to indicate the mode of account creation. Possible values include: + "Default", "Restore". Default value: "Default". + :type create_mode: str or ~azure.mgmt.cosmosdb.models.CreateMode :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1238,6 +1365,11 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool + :param restore_parameters: Parameters to indicate the information about the restore. + :type restore_parameters: ~azure.mgmt.cosmosdb.models.RestoreParameters """ _validation = { @@ -1274,10 +1406,14 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, + 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, + 'restore_parameters': {'key': 'properties.restoreParameters', 'type': 'RestoreParameters'}, } database_account_offer_type = "Standard" @@ -1306,10 +1442,14 @@ def __init__( self.enable_free_tier = kwargs.get('enable_free_tier', None) self.api_properties = kwargs.get('api_properties', None) self.enable_analytical_storage = kwargs.get('enable_analytical_storage', None) + self.analytical_storage_configuration = kwargs.get('analytical_storage_configuration', None) + self.create_mode = kwargs.get('create_mode', "Default") self.backup_policy = kwargs.get('backup_policy', None) self.cors = kwargs.get('cors', None) self.network_acl_bypass = kwargs.get('network_acl_bypass', None) self.network_acl_bypass_resource_ids = kwargs.get('network_acl_bypass_resource_ids', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) + self.restore_parameters = kwargs.get('restore_parameters', None) class DatabaseAccountGetResults(ARMResourceProperties): @@ -1337,6 +1477,8 @@ class DatabaseAccountGetResults(ARMResourceProperties): :type kind: str or ~azure.mgmt.cosmosdb.models.DatabaseAccountKind :param identity: Identity for the resource. :type identity: ~azure.mgmt.cosmosdb.models.ManagedServiceIdentity + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.cosmosdb.models.SystemData :ivar provisioning_state: The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for @@ -1406,6 +1548,16 @@ class DatabaseAccountGetResults(ARMResourceProperties): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration + :ivar instance_id: A unique identifier assigned to the database account. + :vartype instance_id: str + :param create_mode: Enum to indicate the mode of account creation. Possible values include: + "Default", "Restore". Default value: "Default". + :type create_mode: str or ~azure.mgmt.cosmosdb.models.CreateMode + :param restore_parameters: Parameters to indicate the information about the restore. + :type restore_parameters: ~azure.mgmt.cosmosdb.models.RestoreParameters :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1416,12 +1568,16 @@ class DatabaseAccountGetResults(ARMResourceProperties): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'document_endpoint': {'readonly': True}, 'database_account_offer_type': {'readonly': True, 'constant': True}, @@ -1430,6 +1586,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'locations': {'readonly': True}, 'failover_policies': {'readonly': True}, 'private_endpoint_connections': {'readonly': True}, + 'instance_id': {'readonly': True}, } _attribute_map = { @@ -1440,6 +1597,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'tags': {'key': 'tags', 'type': '{str}'}, 'kind': {'key': 'kind', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'document_endpoint': {'key': 'properties.documentEndpoint', 'type': 'str'}, 'database_account_offer_type': {'key': 'properties.databaseAccountOfferType', 'type': 'str'}, @@ -1464,10 +1622,15 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, + 'instance_id': {'key': 'properties.instanceId', 'type': 'str'}, + 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, + 'restore_parameters': {'key': 'properties.restoreParameters', 'type': 'RestoreParameters'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } database_account_offer_type = "Standard" @@ -1479,6 +1642,7 @@ def __init__( super(DatabaseAccountGetResults, self).__init__(**kwargs) self.kind = kwargs.get('kind', None) self.identity = kwargs.get('identity', None) + self.system_data = None self.provisioning_state = None self.document_endpoint = None self.database_account_offer_type = None @@ -1503,10 +1667,15 @@ def __init__( self.enable_free_tier = kwargs.get('enable_free_tier', None) self.api_properties = kwargs.get('api_properties', None) self.enable_analytical_storage = kwargs.get('enable_analytical_storage', None) + self.analytical_storage_configuration = kwargs.get('analytical_storage_configuration', None) + self.instance_id = None + self.create_mode = kwargs.get('create_mode', "Default") + self.restore_parameters = kwargs.get('restore_parameters', None) self.backup_policy = kwargs.get('backup_policy', None) self.cors = kwargs.get('cors', None) self.network_acl_bypass = kwargs.get('network_acl_bypass', None) self.network_acl_bypass_resource_ids = kwargs.get('network_acl_bypass_resource_ids', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) class DatabaseAccountListConnectionStringsResult(msrest.serialization.Model): @@ -1707,6 +1876,9 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1717,6 +1889,9 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool """ _attribute_map = { @@ -1740,10 +1915,12 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -1771,10 +1948,35 @@ def __init__( self.enable_free_tier = kwargs.get('enable_free_tier', None) self.api_properties = kwargs.get('api_properties', None) self.enable_analytical_storage = kwargs.get('enable_analytical_storage', None) + self.analytical_storage_configuration = kwargs.get('analytical_storage_configuration', None) self.backup_policy = kwargs.get('backup_policy', None) self.cors = kwargs.get('cors', None) self.network_acl_bypass = kwargs.get('network_acl_bypass', None) self.network_acl_bypass_resource_ids = kwargs.get('network_acl_bypass_resource_ids', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) + + +class DatabaseRestoreResource(msrest.serialization.Model): + """Specific Databases to restore. + + :param database_name: The name of the database available for restore. + :type database_name: str + :param collection_names: The names of the collections available for restore. + :type collection_names: list[str] + """ + + _attribute_map = { + 'database_name': {'key': 'databaseName', 'type': 'str'}, + 'collection_names': {'key': 'collectionNames', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DatabaseRestoreResource, self).__init__(**kwargs) + self.database_name = kwargs.get('database_name', None) + self.collection_names = kwargs.get('collection_names', None) class ErrorResponse(msrest.serialization.Model): @@ -3952,6 +4154,9 @@ class PeriodicModeBackupPolicy(BackupPolicy): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState :param periodic_mode_properties: Configuration values for periodic mode backup. :type periodic_mode_properties: ~azure.mgmt.cosmosdb.models.PeriodicModeProperties """ @@ -3962,6 +4167,7 @@ class PeriodicModeBackupPolicy(BackupPolicy): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, 'periodic_mode_properties': {'key': 'periodicModeProperties', 'type': 'PeriodicModeProperties'}, } @@ -4313,37 +4519,11 @@ def __init__( self.region = kwargs['region'] -class SpatialSpec(msrest.serialization.Model): - """SpatialSpec. - - :param path: The path for which the indexing behavior applies to. Index paths typically start - with root and end with wildcard (/path/*). - :type path: str - :param types: List of path's spatial type. - :type types: list[str or ~azure.mgmt.cosmosdb.models.SpatialType] - """ - - _attribute_map = { - 'path': {'key': 'path', 'type': 'str'}, - 'types': {'key': 'types', 'type': '[str]'}, - } - - def __init__( - self, - **kwargs - ): - super(SpatialSpec, self).__init__(**kwargs) - self.path = kwargs.get('path', None) - self.types = kwargs.get('types', None) - - -class SqlContainerCreateUpdateParameters(ARMResourceProperties): - """Parameters to create and update Cosmos DB container. +class RestorableDatabaseAccountGetResult(msrest.serialization.Model): + """A Azure Cosmos DB restorable database account. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The unique resource identifier of the ARM resource. :vartype id: str :ivar name: The name of the ARM resource. @@ -4352,25 +4532,27 @@ class SqlContainerCreateUpdateParameters(ARMResourceProperties): :vartype type: str :param location: The location of the resource group to which the resource belongs. :type location: str - :param tags: A set of tags. Tags are a list of key-value pairs that describe the resource. - These tags can be used in viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 - characters and value no greater than 256 characters. For example, the default experience for a - template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values - also include "Table", "Graph", "DocumentDB", and "MongoDB". - :type tags: dict[str, str] - :param resource: Required. The standard JSON format of a container. - :type resource: ~azure.mgmt.cosmosdb.models.SqlContainerResource - :param options: A key-value pair of options to be applied for the request. This corresponds to - the headers sent with the request. - :type options: ~azure.mgmt.cosmosdb.models.CreateUpdateOptions + :param account_name: The name of the global database account. + :type account_name: str + :param creation_time: The creation time of the restorable database account (ISO-8601 format). + :type creation_time: ~datetime.datetime + :param deletion_time: The time at which the restorable database account has been deleted + (ISO-8601 format). + :type deletion_time: ~datetime.datetime + :ivar api_type: The API type of the restorable database account. Possible values include: + "MongoDB", "Gremlin", "Cassandra", "Table", "Sql", "GremlinV2". + :vartype api_type: str or ~azure.mgmt.cosmosdb.models.ApiType + :ivar restorable_locations: List of regions where the of the database account can be restored + from. + :vartype restorable_locations: list[~azure.mgmt.cosmosdb.models.RestorableLocationResource] """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'resource': {'required': True}, + 'api_type': {'readonly': True}, + 'restorable_locations': {'readonly': True}, } _attribute_map = { @@ -4378,162 +4560,1016 @@ class SqlContainerCreateUpdateParameters(ARMResourceProperties): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'resource': {'key': 'properties.resource', 'type': 'SqlContainerResource'}, - 'options': {'key': 'properties.options', 'type': 'CreateUpdateOptions'}, + 'account_name': {'key': 'properties.accountName', 'type': 'str'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'deletion_time': {'key': 'properties.deletionTime', 'type': 'iso-8601'}, + 'api_type': {'key': 'properties.apiType', 'type': 'str'}, + 'restorable_locations': {'key': 'properties.restorableLocations', 'type': '[RestorableLocationResource]'}, } def __init__( self, **kwargs ): - super(SqlContainerCreateUpdateParameters, self).__init__(**kwargs) - self.resource = kwargs['resource'] - self.options = kwargs.get('options', None) + super(RestorableDatabaseAccountGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = kwargs.get('location', None) + self.account_name = kwargs.get('account_name', None) + self.creation_time = kwargs.get('creation_time', None) + self.deletion_time = kwargs.get('deletion_time', None) + self.api_type = None + self.restorable_locations = None -class SqlContainerGetPropertiesOptions(OptionsResource): - """SqlContainerGetPropertiesOptions. +class RestorableDatabaseAccountsListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable database accounts and their properties. - :param throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the - ThroughputSetting resource when retrieving offer details. - :type throughput: int - :param autoscale_settings: Specifies the Autoscale settings. - :type autoscale_settings: ~azure.mgmt.cosmosdb.models.AutoscaleSettings + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable database accounts and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableDatabaseAccountGetResult] """ + _validation = { + 'value': {'readonly': True}, + } + _attribute_map = { - 'throughput': {'key': 'throughput', 'type': 'int'}, - 'autoscale_settings': {'key': 'autoscaleSettings', 'type': 'AutoscaleSettings'}, + 'value': {'key': 'value', 'type': '[RestorableDatabaseAccountGetResult]'}, } def __init__( self, **kwargs ): - super(SqlContainerGetPropertiesOptions, self).__init__(**kwargs) + super(RestorableDatabaseAccountsListResult, self).__init__(**kwargs) + self.value = None -class SqlContainerResource(msrest.serialization.Model): - """Cosmos DB SQL container resource object. +class RestorableLocationResource(msrest.serialization.Model): + """Properties of the regional restorable account. - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :param id: Required. Name of the Cosmos DB SQL container. - :type id: str - :param indexing_policy: The configuration of the indexing policy. By default, the indexing is - automatic for all document paths within the container. - :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy - :param partition_key: The configuration of the partition key to be used for partitioning data - into multiple partitions. - :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey - :param default_ttl: Default time to live. - :type default_ttl: int - :param unique_key_policy: The unique key policy configuration for specifying uniqueness - constraints on documents in the collection in the Azure Cosmos DB service. - :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy - :param conflict_resolution_policy: The conflict resolution policy for the container. - :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy - :param analytical_storage_ttl: Analytical TTL. - :type analytical_storage_ttl: long + :ivar location_name: The location of the regional restorable account. + :vartype location_name: str + :ivar regional_database_account_instance_id: The instance id of the regional restorable + account. + :vartype regional_database_account_instance_id: str + :ivar creation_time: The creation time of the regional restorable database account (ISO-8601 + format). + :vartype creation_time: ~datetime.datetime + :ivar deletion_time: The time at which the regional restorable database account has been + deleted (ISO-8601 format). + :vartype deletion_time: ~datetime.datetime """ _validation = { - 'id': {'required': True}, + 'location_name': {'readonly': True}, + 'regional_database_account_instance_id': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'deletion_time': {'readonly': True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, - 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, - 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, - 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, - 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, - 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + 'location_name': {'key': 'locationName', 'type': 'str'}, + 'regional_database_account_instance_id': {'key': 'regionalDatabaseAccountInstanceId', 'type': 'str'}, + 'creation_time': {'key': 'creationTime', 'type': 'iso-8601'}, + 'deletion_time': {'key': 'deletionTime', 'type': 'iso-8601'}, } def __init__( self, **kwargs ): - super(SqlContainerResource, self).__init__(**kwargs) - self.id = kwargs['id'] - self.indexing_policy = kwargs.get('indexing_policy', None) - self.partition_key = kwargs.get('partition_key', None) - self.default_ttl = kwargs.get('default_ttl', None) - self.unique_key_policy = kwargs.get('unique_key_policy', None) - self.conflict_resolution_policy = kwargs.get('conflict_resolution_policy', None) - self.analytical_storage_ttl = kwargs.get('analytical_storage_ttl', None) + super(RestorableLocationResource, self).__init__(**kwargs) + self.location_name = None + self.regional_database_account_instance_id = None + self.creation_time = None + self.deletion_time = None -class SqlContainerGetPropertiesResource(ExtendedResourceProperties, SqlContainerResource): - """SqlContainerGetPropertiesResource. +class RestorableMongodbCollectionGetResult(msrest.serialization.Model): + """An Azure Cosmos DB MongoDB collection event. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :param id: Required. Name of the Cosmos DB SQL container. - :type id: str - :param indexing_policy: The configuration of the indexing policy. By default, the indexing is - automatic for all document paths within the container. - :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy - :param partition_key: The configuration of the partition key to be used for partitioning data - into multiple partitions. - :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey - :param default_ttl: Default time to live. - :type default_ttl: int - :param unique_key_policy: The unique key policy configuration for specifying uniqueness - constraints on documents in the collection in the Azure Cosmos DB service. - :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy - :param conflict_resolution_policy: The conflict resolution policy for the container. - :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy - :param analytical_storage_ttl: Analytical TTL. - :type analytical_storage_ttl: long - :ivar rid: A system generated property. A unique identifier. - :vartype rid: str - :ivar ts: A system generated property that denotes the last updated timestamp of the resource. - :vartype ts: float - :ivar etag: A system generated property representing the resource etag required for optimistic - concurrency control. - :vartype etag: str + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB MongoDB collection event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableMongodbCollectionPropertiesResource """ _validation = { - 'id': {'required': True}, - 'rid': {'readonly': True}, - 'ts': {'readonly': True}, - 'etag': {'readonly': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, - 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, - 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, - 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, - 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, - 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, - 'rid': {'key': '_rid', 'type': 'str'}, - 'ts': {'key': '_ts', 'type': 'float'}, - 'etag': {'key': '_etag', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableMongodbCollectionPropertiesResource'}, } def __init__( self, **kwargs ): - super(SqlContainerGetPropertiesResource, self).__init__(**kwargs) - self.id = kwargs['id'] - self.indexing_policy = kwargs.get('indexing_policy', None) - self.partition_key = kwargs.get('partition_key', None) - self.default_ttl = kwargs.get('default_ttl', None) - self.unique_key_policy = kwargs.get('unique_key_policy', None) - self.conflict_resolution_policy = kwargs.get('conflict_resolution_policy', None) - self.analytical_storage_ttl = kwargs.get('analytical_storage_ttl', None) - self.rid = None - self.ts = None - self.etag = None + super(RestorableMongodbCollectionGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = kwargs.get('resource', None) + + +class RestorableMongodbCollectionPropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB MongoDB collection event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this collection event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this collection event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this MongoDB collection. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this MongoDB collection. + :vartype owner_resource_id: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbCollectionPropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + + +class RestorableMongodbCollectionsListResult(msrest.serialization.Model): + """The List operation response, that contains the MongoDB collection events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of MongoDB collection events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableMongodbCollectionGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableMongodbCollectionGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbCollectionsListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableMongodbDatabaseGetResult(msrest.serialization.Model): + """An Azure Cosmos DB MongoDB database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB MongoDB database event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableMongodbDatabasePropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableMongodbDatabasePropertiesResource'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbDatabaseGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = kwargs.get('resource', None) + + +class RestorableMongodbDatabasePropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB MongoDB database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this database event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this database event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this MongoDB database. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this MongoDB database. + :vartype owner_resource_id: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbDatabasePropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + + +class RestorableMongodbDatabasesListResult(msrest.serialization.Model): + """The List operation response, that contains the MongoDB database events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of MongoDB database events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableMongodbDatabaseGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableMongodbDatabaseGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbDatabasesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableMongodbResourcesListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable MongoDB resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable MongoDB resources, including the database and collection names. + :vartype value: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbResourcesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlContainerGetResult(msrest.serialization.Model): + """An Azure Cosmos DB SQL container event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB SQL container event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableSqlContainerPropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableSqlContainerPropertiesResource'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlContainerGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = kwargs.get('resource', None) + + +class RestorableSqlContainerPropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB SQL container event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this container event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The when this container event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this SQL container. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this SQL container. + :vartype owner_resource_id: str + :param container: Cosmos DB SQL container resource object. + :type container: ~azure.mgmt.cosmosdb.models.RestorableSqlContainerPropertiesResourceContainer + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + 'container': {'key': 'container', 'type': 'RestorableSqlContainerPropertiesResourceContainer'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlContainerPropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + self.container = kwargs.get('container', None) + + +class SqlContainerResource(msrest.serialization.Model): + """Cosmos DB SQL container resource object. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, + 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, + 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, + 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, + 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlContainerResource, self).__init__(**kwargs) + self.id = kwargs['id'] + self.indexing_policy = kwargs.get('indexing_policy', None) + self.partition_key = kwargs.get('partition_key', None) + self.default_ttl = kwargs.get('default_ttl', None) + self.unique_key_policy = kwargs.get('unique_key_policy', None) + self.conflict_resolution_policy = kwargs.get('conflict_resolution_policy', None) + self.analytical_storage_ttl = kwargs.get('analytical_storage_ttl', None) + + +class RestorableSqlContainerPropertiesResourceContainer(ExtendedResourceProperties, SqlContainerResource): + """Cosmos DB SQL container resource object. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + :ivar self_property: A system generated property that specifies the addressable path of the + container resource. + :vartype self_property: str + """ + + _validation = { + 'id': {'required': True}, + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + 'self_property': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, + 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, + 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, + 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, + 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + 'rid': {'key': '_rid', 'type': 'str'}, + 'ts': {'key': '_ts', 'type': 'float'}, + 'etag': {'key': '_etag', 'type': 'str'}, + 'self_property': {'key': '_self', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlContainerPropertiesResourceContainer, self).__init__(**kwargs) + self.id = kwargs['id'] + self.indexing_policy = kwargs.get('indexing_policy', None) + self.partition_key = kwargs.get('partition_key', None) + self.default_ttl = kwargs.get('default_ttl', None) + self.unique_key_policy = kwargs.get('unique_key_policy', None) + self.conflict_resolution_policy = kwargs.get('conflict_resolution_policy', None) + self.analytical_storage_ttl = kwargs.get('analytical_storage_ttl', None) + self.self_property = None + self.rid = None + self.ts = None + self.etag = None + self.self_property = None + + +class RestorableSqlContainersListResult(msrest.serialization.Model): + """The List operation response, that contains the SQL container events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of SQL container events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableSqlContainerGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableSqlContainerGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlContainersListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlDatabaseGetResult(msrest.serialization.Model): + """An Azure Cosmos DB SQL database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB SQL database event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableSqlDatabasePropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableSqlDatabasePropertiesResource'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlDatabaseGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = kwargs.get('resource', None) + + +class RestorableSqlDatabasePropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB SQL database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this database event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this database event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of the SQL database. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of the SQL database. + :vartype owner_resource_id: str + :param database: Cosmos DB SQL database resource object. + :type database: ~azure.mgmt.cosmosdb.models.RestorableSqlDatabasePropertiesResourceDatabase + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'RestorableSqlDatabasePropertiesResourceDatabase'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlDatabasePropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + self.database = kwargs.get('database', None) + + +class SqlDatabaseResource(msrest.serialization.Model): + """Cosmos DB SQL database resource object. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL database. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlDatabaseResource, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class RestorableSqlDatabasePropertiesResourceDatabase(SqlDatabaseResource, ExtendedResourceProperties): + """Cosmos DB SQL database resource object. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + :param id: Required. Name of the Cosmos DB SQL database. + :type id: str + :ivar colls: A system generated property that specified the addressable path of the collections + resource. + :vartype colls: str + :ivar users: A system generated property that specifies the addressable path of the users + resource. + :vartype users: str + :ivar self_property: A system generated property that specifies the addressable path of the + database resource. + :vartype self_property: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + 'id': {'required': True}, + 'colls': {'readonly': True}, + 'users': {'readonly': True}, + 'self_property': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'ts': {'key': '_ts', 'type': 'float'}, + 'etag': {'key': '_etag', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'colls': {'key': '_colls', 'type': 'str'}, + 'users': {'key': '_users', 'type': 'str'}, + 'self_property': {'key': '_self', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlDatabasePropertiesResourceDatabase, self).__init__(**kwargs) + self.rid = None + self.ts = None + self.etag = None + self.colls = None + self.users = None + self.self_property = None + self.id = kwargs['id'] + self.colls = None + self.users = None + self.self_property = None + + +class RestorableSqlDatabasesListResult(msrest.serialization.Model): + """The List operation response, that contains the SQL database events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of SQL database events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableSqlDatabaseGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableSqlDatabaseGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlDatabasesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlResourcesListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable SQL resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable SQL resources, including the database and collection names. + :vartype value: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlResourcesListResult, self).__init__(**kwargs) + self.value = None + + +class RestoreParameters(msrest.serialization.Model): + """Parameters to indicate the information about the restore. + + :param restore_mode: Describes the mode of the restore. Possible values include: "PointInTime". + :type restore_mode: str or ~azure.mgmt.cosmosdb.models.RestoreMode + :param restore_source: The id of the restorable database account from which the restore has to + be initiated. For example: + /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}. + :type restore_source: str + :param restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 + format). + :type restore_timestamp_in_utc: ~datetime.datetime + :param databases_to_restore: List of specific databases available for restore. + :type databases_to_restore: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _attribute_map = { + 'restore_mode': {'key': 'restoreMode', 'type': 'str'}, + 'restore_source': {'key': 'restoreSource', 'type': 'str'}, + 'restore_timestamp_in_utc': {'key': 'restoreTimestampInUtc', 'type': 'iso-8601'}, + 'databases_to_restore': {'key': 'databasesToRestore', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestoreParameters, self).__init__(**kwargs) + self.restore_mode = kwargs.get('restore_mode', None) + self.restore_source = kwargs.get('restore_source', None) + self.restore_timestamp_in_utc = kwargs.get('restore_timestamp_in_utc', None) + self.databases_to_restore = kwargs.get('databases_to_restore', None) + + +class SpatialSpec(msrest.serialization.Model): + """SpatialSpec. + + :param path: The path for which the indexing behavior applies to. Index paths typically start + with root and end with wildcard (/path/*). + :type path: str + :param types: List of path's spatial type. + :type types: list[str or ~azure.mgmt.cosmosdb.models.SpatialType] + """ + + _attribute_map = { + 'path': {'key': 'path', 'type': 'str'}, + 'types': {'key': 'types', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SpatialSpec, self).__init__(**kwargs) + self.path = kwargs.get('path', None) + self.types = kwargs.get('types', None) + + +class SqlContainerCreateUpdateParameters(ARMResourceProperties): + """Parameters to create and update Cosmos DB container. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The unique resource identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param location: The location of the resource group to which the resource belongs. + :type location: str + :param tags: A set of tags. Tags are a list of key-value pairs that describe the resource. + These tags can be used in viewing and grouping this resource (across resource groups). A + maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 + characters and value no greater than 256 characters. For example, the default experience for a + template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values + also include "Table", "Graph", "DocumentDB", and "MongoDB". + :type tags: dict[str, str] + :param resource: Required. The standard JSON format of a container. + :type resource: ~azure.mgmt.cosmosdb.models.SqlContainerResource + :param options: A key-value pair of options to be applied for the request. This corresponds to + the headers sent with the request. + :type options: ~azure.mgmt.cosmosdb.models.CreateUpdateOptions + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'resource': {'key': 'properties.resource', 'type': 'SqlContainerResource'}, + 'options': {'key': 'properties.options', 'type': 'CreateUpdateOptions'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlContainerCreateUpdateParameters, self).__init__(**kwargs) + self.resource = kwargs['resource'] + self.options = kwargs.get('options', None) + + +class SqlContainerGetPropertiesOptions(OptionsResource): + """SqlContainerGetPropertiesOptions. + + :param throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the + ThroughputSetting resource when retrieving offer details. + :type throughput: int + :param autoscale_settings: Specifies the Autoscale settings. + :type autoscale_settings: ~azure.mgmt.cosmosdb.models.AutoscaleSettings + """ + + _attribute_map = { + 'throughput': {'key': 'throughput', 'type': 'int'}, + 'autoscale_settings': {'key': 'autoscaleSettings', 'type': 'AutoscaleSettings'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlContainerGetPropertiesOptions, self).__init__(**kwargs) + + +class SqlContainerGetPropertiesResource(ExtendedResourceProperties, SqlContainerResource): + """SqlContainerGetPropertiesResource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + """ + + _validation = { + 'id': {'required': True}, + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, + 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, + 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, + 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, + 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + 'rid': {'key': '_rid', 'type': 'str'}, + 'ts': {'key': '_ts', 'type': 'float'}, + 'etag': {'key': '_etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SqlContainerGetPropertiesResource, self).__init__(**kwargs) + self.id = kwargs['id'] + self.indexing_policy = kwargs.get('indexing_policy', None) + self.partition_key = kwargs.get('partition_key', None) + self.default_ttl = kwargs.get('default_ttl', None) + self.unique_key_policy = kwargs.get('unique_key_policy', None) + self.conflict_resolution_policy = kwargs.get('conflict_resolution_policy', None) + self.analytical_storage_ttl = kwargs.get('analytical_storage_ttl', None) + self.rid = None + self.ts = None + self.etag = None class SqlContainerGetResults(ARMResourceProperties): @@ -4689,31 +5725,6 @@ def __init__( super(SqlDatabaseGetPropertiesOptions, self).__init__(**kwargs) -class SqlDatabaseResource(msrest.serialization.Model): - """Cosmos DB SQL database resource object. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Name of the Cosmos DB SQL database. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(SqlDatabaseResource, self).__init__(**kwargs) - self.id = kwargs['id'] - - class SqlDatabaseGetPropertiesResource(SqlDatabaseResource, ExtendedResourceProperties): """SqlDatabaseGetPropertiesResource. @@ -5690,6 +6701,47 @@ def __init__( self.value = None +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.cosmosdb.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.cosmosdb.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + class TableCreateUpdateParameters(ARMResourceProperties): """Parameters to create and update Cosmos DB Table. diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py index efea1038dbb8..3d33e0d4e0bd 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py @@ -6,6 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import datetime from typing import Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError @@ -14,6 +15,28 @@ from ._cosmos_db_management_client_enums import * +class AnalyticalStorageConfiguration(msrest.serialization.Model): + """Analytical storage specific properties. + + :param schema_type: Describes the types of schema for analytical storage. Possible values + include: "WellDefined", "FullFidelity". + :type schema_type: str or ~azure.mgmt.cosmosdb.models.AnalyticalStorageSchemaType + """ + + _attribute_map = { + 'schema_type': {'key': 'schemaType', 'type': 'str'}, + } + + def __init__( + self, + *, + schema_type: Optional[Union[str, "AnalyticalStorageSchemaType"]] = None, + **kwargs + ): + super(AnalyticalStorageConfiguration, self).__init__(**kwargs) + self.schema_type = schema_type + + class ApiProperties(msrest.serialization.Model): """ApiProperties. @@ -205,6 +228,31 @@ def __init__( self.throughput_policy = throughput_policy +class BackupInformation(msrest.serialization.Model): + """Backup information of a resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar continuous_backup_information: Information about the status of continuous backups. + :vartype continuous_backup_information: ~azure.mgmt.cosmosdb.models.ContinuousBackupInformation + """ + + _validation = { + 'continuous_backup_information': {'readonly': True}, + } + + _attribute_map = { + 'continuous_backup_information': {'key': 'continuousBackupInformation', 'type': 'ContinuousBackupInformation'}, + } + + def __init__( + self, + **kwargs + ): + super(BackupInformation, self).__init__(**kwargs) + self.continuous_backup_information = None + + class BackupPolicy(msrest.serialization.Model): """The object representing the policy for taking backups on an account. @@ -216,6 +264,9 @@ class BackupPolicy(msrest.serialization.Model): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState """ _validation = { @@ -224,6 +275,7 @@ class BackupPolicy(msrest.serialization.Model): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, } _subtype_map = { @@ -232,10 +284,46 @@ class BackupPolicy(msrest.serialization.Model): def __init__( self, + *, + migration_state: Optional["BackupPolicyMigrationState"] = None, **kwargs ): super(BackupPolicy, self).__init__(**kwargs) self.type = None # type: Optional[str] + self.migration_state = migration_state + + +class BackupPolicyMigrationState(msrest.serialization.Model): + """The object representing the state of the migration between the backup policies. + + :param status: Describes the status of migration between backup policy types. Possible values + include: "Invalid", "InProgress", "Completed", "Failed". + :type status: str or ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationStatus + :param target_type: Describes the target backup policy type of the backup policy migration. + Possible values include: "Periodic", "Continuous". + :type target_type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param start_time: Time at which the backup policy migration started (ISO-8601 format). + :type start_time: ~datetime.datetime + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'target_type': {'key': 'targetType', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + status: Optional[Union[str, "BackupPolicyMigrationStatus"]] = None, + target_type: Optional[Union[str, "BackupPolicyType"]] = None, + start_time: Optional[datetime.datetime] = None, + **kwargs + ): + super(BackupPolicyMigrationState, self).__init__(**kwargs) + self.status = status + self.target_type = target_type + self.start_time = start_time class Capability(msrest.serialization.Model): @@ -1115,6 +1203,48 @@ def __init__( self.system_key = None +class ContinuousBackupInformation(msrest.serialization.Model): + """Information about the status of continuous backups. + + :param latest_restorable_timestamp: The latest restorable timestamp for a resource. + :type latest_restorable_timestamp: str + """ + + _attribute_map = { + 'latest_restorable_timestamp': {'key': 'latestRestorableTimestamp', 'type': 'str'}, + } + + def __init__( + self, + *, + latest_restorable_timestamp: Optional[str] = None, + **kwargs + ): + super(ContinuousBackupInformation, self).__init__(**kwargs) + self.latest_restorable_timestamp = latest_restorable_timestamp + + +class ContinuousBackupRestoreLocation(msrest.serialization.Model): + """Properties of the regional restorable account. + + :param location: The name of the continuous backup restore location. + :type location: str + """ + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__( + self, + *, + location: Optional[str] = None, + **kwargs + ): + super(ContinuousBackupRestoreLocation, self).__init__(**kwargs) + self.location = location + + class ContinuousModeBackupPolicy(BackupPolicy): """The object representing continuous mode backup policy. @@ -1123,6 +1253,9 @@ class ContinuousModeBackupPolicy(BackupPolicy): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState """ _validation = { @@ -1131,13 +1264,16 @@ class ContinuousModeBackupPolicy(BackupPolicy): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, } def __init__( self, + *, + migration_state: Optional["BackupPolicyMigrationState"] = None, **kwargs ): - super(ContinuousModeBackupPolicy, self).__init__(**kwargs) + super(ContinuousModeBackupPolicy, self).__init__(migration_state=migration_state, **kwargs) self.type = 'Continuous' # type: str @@ -1325,6 +1461,12 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration + :param create_mode: Enum to indicate the mode of account creation. Possible values include: + "Default", "Restore". Default value: "Default". + :type create_mode: str or ~azure.mgmt.cosmosdb.models.CreateMode :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1335,6 +1477,11 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool + :param restore_parameters: Parameters to indicate the information about the restore. + :type restore_parameters: ~azure.mgmt.cosmosdb.models.RestoreParameters """ _validation = { @@ -1371,10 +1518,14 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, + 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, + 'restore_parameters': {'key': 'properties.restoreParameters', 'type': 'RestoreParameters'}, } database_account_offer_type = "Standard" @@ -1403,10 +1554,14 @@ def __init__( enable_free_tier: Optional[bool] = None, api_properties: Optional["ApiProperties"] = None, enable_analytical_storage: Optional[bool] = None, + analytical_storage_configuration: Optional["AnalyticalStorageConfiguration"] = None, + create_mode: Optional[Union[str, "CreateMode"]] = "Default", backup_policy: Optional["BackupPolicy"] = None, cors: Optional[List["CorsPolicy"]] = None, network_acl_bypass: Optional[Union[str, "NetworkAclBypass"]] = None, network_acl_bypass_resource_ids: Optional[List[str]] = None, + disable_local_auth: Optional[bool] = None, + restore_parameters: Optional["RestoreParameters"] = None, **kwargs ): super(DatabaseAccountCreateUpdateParameters, self).__init__(location=location, tags=tags, **kwargs) @@ -1429,10 +1584,14 @@ def __init__( self.enable_free_tier = enable_free_tier self.api_properties = api_properties self.enable_analytical_storage = enable_analytical_storage + self.analytical_storage_configuration = analytical_storage_configuration + self.create_mode = create_mode self.backup_policy = backup_policy self.cors = cors self.network_acl_bypass = network_acl_bypass self.network_acl_bypass_resource_ids = network_acl_bypass_resource_ids + self.disable_local_auth = disable_local_auth + self.restore_parameters = restore_parameters class DatabaseAccountGetResults(ARMResourceProperties): @@ -1460,6 +1619,8 @@ class DatabaseAccountGetResults(ARMResourceProperties): :type kind: str or ~azure.mgmt.cosmosdb.models.DatabaseAccountKind :param identity: Identity for the resource. :type identity: ~azure.mgmt.cosmosdb.models.ManagedServiceIdentity + :ivar system_data: The system meta data relating to this resource. + :vartype system_data: ~azure.mgmt.cosmosdb.models.SystemData :ivar provisioning_state: The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for @@ -1529,6 +1690,16 @@ class DatabaseAccountGetResults(ARMResourceProperties): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration + :ivar instance_id: A unique identifier assigned to the database account. + :vartype instance_id: str + :param create_mode: Enum to indicate the mode of account creation. Possible values include: + "Default", "Restore". Default value: "Default". + :type create_mode: str or ~azure.mgmt.cosmosdb.models.CreateMode + :param restore_parameters: Parameters to indicate the information about the restore. + :type restore_parameters: ~azure.mgmt.cosmosdb.models.RestoreParameters :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1539,12 +1710,16 @@ class DatabaseAccountGetResults(ARMResourceProperties): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'document_endpoint': {'readonly': True}, 'database_account_offer_type': {'readonly': True, 'constant': True}, @@ -1553,6 +1728,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'locations': {'readonly': True}, 'failover_policies': {'readonly': True}, 'private_endpoint_connections': {'readonly': True}, + 'instance_id': {'readonly': True}, } _attribute_map = { @@ -1563,6 +1739,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'tags': {'key': 'tags', 'type': '{str}'}, 'kind': {'key': 'kind', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'document_endpoint': {'key': 'properties.documentEndpoint', 'type': 'str'}, 'database_account_offer_type': {'key': 'properties.databaseAccountOfferType', 'type': 'str'}, @@ -1587,10 +1764,15 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, + 'instance_id': {'key': 'properties.instanceId', 'type': 'str'}, + 'create_mode': {'key': 'properties.createMode', 'type': 'str'}, + 'restore_parameters': {'key': 'properties.restoreParameters', 'type': 'RestoreParameters'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } database_account_offer_type = "Standard" @@ -1618,15 +1800,20 @@ def __init__( enable_free_tier: Optional[bool] = None, api_properties: Optional["ApiProperties"] = None, enable_analytical_storage: Optional[bool] = None, + analytical_storage_configuration: Optional["AnalyticalStorageConfiguration"] = None, + create_mode: Optional[Union[str, "CreateMode"]] = "Default", + restore_parameters: Optional["RestoreParameters"] = None, backup_policy: Optional["BackupPolicy"] = None, cors: Optional[List["CorsPolicy"]] = None, network_acl_bypass: Optional[Union[str, "NetworkAclBypass"]] = None, network_acl_bypass_resource_ids: Optional[List[str]] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): super(DatabaseAccountGetResults, self).__init__(location=location, tags=tags, **kwargs) self.kind = kind self.identity = identity + self.system_data = None self.provisioning_state = None self.document_endpoint = None self.database_account_offer_type = None @@ -1651,10 +1838,15 @@ def __init__( self.enable_free_tier = enable_free_tier self.api_properties = api_properties self.enable_analytical_storage = enable_analytical_storage + self.analytical_storage_configuration = analytical_storage_configuration + self.instance_id = None + self.create_mode = create_mode + self.restore_parameters = restore_parameters self.backup_policy = backup_policy self.cors = cors self.network_acl_bypass = network_acl_bypass self.network_acl_bypass_resource_ids = network_acl_bypass_resource_ids + self.disable_local_auth = disable_local_auth class DatabaseAccountListConnectionStringsResult(msrest.serialization.Model): @@ -1859,6 +2051,9 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): :type api_properties: ~azure.mgmt.cosmosdb.models.ApiProperties :param enable_analytical_storage: Flag to indicate whether to enable storage analytics. :type enable_analytical_storage: bool + :param analytical_storage_configuration: Analytical storage specific properties. + :type analytical_storage_configuration: + ~azure.mgmt.cosmosdb.models.AnalyticalStorageConfiguration :param backup_policy: The object representing the policy for taking backups on an account. :type backup_policy: ~azure.mgmt.cosmosdb.models.BackupPolicy :param cors: The CORS policy for the Cosmos DB database account. @@ -1869,6 +2064,9 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): :param network_acl_bypass_resource_ids: An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. :type network_acl_bypass_resource_ids: list[str] + :param disable_local_auth: Opt-out of local authentication and ensure only MSI and AAD can be + used exclusively for authentication. + :type disable_local_auth: bool """ _attribute_map = { @@ -1892,10 +2090,12 @@ class DatabaseAccountUpdateParameters(msrest.serialization.Model): 'enable_free_tier': {'key': 'properties.enableFreeTier', 'type': 'bool'}, 'api_properties': {'key': 'properties.apiProperties', 'type': 'ApiProperties'}, 'enable_analytical_storage': {'key': 'properties.enableAnalyticalStorage', 'type': 'bool'}, + 'analytical_storage_configuration': {'key': 'properties.analyticalStorageConfiguration', 'type': 'AnalyticalStorageConfiguration'}, 'backup_policy': {'key': 'properties.backupPolicy', 'type': 'BackupPolicy'}, 'cors': {'key': 'properties.cors', 'type': '[CorsPolicy]'}, 'network_acl_bypass': {'key': 'properties.networkAclBypass', 'type': 'str'}, 'network_acl_bypass_resource_ids': {'key': 'properties.networkAclBypassResourceIds', 'type': '[str]'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -1921,10 +2121,12 @@ def __init__( enable_free_tier: Optional[bool] = None, api_properties: Optional["ApiProperties"] = None, enable_analytical_storage: Optional[bool] = None, + analytical_storage_configuration: Optional["AnalyticalStorageConfiguration"] = None, backup_policy: Optional["BackupPolicy"] = None, cors: Optional[List["CorsPolicy"]] = None, network_acl_bypass: Optional[Union[str, "NetworkAclBypass"]] = None, network_acl_bypass_resource_ids: Optional[List[str]] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): super(DatabaseAccountUpdateParameters, self).__init__(**kwargs) @@ -1948,10 +2150,38 @@ def __init__( self.enable_free_tier = enable_free_tier self.api_properties = api_properties self.enable_analytical_storage = enable_analytical_storage + self.analytical_storage_configuration = analytical_storage_configuration self.backup_policy = backup_policy self.cors = cors self.network_acl_bypass = network_acl_bypass self.network_acl_bypass_resource_ids = network_acl_bypass_resource_ids + self.disable_local_auth = disable_local_auth + + +class DatabaseRestoreResource(msrest.serialization.Model): + """Specific Databases to restore. + + :param database_name: The name of the database available for restore. + :type database_name: str + :param collection_names: The names of the collections available for restore. + :type collection_names: list[str] + """ + + _attribute_map = { + 'database_name': {'key': 'databaseName', 'type': 'str'}, + 'collection_names': {'key': 'collectionNames', 'type': '[str]'}, + } + + def __init__( + self, + *, + database_name: Optional[str] = None, + collection_names: Optional[List[str]] = None, + **kwargs + ): + super(DatabaseRestoreResource, self).__init__(**kwargs) + self.database_name = database_name + self.collection_names = collection_names class ErrorResponse(msrest.serialization.Model): @@ -4267,6 +4497,9 @@ class PeriodicModeBackupPolicy(BackupPolicy): :param type: Required. Describes the mode of backups.Constant filled by server. Possible values include: "Periodic", "Continuous". :type type: str or ~azure.mgmt.cosmosdb.models.BackupPolicyType + :param migration_state: The object representing the state of the migration between the backup + policies. + :type migration_state: ~azure.mgmt.cosmosdb.models.BackupPolicyMigrationState :param periodic_mode_properties: Configuration values for periodic mode backup. :type periodic_mode_properties: ~azure.mgmt.cosmosdb.models.PeriodicModeProperties """ @@ -4277,16 +4510,18 @@ class PeriodicModeBackupPolicy(BackupPolicy): _attribute_map = { 'type': {'key': 'type', 'type': 'str'}, + 'migration_state': {'key': 'migrationState', 'type': 'BackupPolicyMigrationState'}, 'periodic_mode_properties': {'key': 'periodicModeProperties', 'type': 'PeriodicModeProperties'}, } def __init__( self, *, + migration_state: Optional["BackupPolicyMigrationState"] = None, periodic_mode_properties: Optional["PeriodicModeProperties"] = None, **kwargs ): - super(PeriodicModeBackupPolicy, self).__init__(**kwargs) + super(PeriodicModeBackupPolicy, self).__init__(migration_state=migration_state, **kwargs) self.type = 'Periodic' # type: str self.periodic_mode_properties = periodic_mode_properties @@ -4652,40 +4887,11 @@ def __init__( self.region = region -class SpatialSpec(msrest.serialization.Model): - """SpatialSpec. - - :param path: The path for which the indexing behavior applies to. Index paths typically start - with root and end with wildcard (/path/*). - :type path: str - :param types: List of path's spatial type. - :type types: list[str or ~azure.mgmt.cosmosdb.models.SpatialType] - """ - - _attribute_map = { - 'path': {'key': 'path', 'type': 'str'}, - 'types': {'key': 'types', 'type': '[str]'}, - } - - def __init__( - self, - *, - path: Optional[str] = None, - types: Optional[List[Union[str, "SpatialType"]]] = None, - **kwargs - ): - super(SpatialSpec, self).__init__(**kwargs) - self.path = path - self.types = types - - -class SqlContainerCreateUpdateParameters(ARMResourceProperties): - """Parameters to create and update Cosmos DB container. +class RestorableDatabaseAccountGetResult(msrest.serialization.Model): + """A Azure Cosmos DB restorable database account. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The unique resource identifier of the ARM resource. :vartype id: str :ivar name: The name of the ARM resource. @@ -4694,25 +4900,27 @@ class SqlContainerCreateUpdateParameters(ARMResourceProperties): :vartype type: str :param location: The location of the resource group to which the resource belongs. :type location: str - :param tags: A set of tags. Tags are a list of key-value pairs that describe the resource. - These tags can be used in viewing and grouping this resource (across resource groups). A - maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 - characters and value no greater than 256 characters. For example, the default experience for a - template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values - also include "Table", "Graph", "DocumentDB", and "MongoDB". - :type tags: dict[str, str] - :param resource: Required. The standard JSON format of a container. - :type resource: ~azure.mgmt.cosmosdb.models.SqlContainerResource - :param options: A key-value pair of options to be applied for the request. This corresponds to - the headers sent with the request. - :type options: ~azure.mgmt.cosmosdb.models.CreateUpdateOptions + :param account_name: The name of the global database account. + :type account_name: str + :param creation_time: The creation time of the restorable database account (ISO-8601 format). + :type creation_time: ~datetime.datetime + :param deletion_time: The time at which the restorable database account has been deleted + (ISO-8601 format). + :type deletion_time: ~datetime.datetime + :ivar api_type: The API type of the restorable database account. Possible values include: + "MongoDB", "Gremlin", "Cassandra", "Table", "Sql", "GremlinV2". + :vartype api_type: str or ~azure.mgmt.cosmosdb.models.ApiType + :ivar restorable_locations: List of regions where the of the database account can be restored + from. + :vartype restorable_locations: list[~azure.mgmt.cosmosdb.models.RestorableLocationResource] """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'resource': {'required': True}, + 'api_type': {'readonly': True}, + 'restorable_locations': {'readonly': True}, } _attribute_map = { @@ -4720,153 +4928,1044 @@ class SqlContainerCreateUpdateParameters(ARMResourceProperties): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, - 'resource': {'key': 'properties.resource', 'type': 'SqlContainerResource'}, - 'options': {'key': 'properties.options', 'type': 'CreateUpdateOptions'}, + 'account_name': {'key': 'properties.accountName', 'type': 'str'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'deletion_time': {'key': 'properties.deletionTime', 'type': 'iso-8601'}, + 'api_type': {'key': 'properties.apiType', 'type': 'str'}, + 'restorable_locations': {'key': 'properties.restorableLocations', 'type': '[RestorableLocationResource]'}, } def __init__( self, *, - resource: "SqlContainerResource", location: Optional[str] = None, - tags: Optional[Dict[str, str]] = None, - options: Optional["CreateUpdateOptions"] = None, + account_name: Optional[str] = None, + creation_time: Optional[datetime.datetime] = None, + deletion_time: Optional[datetime.datetime] = None, **kwargs ): - super(SqlContainerCreateUpdateParameters, self).__init__(location=location, tags=tags, **kwargs) - self.resource = resource - self.options = options + super(RestorableDatabaseAccountGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = location + self.account_name = account_name + self.creation_time = creation_time + self.deletion_time = deletion_time + self.api_type = None + self.restorable_locations = None -class SqlContainerGetPropertiesOptions(OptionsResource): - """SqlContainerGetPropertiesOptions. +class RestorableDatabaseAccountsListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable database accounts and their properties. - :param throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the - ThroughputSetting resource when retrieving offer details. - :type throughput: int - :param autoscale_settings: Specifies the Autoscale settings. - :type autoscale_settings: ~azure.mgmt.cosmosdb.models.AutoscaleSettings + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable database accounts and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableDatabaseAccountGetResult] """ + _validation = { + 'value': {'readonly': True}, + } + _attribute_map = { - 'throughput': {'key': 'throughput', 'type': 'int'}, - 'autoscale_settings': {'key': 'autoscaleSettings', 'type': 'AutoscaleSettings'}, + 'value': {'key': 'value', 'type': '[RestorableDatabaseAccountGetResult]'}, } def __init__( self, - *, - throughput: Optional[int] = None, - autoscale_settings: Optional["AutoscaleSettings"] = None, **kwargs ): - super(SqlContainerGetPropertiesOptions, self).__init__(throughput=throughput, autoscale_settings=autoscale_settings, **kwargs) + super(RestorableDatabaseAccountsListResult, self).__init__(**kwargs) + self.value = None -class SqlContainerResource(msrest.serialization.Model): - """Cosmos DB SQL container resource object. +class RestorableLocationResource(msrest.serialization.Model): + """Properties of the regional restorable account. - All required parameters must be populated in order to send to Azure. + Variables are only populated by the server, and will be ignored when sending a request. - :param id: Required. Name of the Cosmos DB SQL container. - :type id: str - :param indexing_policy: The configuration of the indexing policy. By default, the indexing is - automatic for all document paths within the container. - :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy - :param partition_key: The configuration of the partition key to be used for partitioning data - into multiple partitions. - :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey - :param default_ttl: Default time to live. - :type default_ttl: int - :param unique_key_policy: The unique key policy configuration for specifying uniqueness - constraints on documents in the collection in the Azure Cosmos DB service. - :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy - :param conflict_resolution_policy: The conflict resolution policy for the container. - :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy - :param analytical_storage_ttl: Analytical TTL. - :type analytical_storage_ttl: long + :ivar location_name: The location of the regional restorable account. + :vartype location_name: str + :ivar regional_database_account_instance_id: The instance id of the regional restorable + account. + :vartype regional_database_account_instance_id: str + :ivar creation_time: The creation time of the regional restorable database account (ISO-8601 + format). + :vartype creation_time: ~datetime.datetime + :ivar deletion_time: The time at which the regional restorable database account has been + deleted (ISO-8601 format). + :vartype deletion_time: ~datetime.datetime """ _validation = { - 'id': {'required': True}, + 'location_name': {'readonly': True}, + 'regional_database_account_instance_id': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'deletion_time': {'readonly': True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, - 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, - 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, - 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, - 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, - 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + 'location_name': {'key': 'locationName', 'type': 'str'}, + 'regional_database_account_instance_id': {'key': 'regionalDatabaseAccountInstanceId', 'type': 'str'}, + 'creation_time': {'key': 'creationTime', 'type': 'iso-8601'}, + 'deletion_time': {'key': 'deletionTime', 'type': 'iso-8601'}, } def __init__( self, - *, - id: str, - indexing_policy: Optional["IndexingPolicy"] = None, - partition_key: Optional["ContainerPartitionKey"] = None, - default_ttl: Optional[int] = None, - unique_key_policy: Optional["UniqueKeyPolicy"] = None, - conflict_resolution_policy: Optional["ConflictResolutionPolicy"] = None, - analytical_storage_ttl: Optional[int] = None, **kwargs ): - super(SqlContainerResource, self).__init__(**kwargs) - self.id = id - self.indexing_policy = indexing_policy - self.partition_key = partition_key - self.default_ttl = default_ttl - self.unique_key_policy = unique_key_policy - self.conflict_resolution_policy = conflict_resolution_policy - self.analytical_storage_ttl = analytical_storage_ttl + super(RestorableLocationResource, self).__init__(**kwargs) + self.location_name = None + self.regional_database_account_instance_id = None + self.creation_time = None + self.deletion_time = None -class SqlContainerGetPropertiesResource(ExtendedResourceProperties, SqlContainerResource): - """SqlContainerGetPropertiesResource. +class RestorableMongodbCollectionGetResult(msrest.serialization.Model): + """An Azure Cosmos DB MongoDB collection event. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - - :param id: Required. Name of the Cosmos DB SQL container. - :type id: str - :param indexing_policy: The configuration of the indexing policy. By default, the indexing is - automatic for all document paths within the container. - :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy - :param partition_key: The configuration of the partition key to be used for partitioning data - into multiple partitions. - :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey - :param default_ttl: Default time to live. - :type default_ttl: int - :param unique_key_policy: The unique key policy configuration for specifying uniqueness - constraints on documents in the collection in the Azure Cosmos DB service. - :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy - :param conflict_resolution_policy: The conflict resolution policy for the container. - :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy - :param analytical_storage_ttl: Analytical TTL. - :type analytical_storage_ttl: long - :ivar rid: A system generated property. A unique identifier. - :vartype rid: str - :ivar ts: A system generated property that denotes the last updated timestamp of the resource. - :vartype ts: float - :ivar etag: A system generated property representing the resource etag required for optimistic - concurrency control. - :vartype etag: str + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB MongoDB collection event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableMongodbCollectionPropertiesResource """ _validation = { - 'id': {'required': True}, - 'rid': {'readonly': True}, - 'ts': {'readonly': True}, - 'etag': {'readonly': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableMongodbCollectionPropertiesResource'}, + } + + def __init__( + self, + *, + resource: Optional["RestorableMongodbCollectionPropertiesResource"] = None, + **kwargs + ): + super(RestorableMongodbCollectionGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = resource + + +class RestorableMongodbCollectionPropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB MongoDB collection event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this collection event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this collection event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this MongoDB collection. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this MongoDB collection. + :vartype owner_resource_id: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbCollectionPropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + + +class RestorableMongodbCollectionsListResult(msrest.serialization.Model): + """The List operation response, that contains the MongoDB collection events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of MongoDB collection events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableMongodbCollectionGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableMongodbCollectionGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbCollectionsListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableMongodbDatabaseGetResult(msrest.serialization.Model): + """An Azure Cosmos DB MongoDB database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB MongoDB database event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableMongodbDatabasePropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableMongodbDatabasePropertiesResource'}, + } + + def __init__( + self, + *, + resource: Optional["RestorableMongodbDatabasePropertiesResource"] = None, + **kwargs + ): + super(RestorableMongodbDatabaseGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = resource + + +class RestorableMongodbDatabasePropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB MongoDB database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this database event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this database event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this MongoDB database. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this MongoDB database. + :vartype owner_resource_id: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbDatabasePropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + + +class RestorableMongodbDatabasesListResult(msrest.serialization.Model): + """The List operation response, that contains the MongoDB database events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of MongoDB database events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableMongodbDatabaseGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableMongodbDatabaseGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbDatabasesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableMongodbResourcesListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable MongoDB resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable MongoDB resources, including the database and collection names. + :vartype value: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableMongodbResourcesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlContainerGetResult(msrest.serialization.Model): + """An Azure Cosmos DB SQL container event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB SQL container event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableSqlContainerPropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableSqlContainerPropertiesResource'}, + } + + def __init__( + self, + *, + resource: Optional["RestorableSqlContainerPropertiesResource"] = None, + **kwargs + ): + super(RestorableSqlContainerGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = resource + + +class RestorableSqlContainerPropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB SQL container event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this container event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The when this container event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of this SQL container. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of this SQL container. + :vartype owner_resource_id: str + :param container: Cosmos DB SQL container resource object. + :type container: ~azure.mgmt.cosmosdb.models.RestorableSqlContainerPropertiesResourceContainer + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + 'container': {'key': 'container', 'type': 'RestorableSqlContainerPropertiesResourceContainer'}, + } + + def __init__( + self, + *, + container: Optional["RestorableSqlContainerPropertiesResourceContainer"] = None, + **kwargs + ): + super(RestorableSqlContainerPropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + self.container = container + + +class SqlContainerResource(msrest.serialization.Model): + """Cosmos DB SQL container resource object. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, + 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, + 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, + 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, + 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + } + + def __init__( + self, + *, + id: str, + indexing_policy: Optional["IndexingPolicy"] = None, + partition_key: Optional["ContainerPartitionKey"] = None, + default_ttl: Optional[int] = None, + unique_key_policy: Optional["UniqueKeyPolicy"] = None, + conflict_resolution_policy: Optional["ConflictResolutionPolicy"] = None, + analytical_storage_ttl: Optional[int] = None, + **kwargs + ): + super(SqlContainerResource, self).__init__(**kwargs) + self.id = id + self.indexing_policy = indexing_policy + self.partition_key = partition_key + self.default_ttl = default_ttl + self.unique_key_policy = unique_key_policy + self.conflict_resolution_policy = conflict_resolution_policy + self.analytical_storage_ttl = analytical_storage_ttl + + +class RestorableSqlContainerPropertiesResourceContainer(ExtendedResourceProperties, SqlContainerResource): + """Cosmos DB SQL container resource object. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + :ivar self_property: A system generated property that specifies the addressable path of the + container resource. + :vartype self_property: str + """ + + _validation = { + 'id': {'required': True}, + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + 'self_property': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, + 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, + 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, + 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, + 'conflict_resolution_policy': {'key': 'conflictResolutionPolicy', 'type': 'ConflictResolutionPolicy'}, + 'analytical_storage_ttl': {'key': 'analyticalStorageTtl', 'type': 'long'}, + 'rid': {'key': '_rid', 'type': 'str'}, + 'ts': {'key': '_ts', 'type': 'float'}, + 'etag': {'key': '_etag', 'type': 'str'}, + 'self_property': {'key': '_self', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + indexing_policy: Optional["IndexingPolicy"] = None, + partition_key: Optional["ContainerPartitionKey"] = None, + default_ttl: Optional[int] = None, + unique_key_policy: Optional["UniqueKeyPolicy"] = None, + conflict_resolution_policy: Optional["ConflictResolutionPolicy"] = None, + analytical_storage_ttl: Optional[int] = None, + **kwargs + ): + super(RestorableSqlContainerPropertiesResourceContainer, self).__init__(id=id, indexing_policy=indexing_policy, partition_key=partition_key, default_ttl=default_ttl, unique_key_policy=unique_key_policy, conflict_resolution_policy=conflict_resolution_policy, analytical_storage_ttl=analytical_storage_ttl, **kwargs) + self.id = id + self.indexing_policy = indexing_policy + self.partition_key = partition_key + self.default_ttl = default_ttl + self.unique_key_policy = unique_key_policy + self.conflict_resolution_policy = conflict_resolution_policy + self.analytical_storage_ttl = analytical_storage_ttl + self.self_property = None + self.rid = None + self.ts = None + self.etag = None + self.self_property = None + + +class RestorableSqlContainersListResult(msrest.serialization.Model): + """The List operation response, that contains the SQL container events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of SQL container events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableSqlContainerGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableSqlContainerGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlContainersListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlDatabaseGetResult(msrest.serialization.Model): + """An Azure Cosmos DB SQL database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The unique resource Identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param resource: The resource of an Azure Cosmos DB SQL database event. + :type resource: ~azure.mgmt.cosmosdb.models.RestorableSqlDatabasePropertiesResource + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource': {'key': 'properties.resource', 'type': 'RestorableSqlDatabasePropertiesResource'}, + } + + def __init__( + self, + *, + resource: Optional["RestorableSqlDatabasePropertiesResource"] = None, + **kwargs + ): + super(RestorableSqlDatabaseGetResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.resource = resource + + +class RestorableSqlDatabasePropertiesResource(msrest.serialization.Model): + """The resource of an Azure Cosmos DB SQL database event. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar operation_type: The operation type of this database event. Possible values include: + "Create", "Replace", "Delete", "SystemOperation". + :vartype operation_type: str or ~azure.mgmt.cosmosdb.models.OperationType + :ivar event_timestamp: The time when this database event happened. + :vartype event_timestamp: str + :ivar owner_id: The name of the SQL database. + :vartype owner_id: str + :ivar owner_resource_id: The resource ID of the SQL database. + :vartype owner_resource_id: str + :param database: Cosmos DB SQL database resource object. + :type database: ~azure.mgmt.cosmosdb.models.RestorableSqlDatabasePropertiesResourceDatabase + """ + + _validation = { + 'rid': {'readonly': True}, + 'operation_type': {'readonly': True}, + 'event_timestamp': {'readonly': True}, + 'owner_id': {'readonly': True}, + 'owner_resource_id': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'operation_type': {'key': 'operationType', 'type': 'str'}, + 'event_timestamp': {'key': 'eventTimestamp', 'type': 'str'}, + 'owner_id': {'key': 'ownerId', 'type': 'str'}, + 'owner_resource_id': {'key': 'ownerResourceId', 'type': 'str'}, + 'database': {'key': 'database', 'type': 'RestorableSqlDatabasePropertiesResourceDatabase'}, + } + + def __init__( + self, + *, + database: Optional["RestorableSqlDatabasePropertiesResourceDatabase"] = None, + **kwargs + ): + super(RestorableSqlDatabasePropertiesResource, self).__init__(**kwargs) + self.rid = None + self.operation_type = None + self.event_timestamp = None + self.owner_id = None + self.owner_resource_id = None + self.database = database + + +class SqlDatabaseResource(msrest.serialization.Model): + """Cosmos DB SQL database resource object. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL database. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(SqlDatabaseResource, self).__init__(**kwargs) + self.id = id + + +class RestorableSqlDatabasePropertiesResourceDatabase(SqlDatabaseResource, ExtendedResourceProperties): + """Cosmos DB SQL database resource object. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + :param id: Required. Name of the Cosmos DB SQL database. + :type id: str + :ivar colls: A system generated property that specified the addressable path of the collections + resource. + :vartype colls: str + :ivar users: A system generated property that specifies the addressable path of the users + resource. + :vartype users: str + :ivar self_property: A system generated property that specifies the addressable path of the + database resource. + :vartype self_property: str + """ + + _validation = { + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + 'id': {'required': True}, + 'colls': {'readonly': True}, + 'users': {'readonly': True}, + 'self_property': {'readonly': True}, + } + + _attribute_map = { + 'rid': {'key': '_rid', 'type': 'str'}, + 'ts': {'key': '_ts', 'type': 'float'}, + 'etag': {'key': '_etag', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'colls': {'key': '_colls', 'type': 'str'}, + 'users': {'key': '_users', 'type': 'str'}, + 'self_property': {'key': '_self', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(RestorableSqlDatabasePropertiesResourceDatabase, self).__init__(id=id, **kwargs) + self.rid = None + self.ts = None + self.etag = None + self.colls = None + self.users = None + self.self_property = None + self.id = id + self.colls = None + self.users = None + self.self_property = None + + +class RestorableSqlDatabasesListResult(msrest.serialization.Model): + """The List operation response, that contains the SQL database events and their properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of SQL database events and their properties. + :vartype value: list[~azure.mgmt.cosmosdb.models.RestorableSqlDatabaseGetResult] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RestorableSqlDatabaseGetResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlDatabasesListResult, self).__init__(**kwargs) + self.value = None + + +class RestorableSqlResourcesListResult(msrest.serialization.Model): + """The List operation response, that contains the restorable SQL resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of restorable SQL resources, including the database and collection names. + :vartype value: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(RestorableSqlResourcesListResult, self).__init__(**kwargs) + self.value = None + + +class RestoreParameters(msrest.serialization.Model): + """Parameters to indicate the information about the restore. + + :param restore_mode: Describes the mode of the restore. Possible values include: "PointInTime". + :type restore_mode: str or ~azure.mgmt.cosmosdb.models.RestoreMode + :param restore_source: The id of the restorable database account from which the restore has to + be initiated. For example: + /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}. + :type restore_source: str + :param restore_timestamp_in_utc: Time to which the account has to be restored (ISO-8601 + format). + :type restore_timestamp_in_utc: ~datetime.datetime + :param databases_to_restore: List of specific databases available for restore. + :type databases_to_restore: list[~azure.mgmt.cosmosdb.models.DatabaseRestoreResource] + """ + + _attribute_map = { + 'restore_mode': {'key': 'restoreMode', 'type': 'str'}, + 'restore_source': {'key': 'restoreSource', 'type': 'str'}, + 'restore_timestamp_in_utc': {'key': 'restoreTimestampInUtc', 'type': 'iso-8601'}, + 'databases_to_restore': {'key': 'databasesToRestore', 'type': '[DatabaseRestoreResource]'}, + } + + def __init__( + self, + *, + restore_mode: Optional[Union[str, "RestoreMode"]] = None, + restore_source: Optional[str] = None, + restore_timestamp_in_utc: Optional[datetime.datetime] = None, + databases_to_restore: Optional[List["DatabaseRestoreResource"]] = None, + **kwargs + ): + super(RestoreParameters, self).__init__(**kwargs) + self.restore_mode = restore_mode + self.restore_source = restore_source + self.restore_timestamp_in_utc = restore_timestamp_in_utc + self.databases_to_restore = databases_to_restore + + +class SpatialSpec(msrest.serialization.Model): + """SpatialSpec. + + :param path: The path for which the indexing behavior applies to. Index paths typically start + with root and end with wildcard (/path/*). + :type path: str + :param types: List of path's spatial type. + :type types: list[str or ~azure.mgmt.cosmosdb.models.SpatialType] + """ + + _attribute_map = { + 'path': {'key': 'path', 'type': 'str'}, + 'types': {'key': 'types', 'type': '[str]'}, + } + + def __init__( + self, + *, + path: Optional[str] = None, + types: Optional[List[Union[str, "SpatialType"]]] = None, + **kwargs + ): + super(SpatialSpec, self).__init__(**kwargs) + self.path = path + self.types = types + + +class SqlContainerCreateUpdateParameters(ARMResourceProperties): + """Parameters to create and update Cosmos DB container. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: The unique resource identifier of the ARM resource. + :vartype id: str + :ivar name: The name of the ARM resource. + :vartype name: str + :ivar type: The type of Azure resource. + :vartype type: str + :param location: The location of the resource group to which the resource belongs. + :type location: str + :param tags: A set of tags. Tags are a list of key-value pairs that describe the resource. + These tags can be used in viewing and grouping this resource (across resource groups). A + maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 + characters and value no greater than 256 characters. For example, the default experience for a + template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values + also include "Table", "Graph", "DocumentDB", and "MongoDB". + :type tags: dict[str, str] + :param resource: Required. The standard JSON format of a container. + :type resource: ~azure.mgmt.cosmosdb.models.SqlContainerResource + :param options: A key-value pair of options to be applied for the request. This corresponds to + the headers sent with the request. + :type options: ~azure.mgmt.cosmosdb.models.CreateUpdateOptions + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'resource': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'resource': {'key': 'properties.resource', 'type': 'SqlContainerResource'}, + 'options': {'key': 'properties.options', 'type': 'CreateUpdateOptions'}, + } + + def __init__( + self, + *, + resource: "SqlContainerResource", + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + options: Optional["CreateUpdateOptions"] = None, + **kwargs + ): + super(SqlContainerCreateUpdateParameters, self).__init__(location=location, tags=tags, **kwargs) + self.resource = resource + self.options = options + + +class SqlContainerGetPropertiesOptions(OptionsResource): + """SqlContainerGetPropertiesOptions. + + :param throughput: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the + ThroughputSetting resource when retrieving offer details. + :type throughput: int + :param autoscale_settings: Specifies the Autoscale settings. + :type autoscale_settings: ~azure.mgmt.cosmosdb.models.AutoscaleSettings + """ + + _attribute_map = { + 'throughput': {'key': 'throughput', 'type': 'int'}, + 'autoscale_settings': {'key': 'autoscaleSettings', 'type': 'AutoscaleSettings'}, + } + + def __init__( + self, + *, + throughput: Optional[int] = None, + autoscale_settings: Optional["AutoscaleSettings"] = None, + **kwargs + ): + super(SqlContainerGetPropertiesOptions, self).__init__(throughput=throughput, autoscale_settings=autoscale_settings, **kwargs) + + +class SqlContainerGetPropertiesResource(ExtendedResourceProperties, SqlContainerResource): + """SqlContainerGetPropertiesResource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. Name of the Cosmos DB SQL container. + :type id: str + :param indexing_policy: The configuration of the indexing policy. By default, the indexing is + automatic for all document paths within the container. + :type indexing_policy: ~azure.mgmt.cosmosdb.models.IndexingPolicy + :param partition_key: The configuration of the partition key to be used for partitioning data + into multiple partitions. + :type partition_key: ~azure.mgmt.cosmosdb.models.ContainerPartitionKey + :param default_ttl: Default time to live. + :type default_ttl: int + :param unique_key_policy: The unique key policy configuration for specifying uniqueness + constraints on documents in the collection in the Azure Cosmos DB service. + :type unique_key_policy: ~azure.mgmt.cosmosdb.models.UniqueKeyPolicy + :param conflict_resolution_policy: The conflict resolution policy for the container. + :type conflict_resolution_policy: ~azure.mgmt.cosmosdb.models.ConflictResolutionPolicy + :param analytical_storage_ttl: Analytical TTL. + :type analytical_storage_ttl: long + :ivar rid: A system generated property. A unique identifier. + :vartype rid: str + :ivar ts: A system generated property that denotes the last updated timestamp of the resource. + :vartype ts: float + :ivar etag: A system generated property representing the resource etag required for optimistic + concurrency control. + :vartype etag: str + """ + + _validation = { + 'id': {'required': True}, + 'rid': {'readonly': True}, + 'ts': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'indexing_policy': {'key': 'indexingPolicy', 'type': 'IndexingPolicy'}, 'partition_key': {'key': 'partitionKey', 'type': 'ContainerPartitionKey'}, 'default_ttl': {'key': 'defaultTtl', 'type': 'int'}, 'unique_key_policy': {'key': 'uniqueKeyPolicy', 'type': 'UniqueKeyPolicy'}, @@ -5068,33 +6167,6 @@ def __init__( super(SqlDatabaseGetPropertiesOptions, self).__init__(throughput=throughput, autoscale_settings=autoscale_settings, **kwargs) -class SqlDatabaseResource(msrest.serialization.Model): - """Cosmos DB SQL database resource object. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. Name of the Cosmos DB SQL database. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__( - self, - *, - id: str, - **kwargs - ): - super(SqlDatabaseResource, self).__init__(**kwargs) - self.id = id - - class SqlDatabaseGetPropertiesResource(SqlDatabaseResource, ExtendedResourceProperties): """SqlDatabaseGetPropertiesResource. @@ -6147,6 +7219,54 @@ def __init__( self.value = None +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~azure.mgmt.cosmosdb.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~azure.mgmt.cosmosdb.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + class TableCreateUpdateParameters(ARMResourceProperties): """Parameters to create and update Cosmos DB Table. diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/__init__.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/__init__.py index 6e148cf5877a..a265f7a8b397 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/__init__.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/__init__.py @@ -25,8 +25,15 @@ from ._cassandra_resources_operations import CassandraResourcesOperations from ._gremlin_resources_operations import GremlinResourcesOperations from ._notebook_workspaces_operations import NotebookWorkspacesOperations -from ._private_link_resources_operations import PrivateLinkResourcesOperations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations +from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._restorable_database_accounts_operations import RestorableDatabaseAccountsOperations +from ._restorable_sql_databases_operations import RestorableSqlDatabasesOperations +from ._restorable_sql_containers_operations import RestorableSqlContainersOperations +from ._restorable_sql_resources_operations import RestorableSqlResourcesOperations +from ._restorable_mongodb_databases_operations import RestorableMongodbDatabasesOperations +from ._restorable_mongodb_collections_operations import RestorableMongodbCollectionsOperations +from ._restorable_mongodb_resources_operations import RestorableMongodbResourcesOperations __all__ = [ 'DatabaseAccountsOperations', @@ -48,6 +55,13 @@ 'CassandraResourcesOperations', 'GremlinResourcesOperations', 'NotebookWorkspacesOperations', - 'PrivateLinkResourcesOperations', 'PrivateEndpointConnectionsOperations', + 'PrivateLinkResourcesOperations', + 'RestorableDatabaseAccountsOperations', + 'RestorableSqlDatabasesOperations', + 'RestorableSqlContainersOperations', + 'RestorableSqlResourcesOperations', + 'RestorableMongodbDatabasesOperations', + 'RestorableMongodbCollectionsOperations', + 'RestorableMongodbResourcesOperations', ] diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_cassandra_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_cassandra_resources_operations.py index 32c6432e091c..49a461b5be8f 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_cassandra_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_cassandra_resources_operations.py @@ -70,7 +70,7 @@ def list_cassandra_keyspaces( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_cassandra_keyspaces.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -149,14 +149,14 @@ def get_cassandra_keyspace( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_keyspace.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -200,7 +200,7 @@ def _create_update_cassandra_keyspace_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -208,7 +208,7 @@ def _create_update_cassandra_keyspace_initial( url = self._create_update_cassandra_keyspace_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -266,8 +266,8 @@ def begin_create_update_cassandra_keyspace( :type create_update_cassandra_keyspace_parameters: ~azure.mgmt.cosmosdb.models.CassandraKeyspaceCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CassandraKeyspaceGetResults or the result of cls(response) @@ -303,7 +303,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -335,13 +335,13 @@ def _delete_cassandra_keyspace_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_cassandra_keyspace_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -385,8 +385,8 @@ def begin_delete_cassandra_keyspace( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -464,14 +464,14 @@ def get_cassandra_keyspace_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_keyspace_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -515,7 +515,7 @@ def _update_cassandra_keyspace_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -523,7 +523,7 @@ def _update_cassandra_keyspace_throughput_initial( url = self._update_cassandra_keyspace_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -581,8 +581,8 @@ def begin_update_cassandra_keyspace_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -618,7 +618,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -650,14 +650,14 @@ def _migrate_cassandra_keyspace_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_keyspace_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -707,8 +707,8 @@ def begin_migrate_cassandra_keyspace_to_autoscale( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -743,7 +743,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -775,14 +775,14 @@ def _migrate_cassandra_keyspace_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_keyspace_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -832,8 +832,8 @@ def begin_migrate_cassandra_keyspace_to_manual_throughput( :type keyspace_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -868,7 +868,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -913,7 +913,7 @@ def list_cassandra_tables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -926,7 +926,7 @@ def prepare_request(next_link=None): url = self.list_cassandra_tables.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), } @@ -995,14 +995,14 @@ def get_cassandra_table( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_table.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1048,7 +1048,7 @@ def _create_update_cassandra_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1056,7 +1056,7 @@ def _create_update_cassandra_table_initial( url = self._create_update_cassandra_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1118,8 +1118,8 @@ def begin_create_update_cassandra_table( :type create_update_cassandra_table_parameters: ~azure.mgmt.cosmosdb.models.CassandraTableCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CassandraTableGetResults or the result of cls(response) @@ -1156,7 +1156,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1190,13 +1190,13 @@ def _delete_cassandra_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_cassandra_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1244,8 +1244,8 @@ def begin_delete_cassandra_table( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1278,7 +1278,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1328,14 +1328,14 @@ def get_cassandra_table_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_cassandra_table_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1381,7 +1381,7 @@ def _update_cassandra_table_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1389,7 +1389,7 @@ def _update_cassandra_table_throughput_initial( url = self._update_cassandra_table_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1451,8 +1451,8 @@ def begin_update_cassandra_table_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1489,7 +1489,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1523,14 +1523,14 @@ def _migrate_cassandra_table_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_table_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1584,8 +1584,8 @@ def begin_migrate_cassandra_table_to_autoscale( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1621,7 +1621,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1655,14 +1655,14 @@ def _migrate_cassandra_table_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_cassandra_table_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), @@ -1716,8 +1716,8 @@ def begin_migrate_cassandra_table_to_manual_throughput( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1753,7 +1753,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'keyspaceName': self._serialize.url("keyspace_name", keyspace_name, 'str'), 'tableName': self._serialize.url("table_name", table_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_operations.py index dd58b5ea3345..5a01bcf883c4 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_operations.py @@ -80,7 +80,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -93,7 +93,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -168,7 +168,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -181,7 +181,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -253,7 +253,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -266,7 +266,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_operations.py index 6db6627392e0..400a1ecc55b8 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_operations.py @@ -80,7 +80,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -93,7 +93,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), @@ -168,7 +168,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -181,7 +181,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_region_operations.py index 051f9ae89d80..6e5c6d657227 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_partition_region_operations.py @@ -83,7 +83,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -96,7 +96,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_region_operations.py index 2378a73a302b..cf7289d24510 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_collection_region_operations.py @@ -83,7 +83,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -96,7 +96,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_account_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_account_region_operations.py index 2b5b96402a3d..d42a97e399a9 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_account_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_account_region_operations.py @@ -76,7 +76,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -89,7 +89,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_accounts_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_accounts_operations.py index f9989e7912a7..eff67f3dd187 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_accounts_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_accounts_operations.py @@ -70,14 +70,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -119,7 +119,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -127,7 +127,7 @@ def _update_initial( url = self._update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -178,8 +178,8 @@ def begin_update( :type update_parameters: ~azure.mgmt.cosmosdb.models.DatabaseAccountUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DatabaseAccountGetResults or the result of cls(response) @@ -214,7 +214,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -245,7 +245,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -253,7 +253,7 @@ def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -305,8 +305,8 @@ def begin_create_or_update( :type create_update_parameters: ~azure.mgmt.cosmosdb.models.DatabaseAccountCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DatabaseAccountGetResults or the result of cls(response) @@ -341,7 +341,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -371,13 +371,13 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -417,8 +417,8 @@ def begin_delete( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -449,7 +449,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -480,14 +480,14 @@ def _failover_priority_change_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") # Construct URL url = self._failover_priority_change_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -537,8 +537,8 @@ def begin_failover_priority_change( :type failover_parameters: ~azure.mgmt.cosmosdb.models.FailoverPolicies :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -570,7 +570,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -605,7 +605,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -675,7 +675,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -687,7 +687,7 @@ def prepare_request(next_link=None): # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore path_format_arguments = { - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), } url = self._client.format_url(url, **path_format_arguments) @@ -749,14 +749,14 @@ def list_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -808,14 +808,14 @@ def list_connection_strings( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_connection_strings.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -857,7 +857,7 @@ def _offline_region_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -865,7 +865,7 @@ def _offline_region_initial( url = self._offline_region_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -914,8 +914,8 @@ def begin_offline_region( :type region_parameter_for_offline: ~azure.mgmt.cosmosdb.models.RegionForOnlineOffline :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -947,7 +947,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -978,7 +978,7 @@ def _online_region_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -986,7 +986,7 @@ def _online_region_initial( url = self._online_region_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1035,8 +1035,8 @@ def begin_online_region( :type region_parameter_for_online: ~azure.mgmt.cosmosdb.models.RegionForOnlineOffline :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1068,7 +1068,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -1109,14 +1109,14 @@ def get_read_only_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_read_only_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1168,14 +1168,14 @@ def list_read_only_keys( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_read_only_keys.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1217,14 +1217,14 @@ def _regenerate_key_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") # Construct URL url = self._regenerate_key_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1271,8 +1271,8 @@ def begin_regenerate_key( :type key_to_regenerate: ~azure.mgmt.cosmosdb.models.DatabaseAccountRegenerateKeyParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1304,7 +1304,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -1344,7 +1344,7 @@ def check_name_exists( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self.check_name_exists.metadata['url'] # type: ignore @@ -1402,7 +1402,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1415,7 +1415,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1482,7 +1482,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1495,7 +1495,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -1559,7 +1559,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1572,7 +1572,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_operations.py index c0629ae7ac6d..4b4b3c74a152 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_database_operations.py @@ -77,7 +77,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -90,7 +90,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } @@ -161,7 +161,7 @@ def list_usages( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -174,7 +174,7 @@ def prepare_request(next_link=None): url = self.list_usages.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } @@ -242,7 +242,7 @@ def list_metric_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -255,7 +255,7 @@ def prepare_request(next_link=None): url = self.list_metric_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py index 1bdbd6c78ca5..f16c7e147257 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_gremlin_resources_operations.py @@ -70,7 +70,7 @@ def list_gremlin_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_gremlin_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -149,14 +149,14 @@ def get_gremlin_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -200,7 +200,7 @@ def _create_update_gremlin_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -208,7 +208,7 @@ def _create_update_gremlin_database_initial( url = self._create_update_gremlin_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -266,8 +266,8 @@ def begin_create_update_gremlin_database( :type create_update_gremlin_database_parameters: ~azure.mgmt.cosmosdb.models.GremlinDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GremlinDatabaseGetResults or the result of cls(response) @@ -303,7 +303,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -335,13 +335,13 @@ def _delete_gremlin_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_gremlin_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -385,8 +385,8 @@ def begin_delete_gremlin_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -464,14 +464,14 @@ def get_gremlin_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -515,7 +515,7 @@ def _update_gremlin_database_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -523,7 +523,7 @@ def _update_gremlin_database_throughput_initial( url = self._update_gremlin_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -581,8 +581,8 @@ def begin_update_gremlin_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -618,7 +618,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -650,14 +650,14 @@ def _migrate_gremlin_database_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -707,8 +707,8 @@ def begin_migrate_gremlin_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -743,7 +743,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -775,14 +775,14 @@ def _migrate_gremlin_database_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -832,8 +832,8 @@ def begin_migrate_gremlin_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -868,7 +868,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -913,7 +913,7 @@ def list_gremlin_graphs( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -926,7 +926,7 @@ def prepare_request(next_link=None): url = self.list_gremlin_graphs.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -995,14 +995,14 @@ def get_gremlin_graph( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_graph.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1048,7 +1048,7 @@ def _create_update_gremlin_graph_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1056,7 +1056,7 @@ def _create_update_gremlin_graph_initial( url = self._create_update_gremlin_graph_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1118,8 +1118,8 @@ def begin_create_update_gremlin_graph( :type create_update_gremlin_graph_parameters: ~azure.mgmt.cosmosdb.models.GremlinGraphCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GremlinGraphGetResults or the result of cls(response) @@ -1156,7 +1156,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1190,13 +1190,13 @@ def _delete_gremlin_graph_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_gremlin_graph_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1244,8 +1244,8 @@ def begin_delete_gremlin_graph( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1278,7 +1278,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1328,14 +1328,14 @@ def get_gremlin_graph_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_gremlin_graph_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1381,7 +1381,7 @@ def _update_gremlin_graph_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1389,7 +1389,7 @@ def _update_gremlin_graph_throughput_initial( url = self._update_gremlin_graph_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1451,8 +1451,8 @@ def begin_update_gremlin_graph_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1489,7 +1489,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1523,14 +1523,14 @@ def _migrate_gremlin_graph_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_graph_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1584,8 +1584,8 @@ def begin_migrate_gremlin_graph_to_autoscale( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1621,7 +1621,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1655,14 +1655,14 @@ def _migrate_gremlin_graph_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_gremlin_graph_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), @@ -1716,8 +1716,8 @@ def begin_migrate_gremlin_graph_to_manual_throughput( :type graph_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1753,7 +1753,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'graphName': self._serialize.url("graph_name", graph_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_mongo_db_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_mongo_db_resources_operations.py index e354ae0489be..aecf843cc629 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_mongo_db_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_mongo_db_resources_operations.py @@ -70,7 +70,7 @@ def list_mongo_db_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_mongo_db_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -149,14 +149,14 @@ def get_mongo_db_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -200,7 +200,7 @@ def _create_update_mongo_db_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -208,7 +208,7 @@ def _create_update_mongo_db_database_initial( url = self._create_update_mongo_db_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -266,8 +266,8 @@ def begin_create_update_mongo_db_database( :type create_update_mongo_db_database_parameters: ~azure.mgmt.cosmosdb.models.MongoDBDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either MongoDBDatabaseGetResults or the result of cls(response) @@ -303,7 +303,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -335,13 +335,13 @@ def _delete_mongo_db_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_mongo_db_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -385,8 +385,8 @@ def begin_delete_mongo_db_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -464,14 +464,14 @@ def get_mongo_db_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -515,7 +515,7 @@ def _update_mongo_db_database_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -523,7 +523,7 @@ def _update_mongo_db_database_throughput_initial( url = self._update_mongo_db_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -581,8 +581,8 @@ def begin_update_mongo_db_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -618,7 +618,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -650,14 +650,14 @@ def _migrate_mongo_db_database_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -707,8 +707,8 @@ def begin_migrate_mongo_db_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -743,7 +743,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -775,14 +775,14 @@ def _migrate_mongo_db_database_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -832,8 +832,8 @@ def begin_migrate_mongo_db_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -868,7 +868,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -913,7 +913,7 @@ def list_mongo_db_collections( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -926,7 +926,7 @@ def prepare_request(next_link=None): url = self.list_mongo_db_collections.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -995,14 +995,14 @@ def get_mongo_db_collection( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_collection.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1048,7 +1048,7 @@ def _create_update_mongo_db_collection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1056,7 +1056,7 @@ def _create_update_mongo_db_collection_initial( url = self._create_update_mongo_db_collection_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1118,8 +1118,8 @@ def begin_create_update_mongo_db_collection( :type create_update_mongo_db_collection_parameters: ~azure.mgmt.cosmosdb.models.MongoDBCollectionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either MongoDBCollectionGetResults or the result of cls(response) @@ -1156,7 +1156,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1190,13 +1190,13 @@ def _delete_mongo_db_collection_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_mongo_db_collection_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1244,8 +1244,8 @@ def begin_delete_mongo_db_collection( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1278,7 +1278,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1328,14 +1328,14 @@ def get_mongo_db_collection_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_mongo_db_collection_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1381,7 +1381,7 @@ def _update_mongo_db_collection_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1389,7 +1389,7 @@ def _update_mongo_db_collection_throughput_initial( url = self._update_mongo_db_collection_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1451,8 +1451,8 @@ def begin_update_mongo_db_collection_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1489,7 +1489,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1523,14 +1523,14 @@ def _migrate_mongo_db_collection_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_collection_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1584,8 +1584,8 @@ def begin_migrate_mongo_db_collection_to_autoscale( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1621,7 +1621,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1655,14 +1655,14 @@ def _migrate_mongo_db_collection_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_mongo_db_collection_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), @@ -1716,8 +1716,8 @@ def begin_migrate_mongo_db_collection_to_manual_throughput( :type collection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1753,7 +1753,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'collectionName': self._serialize.url("collection_name", collection_name, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_notebook_workspaces_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_notebook_workspaces_operations.py index d5d8909af05a..77c309c44ca5 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_notebook_workspaces_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_notebook_workspaces_operations.py @@ -70,7 +70,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -149,14 +149,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -201,7 +201,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -209,7 +209,7 @@ def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -266,8 +266,8 @@ def begin_create_or_update( :type notebook_create_update_parameters: ~azure.mgmt.cosmosdb.models.NotebookWorkspaceCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NotebookWorkspace or the result of cls(response) @@ -303,7 +303,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -335,14 +335,14 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -388,8 +388,8 @@ def begin_delete( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,7 +421,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -466,14 +466,14 @@ def list_connection_info( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.list_connection_info.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -517,14 +517,14 @@ def _regenerate_auth_token_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._regenerate_auth_token_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -570,8 +570,8 @@ def begin_regenerate_auth_token( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -603,7 +603,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -635,14 +635,14 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._start_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } @@ -688,8 +688,8 @@ def begin_start( :type notebook_workspace_name: str or ~azure.mgmt.cosmosdb.models.NotebookWorkspaceName :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,7 +721,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'notebookWorkspaceName': self._serialize.url("notebook_workspace_name", notebook_workspace_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_operations.py index 95c898fc3566..5f7d69c8c492 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_operations.py @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_operations.py index 800f9a5340fd..8b5c1bdcccf9 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_operations.py @@ -82,7 +82,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -95,7 +95,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), 'collectionRid': self._serialize.url("collection_rid", collection_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_region_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_region_operations.py index adc46fe2fcf6..b218afcbbf73 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_region_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_partition_key_range_id_region_operations.py @@ -86,7 +86,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -99,7 +99,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'region': self._serialize.url("region", region, 'str'), 'databaseRid': self._serialize.url("database_rid", database_rid, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_operations.py index e1261462c215..4aeaf0a009fc 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_operations.py @@ -74,7 +74,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -87,7 +87,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_source_target_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_source_target_operations.py index e30f16d01421..7e984a4c19f5 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_source_target_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_source_target_operations.py @@ -82,7 +82,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -95,7 +95,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'sourceRegion': self._serialize.url("source_region", source_region, 'str'), 'targetRegion': self._serialize.url("target_region", target_region, 'str'), diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_target_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_target_operations.py index 72001d2a813f..2c450517b58d 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_target_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_percentile_target_operations.py @@ -78,7 +78,7 @@ def list_metrics( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -91,7 +91,7 @@ def prepare_request(next_link=None): url = self.list_metrics.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'targetRegion': self._serialize.url("target_region", target_region, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_endpoint_connections_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_endpoint_connections_operations.py index 267f01b1b3c9..80318ba30195 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_endpoint_connections_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_endpoint_connections_operations.py @@ -70,7 +70,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -148,14 +148,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -199,7 +199,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -207,7 +207,7 @@ def _create_or_update_initial( url = self._create_or_update_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -265,8 +265,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.cosmosdb.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) @@ -302,7 +302,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -334,14 +334,14 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._delete_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } @@ -387,8 +387,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,7 +420,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_link_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_link_resources_operations.py index bcc8a233d6bf..96c65ede0cbd 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_link_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_private_link_resources_operations.py @@ -68,7 +68,7 @@ def list_by_database_account( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -81,7 +81,7 @@ def prepare_request(next_link=None): url = self.list_by_database_account.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -146,14 +146,14 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'groupName': self._serialize.url("group_name", group_name, 'str'), } diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_database_accounts_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_database_accounts_operations.py index 6e86ca3e36da..372dca34ed20 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_database_accounts_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_database_accounts_operations.py @@ -67,7 +67,7 @@ def list_by_location( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -136,7 +136,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -210,7 +210,7 @@ def get_by_location( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" # Construct URL diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_collections_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_collections_operations.py index cad264e396f7..5feddbcd2eef 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_collections_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_collections_operations.py @@ -73,7 +73,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_databases_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_databases_operations.py index 8cf141734123..d7c44f03d998 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_databases_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_databases_operations.py @@ -71,7 +71,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_resources_operations.py index 6a52296f3a95..e5508726fd5b 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_mongodb_resources_operations.py @@ -77,7 +77,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_containers_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_containers_operations.py index 17f0b22f4439..d9ae58d98a49 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_containers_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_containers_operations.py @@ -79,7 +79,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_databases_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_databases_operations.py index 1625972e3d7f..aba38b6a839c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_databases_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_databases_operations.py @@ -71,7 +71,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_resources_operations.py index 820e40dcf4be..637345e55a82 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_restorable_sql_resources_operations.py @@ -77,7 +77,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_sql_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_sql_resources_operations.py index 3e5f784d1fda..81914374caa6 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_sql_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_sql_resources_operations.py @@ -70,7 +70,7 @@ def list_sql_databases( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_sql_databases.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -149,14 +149,14 @@ def get_sql_database( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_database.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -200,7 +200,7 @@ def _create_update_sql_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -208,7 +208,7 @@ def _create_update_sql_database_initial( url = self._create_update_sql_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -266,8 +266,8 @@ def begin_create_update_sql_database( :type create_update_sql_database_parameters: ~azure.mgmt.cosmosdb.models.SqlDatabaseCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlDatabaseGetResults or the result of cls(response) @@ -303,7 +303,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -335,13 +335,13 @@ def _delete_sql_database_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_database_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -385,8 +385,8 @@ def begin_delete_sql_database( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -464,14 +464,14 @@ def get_sql_database_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_database_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -515,7 +515,7 @@ def _update_sql_database_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -523,7 +523,7 @@ def _update_sql_database_throughput_initial( url = self._update_sql_database_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -581,8 +581,8 @@ def begin_update_sql_database_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -618,7 +618,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -650,14 +650,14 @@ def _migrate_sql_database_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_database_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -707,8 +707,8 @@ def begin_migrate_sql_database_to_autoscale( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -743,7 +743,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -775,14 +775,14 @@ def _migrate_sql_database_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_database_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -832,8 +832,8 @@ def begin_migrate_sql_database_to_manual_throughput( :type database_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -868,7 +868,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -913,7 +913,7 @@ def list_sql_containers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -926,7 +926,7 @@ def prepare_request(next_link=None): url = self.list_sql_containers.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), } @@ -995,14 +995,14 @@ def get_sql_container( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_container.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1048,7 +1048,7 @@ def _create_update_sql_container_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1056,7 +1056,7 @@ def _create_update_sql_container_initial( url = self._create_update_sql_container_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1118,8 +1118,8 @@ def begin_create_update_sql_container( :type create_update_sql_container_parameters: ~azure.mgmt.cosmosdb.models.SqlContainerCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlContainerGetResults or the result of cls(response) @@ -1156,7 +1156,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1190,13 +1190,13 @@ def _delete_sql_container_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_container_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1244,8 +1244,8 @@ def begin_delete_sql_container( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -1278,7 +1278,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1328,14 +1328,14 @@ def get_sql_container_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_container_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1381,7 +1381,7 @@ def _update_sql_container_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1389,7 +1389,7 @@ def _update_sql_container_throughput_initial( url = self._update_sql_container_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1451,8 +1451,8 @@ def begin_update_sql_container_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1489,7 +1489,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1523,14 +1523,14 @@ def _migrate_sql_container_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_container_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1584,8 +1584,8 @@ def begin_migrate_sql_container_to_autoscale( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1621,7 +1621,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1655,14 +1655,14 @@ def _migrate_sql_container_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_sql_container_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1716,8 +1716,8 @@ def begin_migrate_sql_container_to_manual_throughput( :type container_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -1753,7 +1753,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1802,7 +1802,7 @@ def list_sql_stored_procedures( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -1815,7 +1815,7 @@ def prepare_request(next_link=None): url = self.list_sql_stored_procedures.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1888,14 +1888,14 @@ def get_sql_stored_procedure( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_stored_procedure.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -1943,7 +1943,7 @@ def _create_update_sql_stored_procedure_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -1951,7 +1951,7 @@ def _create_update_sql_stored_procedure_initial( url = self._create_update_sql_stored_procedure_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2017,8 +2017,8 @@ def begin_create_update_sql_stored_procedure( :type create_update_sql_stored_procedure_parameters: ~azure.mgmt.cosmosdb.models.SqlStoredProcedureCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlStoredProcedureGetResults or the result of cls(response) @@ -2056,7 +2056,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2092,13 +2092,13 @@ def _delete_sql_stored_procedure_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_stored_procedure_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2150,8 +2150,8 @@ def begin_delete_sql_stored_procedure( :type stored_procedure_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -2185,7 +2185,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2235,7 +2235,7 @@ def list_sql_user_defined_functions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -2248,7 +2248,7 @@ def prepare_request(next_link=None): url = self.list_sql_user_defined_functions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2321,14 +2321,14 @@ def get_sql_user_defined_function( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_user_defined_function.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2376,7 +2376,7 @@ def _create_update_sql_user_defined_function_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2384,7 +2384,7 @@ def _create_update_sql_user_defined_function_initial( url = self._create_update_sql_user_defined_function_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2450,8 +2450,8 @@ def begin_create_update_sql_user_defined_function( :type create_update_sql_user_defined_function_parameters: ~azure.mgmt.cosmosdb.models.SqlUserDefinedFunctionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlUserDefinedFunctionGetResults or the result of cls(response) @@ -2489,7 +2489,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2525,13 +2525,13 @@ def _delete_sql_user_defined_function_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_user_defined_function_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2583,8 +2583,8 @@ def begin_delete_sql_user_defined_function( :type user_defined_function_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -2618,7 +2618,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2668,7 +2668,7 @@ def list_sql_triggers( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -2681,7 +2681,7 @@ def prepare_request(next_link=None): url = self.list_sql_triggers.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2754,14 +2754,14 @@ def get_sql_trigger( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_sql_trigger.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2809,7 +2809,7 @@ def _create_update_sql_trigger_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -2817,7 +2817,7 @@ def _create_update_sql_trigger_initial( url = self._create_update_sql_trigger_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2883,8 +2883,8 @@ def begin_create_update_sql_trigger( :type create_update_sql_trigger_parameters: ~azure.mgmt.cosmosdb.models.SqlTriggerCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlTriggerGetResults or the result of cls(response) @@ -2922,7 +2922,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -2958,13 +2958,13 @@ def _delete_sql_trigger_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_sql_trigger_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -3016,8 +3016,8 @@ def begin_delete_sql_trigger( :type trigger_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -3051,7 +3051,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'databaseName': self._serialize.url("database_name", database_name, 'str'), 'containerName': self._serialize.url("container_name", container_name, 'str'), @@ -3098,7 +3098,7 @@ def get_sql_role_definition( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3106,7 +3106,7 @@ def get_sql_role_definition( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3149,7 +3149,7 @@ def _create_update_sql_role_definition_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -3158,7 +3158,7 @@ def _create_update_sql_role_definition_initial( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3215,8 +3215,8 @@ def begin_create_update_sql_role_definition( :type create_update_sql_role_definition_parameters: ~azure.mgmt.cosmosdb.models.SqlRoleDefinitionCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlRoleDefinitionGetResults or the result of cls(response) @@ -3253,7 +3253,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3284,7 +3284,7 @@ def _delete_sql_role_definition_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3292,7 +3292,7 @@ def _delete_sql_role_definition_initial( path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3336,8 +3336,8 @@ def begin_delete_sql_role_definition( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -3370,7 +3370,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleDefinitionId': self._serialize.url("role_definition_id", role_definition_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3411,7 +3411,7 @@ def list_sql_role_definitions( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -3424,7 +3424,7 @@ def prepare_request(next_link=None): url = self.list_sql_role_definitions.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3489,7 +3489,7 @@ def get_sql_role_assignment( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3497,7 +3497,7 @@ def get_sql_role_assignment( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3540,7 +3540,7 @@ def _create_update_sql_role_assignment_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -3549,7 +3549,7 @@ def _create_update_sql_role_assignment_initial( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3606,8 +3606,8 @@ def begin_create_update_sql_role_assignment( :type create_update_sql_role_assignment_parameters: ~azure.mgmt.cosmosdb.models.SqlRoleAssignmentCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SqlRoleAssignmentGetResults or the result of cls(response) @@ -3644,7 +3644,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3675,7 +3675,7 @@ def _delete_sql_role_assignment_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL @@ -3683,7 +3683,7 @@ def _delete_sql_role_assignment_initial( path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3727,8 +3727,8 @@ def begin_delete_sql_role_assignment( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -3761,7 +3761,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'roleAssignmentId': self._serialize.url("role_assignment_id", role_assignment_id, 'str'), 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } @@ -3802,7 +3802,7 @@ def list_sql_role_assignments( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -3815,7 +3815,7 @@ def prepare_request(next_link=None): url = self.list_sql_role_assignments.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -3853,3 +3853,145 @@ def get_next(next_link=None): get_next, extract_data ) list_sql_role_assignments.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments'} # type: ignore + + def _retrieve_continuous_backup_information_initial( + self, + resource_group_name, # type: str + account_name, # type: str + database_name, # type: str + container_name, # type: str + location, # type: "_models.ContinuousBackupRestoreLocation" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BackupInformation"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BackupInformation"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-06-15" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._retrieve_continuous_backup_information_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(location, 'ContinuousBackupRestoreLocation') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BackupInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _retrieve_continuous_backup_information_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation'} # type: ignore + + def begin_retrieve_continuous_backup_information( + self, + resource_group_name, # type: str + account_name, # type: str + database_name, # type: str + container_name, # type: str + location, # type: "_models.ContinuousBackupRestoreLocation" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BackupInformation"] + """Retrieves continuous backup information for a container resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param account_name: Cosmos DB database account name. + :type account_name: str + :param database_name: Cosmos DB database name. + :type database_name: str + :param container_name: Cosmos DB container name. + :type container_name: str + :param location: The name of the continuous backup restore location. + :type location: ~azure.mgmt.cosmosdb.models.ContinuousBackupRestoreLocation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BackupInformation or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.cosmosdb.models.BackupInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackupInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._retrieve_continuous_backup_information_initial( + resource_group_name=resource_group_name, + account_name=account_name, + database_name=database_name, + container_name=container_name, + location=location, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BackupInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), + 'databaseName': self._serialize.url("database_name", database_name, 'str'), + 'containerName': self._serialize.url("container_name", container_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_retrieve_continuous_backup_information.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation'} # type: ignore diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_table_resources_operations.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_table_resources_operations.py index 53c6defada8f..435b25096ff4 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_table_resources_operations.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/operations/_table_resources_operations.py @@ -70,7 +70,7 @@ def list_tables( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" def prepare_request(next_link=None): @@ -83,7 +83,7 @@ def prepare_request(next_link=None): url = self.list_tables.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), } url = self._client.format_url(url, **path_format_arguments) @@ -148,14 +148,14 @@ def get_table( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_table.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -199,7 +199,7 @@ def _create_update_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -207,7 +207,7 @@ def _create_update_table_initial( url = self._create_update_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -264,8 +264,8 @@ def begin_create_update_table( :type create_update_table_parameters: ~azure.mgmt.cosmosdb.models.TableCreateUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TableGetResults or the result of cls(response) @@ -301,7 +301,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -333,13 +333,13 @@ def _delete_table_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" # Construct URL url = self._delete_table_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -383,8 +383,8 @@ def begin_delete_table( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,7 +416,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -462,14 +462,14 @@ def get_table_throughput( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self.get_table_throughput.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -513,7 +513,7 @@ def _update_table_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -521,7 +521,7 @@ def _update_table_throughput_initial( url = self._update_table_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -579,8 +579,8 @@ def begin_update_table_throughput( :type update_throughput_parameters: ~azure.mgmt.cosmosdb.models.ThroughputSettingsUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -616,7 +616,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -648,14 +648,14 @@ def _migrate_table_to_autoscale_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_table_to_autoscale_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -705,8 +705,8 @@ def begin_migrate_table_to_autoscale( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -741,7 +741,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -773,14 +773,14 @@ def _migrate_table_to_manual_throughput_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-15" + api_version = "2021-06-15" accept = "application/json" # Construct URL url = self._migrate_table_to_manual_throughput_initial.metadata['url'] # type: ignore path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } @@ -830,8 +830,8 @@ def begin_migrate_table_to_manual_throughput( :type table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: Pass in True if you'd like the ARMPolling polling method, - False for no polling, or your own initialized polling object for a personal polling strategy. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response) @@ -866,7 +866,7 @@ def get_long_running_output(pipeline_response): path_format_arguments = { 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=50, min_length=3, pattern=r'^[a-z0-9]+(-[a-z0-9]+)*'), 'tableName': self._serialize.url("table_name", table_name, 'str'), } From 026f587017e99ac9711ddb996279f2defaa7b569 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Tue, 22 Jun 2021 14:42:05 +0800 Subject: [PATCH 21/45] [AutoRelease] t2-appconfiguration-2021-06-21-28568 (#19359) * CodeGen from PR 14452 in Azure/azure-rest-api-specs Added missing updatable properties in ConfigurationStorePropertiesUpdateParameters (#14452) Co-authored-by: jimmypc92 * version,CHANGELOG * test * test config * test config * test config Co-authored-by: SDKAuto Co-authored-by: PythonSdkPipelines Co-authored-by: Zed <601306339@qq.com> --- .../azure-mgmt-appconfiguration/CHANGELOG.md | 21 + .../azure-mgmt-appconfiguration/MANIFEST.in | 1 + .../azure-mgmt-appconfiguration/_meta.json | 11 + .../_app_configuration_management_client.py | 24 + .../mgmt/appconfiguration/_configuration.py | 2 +- .../mgmt/appconfiguration/_metadata.json | 85 +- .../azure/mgmt/appconfiguration/_version.py | 2 +- .../_app_configuration_management_client.py | 23 + .../appconfiguration/aio/_configuration.py | 2 +- .../aio/operations/__init__.py | 2 + .../_configuration_stores_operations.py | 212 +-- .../aio/operations/_key_values_operations.py | 387 +++++ .../aio/operations/_operations.py | 26 +- ...private_endpoint_connections_operations.py | 78 +- .../_private_link_resources_operations.py | 24 +- .../mgmt/appconfiguration/models/__init__.py | 41 +- ...p_configuration_management_client_enums.py | 9 + .../mgmt/appconfiguration/models/_models.py | 445 +++++- .../appconfiguration/models/_models_py3.py | 493 +++++- .../appconfiguration/operations/__init__.py | 2 + .../_configuration_stores_operations.py | 191 +-- .../operations/_key_values_operations.py | 396 +++++ .../operations/_operations.py | 22 +- ...private_endpoint_connections_operations.py | 66 +- .../_private_link_resources_operations.py | 20 +- ...ppconfiguration.test_appconfiguration.yaml | 1390 ----------------- ...test_appconfiguration_list_key_values.yaml | 345 ---- ...iguration_async.test_appconfiguration.yaml | 1356 ---------------- ...test_appconfiguration_list_key_values.yaml | 245 --- .../tests/test_cli_mgmt_appconfiguration.py | 2 + .../test_cli_mgmt_appconfiguration_async.py | 2 + 31 files changed, 2072 insertions(+), 3853 deletions(-) create mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/_meta.json create mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_key_values_operations.py create mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_key_values_operations.py delete mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration.yaml delete mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration_list_key_values.yaml delete mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration.yaml delete mode 100644 sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration_list_key_values.yaml diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md index fc392583036d..511eca24e99b 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md @@ -1,5 +1,26 @@ # Release History +## 2.0.0 (2021-06-21) + +**Features** + + - Model OperationDefinition has a new parameter properties + - Model OperationDefinition has a new parameter is_data_action + - Model OperationDefinition has a new parameter origin + - Model KeyValue has a new parameter id + - Model KeyValue has a new parameter type + - Model KeyValue has a new parameter name + - Model ConfigurationStore has a new parameter system_data + - Model ConfigurationStore has a new parameter disable_local_auth + - Model ConfigurationStoreUpdateParameters has a new parameter disable_local_auth + - Added operation group KeyValuesOperations + +**Breaking changes** + + - Model Resource no longer has parameter location + - Model Resource no longer has parameter tags + - Removed operation ConfigurationStoresOperations.list_key_value + ## 1.0.1 (2020-09-18) **Bug fix** diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/MANIFEST.in b/sdk/appconfiguration/azure-mgmt-appconfiguration/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/MANIFEST.in +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/_meta.json b/sdk/appconfiguration/azure-mgmt-appconfiguration/_meta.json new file mode 100644 index 000000000000..e4dfd8ef8541 --- /dev/null +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/_meta.json @@ -0,0 +1,11 @@ +{ + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.1", + "@autorest/modelerfour@4.19.2" + ], + "commit": "8295604d233d427afceff05bd5ed36d0cb7ae572", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/appconfiguration/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", + "readme": "specification/appconfiguration/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_app_configuration_management_client.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_app_configuration_management_client.py index 517eb0b81d71..c648b48d1168 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_app_configuration_management_client.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_app_configuration_management_client.py @@ -16,12 +16,14 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import AppConfigurationManagementClientConfiguration from .operations import ConfigurationStoresOperations from .operations import Operations from .operations import PrivateEndpointConnectionsOperations from .operations import PrivateLinkResourcesOperations +from .operations import KeyValuesOperations from . import models @@ -36,6 +38,8 @@ class AppConfigurationManagementClient(object): :vartype private_endpoint_connections: app_configuration_management_client.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: app_configuration_management_client.operations.PrivateLinkResourcesOperations + :ivar key_values: KeyValuesOperations operations + :vartype key_values: app_configuration_management_client.operations.KeyValuesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The Microsoft Azure subscription ID. @@ -70,6 +74,26 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) + self.key_values = KeyValuesOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response def close(self): # type: () -> None diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_configuration.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_configuration.py index 606c3fdbe7c5..94518f089b88 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_configuration.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_configuration.py @@ -48,7 +48,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-06-01" + self.api_version = "2021-03-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-appconfiguration/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_metadata.json b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_metadata.json index da2081174409..10194b4839fc 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_metadata.json +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_metadata.json @@ -1,35 +1,42 @@ { - "chosen_version": "2019-11-01-preview", - "total_api_version_list": ["2019-11-01-preview"], + "chosen_version": "2021-03-01-preview", + "total_api_version_list": ["2021-03-01-preview"], "client": { "name": "AppConfigurationManagementClient", "filename": "_app_configuration_management_client", - "description": "AppConfigurationManagementClient." + "description": "AppConfigurationManagementClient.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AppConfigurationManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"AppConfigurationManagementClientConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { - "sync_method": { + "sync": { "credential": { - "method_signature": "credential, # type: \"TokenCredential\"", + "signature": "credential, # type: \"TokenCredential\"", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials.TokenCredential", "required": true }, "subscription_id": { - "method_signature": "subscription_id, # type: str", + "signature": "subscription_id, # type: str", "description": "The Microsoft Azure subscription ID.", "docstring_type": "str", "required": true } }, - "async_method": { + "async": { "credential": { - "method_signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "method_signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The Microsoft Azure subscription ID.", "docstring_type": "str", "required": true @@ -37,20 +44,64 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, - "credential_scopes": ["https://management.azure.com/.default"] + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "configuration_stores": "ConfigurationStoresOperations", "operations": "Operations", "private_endpoint_connections": "PrivateEndpointConnectionsOperations", - "private_link_resources": "PrivateLinkResourcesOperations" - }, - "operation_mixins": { - }, - "sync_imports": "None", - "async_imports": "None" + "private_link_resources": "PrivateLinkResourcesOperations", + "key_values": "KeyValuesOperations" + } } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_version.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_version.py index 961c76eb77c1..48944bf3938a 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_version.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.1" +VERSION = "2.0.0" diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_app_configuration_management_client.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_app_configuration_management_client.py index ba53cbbe22ee..6bdb7cce7de2 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_app_configuration_management_client.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_app_configuration_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -20,6 +21,7 @@ from .operations import Operations from .operations import PrivateEndpointConnectionsOperations from .operations import PrivateLinkResourcesOperations +from .operations import KeyValuesOperations from .. import models @@ -34,6 +36,8 @@ class AppConfigurationManagementClient(object): :vartype private_endpoint_connections: app_configuration_management_client.aio.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: app_configuration_management_client.aio.operations.PrivateLinkResourcesOperations + :ivar key_values: KeyValuesOperations operations + :vartype key_values: app_configuration_management_client.aio.operations.KeyValuesOperations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The Microsoft Azure subscription ID. @@ -67,6 +71,25 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.private_link_resources = PrivateLinkResourcesOperations( self._client, self._config, self._serialize, self._deserialize) + self.key_values = KeyValuesOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response async def close(self) -> None: await self._client.close() diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_configuration.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_configuration.py index a380a0b58b5f..b05e9219a47f 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_configuration.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/_configuration.py @@ -45,7 +45,7 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2020-06-01" + self.api_version = "2021-03-01-preview" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-appconfiguration/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/__init__.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/__init__.py index 934a0920b836..99aa49efc9fb 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/__init__.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/__init__.py @@ -10,10 +10,12 @@ from ._operations import Operations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._key_values_operations import KeyValuesOperations __all__ = [ 'ConfigurationStoresOperations', 'Operations', 'PrivateEndpointConnectionsOperations', 'PrivateLinkResourcesOperations', + 'KeyValuesOperations', ] diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_configuration_stores_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_configuration_stores_operations.py index dcf1d1351ce1..dd030ef3e11f 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_configuration_stores_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_configuration_stores_operations.py @@ -16,7 +16,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -35,7 +35,7 @@ class ConfigurationStoresOperations: :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer) -> None: self._client = client @@ -46,8 +46,8 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, skip_token: Optional[str] = None, - **kwargs - ) -> AsyncIterable["models.ConfigurationStoreListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.ConfigurationStoreListResult"]: """Lists the configuration stores for a given subscription. :param skip_token: A skip token is used to continue retrieving items after an operation returns @@ -60,12 +60,12 @@ def list( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.ConfigurationStoreListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStoreListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStoreListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -107,7 +107,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -122,8 +122,8 @@ def list_by_resource_group( self, resource_group_name: str, skip_token: Optional[str] = None, - **kwargs - ) -> AsyncIterable["models.ConfigurationStoreListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.ConfigurationStoreListResult"]: """Lists the configuration stores for a given resource group. :param resource_group_name: The name of the resource group to which the container registry @@ -139,12 +139,12 @@ def list_by_resource_group( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.ConfigurationStoreListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStoreListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStoreListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -187,7 +187,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -202,8 +202,8 @@ async def get( self, resource_group_name: str, config_store_name: str, - **kwargs - ) -> "models.ConfigurationStore": + **kwargs: Any + ) -> "_models.ConfigurationStore": """Gets the properties of the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -216,12 +216,12 @@ async def get( :rtype: ~app_configuration_management_client.models.ConfigurationStore :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -247,7 +247,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConfigurationStore', pipeline_response) @@ -262,15 +262,15 @@ async def _create_initial( self, resource_group_name: str, config_store_name: str, - config_store_creation_parameters: "models.ConfigurationStore", - **kwargs - ) -> "models.ConfigurationStore": - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + config_store_creation_parameters: "_models.ConfigurationStore", + **kwargs: Any + ) -> "_models.ConfigurationStore": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -301,7 +301,7 @@ async def _create_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -320,9 +320,9 @@ async def begin_create( self, resource_group_name: str, config_store_name: str, - config_store_creation_parameters: "models.ConfigurationStore", - **kwargs - ) -> AsyncLROPoller["models.ConfigurationStore"]: + config_store_creation_parameters: "_models.ConfigurationStore", + **kwargs: Any + ) -> AsyncLROPoller["_models.ConfigurationStore"]: """Creates a configuration store with the specified parameters. :param resource_group_name: The name of the resource group to which the container registry @@ -334,8 +334,8 @@ async def begin_create( :type config_store_creation_parameters: ~app_configuration_management_client.models.ConfigurationStore :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConfigurationStore or the result of cls(response) @@ -343,7 +343,7 @@ async def begin_create( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -368,7 +368,13 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -386,14 +392,14 @@ async def _delete_initial( self, resource_group_name: str, config_store_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -419,7 +425,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,7 +437,7 @@ async def begin_delete( self, resource_group_name: str, config_store_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a configuration store. @@ -442,8 +448,8 @@ async def begin_delete( :type config_store_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -472,7 +478,13 @@ def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -490,15 +502,15 @@ async def _update_initial( self, resource_group_name: str, config_store_name: str, - config_store_update_parameters: "models.ConfigurationStoreUpdateParameters", - **kwargs - ) -> "models.ConfigurationStore": - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + config_store_update_parameters: "_models.ConfigurationStoreUpdateParameters", + **kwargs: Any + ) -> "_models.ConfigurationStore": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -529,7 +541,7 @@ async def _update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -548,9 +560,9 @@ async def begin_update( self, resource_group_name: str, config_store_name: str, - config_store_update_parameters: "models.ConfigurationStoreUpdateParameters", - **kwargs - ) -> AsyncLROPoller["models.ConfigurationStore"]: + config_store_update_parameters: "_models.ConfigurationStoreUpdateParameters", + **kwargs: Any + ) -> AsyncLROPoller["_models.ConfigurationStore"]: """Updates a configuration store with the specified parameters. :param resource_group_name: The name of the resource group to which the container registry @@ -562,8 +574,8 @@ async def begin_update( :type config_store_update_parameters: ~app_configuration_management_client.models.ConfigurationStoreUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConfigurationStore or the result of cls(response) @@ -571,7 +583,7 @@ async def begin_update( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -596,7 +608,13 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -615,8 +633,8 @@ def list_keys( resource_group_name: str, config_store_name: str, skip_token: Optional[str] = None, - **kwargs - ) -> AsyncIterable["models.ApiKeyListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.ApiKeyListResult"]: """Lists the access key for the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -634,12 +652,12 @@ def list_keys( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.ApiKeyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ApiKeyListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApiKeyListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -683,7 +701,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -692,15 +710,15 @@ async def get_next(next_link=None): return AsyncItemPaged( get_next, extract_data ) - list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/ListKeys'} # type: ignore + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys'} # type: ignore async def regenerate_key( self, resource_group_name: str, config_store_name: str, - regenerate_key_parameters: "models.RegenerateKeyParameters", - **kwargs - ) -> "models.ApiKey": + regenerate_key_parameters: "_models.RegenerateKeyParameters", + **kwargs: Any + ) -> "_models.ApiKey": """Regenerates an access key for the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -715,12 +733,12 @@ async def regenerate_key( :rtype: ~app_configuration_management_client.models.ApiKey :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ApiKey"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApiKey"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -751,7 +769,7 @@ async def regenerate_key( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ApiKey', pipeline_response) @@ -760,72 +778,4 @@ async def regenerate_key( return cls(pipeline_response, deserialized, {}) return deserialized - regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/RegenerateKey'} # type: ignore - - async def list_key_value( - self, - resource_group_name: str, - config_store_name: str, - list_key_value_parameters: "models.ListKeyValueParameters", - **kwargs - ) -> "models.KeyValue": - """Lists a configuration store key-value. - - :param resource_group_name: The name of the resource group to which the container registry - belongs. - :type resource_group_name: str - :param config_store_name: The name of the configuration store. - :type config_store_name: str - :param list_key_value_parameters: The parameters for retrieving a key-value. - :type list_key_value_parameters: ~app_configuration_management_client.models.ListKeyValueParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: KeyValue, or the result of cls(response) - :rtype: ~app_configuration_management_client.models.KeyValue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.KeyValue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_key_value.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(list_key_value_parameters, 'ListKeyValueParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('KeyValue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_key_value.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeyValue'} # type: ignore + regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey'} # type: ignore diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_key_values_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_key_values_operations.py new file mode 100644 index 000000000000..a5d91600ec47 --- /dev/null +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_key_values_operations.py @@ -0,0 +1,387 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class KeyValuesOperations: + """KeyValuesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~app_configuration_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_configuration_store( + self, + resource_group_name: str, + config_store_name: str, + skip_token: Optional[str] = None, + **kwargs: Any + ) -> AsyncIterable["_models.KeyValueListResult"]: + """Lists the key-values for a given configuration store. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param skip_token: A skip token is used to continue retrieving items after an operation returns + a partial result. If a previous response contains a nextLink element, the value of the nextLink + element will include a skipToken parameter that specifies a starting point to use for + subsequent calls. + :type skip_token: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either KeyValueListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.KeyValueListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValueListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_configuration_store.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if skip_token is not None: + query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('KeyValueListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_configuration_store.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues'} # type: ignore + + async def get( + self, + resource_group_name: str, + config_store_name: str, + key_value_name: str, + **kwargs: Any + ) -> "_models.KeyValue": + """Gets the properties of the specified key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: KeyValue, or the result of cls(response) + :rtype: ~app_configuration_management_client.models.KeyValue + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValue"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('KeyValue', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + async def create_or_update( + self, + resource_group_name: str, + config_store_name: str, + key_value_name: str, + key_value_parameters: Optional["_models.KeyValue"] = None, + **kwargs: Any + ) -> "_models.KeyValue": + """Creates a key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :param key_value_parameters: The parameters for creating a key-value. + :type key_value_parameters: ~app_configuration_management_client.models.KeyValue + :keyword callable cls: A custom type or function that will be passed the direct response + :return: KeyValue, or the result of cls(response) + :rtype: ~app_configuration_management_client.models.KeyValue + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValue"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if key_value_parameters is not None: + body_content = self._serialize.body(key_value_parameters, 'KeyValue') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('KeyValue', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + config_store_name: str, + key_value_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + config_store_name: str, + key_value_name: str, + **kwargs: Any + ) -> AsyncLROPoller[None]: + """Deletes a key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + config_store_name=config_store_name, + key_value_name=key_value_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_operations.py index c6ec8c357f6c..896eebd90c32 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_operations.py @@ -14,7 +14,7 @@ from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -33,7 +33,7 @@ class Operations: :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer) -> None: self._client = client @@ -43,9 +43,9 @@ def __init__(self, client, config, serializer, deserializer) -> None: async def check_name_availability( self, - check_name_availability_parameters: "models.CheckNameAvailabilityParameters", - **kwargs - ) -> "models.NameAvailabilityStatus": + check_name_availability_parameters: "_models.CheckNameAvailabilityParameters", + **kwargs: Any + ) -> "_models.NameAvailabilityStatus": """Checks whether the configuration store name is available for use. :param check_name_availability_parameters: The object containing information for the @@ -56,12 +56,12 @@ async def check_name_availability( :rtype: ~app_configuration_management_client.models.NameAvailabilityStatus :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.NameAvailabilityStatus"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityStatus"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -90,7 +90,7 @@ async def check_name_availability( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NameAvailabilityStatus', pipeline_response) @@ -104,8 +104,8 @@ async def check_name_availability( def list( self, skip_token: Optional[str] = None, - **kwargs - ) -> AsyncIterable["models.OperationDefinitionListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.OperationDefinitionListResult"]: """Lists the operations available from this provider. :param skip_token: A skip token is used to continue retrieving items after an operation returns @@ -118,12 +118,12 @@ def list( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.OperationDefinitionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.OperationDefinitionListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationDefinitionListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -161,7 +161,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_endpoint_connections_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_endpoint_connections_operations.py index ce23398c3f49..fbf213735249 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_endpoint_connections_operations.py @@ -16,7 +16,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -35,7 +35,7 @@ class PrivateEndpointConnectionsOperations: :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer) -> None: self._client = client @@ -47,8 +47,8 @@ def list_by_configuration_store( self, resource_group_name: str, config_store_name: str, - **kwargs - ) -> AsyncIterable["models.PrivateEndpointConnectionListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.PrivateEndpointConnectionListResult"]: """Lists all private endpoint connections for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -61,12 +61,12 @@ def list_by_configuration_store( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.PrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -108,7 +108,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -124,8 +124,8 @@ async def get( resource_group_name: str, config_store_name: str, private_endpoint_connection_name: str, - **kwargs - ) -> "models.PrivateEndpointConnection": + **kwargs: Any + ) -> "_models.PrivateEndpointConnection": """Gets the specified private endpoint connection associated with the configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -140,12 +140,12 @@ async def get( :rtype: ~app_configuration_management_client.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -172,7 +172,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -188,15 +188,15 @@ async def _create_or_update_initial( resource_group_name: str, config_store_name: str, private_endpoint_connection_name: str, - private_endpoint_connection: "models.PrivateEndpointConnection", - **kwargs - ) -> "models.PrivateEndpointConnection": - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + private_endpoint_connection: "_models.PrivateEndpointConnection", + **kwargs: Any + ) -> "_models.PrivateEndpointConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -228,7 +228,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -248,9 +248,9 @@ async def begin_create_or_update( resource_group_name: str, config_store_name: str, private_endpoint_connection_name: str, - private_endpoint_connection: "models.PrivateEndpointConnection", - **kwargs - ) -> AsyncLROPoller["models.PrivateEndpointConnection"]: + private_endpoint_connection: "_models.PrivateEndpointConnection", + **kwargs: Any + ) -> AsyncLROPoller["_models.PrivateEndpointConnection"]: """Update the state of the specified private endpoint connection associated with the configuration store. @@ -265,8 +265,8 @@ async def begin_create_or_update( :type private_endpoint_connection: ~app_configuration_management_client.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) @@ -274,7 +274,7 @@ async def begin_create_or_update( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -300,7 +300,14 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: @@ -319,14 +326,14 @@ async def _delete_initial( resource_group_name: str, config_store_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -353,7 +360,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -366,7 +373,7 @@ async def begin_delete( resource_group_name: str, config_store_name: str, private_endpoint_connection_name: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Deletes a private endpoint connection. @@ -379,8 +386,8 @@ async def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be AsyncARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,7 +417,14 @@ def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - if polling is True: polling_method = AsyncARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = AsyncNoPolling() else: polling_method = polling if cont_token: diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_link_resources_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_link_resources_operations.py index d2b6120f26af..ed81cef84ed1 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_link_resources_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/aio/operations/_private_link_resources_operations.py @@ -14,7 +14,7 @@ from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core.exceptions import ARMErrorFormat -from ... import models +from ... import models as _models T = TypeVar('T') ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] @@ -33,7 +33,7 @@ class PrivateLinkResourcesOperations: :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer) -> None: self._client = client @@ -45,8 +45,8 @@ def list_by_configuration_store( self, resource_group_name: str, config_store_name: str, - **kwargs - ) -> AsyncIterable["models.PrivateLinkResourceListResult"]: + **kwargs: Any + ) -> AsyncIterable["_models.PrivateLinkResourceListResult"]: """Gets the private link resources that need to be created for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -59,12 +59,12 @@ def list_by_configuration_store( :rtype: ~azure.core.async_paging.AsyncItemPaged[~app_configuration_management_client.models.PrivateLinkResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourceListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -106,7 +106,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -122,8 +122,8 @@ async def get( resource_group_name: str, config_store_name: str, group_name: str, - **kwargs - ) -> "models.PrivateLinkResource": + **kwargs: Any + ) -> "_models.PrivateLinkResource": """Gets a private link resource that need to be created for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -138,12 +138,12 @@ async def get( :rtype: ~app_configuration_management_client.models.PrivateLinkResource :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResource"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -170,7 +170,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkResource', pipeline_response) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/__init__.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/__init__.py index a9c87685eb6f..cacfda847ae4 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/__init__.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/__init__.py @@ -14,14 +14,20 @@ from ._models_py3 import ConfigurationStoreListResult from ._models_py3 import ConfigurationStoreUpdateParameters from ._models_py3 import EncryptionProperties - from ._models_py3 import Error + from ._models_py3 import ErrorAdditionalInfo + from ._models_py3 import ErrorDetails + from ._models_py3 import ErrorResponse from ._models_py3 import KeyValue + from ._models_py3 import KeyValueListResult from ._models_py3 import KeyVaultProperties - from ._models_py3 import ListKeyValueParameters + from ._models_py3 import LogSpecification + from ._models_py3 import MetricDimension + from ._models_py3 import MetricSpecification from ._models_py3 import NameAvailabilityStatus from ._models_py3 import OperationDefinition from ._models_py3 import OperationDefinitionDisplay from ._models_py3 import OperationDefinitionListResult + from ._models_py3 import OperationProperties from ._models_py3 import PrivateEndpoint from ._models_py3 import PrivateEndpointConnection from ._models_py3 import PrivateEndpointConnectionListResult @@ -32,7 +38,10 @@ from ._models_py3 import RegenerateKeyParameters from ._models_py3 import Resource from ._models_py3 import ResourceIdentity + from ._models_py3 import ServiceSpecification from ._models_py3 import Sku + from ._models_py3 import SystemData + from ._models_py3 import TrackedResource from ._models_py3 import UserIdentity except (SyntaxError, ImportError): from ._models import ApiKey # type: ignore @@ -42,14 +51,20 @@ from ._models import ConfigurationStoreListResult # type: ignore from ._models import ConfigurationStoreUpdateParameters # type: ignore from ._models import EncryptionProperties # type: ignore - from ._models import Error # type: ignore + from ._models import ErrorAdditionalInfo # type: ignore + from ._models import ErrorDetails # type: ignore + from ._models import ErrorResponse # type: ignore from ._models import KeyValue # type: ignore + from ._models import KeyValueListResult # type: ignore from ._models import KeyVaultProperties # type: ignore - from ._models import ListKeyValueParameters # type: ignore + from ._models import LogSpecification # type: ignore + from ._models import MetricDimension # type: ignore + from ._models import MetricSpecification # type: ignore from ._models import NameAvailabilityStatus # type: ignore from ._models import OperationDefinition # type: ignore from ._models import OperationDefinitionDisplay # type: ignore from ._models import OperationDefinitionListResult # type: ignore + from ._models import OperationProperties # type: ignore from ._models import PrivateEndpoint # type: ignore from ._models import PrivateEndpointConnection # type: ignore from ._models import PrivateEndpointConnectionListResult # type: ignore @@ -60,13 +75,17 @@ from ._models import RegenerateKeyParameters # type: ignore from ._models import Resource # type: ignore from ._models import ResourceIdentity # type: ignore + from ._models import ServiceSpecification # type: ignore from ._models import Sku # type: ignore + from ._models import SystemData # type: ignore + from ._models import TrackedResource # type: ignore from ._models import UserIdentity # type: ignore from ._app_configuration_management_client_enums import ( ActionsRequired, ConfigurationResourceType, ConnectionStatus, + CreatedByType, IdentityType, ProvisioningState, PublicNetworkAccess, @@ -80,14 +99,20 @@ 'ConfigurationStoreListResult', 'ConfigurationStoreUpdateParameters', 'EncryptionProperties', - 'Error', + 'ErrorAdditionalInfo', + 'ErrorDetails', + 'ErrorResponse', 'KeyValue', + 'KeyValueListResult', 'KeyVaultProperties', - 'ListKeyValueParameters', + 'LogSpecification', + 'MetricDimension', + 'MetricSpecification', 'NameAvailabilityStatus', 'OperationDefinition', 'OperationDefinitionDisplay', 'OperationDefinitionListResult', + 'OperationProperties', 'PrivateEndpoint', 'PrivateEndpointConnection', 'PrivateEndpointConnectionListResult', @@ -98,11 +123,15 @@ 'RegenerateKeyParameters', 'Resource', 'ResourceIdentity', + 'ServiceSpecification', 'Sku', + 'SystemData', + 'TrackedResource', 'UserIdentity', 'ActionsRequired', 'ConfigurationResourceType', 'ConnectionStatus', + 'CreatedByType', 'IdentityType', 'ProvisioningState', 'PublicNetworkAccess', diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_app_configuration_management_client_enums.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_app_configuration_management_client_enums.py index a5230dec6ff2..61a832bd128d 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_app_configuration_management_client_enums.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_app_configuration_management_client_enums.py @@ -48,6 +48,15 @@ class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): REJECTED = "Rejected" DISCONNECTED = "Disconnected" +class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + class IdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models.py index 6301e3516c2e..46190ee729fc 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models.py @@ -116,23 +116,61 @@ def __init__( class Resource(msrest.serialization.Model): - """An Azure resource. + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param location: Required. The location of the resource. This cannot be changed after the - resource is created. - :type location: str - :param tags: A set of tags. The tags of the resource. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str """ _validation = { @@ -146,44 +184,44 @@ class Resource(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, } def __init__( self, **kwargs ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = kwargs['location'] + super(TrackedResource, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) + self.location = kwargs['location'] -class ConfigurationStore(Resource): +class ConfigurationStore(TrackedResource): """The configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param location: Required. The location of the resource. This cannot be changed after the - resource is created. - :type location: str - :param tags: A set of tags. The tags of the resource. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str :param identity: The managed identity information, if configured. :type identity: ~app_configuration_management_client.models.ResourceIdentity :param sku: Required. The sku of the configuration store. :type sku: ~app_configuration_management_client.models.Sku + :ivar system_data: Resource system metadata. + :vartype system_data: ~app_configuration_management_client.models.SystemData :ivar provisioning_state: The provisioning state of the configuration store. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled". :vartype provisioning_state: str or @@ -202,6 +240,8 @@ class ConfigurationStore(Resource): networks while private endpoint is enabled. Possible values include: "Enabled", "Disabled". :type public_network_access: str or ~app_configuration_management_client.models.PublicNetworkAccess + :param disable_local_auth: Disables all authentication methods other than AAD authentication. + :type disable_local_auth: bool """ _validation = { @@ -210,6 +250,7 @@ class ConfigurationStore(Resource): 'type': {'readonly': True}, 'location': {'required': True}, 'sku': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'endpoint': {'readonly': True}, @@ -220,16 +261,18 @@ class ConfigurationStore(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'endpoint': {'key': 'properties.endpoint', 'type': 'str'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnectionReference]'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -239,12 +282,14 @@ def __init__( super(ConfigurationStore, self).__init__(**kwargs) self.identity = kwargs.get('identity', None) self.sku = kwargs['sku'] + self.system_data = None self.provisioning_state = None self.creation_date = None self.endpoint = None self.encryption = kwargs.get('encryption', None) self.private_endpoint_connections = None self.public_network_access = kwargs.get('public_network_access', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) class ConfigurationStoreListResult(msrest.serialization.Model): @@ -281,6 +326,8 @@ class ConfigurationStoreUpdateParameters(msrest.serialization.Model): :type tags: dict[str, str] :param encryption: The encryption settings of the configuration store. :type encryption: ~app_configuration_management_client.models.EncryptionProperties + :param disable_local_auth: Disables all authentication methods other than AAD authentication. + :type disable_local_auth: bool :param public_network_access: Control permission for data plane traffic coming from public networks while private endpoint is enabled. Possible values include: "Enabled", "Disabled". :type public_network_access: str or @@ -292,6 +339,7 @@ class ConfigurationStoreUpdateParameters(msrest.serialization.Model): 'sku': {'key': 'sku', 'type': 'Sku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, } @@ -304,6 +352,7 @@ def __init__( self.sku = kwargs.get('sku', None) self.tags = kwargs.get('tags', None) self.encryption = kwargs.get('encryption', None) + self.disable_local_auth = kwargs.get('disable_local_auth', None) self.public_network_access = kwargs.get('public_network_access', None) @@ -326,46 +375,113 @@ def __init__( self.key_vault_properties = kwargs.get('key_vault_properties', None) -class Error(msrest.serialization.Model): - """AppConfiguration error object. +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. - :param code: Error code. - :type code: str - :param message: Error message. - :type message: str + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: any """ + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorDetails(msrest.serialization.Model): + """The details of the error. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: Error code. + :vartype code: str + :ivar message: Error message indicating why the operation failed. + :vartype message: str + :ivar additional_info: The error additional info. + :vartype additional_info: list[~app_configuration_management_client.models.ErrorAdditionalInfo] + """ + + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + _attribute_map = { 'code': {'key': 'code', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, } def __init__( self, **kwargs ): - super(Error, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) + super(ErrorDetails, self).__init__(**kwargs) + self.code = None + self.message = None + self.additional_info = None + + +class ErrorResponse(msrest.serialization.Model): + """Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. + + :param error: The details of the error. + :type error: ~app_configuration_management_client.models.ErrorDetails + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDetails'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get('error', None) class KeyValue(msrest.serialization.Model): - """The result of a request to retrieve a key-value from the specified configuration store. + """The key-value resource along with all resource properties. Variables are only populated by the server, and will be ignored when sending a request. + :ivar id: The resource ID. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. + :vartype type: str :ivar key: The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value. :vartype key: str :ivar label: A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value. :vartype label: str - :ivar value: The value of the key-value. - :vartype value: str - :ivar content_type: The content type of the key-value's value. + :param value: The value of the key-value. + :type value: str + :param content_type: The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications. - :vartype content_type: str + :type content_type: str :ivar e_tag: An ETag indicating the state of a key-value within a configuration store. :vartype e_tag: str :ivar last_modified: The last time a modifying operation was performed on the given key-value. @@ -373,31 +489,34 @@ class KeyValue(msrest.serialization.Model): :ivar locked: A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked. :vartype locked: bool - :ivar tags: A set of tags. A dictionary of tags that can help identify what a key-value may be + :param tags: A set of tags. A dictionary of tags that can help identify what a key-value may be applicable for. - :vartype tags: dict[str, str] + :type tags: dict[str, str] """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'key': {'readonly': True}, 'label': {'readonly': True}, - 'value': {'readonly': True}, - 'content_type': {'readonly': True}, 'e_tag': {'readonly': True}, 'last_modified': {'readonly': True}, 'locked': {'readonly': True}, - 'tags': {'readonly': True}, } _attribute_map = { - 'key': {'key': 'key', 'type': 'str'}, - 'label': {'key': 'label', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, - 'locked': {'key': 'locked', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '{str}'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'key': {'key': 'properties.key', 'type': 'str'}, + 'label': {'key': 'properties.label', 'type': 'str'}, + 'value': {'key': 'properties.value', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'e_tag': {'key': 'properties.eTag', 'type': 'str'}, + 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, + 'locked': {'key': 'properties.locked', 'type': 'bool'}, + 'tags': {'key': 'properties.tags', 'type': '{str}'}, } def __init__( @@ -405,14 +524,40 @@ def __init__( **kwargs ): super(KeyValue, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None self.key = None self.label = None - self.value = None - self.content_type = None + self.value = kwargs.get('value', None) + self.content_type = kwargs.get('content_type', None) self.e_tag = None self.last_modified = None self.locked = None - self.tags = None + self.tags = kwargs.get('tags', None) + + +class KeyValueListResult(msrest.serialization.Model): + """The result of a request to list key-values. + + :param value: The collection value. + :type value: list[~app_configuration_management_client.models.KeyValue] + :param next_link: The URI that can be used to request the next set of paged results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[KeyValue]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(KeyValueListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) class KeyVaultProperties(msrest.serialization.Model): @@ -439,33 +584,107 @@ def __init__( self.identity_client_id = kwargs.get('identity_client_id', None) -class ListKeyValueParameters(msrest.serialization.Model): - """The parameters used to list a configuration store key-value. +class LogSpecification(msrest.serialization.Model): + """Specifications of the Log for Azure Monitoring. - All required parameters must be populated in order to send to Azure. + :param name: Name of the log. + :type name: str + :param display_name: Localized friendly display name of the log. + :type display_name: str + :param blob_duration: Blob duration of the log. + :type blob_duration: str + """ - :param key: Required. The key to retrieve. - :type key: str - :param label: The label of the key. - :type label: str + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LogSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.blob_duration = kwargs.get('blob_duration', None) + + +class MetricDimension(msrest.serialization.Model): + """Specifications of the Dimension of metrics. + + :param name: Name of the dimension. + :type name: str + :param display_name: Localized friendly display name of the dimension. + :type display_name: str + :param internal_name: Internal name of the dimension. + :type internal_name: str """ - _validation = { - 'key': {'required': True}, + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'internal_name': {'key': 'internalName', 'type': 'str'}, } + def __init__( + self, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.internal_name = kwargs.get('internal_name', None) + + +class MetricSpecification(msrest.serialization.Model): + """Specifications of the Metrics for Azure Monitoring. + + :param name: Name of the metric. + :type name: str + :param display_name: Localized friendly display name of the metric. + :type display_name: str + :param display_description: Localized friendly description of the metric. + :type display_description: str + :param unit: Unit that makes sense for the metric. + :type unit: str + :param aggregation_type: Only provide one value for this field. Valid values: Average, Minimum, + Maximum, Total, Count. + :type aggregation_type: str + :param internal_metric_name: Internal metric name. + :type internal_metric_name: str + :param dimensions: Dimensions of the metric. + :type dimensions: list[~app_configuration_management_client.models.MetricDimension] + :param fill_gap_with_zero: Optional. If set to true, then zero will be returned for time + duration where no metric is emitted/published. + :type fill_gap_with_zero: bool + """ + _attribute_map = { - 'key': {'key': 'key', 'type': 'str'}, - 'label': {'key': 'label', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'internal_metric_name': {'key': 'internalMetricName', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, } def __init__( self, **kwargs ): - super(ListKeyValueParameters, self).__init__(**kwargs) - self.key = kwargs['key'] - self.label = kwargs.get('label', None) + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.internal_metric_name = kwargs.get('internal_metric_name', None) + self.dimensions = kwargs.get('dimensions', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) class NameAvailabilityStatus(msrest.serialization.Model): @@ -509,13 +728,22 @@ class OperationDefinition(msrest.serialization.Model): :param name: Operation name: {provider}/{resource}/{operation}. :type name: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool :param display: The display information for the configuration store operation. :type display: ~app_configuration_management_client.models.OperationDefinitionDisplay + :param origin: Origin of the operation. + :type origin: str + :param properties: Properties of the operation. + :type properties: ~app_configuration_management_client.models.OperationProperties """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, 'display': {'key': 'display', 'type': 'OperationDefinitionDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'OperationProperties'}, } def __init__( @@ -524,7 +752,10 @@ def __init__( ): super(OperationDefinition, self).__init__(**kwargs) self.name = kwargs.get('name', None) + self.is_data_action = kwargs.get('is_data_action', None) self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.properties = kwargs.get('properties', None) class OperationDefinitionDisplay(msrest.serialization.Model): @@ -587,6 +818,25 @@ def __init__( self.next_link = kwargs.get('next_link', None) +class OperationProperties(msrest.serialization.Model): + """Extra Operation properties. + + :param service_specification: Service specifications of the operation. + :type service_specification: ~app_configuration_management_client.models.ServiceSpecification + """ + + _attribute_map = { + 'service_specification': {'key': 'serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationProperties, self).__init__(**kwargs) + self.service_specification = kwargs.get('service_specification', None) + + class PrivateEndpoint(msrest.serialization.Model): """Private endpoint which a connection belongs to. @@ -906,6 +1156,30 @@ def __init__( self.tenant_id = None +class ServiceSpecification(msrest.serialization.Model): + """Service specification payload. + + :param log_specifications: Specifications of the Log for Azure Monitoring. + :type log_specifications: list[~app_configuration_management_client.models.LogSpecification] + :param metric_specifications: Specifications of the Metrics for Azure Monitoring. + :type metric_specifications: + list[~app_configuration_management_client.models.MetricSpecification] + """ + + _attribute_map = { + 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'}, + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.log_specifications = kwargs.get('log_specifications', None) + self.metric_specifications = kwargs.get('metric_specifications', None) + + class Sku(msrest.serialization.Model): """Describes a configuration store SKU. @@ -931,6 +1205,47 @@ def __init__( self.name = kwargs['name'] +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~app_configuration_management_client.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~app_configuration_management_client.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + class UserIdentity(msrest.serialization.Model): """A resource identity that is managed by the user of the service. diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models_py3.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models_py3.py index afb3e9ba8063..7d4fccd6c281 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models_py3.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/models/_models_py3.py @@ -6,6 +6,7 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- +import datetime from typing import Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError @@ -126,23 +127,61 @@ def __init__( class Resource(msrest.serialization.Model): - """An Azure resource. + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class TrackedResource(Resource): + """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param location: Required. The location of the resource. This cannot be changed after the - resource is created. - :type location: str - :param tags: A set of tags. The tags of the resource. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str """ _validation = { @@ -156,8 +195,8 @@ class Resource(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, } def __init__( @@ -167,36 +206,36 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): - super(Resource, self).__init__(**kwargs) - self.id = None - self.name = None - self.type = None - self.location = location + super(TrackedResource, self).__init__(**kwargs) self.tags = tags + self.location = location -class ConfigurationStore(Resource): +class ConfigurationStore(TrackedResource): """The configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str :ivar name: The name of the resource. :vartype name: str - :ivar type: The type of the resource. + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". :vartype type: str - :param location: Required. The location of the resource. This cannot be changed after the - resource is created. - :type location: str - :param tags: A set of tags. The tags of the resource. + :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives. + :type location: str :param identity: The managed identity information, if configured. :type identity: ~app_configuration_management_client.models.ResourceIdentity :param sku: Required. The sku of the configuration store. :type sku: ~app_configuration_management_client.models.Sku + :ivar system_data: Resource system metadata. + :vartype system_data: ~app_configuration_management_client.models.SystemData :ivar provisioning_state: The provisioning state of the configuration store. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled". :vartype provisioning_state: str or @@ -215,6 +254,8 @@ class ConfigurationStore(Resource): networks while private endpoint is enabled. Possible values include: "Enabled", "Disabled". :type public_network_access: str or ~app_configuration_management_client.models.PublicNetworkAccess + :param disable_local_auth: Disables all authentication methods other than AAD authentication. + :type disable_local_auth: bool """ _validation = { @@ -223,6 +264,7 @@ class ConfigurationStore(Resource): 'type': {'readonly': True}, 'location': {'required': True}, 'sku': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'endpoint': {'readonly': True}, @@ -233,16 +275,18 @@ class ConfigurationStore(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'ResourceIdentity'}, 'sku': {'key': 'sku', 'type': 'Sku'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, 'endpoint': {'key': 'properties.endpoint', 'type': 'str'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnectionReference]'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } def __init__( @@ -254,17 +298,20 @@ def __init__( identity: Optional["ResourceIdentity"] = None, encryption: Optional["EncryptionProperties"] = None, public_network_access: Optional[Union[str, "PublicNetworkAccess"]] = None, + disable_local_auth: Optional[bool] = None, **kwargs ): - super(ConfigurationStore, self).__init__(location=location, tags=tags, **kwargs) + super(ConfigurationStore, self).__init__(tags=tags, location=location, **kwargs) self.identity = identity self.sku = sku + self.system_data = None self.provisioning_state = None self.creation_date = None self.endpoint = None self.encryption = encryption self.private_endpoint_connections = None self.public_network_access = public_network_access + self.disable_local_auth = disable_local_auth class ConfigurationStoreListResult(msrest.serialization.Model): @@ -304,6 +351,8 @@ class ConfigurationStoreUpdateParameters(msrest.serialization.Model): :type tags: dict[str, str] :param encryption: The encryption settings of the configuration store. :type encryption: ~app_configuration_management_client.models.EncryptionProperties + :param disable_local_auth: Disables all authentication methods other than AAD authentication. + :type disable_local_auth: bool :param public_network_access: Control permission for data plane traffic coming from public networks while private endpoint is enabled. Possible values include: "Enabled", "Disabled". :type public_network_access: str or @@ -315,6 +364,7 @@ class ConfigurationStoreUpdateParameters(msrest.serialization.Model): 'sku': {'key': 'sku', 'type': 'Sku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperties'}, + 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, } @@ -325,6 +375,7 @@ def __init__( sku: Optional["Sku"] = None, tags: Optional[Dict[str, str]] = None, encryption: Optional["EncryptionProperties"] = None, + disable_local_auth: Optional[bool] = None, public_network_access: Optional[Union[str, "PublicNetworkAccess"]] = None, **kwargs ): @@ -333,6 +384,7 @@ def __init__( self.sku = sku self.tags = tags self.encryption = encryption + self.disable_local_auth = disable_local_auth self.public_network_access = public_network_access @@ -357,49 +409,115 @@ def __init__( self.key_vault_properties = key_vault_properties -class Error(msrest.serialization.Model): - """AppConfiguration error object. +class ErrorAdditionalInfo(msrest.serialization.Model): + """The resource management error additional info. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The additional info type. + :vartype type: str + :ivar info: The additional info. + :vartype info: any + """ + + _validation = { + 'type': {'readonly': True}, + 'info': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'info': {'key': 'info', 'type': 'object'}, + } - :param code: Error code. - :type code: str - :param message: Error message. - :type message: str + def __init__( + self, + **kwargs + ): + super(ErrorAdditionalInfo, self).__init__(**kwargs) + self.type = None + self.info = None + + +class ErrorDetails(msrest.serialization.Model): + """The details of the error. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar code: Error code. + :vartype code: str + :ivar message: Error message indicating why the operation failed. + :vartype message: str + :ivar additional_info: The error additional info. + :vartype additional_info: list[~app_configuration_management_client.models.ErrorAdditionalInfo] """ + _validation = { + 'code': {'readonly': True}, + 'message': {'readonly': True}, + 'additional_info': {'readonly': True}, + } + _attribute_map = { 'code': {'key': 'code', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, + 'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorDetails, self).__init__(**kwargs) + self.code = None + self.message = None + self.additional_info = None + + +class ErrorResponse(msrest.serialization.Model): + """Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. + + :param error: The details of the error. + :type error: ~app_configuration_management_client.models.ErrorDetails + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDetails'}, } def __init__( self, *, - code: Optional[str] = None, - message: Optional[str] = None, + error: Optional["ErrorDetails"] = None, **kwargs ): - super(Error, self).__init__(**kwargs) - self.code = code - self.message = message + super(ErrorResponse, self).__init__(**kwargs) + self.error = error class KeyValue(msrest.serialization.Model): - """The result of a request to retrieve a key-value from the specified configuration store. + """The key-value resource along with all resource properties. Variables are only populated by the server, and will be ignored when sending a request. + :ivar id: The resource ID. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. + :vartype type: str :ivar key: The primary identifier of a key-value. The key is used in unison with the label to uniquely identify a key-value. :vartype key: str :ivar label: A value used to group key-values. The label is used in unison with the key to uniquely identify a key-value. :vartype label: str - :ivar value: The value of the key-value. - :vartype value: str - :ivar content_type: The content type of the key-value's value. + :param value: The value of the key-value. + :type value: str + :param content_type: The content type of the key-value's value. Providing a proper content-type can enable transformations of values when they are retrieved by applications. - :vartype content_type: str + :type content_type: str :ivar e_tag: An ETag indicating the state of a key-value within a configuration store. :vartype e_tag: str :ivar last_modified: The last time a modifying operation was performed on the given key-value. @@ -407,46 +525,82 @@ class KeyValue(msrest.serialization.Model): :ivar locked: A value indicating whether the key-value is locked. A locked key-value may not be modified until it is unlocked. :vartype locked: bool - :ivar tags: A set of tags. A dictionary of tags that can help identify what a key-value may be + :param tags: A set of tags. A dictionary of tags that can help identify what a key-value may be applicable for. - :vartype tags: dict[str, str] + :type tags: dict[str, str] """ _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'key': {'readonly': True}, 'label': {'readonly': True}, - 'value': {'readonly': True}, - 'content_type': {'readonly': True}, 'e_tag': {'readonly': True}, 'last_modified': {'readonly': True}, 'locked': {'readonly': True}, - 'tags': {'readonly': True}, } _attribute_map = { - 'key': {'key': 'key', 'type': 'str'}, - 'label': {'key': 'label', 'type': 'str'}, - 'value': {'key': 'value', 'type': 'str'}, - 'content_type': {'key': 'contentType', 'type': 'str'}, - 'e_tag': {'key': 'eTag', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, - 'locked': {'key': 'locked', 'type': 'bool'}, - 'tags': {'key': 'tags', 'type': '{str}'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'key': {'key': 'properties.key', 'type': 'str'}, + 'label': {'key': 'properties.label', 'type': 'str'}, + 'value': {'key': 'properties.value', 'type': 'str'}, + 'content_type': {'key': 'properties.contentType', 'type': 'str'}, + 'e_tag': {'key': 'properties.eTag', 'type': 'str'}, + 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, + 'locked': {'key': 'properties.locked', 'type': 'bool'}, + 'tags': {'key': 'properties.tags', 'type': '{str}'}, } def __init__( self, + *, + value: Optional[str] = None, + content_type: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, **kwargs ): super(KeyValue, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None self.key = None self.label = None - self.value = None - self.content_type = None + self.value = value + self.content_type = content_type self.e_tag = None self.last_modified = None self.locked = None - self.tags = None + self.tags = tags + + +class KeyValueListResult(msrest.serialization.Model): + """The result of a request to list key-values. + + :param value: The collection value. + :type value: list[~app_configuration_management_client.models.KeyValue] + :param next_link: The URI that can be used to request the next set of paged results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[KeyValue]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["KeyValue"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(KeyValueListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link class KeyVaultProperties(msrest.serialization.Model): @@ -476,36 +630,124 @@ def __init__( self.identity_client_id = identity_client_id -class ListKeyValueParameters(msrest.serialization.Model): - """The parameters used to list a configuration store key-value. +class LogSpecification(msrest.serialization.Model): + """Specifications of the Log for Azure Monitoring. - All required parameters must be populated in order to send to Azure. + :param name: Name of the log. + :type name: str + :param display_name: Localized friendly display name of the log. + :type display_name: str + :param blob_duration: Blob duration of the log. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + blob_duration: Optional[str] = None, + **kwargs + ): + super(LogSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.blob_duration = blob_duration + + +class MetricDimension(msrest.serialization.Model): + """Specifications of the Dimension of metrics. - :param key: Required. The key to retrieve. - :type key: str - :param label: The label of the key. - :type label: str + :param name: Name of the dimension. + :type name: str + :param display_name: Localized friendly display name of the dimension. + :type display_name: str + :param internal_name: Internal name of the dimension. + :type internal_name: str """ - _validation = { - 'key': {'required': True}, + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'internal_name': {'key': 'internalName', 'type': 'str'}, } + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + internal_name: Optional[str] = None, + **kwargs + ): + super(MetricDimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.internal_name = internal_name + + +class MetricSpecification(msrest.serialization.Model): + """Specifications of the Metrics for Azure Monitoring. + + :param name: Name of the metric. + :type name: str + :param display_name: Localized friendly display name of the metric. + :type display_name: str + :param display_description: Localized friendly description of the metric. + :type display_description: str + :param unit: Unit that makes sense for the metric. + :type unit: str + :param aggregation_type: Only provide one value for this field. Valid values: Average, Minimum, + Maximum, Total, Count. + :type aggregation_type: str + :param internal_metric_name: Internal metric name. + :type internal_metric_name: str + :param dimensions: Dimensions of the metric. + :type dimensions: list[~app_configuration_management_client.models.MetricDimension] + :param fill_gap_with_zero: Optional. If set to true, then zero will be returned for time + duration where no metric is emitted/published. + :type fill_gap_with_zero: bool + """ + _attribute_map = { - 'key': {'key': 'key', 'type': 'str'}, - 'label': {'key': 'label', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'internal_metric_name': {'key': 'internalMetricName', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, } def __init__( self, *, - key: str, - label: Optional[str] = None, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[str] = None, + aggregation_type: Optional[str] = None, + internal_metric_name: Optional[str] = None, + dimensions: Optional[List["MetricDimension"]] = None, + fill_gap_with_zero: Optional[bool] = None, **kwargs ): - super(ListKeyValueParameters, self).__init__(**kwargs) - self.key = key - self.label = label + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.internal_metric_name = internal_metric_name + self.dimensions = dimensions + self.fill_gap_with_zero = fill_gap_with_zero class NameAvailabilityStatus(msrest.serialization.Model): @@ -549,25 +791,40 @@ class OperationDefinition(msrest.serialization.Model): :param name: Operation name: {provider}/{resource}/{operation}. :type name: str + :param is_data_action: Indicates whether the operation is a data action. + :type is_data_action: bool :param display: The display information for the configuration store operation. :type display: ~app_configuration_management_client.models.OperationDefinitionDisplay + :param origin: Origin of the operation. + :type origin: str + :param properties: Properties of the operation. + :type properties: ~app_configuration_management_client.models.OperationProperties """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, 'display': {'key': 'display', 'type': 'OperationDefinitionDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'OperationProperties'}, } def __init__( self, *, name: Optional[str] = None, + is_data_action: Optional[bool] = None, display: Optional["OperationDefinitionDisplay"] = None, + origin: Optional[str] = None, + properties: Optional["OperationProperties"] = None, **kwargs ): super(OperationDefinition, self).__init__(**kwargs) self.name = name + self.is_data_action = is_data_action self.display = display + self.origin = origin + self.properties = properties class OperationDefinitionDisplay(msrest.serialization.Model): @@ -637,6 +894,27 @@ def __init__( self.next_link = next_link +class OperationProperties(msrest.serialization.Model): + """Extra Operation properties. + + :param service_specification: Service specifications of the operation. + :type service_specification: ~app_configuration_management_client.models.ServiceSpecification + """ + + _attribute_map = { + 'service_specification': {'key': 'serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__( + self, + *, + service_specification: Optional["ServiceSpecification"] = None, + **kwargs + ): + super(OperationProperties, self).__init__(**kwargs) + self.service_specification = service_specification + + class PrivateEndpoint(msrest.serialization.Model): """Private endpoint which a connection belongs to. @@ -978,6 +1256,33 @@ def __init__( self.tenant_id = None +class ServiceSpecification(msrest.serialization.Model): + """Service specification payload. + + :param log_specifications: Specifications of the Log for Azure Monitoring. + :type log_specifications: list[~app_configuration_management_client.models.LogSpecification] + :param metric_specifications: Specifications of the Metrics for Azure Monitoring. + :type metric_specifications: + list[~app_configuration_management_client.models.MetricSpecification] + """ + + _attribute_map = { + 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'}, + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__( + self, + *, + log_specifications: Optional[List["LogSpecification"]] = None, + metric_specifications: Optional[List["MetricSpecification"]] = None, + **kwargs + ): + super(ServiceSpecification, self).__init__(**kwargs) + self.log_specifications = log_specifications + self.metric_specifications = metric_specifications + + class Sku(msrest.serialization.Model): """Describes a configuration store SKU. @@ -1005,6 +1310,54 @@ def __init__( self.name = name +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :type created_by_type: str or ~app_configuration_management_client.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: ~datetime.datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the resource. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :type last_modified_by_type: str or ~app_configuration_management_client.models.CreatedByType + :param last_modified_at: The timestamp of resource last modification (UTC). + :type last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + class UserIdentity(msrest.serialization.Model): """A resource identity that is managed by the user of the service. diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/__init__.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/__init__.py index 934a0920b836..99aa49efc9fb 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/__init__.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/__init__.py @@ -10,10 +10,12 @@ from ._operations import Operations from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations from ._private_link_resources_operations import PrivateLinkResourcesOperations +from ._key_values_operations import KeyValuesOperations __all__ = [ 'ConfigurationStoresOperations', 'Operations', 'PrivateEndpointConnectionsOperations', 'PrivateLinkResourcesOperations', + 'KeyValuesOperations', ] diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_configuration_stores_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_configuration_stores_operations.py index 6002c4330264..1cca51301864 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_configuration_stores_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_configuration_stores_operations.py @@ -16,7 +16,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.arm_polling import ARMPolling -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -39,7 +39,7 @@ class ConfigurationStoresOperations(object): :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): self._client = client @@ -52,7 +52,7 @@ def list( skip_token=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["models.ConfigurationStoreListResult"] + # type: (...) -> Iterable["_models.ConfigurationStoreListResult"] """Lists the configuration stores for a given subscription. :param skip_token: A skip token is used to continue retrieving items after an operation returns @@ -65,12 +65,12 @@ def list( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.ConfigurationStoreListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStoreListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStoreListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -112,7 +112,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -129,7 +129,7 @@ def list_by_resource_group( skip_token=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["models.ConfigurationStoreListResult"] + # type: (...) -> Iterable["_models.ConfigurationStoreListResult"] """Lists the configuration stores for a given resource group. :param resource_group_name: The name of the resource group to which the container registry @@ -145,12 +145,12 @@ def list_by_resource_group( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.ConfigurationStoreListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStoreListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStoreListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -193,7 +193,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -210,7 +210,7 @@ def get( config_store_name, # type: str **kwargs # type: Any ): - # type: (...) -> "models.ConfigurationStore" + # type: (...) -> "_models.ConfigurationStore" """Gets the properties of the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -223,12 +223,12 @@ def get( :rtype: ~app_configuration_management_client.models.ConfigurationStore :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -254,7 +254,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConfigurationStore', pipeline_response) @@ -269,16 +269,16 @@ def _create_initial( self, resource_group_name, # type: str config_store_name, # type: str - config_store_creation_parameters, # type: "models.ConfigurationStore" + config_store_creation_parameters, # type: "_models.ConfigurationStore" **kwargs # type: Any ): - # type: (...) -> "models.ConfigurationStore" - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + # type: (...) -> "_models.ConfigurationStore" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ def _create_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -328,10 +328,10 @@ def begin_create( self, resource_group_name, # type: str config_store_name, # type: str - config_store_creation_parameters, # type: "models.ConfigurationStore" + config_store_creation_parameters, # type: "_models.ConfigurationStore" **kwargs # type: Any ): - # type: (...) -> LROPoller["models.ConfigurationStore"] + # type: (...) -> LROPoller["_models.ConfigurationStore"] """Creates a configuration store with the specified parameters. :param resource_group_name: The name of the resource group to which the container registry @@ -343,8 +343,8 @@ def begin_create( :type config_store_creation_parameters: ~app_configuration_management_client.models.ConfigurationStore :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConfigurationStore or the result of cls(response) @@ -352,7 +352,7 @@ def begin_create( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -377,7 +377,13 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -403,7 +409,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -429,7 +435,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -453,8 +459,8 @@ def begin_delete( :type config_store_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -483,7 +489,13 @@ def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -501,16 +513,16 @@ def _update_initial( self, resource_group_name, # type: str config_store_name, # type: str - config_store_update_parameters, # type: "models.ConfigurationStoreUpdateParameters" + config_store_update_parameters, # type: "_models.ConfigurationStoreUpdateParameters" **kwargs # type: Any ): - # type: (...) -> "models.ConfigurationStore" - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + # type: (...) -> "_models.ConfigurationStore" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -541,7 +553,7 @@ def _update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -560,10 +572,10 @@ def begin_update( self, resource_group_name, # type: str config_store_name, # type: str - config_store_update_parameters, # type: "models.ConfigurationStoreUpdateParameters" + config_store_update_parameters, # type: "_models.ConfigurationStoreUpdateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller["models.ConfigurationStore"] + # type: (...) -> LROPoller["_models.ConfigurationStore"] """Updates a configuration store with the specified parameters. :param resource_group_name: The name of the resource group to which the container registry @@ -575,8 +587,8 @@ def begin_update( :type config_store_update_parameters: ~app_configuration_management_client.models.ConfigurationStoreUpdateParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConfigurationStore or the result of cls(response) @@ -584,7 +596,7 @@ def begin_update( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.ConfigurationStore"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConfigurationStore"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -609,7 +621,13 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -630,7 +648,7 @@ def list_keys( skip_token=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["models.ApiKeyListResult"] + # type: (...) -> Iterable["_models.ApiKeyListResult"] """Lists the access key for the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -648,12 +666,12 @@ def list_keys( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.ApiKeyListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ApiKeyListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApiKeyListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -697,7 +715,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -706,16 +724,16 @@ def get_next(next_link=None): return ItemPaged( get_next, extract_data ) - list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/ListKeys'} # type: ignore + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys'} # type: ignore def regenerate_key( self, resource_group_name, # type: str config_store_name, # type: str - regenerate_key_parameters, # type: "models.RegenerateKeyParameters" + regenerate_key_parameters, # type: "_models.RegenerateKeyParameters" **kwargs # type: Any ): - # type: (...) -> "models.ApiKey" + # type: (...) -> "_models.ApiKey" """Regenerates an access key for the specified configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -730,12 +748,12 @@ def regenerate_key( :rtype: ~app_configuration_management_client.models.ApiKey :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.ApiKey"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApiKey"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -766,7 +784,7 @@ def regenerate_key( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ApiKey', pipeline_response) @@ -775,73 +793,4 @@ def regenerate_key( return cls(pipeline_response, deserialized, {}) return deserialized - regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/RegenerateKey'} # type: ignore - - def list_key_value( - self, - resource_group_name, # type: str - config_store_name, # type: str - list_key_value_parameters, # type: "models.ListKeyValueParameters" - **kwargs # type: Any - ): - # type: (...) -> "models.KeyValue" - """Lists a configuration store key-value. - - :param resource_group_name: The name of the resource group to which the container registry - belongs. - :type resource_group_name: str - :param config_store_name: The name of the configuration store. - :type config_store_name: str - :param list_key_value_parameters: The parameters for retrieving a key-value. - :type list_key_value_parameters: ~app_configuration_management_client.models.ListKeyValueParameters - :keyword callable cls: A custom type or function that will be passed the direct response - :return: KeyValue, or the result of cls(response) - :rtype: ~app_configuration_management_client.models.KeyValue - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["models.KeyValue"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_key_value.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), - 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(list_key_value_parameters, 'ListKeyValueParameters') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('KeyValue', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_key_value.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeyValue'} # type: ignore + regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey'} # type: ignore diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_key_values_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_key_values_operations.py new file mode 100644 index 000000000000..4646e222dfd4 --- /dev/null +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_key_values_operations.py @@ -0,0 +1,396 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class KeyValuesOperations(object): + """KeyValuesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~app_configuration_management_client.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_configuration_store( + self, + resource_group_name, # type: str + config_store_name, # type: str + skip_token=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.KeyValueListResult"] + """Lists the key-values for a given configuration store. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param skip_token: A skip token is used to continue retrieving items after an operation returns + a partial result. If a previous response contains a nextLink element, the value of the nextLink + element will include a skipToken parameter that specifies a starting point to use for + subsequent calls. + :type skip_token: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either KeyValueListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.KeyValueListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValueListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_configuration_store.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if skip_token is not None: + query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('KeyValueListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_configuration_store.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues'} # type: ignore + + def get( + self, + resource_group_name, # type: str + config_store_name, # type: str + key_value_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.KeyValue" + """Gets the properties of the specified key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: KeyValue, or the result of cls(response) + :rtype: ~app_configuration_management_client.models.KeyValue + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValue"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('KeyValue', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + def create_or_update( + self, + resource_group_name, # type: str + config_store_name, # type: str + key_value_name, # type: str + key_value_parameters=None, # type: Optional["_models.KeyValue"] + **kwargs # type: Any + ): + # type: (...) -> "_models.KeyValue" + """Creates a key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :param key_value_parameters: The parameters for creating a key-value. + :type key_value_parameters: ~app_configuration_management_client.models.KeyValue + :keyword callable cls: A custom type or function that will be passed the direct response + :return: KeyValue, or the result of cls(response) + :rtype: ~app_configuration_management_client.models.KeyValue + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyValue"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if key_value_parameters is not None: + body_content = self._serialize.body(key_value_parameters, 'KeyValue') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('KeyValue', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + config_store_name, # type: str + key_value_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-03-01-preview" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + config_store_name, # type: str + key_value_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a key-value. + + :param resource_group_name: The name of the resource group to which the container registry + belongs. + :type resource_group_name: str + :param config_store_name: The name of the configuration store. + :type config_store_name: str + :param key_value_name: Identifier of key and label combination. Key and label are joined by $ + character. Label is optional. + :type key_value_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + config_store_name=config_store_name, + key_value_name=key_value_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'keyValueName': self._serialize.url("key_value_name", key_value_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}'} # type: ignore diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_operations.py index c5f4919fdae3..316f70bc73e6 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_operations.py @@ -14,7 +14,7 @@ from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -37,7 +37,7 @@ class Operations(object): :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): self._client = client @@ -47,10 +47,10 @@ def __init__(self, client, config, serializer, deserializer): def check_name_availability( self, - check_name_availability_parameters, # type: "models.CheckNameAvailabilityParameters" + check_name_availability_parameters, # type: "_models.CheckNameAvailabilityParameters" **kwargs # type: Any ): - # type: (...) -> "models.NameAvailabilityStatus" + # type: (...) -> "_models.NameAvailabilityStatus" """Checks whether the configuration store name is available for use. :param check_name_availability_parameters: The object containing information for the @@ -61,12 +61,12 @@ def check_name_availability( :rtype: ~app_configuration_management_client.models.NameAvailabilityStatus :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.NameAvailabilityStatus"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NameAvailabilityStatus"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -95,7 +95,7 @@ def check_name_availability( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NameAvailabilityStatus', pipeline_response) @@ -111,7 +111,7 @@ def list( skip_token=None, # type: Optional[str] **kwargs # type: Any ): - # type: (...) -> Iterable["models.OperationDefinitionListResult"] + # type: (...) -> Iterable["_models.OperationDefinitionListResult"] """Lists the operations available from this provider. :param skip_token: A skip token is used to continue retrieving items after an operation returns @@ -124,12 +124,12 @@ def list( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.OperationDefinitionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.OperationDefinitionListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationDefinitionListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -167,7 +167,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_endpoint_connections_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_endpoint_connections_operations.py index 9cd77a91583b..4d034a98f9bd 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_endpoint_connections_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_endpoint_connections_operations.py @@ -16,7 +16,7 @@ from azure.mgmt.core.exceptions import ARMErrorFormat from azure.mgmt.core.polling.arm_polling import ARMPolling -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -39,7 +39,7 @@ class PrivateEndpointConnectionsOperations(object): :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): self._client = client @@ -53,7 +53,7 @@ def list_by_configuration_store( config_store_name, # type: str **kwargs # type: Any ): - # type: (...) -> Iterable["models.PrivateEndpointConnectionListResult"] + # type: (...) -> Iterable["_models.PrivateEndpointConnectionListResult"] """Lists all private endpoint connections for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -66,12 +66,12 @@ def list_by_configuration_store( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.PrivateEndpointConnectionListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -113,7 +113,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -131,7 +131,7 @@ def get( private_endpoint_connection_name, # type: str **kwargs # type: Any ): - # type: (...) -> "models.PrivateEndpointConnection" + # type: (...) -> "_models.PrivateEndpointConnection" """Gets the specified private endpoint connection associated with the configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -146,12 +146,12 @@ def get( :rtype: ~app_configuration_management_client.models.PrivateEndpointConnection :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -178,7 +178,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -194,16 +194,16 @@ def _create_or_update_initial( resource_group_name, # type: str config_store_name, # type: str private_endpoint_connection_name, # type: str - private_endpoint_connection, # type: "models.PrivateEndpointConnection" + private_endpoint_connection, # type: "_models.PrivateEndpointConnection" **kwargs # type: Any ): - # type: (...) -> "models.PrivateEndpointConnection" - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + # type: (...) -> "_models.PrivateEndpointConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -235,7 +235,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -255,10 +255,10 @@ def begin_create_or_update( resource_group_name, # type: str config_store_name, # type: str private_endpoint_connection_name, # type: str - private_endpoint_connection, # type: "models.PrivateEndpointConnection" + private_endpoint_connection, # type: "_models.PrivateEndpointConnection" **kwargs # type: Any ): - # type: (...) -> LROPoller["models.PrivateEndpointConnection"] + # type: (...) -> LROPoller["_models.PrivateEndpointConnection"] """Update the state of the specified private endpoint connection associated with the configuration store. @@ -273,8 +273,8 @@ def begin_create_or_update( :type private_endpoint_connection: ~app_configuration_management_client.models.PrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) @@ -282,7 +282,7 @@ def begin_create_or_update( :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] lro_delay = kwargs.pop( 'polling_interval', self._config.polling_interval @@ -308,7 +308,14 @@ def get_long_running_output(pipeline_response): return cls(pipeline_response, deserialized, {}) return deserialized - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: @@ -335,7 +342,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -362,7 +369,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -389,8 +396,8 @@ def begin_delete( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: By default, your polling method will be ARMPolling. + Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,7 +427,14 @@ def get_long_running_output(pipeline_response): if cls: return cls(pipeline_response, None, {}) - if polling is True: polling_method = ARMPolling(lro_delay, **kwargs) + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'configStoreName': self._serialize.url("config_store_name", config_store_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9_-]*$'), + 'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, path_format_arguments=path_format_arguments, **kwargs) elif polling is False: polling_method = NoPolling() else: polling_method = polling if cont_token: diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_link_resources_operations.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_link_resources_operations.py index 319f6f2d9fef..cd5302bd8216 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_link_resources_operations.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration/operations/_private_link_resources_operations.py @@ -14,7 +14,7 @@ from azure.core.pipeline.transport import HttpRequest, HttpResponse from azure.mgmt.core.exceptions import ARMErrorFormat -from .. import models +from .. import models as _models if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports @@ -37,7 +37,7 @@ class PrivateLinkResourcesOperations(object): :param deserializer: An object model deserializer. """ - models = models + models = _models def __init__(self, client, config, serializer, deserializer): self._client = client @@ -51,7 +51,7 @@ def list_by_configuration_store( config_store_name, # type: str **kwargs # type: Any ): - # type: (...) -> Iterable["models.PrivateLinkResourceListResult"] + # type: (...) -> Iterable["_models.PrivateLinkResourceListResult"] """Gets the private link resources that need to be created for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -64,12 +64,12 @@ def list_by_configuration_store( :rtype: ~azure.core.paging.ItemPaged[~app_configuration_management_client.models.PrivateLinkResourceListResult] :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResourceListResult"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" def prepare_request(next_link=None): @@ -111,7 +111,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -129,7 +129,7 @@ def get( group_name, # type: str **kwargs # type: Any ): - # type: (...) -> "models.PrivateLinkResource" + # type: (...) -> "_models.PrivateLinkResource" """Gets a private link resource that need to be created for a configuration store. :param resource_group_name: The name of the resource group to which the container registry @@ -144,12 +144,12 @@ def get( :rtype: ~app_configuration_management_client.models.PrivateLinkResource :raises: ~azure.core.exceptions.HttpResponseError """ - cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResource"] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkResource"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2020-06-01" + api_version = "2021-03-01-preview" accept = "application/json" # Construct URL @@ -176,7 +176,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkResource', pipeline_response) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration.yaml b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration.yaml deleted file mode 100644 index 5f215d02f653..000000000000 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration.yaml +++ /dev/null @@ -1,1390 +0,0 @@ -interactions: -- request: - body: '{"location": "westus", "tags": {"my_tag": "myTagValue"}, "sku": {"name": - "Standard"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '85' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Creating","creationDate":"2021-06-09T16:57:11.9474808+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a","name":"configuration39c8158a","tags":{}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/83b1787c-4b7e-1b66-9e9c-9876f7787939?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1177' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/83b1787c-4b7e-1b66-9e9c-9876f7787939?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/83b1787c-4b7e-1b66-9e9c-9876f7787939","name":"83b1787c-4b7e-1b66-9e9c-9876f7787939","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/83b1787c-4b7e-1b66-9e9c-9876f7787939?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '248' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:57:13+00:00","endpoint":"https://configuration39c8158a.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a","name":"configuration39c8158a","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: - - no-cache - content-length: - - '619' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:22 GMT - etag: - - W/"5800f8ee-0000-0700-0000-60c0f2e80000" - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"vnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname\",\r\n - \ \"etag\": \"W/\\\"b7731b52-2562-4090-929e-d52cb813198f\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"e211ec8f-e70e-4d8d-94ed-f7a993c8dc6a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n - \ }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2306f2e3-f248-4c4d-8a71-e17eba1a8e60?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '674' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ba271a68-33ce-4623-964c-c92d5f42e3b7 - x-ms-ratelimit-remaining-subscription-writes: - - '1164' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2306f2e3-f248-4c4d-8a71-e17eba1a8e60?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 970b59a7-8565-48cd-b306-3489f179fe11 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"vnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname\",\r\n - \ \"etag\": \"W/\\\"713f54b9-7f1f-434a-94d4-ecbc30062cc3\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"e211ec8f-e70e-4d8d-94ed-f7a993c8dc6a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n - \ }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '675' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:29 GMT - etag: - - W/"713f54b9-7f1f-434a-94d4-ecbc30062cc3" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c0768e18-89ed-477f-81db-f2e01d2386f6 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": - "disabled", "privateLinkServiceNetworkPolicies": "disabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '143' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname\",\r\n - \ \"etag\": \"W/\\\"1f96ea4e-5a9c-4d0e-9633-9b288ed2495e\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/84639927-1b56-40b0-9e0c-b32e7daf05df?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '601' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 92e4825f-bdf7-4b7a-8522-ad308dcecd76 - x-ms-ratelimit-remaining-subscription-writes: - - '1163' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/84639927-1b56-40b0-9e0c-b32e7daf05df?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ca036e11-77c5-4f57-8f21-c23f84c41dcc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname\",\r\n - \ \"etag\": \"W/\\\"34bbb6d7-a400-4ada-91cc-19156dc2b48f\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '602' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:33 GMT - etag: - - W/"34bbb6d7-a400-4ada-91cc-19156dc2b48f" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e8106acc-dae3-4147-83b1-9062c9e7a908 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname"}, - "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a", - "groupIds": ["configurationStores"]}, "name": "myconnection"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '647' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"endpointxyz\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz\",\r\n - \ \"etag\": \"W/\\\"bb14500e-7a6c-49a7-a896-7e02c41aee86\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"d0b0a635-562d-4709-a8fa-fc6d2741692a\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"bb14500e-7a6c-49a7-a896-7e02c41aee86\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a\",\r\n - \ \"groupIds\": [\r\n \"configurationStores\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": - \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpointxyz.nic.b3f1e8a7-af1c-4cb0-b7e8-ed326359ee81\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8482a871-3c28-4fb8-8009-7de85d882679?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '2257' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 984568b0-6744-4647-9391-53770be2e641 - x-ms-ratelimit-remaining-subscription-writes: - - '1162' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8482a871-3c28-4fb8-8009-7de85d882679?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:57:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2084d4e7-c890-4e81-a4bb-a2e69e311d3a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8482a871-3c28-4fb8-8009-7de85d882679?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a3911bf8-93df-4beb-a089-d4b0e278fac6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"endpointxyz\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz\",\r\n - \ \"etag\": \"W/\\\"0936c538-a1ac-4520-8d6f-cca723b308c5\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"d0b0a635-562d-4709-a8fa-fc6d2741692a\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"0936c538-a1ac-4520-8d6f-cca723b308c5\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a\",\r\n - \ \"groupIds\": [\r\n \"configurationStores\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \"actionsRequired\": - \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnetname\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpointxyz.nic.b3f1e8a7-af1c-4cb0-b7e8-ed326359ee81\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"configuration39c8158a.azconfig.io\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n - \ ]\r\n }\r\n ]\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2408' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:07 GMT - etag: - - W/"0936c538-a1ac-4520-8d6f-cca723b308c5" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6fcd3a13-95b6-471f-9bdc-6e56a4699d7a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:57:13+00:00","endpoint":"https://configuration39c8158a.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a","name":"configuration39c8158a","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: - - no-cache - content-length: - - '1389' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:08 GMT - etag: - - W/"58000fef-0000-0700-0000-60c0f30c0000" - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"}, - "privateLinkServiceConnectionState": {"status": "Approved", "description": "Auto-Approved"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '344' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Updating","privateEndpoint":null,"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/55ce4542-e59f-c5a6-f709-b2282da8d305?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '537' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/55ce4542-e59f-c5a6-f709-b2282da8d305?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/55ce4542-e59f-c5a6-f709-b2282da8d305","name":"55ce4542-e59f-c5a6-f709-b2282da8d305","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/55ce4542-e59f-c5a6-f709-b2282da8d305?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '248' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - cache-control: - - no-cache - content-length: - - '747' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - cache-control: - - no-cache - content-length: - - '747' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateLinkResources?api-version=2020-06-01 - response: - body: - string: '{"value":[{"id":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateLinkResources/configurationStores","name":"configurationStores","type":"Microsoft.AppConfiguration/configurationStores/privateLinkResources","properties":{"groupId":"configurationStores","requiredMembers":["configurationStores"],"requiredZoneNames":["privatelink.azconfig.io"]}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '546' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateLinkResources/configurationStores?api-version=2020-06-01 - response: - body: - string: '{"id":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateLinkResources/configurationStores","name":"configurationStores","type":"Microsoft.AppConfiguration/configurationStores/privateLinkResources","properties":{"groupId":"configurationStores","requiredMembers":["configurationStores"],"requiredZoneNames":["privatelink.azconfig.io"]}}' - headers: - cache-control: - - no-cache - content-length: - - '518' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections?api-version=2020-06-01 - response: - body: - string: '{"value":[{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection"}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '775' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"sku": {"name": "Standard"}, "tags": {"category": "Marketing"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '64' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:57:13+00:00","endpoint":"https://configuration39c8158a.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a","name":"configuration39c8158a","tags":{"category":"Marketing"}}' - headers: - cache-control: - - no-cache - content-length: - - '1390' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:23 GMT - etag: - - W/"58001eef-0000-0700-0000-60c0f32e0000" - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: '{"name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 - response: - body: - string: '{"nameAvailable":true,"message":"The specified name is available.","reason":null}' - headers: - cache-control: - - no-cache - content-length: - - '81' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '77' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 - response: - body: - string: '{"nameAvailable":true,"message":"The specified name is available.","reason":null}' - headers: - cache-control: - - no-cache - content-length: - - '81' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Deleting","privateEndpoint":null,"privateLinkServiceConnectionState":null},"id":null,"name":"myconnection"}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '226' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910","name":"6550d6e6-8036-9040-9df1-a91323448910","status":"Deleting","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '247' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910","name":"6550d6e6-8036-9040-9df1-a91323448910","status":"Deleting","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '247' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910","name":"6550d6e6-8036-9040-9df1-a91323448910","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/6550d6e6-8036-9040-9df1-a91323448910?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '248' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:58:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration39c8158a?api-version=2020-06-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 09 Jun 2021 16:58:56 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration_list_key_values.yaml b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration_list_key_values.yaml deleted file mode 100644 index ba3097123e4d..000000000000 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration.test_appconfiguration_list_key_values.yaml +++ /dev/null @@ -1,345 +0,0 @@ -interactions: -- request: - body: '{"location": "westus", "tags": {"my_tag": "myTagValue"}, "sku": {"name": - "Standard"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '85' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Creating","creationDate":"2021-06-09T16:59:04.4482843+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c","name":"configurationcae61c3c","tags":{}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/990e6efc-a461-1228-c2cc-2d3d796e640d?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '543' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1165' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/990e6efc-a461-1228-c2cc-2d3d796e640d?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/990e6efc-a461-1228-c2cc-2d3d796e640d","name":"990e6efc-a461-1228-c2cc-2d3d796e640d","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/990e6efc-a461-1228-c2cc-2d3d796e640d?api-version=2020-06-01 - cache-control: - - no-cache - content-length: - - '248' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:05+00:00","endpoint":"https://configurationcae61c3c.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c","name":"configurationcae61c3c","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: - - no-cache - content-length: - - '619' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:15 GMT - etag: - - W/"020035b2-0000-0700-0000-60c0f3590000" - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c/ListKeys?api-version=2020-06-01 - response: - body: - string: '{"value":[{"id":"0kAl-l1-s0:i96YfD7iryZorykIgLQF","name":"Primary","value":"BBCQNyhz2q63cVblTOtUetZVOTLcs6KXsVTHB5XGG6w=","connectionString":"Endpoint=https://configurationcae61c3c.azconfig.io;Id=0kAl-l1-s0:i96YfD7iryZorykIgLQF;Secret=BBCQNyhz2q63cVblTOtUetZVOTLcs6KXsVTHB5XGG6w=","lastModified":"2021-06-09T16:59:04+00:00","readOnly":false},{"id":"At89-l1-s0:fav64Mn6z1IiZZwb1Quf","name":"Secondary","value":"7hexaP2bVARYlYWuhfXpDjmmZLxBUJ7Rv8ls2s2SAC8=","connectionString":"Endpoint=https://configurationcae61c3c.azconfig.io;Id=At89-l1-s0:fav64Mn6z1IiZZwb1Quf;Secret=7hexaP2bVARYlYWuhfXpDjmmZLxBUJ7Rv8ls2s2SAC8=","lastModified":"2021-06-09T16:59:04+00:00","readOnly":false},{"id":"WuZF-l1-s0:TOLYNcqAgBat1SgnI02n","name":"Primary - Read Only","value":"Xv6QpT/NimeEKRZFZXNCv9dLGpqnkk4wPBLGYVC6Nh8=","connectionString":"Endpoint=https://configurationcae61c3c.azconfig.io;Id=WuZF-l1-s0:TOLYNcqAgBat1SgnI02n;Secret=Xv6QpT/NimeEKRZFZXNCv9dLGpqnkk4wPBLGYVC6Nh8=","lastModified":"2021-06-09T16:59:04+00:00","readOnly":true},{"id":"7PqF-l1-s0:rwzaj8kVvVE+BfaOEbyn","name":"Secondary - Read Only","value":"+ic8SHY+jECzMMkVYJVnEXUaymjs10BrxpKrBDPqJb0=","connectionString":"Endpoint=https://configurationcae61c3c.azconfig.io;Id=7PqF-l1-s0:rwzaj8kVvVE+BfaOEbyn;Secret=+ic8SHY+jECzMMkVYJVnEXUaymjs10BrxpKrBDPqJb0=","lastModified":"2021-06-09T16:59:04+00:00","readOnly":true}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '1377' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: '{"id": "0kAl-l1-s0:i96YfD7iryZorykIgLQF"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '41' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c/RegenerateKey?api-version=2020-06-01 - response: - body: - string: '{"id":"FKsW-l1-s0:PYQah0qRa1MtHwsBzzTN","name":"Primary","value":"wDKdBJoPqwwYEf2t4GNK1mSPojWxZHagfPjra9Hdtjg=","connectionString":"Endpoint=https://configurationcae61c3c.azconfig.io;Id=FKsW-l1-s0:PYQah0qRa1MtHwsBzzTN;Secret=wDKdBJoPqwwYEf2t4GNK1mSPojWxZHagfPjra9Hdtjg=","lastModified":"2021-06-09T16:59:15+00:00","readOnly":false}' - headers: - cache-control: - - no-cache - content-length: - - '331' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: '{"key": "PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309", "label": - "test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309", "content_type": "test content - type", "value": "test value", "tags": {"tag1": "tag1", "tag2": "tag2"}}' - headers: - Accept: - - application/vnd.microsoft.appconfig.kv+json, application/json, application/problem+json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '231' - Content-Type: - - application/vnd.microsoft.appconfig.kv+json - If-None-Match: - - '*' - User-Agent: - - azsdk-python-appconfiguration/1.2.0b3 Python/3.8.6 (Windows-10-10.0.19041-SP0) - x-ms-content-sha256: - - 5b/E4qQlXHTRod+n+f+xjK6c/tRVR8uxoC62FjvGJPw= - x-ms-date: - - Jun, 09 2021 16:59:14.514060 GMT - method: PUT - uri: https://configurationcae61c3c.azconfig.io/kv/PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309?label=test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309&api-version=1.0 - response: - body: - string: '{"etag":"zmZdtxbiremQzYOVYGnKBHC8fy8","key":"PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309","label":"test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309","content_type":"test - content type","value":"test value","tags":{"tag1":"tag1","tag2":"tag2"},"locked":false,"last_modified":"2021-06-09T16:59:16+00:00"}' - headers: - access-control-allow-credentials: - - 'true' - access-control-allow-origin: - - '*' - access-control-expose-headers: - - DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, - Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, - x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, - If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, - Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, - x-ms-effective-locale, WWW-Authenticate - connection: - - keep-alive - content-type: - - application/vnd.microsoft.appconfig.kv+json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:15 GMT - etag: - - '"zmZdtxbiremQzYOVYGnKBHC8fy8"' - last-modified: - - Wed, 09 Jun 2021 16:59:16 GMT - server: - - openresty/1.17.8.2 - strict-transport-security: - - max-age=15724800; includeSubDomains - sync-token: - - zAJw6V16=Mzo1IzMwODY0Mzk=;sn=3086439 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: '{"key": "PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309", "label": - "test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '129' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c/listKeyValue?api-version=2020-06-01 - response: - body: - string: '{"key":"PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309","label":"test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309","value":"test - value","contentType":"test content type","eTag":"zmZdtxbiremQzYOVYGnKBHC8fy8","lastModified":"2021-06-09T16:59:16+00:00","locked":false,"tags":{"tag1":"tag1","tag2":"tag2"}}' - headers: - cache-control: - - no-cache - content-length: - - '313' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx/1.17.10 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration.yaml b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration.yaml deleted file mode 100644 index 72b8c9fd1eb0..000000000000 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration.yaml +++ /dev/null @@ -1,1356 +0,0 @@ -interactions: -- request: - body: '{"location": "westus", "tags": {"my_tag": "myTagValue"}, "sku": {"name": - "Standard"}}' - headers: - Accept: - - application/json - Content-Length: - - '85' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Creating","creationDate":"2021-06-09T16:59:22.3993036+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{}}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/a90a39b6-7e4c-b5ed-e238-6c839b730a3c?api-version=2020-06-01 - cache-control: no-cache - content-length: '543' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 16:59:22 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1171' - status: - code: 201 - message: Created - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/a90a39b6-7e4c-b5ed-e238-6c839b730a3c?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/a90a39b6-7e4c-b5ed-e238-6c839b730a3c","name":"a90a39b6-7e4c-b5ed-e238-6c839b730a3c","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/a90a39b6-7e4c-b5ed-e238-6c839b730a3c?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 16:59:32 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/a90a39b6-7e4c-b5ed-e238-6c839b730a3c?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:23+00:00","endpoint":"https://configurationc4331807.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 16:59:32 GMT - etag: W/"1f012a2b-0000-0700-0000-60c0f36a0000" - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"vnetnamexxy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy\",\r\n - \ \"etag\": \"W/\\\"650527b5-b3e5-4605-86e3-9cffdde11615\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"f8bf899d-6263-4196-a78e-fedfa1f3da11\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n - \ }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9796824f-2145-47b2-87a7-3e0559db88d4?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '680' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bbf13d8f-3b87-4776-8870-e079922c1e3b - x-ms-ratelimit-remaining-subscription-writes: - - '1169' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9796824f-2145-47b2-87a7-3e0559db88d4?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - abce09d4-6a8a-4bb7-b250-f2c8adc298e8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"vnetnamexxy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy\",\r\n - \ \"etag\": \"W/\\\"72305453-171b-41e8-95e1-fff021f46e9b\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"f8bf899d-6263-4196-a78e-fedfa1f3da11\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": - [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n - \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n - \ }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '681' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:39 GMT - etag: - - W/"72305453-171b-41e8-95e1-fff021f46e9b" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d537cc58-403b-462a-b09e-6eb9d5a0dfe3 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": - "disabled", "privateLinkServiceNetworkPolicies": "disabled"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '143' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"subnetnamexxy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy\",\r\n - \ \"etag\": \"W/\\\"d3941d28-b53e-43da-8df8-5cc2a7ecf16a\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9b7d2762-b36b-4a2b-bc24-c9669d430298?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '610' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f15f271b-78f3-4a97-8313-aa80f9050868 - x-ms-ratelimit-remaining-subscription-writes: - - '1168' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9b7d2762-b36b-4a2b-bc24-c9669d430298?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fb7b00b9-3d4b-4bdf-a105-dd9d2f611bdc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"subnetnamexxy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy\",\r\n - \ \"etag\": \"W/\\\"d6b21b3e-2df3-4988-8a14-09bed52fc07e\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '611' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:44 GMT - etag: - - W/"d6b21b3e-2df3-4988-8a14-09bed52fc07e" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 71bb40f0-8148-467b-8adc-adb37d0a5c22 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy"}, - "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807", - "groupIds": ["configurationStores"]}, "name": "myconnection"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '653' - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"endpointxyz\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz\",\r\n - \ \"etag\": \"W/\\\"ef8a3440-f01f-4075-a55a-91907fa90394\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"1e21769a-3745-43c2-aceb-d084b3f77428\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"ef8a3440-f01f-4075-a55a-91907fa90394\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807\",\r\n - \ \"groupIds\": [\r\n \"configurationStores\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": - \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpointxyz.nic.0796cee8-013b-463c-9078-0f0b539ab48b\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d30e40-e152-4f7c-aacd-cd94fcaab4fa?api-version=2020-07-01 - cache-control: - - no-cache - content-length: - - '2263' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a9555b14-01ea-4715-b140-2acb6f63e873 - x-ms-ratelimit-remaining-subscription-writes: - - '1167' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d30e40-e152-4f7c-aacd-cd94fcaab4fa?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 16:59:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d9e85af3-5f5d-4745-b107-263b4f0588a8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d30e40-e152-4f7c-aacd-cd94fcaab4fa?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 17:00:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e87d2025-7321-4a23-b575-3b6c50c66ce0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a7d30e40-e152-4f7c-aacd-cd94fcaab4fa?api-version=2020-07-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 17:00:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - dc67af11-33b2-4497-8945-36bf580952d0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz?api-version=2020-07-01 - response: - body: - string: "{\r\n \"name\": \"endpointxyz\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz\",\r\n - \ \"etag\": \"W/\\\"8c336e2d-6d8e-489b-b2bc-063765e5eeab\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"1e21769a-3745-43c2-aceb-d084b3f77428\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz/privateLinkServiceConnections/myconnection\",\r\n - \ \"etag\": \"W/\\\"8c336e2d-6d8e-489b-b2bc-063765e5eeab\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807\",\r\n - \ \"groupIds\": [\r\n \"configurationStores\"\r\n ],\r\n - \ \"privateLinkServiceConnectionState\": {\r\n \"status\": - \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \"actionsRequired\": - \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n - \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/vnetnamexxy/subnets/subnetnamexxy\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpointxyz.nic.0796cee8-013b-463c-9078-0f0b539ab48b\"\r\n - \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"configurationc4331807.azconfig.io\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n - \ ]\r\n }\r\n ]\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2414' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 09 Jun 2021 17:00:27 GMT - etag: - - W/"8c336e2d-6d8e-489b-b2bc-063765e5eeab" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c0198e92-6895-4587-9a2a-a2463afa4c9d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:23+00:00","endpoint":"https://configurationc4331807.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:28 GMT - etag: W/"1f01f42f-0000-0700-0000-60c0f3930000" - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 -- request: - body: '{"properties": {"privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"}, - "privateLinkServiceConnectionState": {"status": "Approved", "description": "Auto-Approved"}}}' - headers: - Accept: - - application/json - Content-Length: - - '344' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Updating","privateEndpoint":null,"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/73974cd6-adeb-1d47-9806-7514f8c6178d?api-version=2020-06-01 - cache-control: no-cache - content-length: '537' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:29 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1197' - status: - code: 201 - message: Created - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/73974cd6-adeb-1d47-9806-7514f8c6178d?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/73974cd6-adeb-1d47-9806-7514f8c6178d","name":"73974cd6-adeb-1d47-9806-7514f8c6178d","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/73974cd6-adeb-1d47-9806-7514f8c6178d?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/73974cd6-adeb-1d47-9806-7514f8c6178d?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection"}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources?api-version=2020-06-01 - response: - body: - string: '{"value":[{"id":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources/configurationStores","name":"configurationStores","type":"Microsoft.AppConfiguration/configurationStores/privateLinkResources","properties":{"groupId":"configurationStores","requiredMembers":["configurationStores"],"requiredZoneNames":["privatelink.azconfig.io"]}}],"nextLink":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources/configurationStores?api-version=2020-06-01 - response: - body: - string: '{"id":"subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources/configurationStores","name":"configurationStores","type":"Microsoft.AppConfiguration/configurationStores/privateLinkResources","properties":{"groupId":"configurationStores","requiredMembers":["configurationStores"],"requiredZoneNames":["privatelink.azconfig.io"]}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateLinkResources/configurationStores?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections?api-version=2020-06-01 - response: - body: - string: '{"value":[{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection"}],"nextLink":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.AppConfiguration/operations?api-version=2020-06-01 - response: - body: - string: '{"value":[{"name":"Microsoft.AppConfiguration/operations/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Operation","operation":"List Operations","description":"Lists - all of the operations supported by Microsoft App Configuration."},"properties":null},{"name":"Microsoft.AppConfiguration/register/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Microsoft App Configuration","operation":"Register - for Microsoft App Configuration","description":"Registers a subscription to - use Microsoft App Configuration."},"properties":null},{"name":"Microsoft.AppConfiguration/unregister/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Microsoft App Configuration","operation":"Unregister - for Microsoft App Configuration","description":"Unregisters a subscription - from using Microsoft App Configuration."},"properties":null},{"name":"Microsoft.AppConfiguration/locations/operationsStatus/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":null,"operation":"Get Operation Status","description":"Get - the status of an operation."},"properties":null},{"name":"Microsoft.AppConfiguration/checkNameAvailability/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":null,"operation":"Check Name Availability","description":"Check - whether the resource name is available for use."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Get Configuration - Store or List Configuration Stores","description":"Gets the properties of - the specified configuration store or lists all the configuration stores under - the specified resource group or subscription."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/write","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Create or - Update Configuration Store","description":"Create or update a configuration - store with the specified parameters."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/delete","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Delete Configuration - Store","description":"Deletes a configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/ListKeys/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"List Configuration - Store API Keys","description":"Lists the API keys for the specified configuration - store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/RegenerateKey/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Regenerate - Configuration Store API Key","description":"Regenerates of the API key''s - for the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/ListKeyValue/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"List Configuration - Store Key-Value","description":"Lists a key-value for the specified configuration - store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/eventGridFilters/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store Event Grid Filter","operation":"Get - Configuration Store Event Grid Filter or List Configuration Store Event Grid - Filters","description":"Gets the properties of the specified configuration - store event grid filter or lists all the configuration store event grid filters - under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/eventGridFilters/write","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store Event Grid Filter","operation":"Create - or Update Configuration Store Event Grid Filter","description":"Create or - update a configuration store event grid filter with the specified parameters."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/eventGridFilters/delete","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store Event Grid Filter","operation":"Delete - Configuration Store Event Grid Filter","description":"Deletes a configuration - store event grid filter."},"properties":null},{"origin":"System","name":"Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/metricDefinitions/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Microsoft App Configuration Metric Definition.","operation":"Read - Configuration Store Metric Definitions","description":"Retrieve all metric - definitions for Microsoft App Configuration."},"properties":{"serviceSpecification":{"metricSpecifications":[{"name":"HttpIncomingRequestCount","displayName":"HttpIncomingRequestCount","displayDescription":"Total - number of incoming http requests.","unit":"Count","aggregationType":"Count","internalMetricName":"HttpIncomingRequestCount","dimensions":[{"name":"StatusCode","internalName":"StatusCode","displayName":"HttpStatusCode"},{"name":"Authentication","internalName":"Authentication","displayName":"AuthenticationScheme"}]},{"name":"HttpIncomingRequestDuration","displayName":"HttpIncomingRequestDuration","displayDescription":"Latency - on an http request.","unit":"Count","aggregationType":"Average","internalMetricName":"HttpIncomingRequestDuration","dimensions":[{"name":"StatusCode","internalName":"StatusCode","displayName":"HttpStatusCode"},{"name":"Authentication","internalName":"Authentication","displayName":"AuthenticationScheme"}]},{"name":"ThrottledHttpRequestCount","displayName":"ThrottledHttpRequestCount","displayDescription":"Throttled - http requests.","unit":"Count","aggregationType":"Count","internalMetricName":"ThrottledHttpRequestCount"}]}}},{"origin":"System","name":"Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Read Configuration - Store Diagnostic Settings","description":"Read all Diagnostic Settings values - for a Configuration Store."},"properties":null},{"origin":"System","name":"Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/write","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Configuration Store","operation":"Write Configuration - Store Diagnostic Settings","description":"Write/Overwrite Diagnostic Settings - for Microsoft App Configuration."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/logDefinitions/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Microsoft App Configuration Log Definition.","operation":"Read - Configuration Store Log Definitions","description":"Retrieve all log definitions - for Microsoft App Configuration."},"properties":{"serviceSpecification":{"metricSpecifications":null}}},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection Proxy","operation":"Validate - Private Endpoint Connection Proxy","description":"Validate a private endpoint - connection proxy under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection Proxy","operation":"Get - Private Endpoint Connection Proxy","description":"Get a private endpoint connection - proxy under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/write","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection Proxy","operation":"Create - or Update Private Endpoint Connection Proxy","description":"Create or update - a private endpoint connection proxy under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/delete","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection Proxy","operation":"Delete - Private Endpoint Connection Proxy","description":"Delete a private endpoint - connection proxy under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection","operation":"Get - Private Endpoint Connection or List Private Endpoint Connections","description":"Get - a private endpoint connection or list private endpoint connections under the - specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/write","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection","operation":"Approve - or Reject Private Endpoint Connection","description":"Approve or reject a - private endpoint connection under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/delete","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection","operation":"Delete - Private Endpoint Connection","description":"Delete a private endpoint connection - under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/PrivateEndpointConnectionsApproval/action","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Endpoint Connection","operation":"Auto-Approve - Private Endpoint Connection","description":"Auto-Approve a private endpoint - connection under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/privateLinkResources/read","isDataAction":false,"display":{"provider":"Microsoft - App Configuration","resource":"Private Link","operation":"List Private Link","description":"Lists - all the private link resources under the specified configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/keyValues/read","isDataAction":true,"display":{"provider":"Microsoft - App Configuration","resource":"Key-Value","operation":"Read Key-Value","description":"Reads - a key-value from the configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/keyValues/write","isDataAction":true,"display":{"provider":"Microsoft - App Configuration","resource":"Key-Value","operation":"Write Key-Value","description":"Creates - or updates a key-value in the configuration store."},"properties":null},{"name":"Microsoft.AppConfiguration/configurationStores/keyValues/delete","isDataAction":true,"display":{"provider":"Microsoft - App Configuration","resource":"Key-Value","operation":"Delete Key-Value","description":"Deletes - an existing key-value from the configuration store."},"properties":null}],"nextLink":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/providers/Microsoft.AppConfiguration/operations?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01 - response: - body: - string: '{"value":[{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:23+00:00","endpoint":"https://configurationc4331807.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{"my_tag":"myTagValue"}}],"nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&$skipToken=configurationc4331807"}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:39 GMT - expires: '-1' - link: ; - rel="next" - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&$skipToken=configurationc4331807 - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:40 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&$skipToken=configurationc4331807 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01 - response: - body: - string: '{"value":[{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:23+00:00","endpoint":"https://configurationc4331807.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{"my_tag":"myTagValue"}},{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:05+00:00","endpoint":"https://configurationcae61c3c.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-fnk37ovichhncuntzyj2nivxgrw4ztbnmh5p4z7e26idoty7waunftcku7674tpymm4l33oka5f/providers/Microsoft.AppConfiguration/configurationStores/configurationcae61c3c","name":"configurationcae61c3c","tags":{"my_tag":"myTagValue"}},{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus2","properties":{"provisioningState":"Succeeded","creationDate":"2020-11-09T22:19:47+00:00","endpoint":"https://benappconfiguration-azconfig-net.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-benappconfiguration/providers/Microsoft.AppConfiguration/configurationStores/benappconfiguration-azconfig-net","name":"benappconfiguration-azconfig-net","tags":{}},{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus2","properties":{"provisioningState":"Succeeded","creationDate":"2021-02-26T23:57:52+00:00","endpoint":"https://perf-appconfig.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"free"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/xiangyan-perf/providers/Microsoft.AppConfiguration/configurationStores/perf-appconfig","name":"perf-appconfig","tags":{}},{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus2","properties":{"provisioningState":"Succeeded","creationDate":"2021-03-02T14:51:35+00:00","endpoint":"https://seankane-azconfig-net.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-seankane/providers/Microsoft.AppConfiguration/configurationStores/seankane-azconfig-net","name":"seankane-azconfig-net","tags":{}},{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus2","properties":{"provisioningState":"Succeeded","creationDate":"2020-10-15T00:39:01+00:00","endpoint":"https://srnagarapi-learn-azconfig-java.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-srnagarapi-learn/providers/Microsoft.AppConfiguration/configurationStores/srnagarapi-learn-azconfig-java","name":"srnagarapi-learn-azconfig-java","tags":{}}],"nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&%24skiptoken=1ZDBSgMxFEX%2fJYgrM0mmkrYDRYq409VUXL9JX2qcThLeywzS0n93ii70E1xeLufCuWcR8bM8h9izaM7i7andvbaiEe%2blZG6UGiDCAQeMpYLTSFi5NCgeO3YUcgkpsqrd3polgjQra%2bW97Yxca1xI732nV0vs%2fLpTmdIU9kisXoKjxMmXapvzY4o%2bHEaC65Ryv1NbEiE%2fQA5ymrm539S61lJbqc3tDfch71KPcfOHcoDWuIUTdz8u9f%2bSYZr%2fBrpaHxEoSjh9%2b8kPmEBcLl8%3d"}' - headers: - cache-control: no-cache - content-length: '1395' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000; includeSubDomains - vary: Accept-Encoding - x-content-type-options: nosniff - x-ms-original-request-ids: fa90e1e1-0025-4471-8e05-adfe626427e2 - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&$skiptoken=1ZDBSgMxFEX/JYgrM0mmkrYDRYq409VUXL9JX2qcThLeywzS0n93ii70E1xeLufCuWcR8bM8h9izaM7i7andvbaiEe%2BlZG6UGiDCAQeMpYLTSFi5NCgeO3YUcgkpsqrd3polgjQra%2BW97Yxca1xI732nV0vs/LpTmdIU9kisXoKjxMmXapvzY4o%2BHEaC65Ryv1NbEiE/QA5ymrm539S61lJbqc3tDfch71KPcfOHcoDWuIUTdz8u9f%2BSYZr/BrpaHxEoSjh9%2B8kPmEBcLl8%3D - response: - body: - string: '{"value":[]}' - headers: - cache-control: no-cache - content-length: '133' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:40 GMT - expires: '-1' - pragma: no-cache - strict-transport-security: max-age=31536000; includeSubDomains - vary: Accept-Encoding - x-content-type-options: nosniff - x-ms-original-request-ids: 610fe252-a612-44c6-a3f3-7fba6ee318c8 - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/configurationStores?api-version=2020-06-01&$skiptoken=1ZDBSgMxFEX/JYgrM0mmkrYDRYq409VUXL9JX2qcThLeywzS0n93ii70E1xeLufCuWcR8bM8h9izaM7i7andvbaiEe%2BlZG6UGiDCAQeMpYLTSFi5NCgeO3YUcgkpsqrd3polgjQra%2BW97Yxca1xI732nV0vs/LpTmdIU9kisXoKjxMmXapvzY4o%2BHEaC65Ryv1NbEiE/QA5ymrm539S61lJbqc3tDfch71KPcfOHcoDWuIUTdz8u9f%2BSYZr/BrpaHxEoSjh9%2B8kPmEBcLl8%3D -- request: - body: '{"sku": {"name": "Standard"}, "tags": {"category": "Marketing"}}' - headers: - Accept: - - application/json - Content-Length: - - '64' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T16:59:23+00:00","endpoint":"https://configurationc4331807.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection","name":"myconnection","type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpointxyz"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionsRequired":"None"}}}]},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807","name":"configurationc4331807","tags":{"category":"Marketing"}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:42 GMT - etag: W/"1f01c334-0000-0700-0000-60c0f3b90000" - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1195' - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 -- request: - body: '{"name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores"}' - headers: - Accept: - - application/json - Content-Length: - - '77' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 - response: - body: - string: '{"nameAvailable":true,"message":"The specified name is available.","reason":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:43 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 -- request: - body: '{"name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores"}' - headers: - Accept: - - application/json - Content-Length: - - '77' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 - response: - body: - string: '{"nameAvailable":true,"message":"The specified name is available.","reason":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:43 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/checkNameAvailability?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections","properties":{"provisioningState":"Deleting","privateEndpoint":null,"privateLinkServiceConnectionState":null},"id":null,"name":"myconnection"}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - cache-control: no-cache - content-length: '226' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:43 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14997' - status: - code: 202 - message: Accepted - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807/privateEndpointConnections/myconnection?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca","name":"fe3f1c6e-c468-8b99-b5fb-5299eec238ca","status":"Deleting","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:00:53 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca","name":"fe3f1c6e-c468-8b99-b5fb-5299eec238ca","status":"Deleting","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:03 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca","name":"fe3f1c6e-c468-8b99-b5fb-5299eec238ca","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:13 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/fe3f1c6e-c468-8b99-b5fb-5299eec238ca?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 - response: - body: - string: '' - headers: - cache-control: no-cache - content-length: '0' - date: Wed, 09 Jun 2021 17:01:15 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14996' - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-6bzgooibacfmnofdbd4qho75rtn2xas4b4jcs55xhpok5kurubmkgoe2wexgssgpf6cmpqmj72o/providers/Microsoft.AppConfiguration/configurationStores/configurationc4331807?api-version=2020-06-01 -version: 1 diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration_list_key_values.yaml b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration_list_key_values.yaml deleted file mode 100644 index ab7d1db25774..000000000000 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/recordings/test_cli_mgmt_appconfiguration_async.test_appconfiguration_list_key_values.yaml +++ /dev/null @@ -1,245 +0,0 @@ -interactions: -- request: - body: '{"location": "westus", "tags": {"my_tag": "myTagValue"}, "sku": {"name": - "Standard"}}' - headers: - Accept: - - application/json - Content-Length: - - '85' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Creating","creationDate":"2021-06-09T17:01:22.7980658+00:00","endpoint":null,"encryption":null,"privateEndpointConnections":null},"sku":{"name":"Standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9","name":"configuration7d301eb9","tags":{}}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/bf035644-e7ec-d507-2637-8c49bad35da6?api-version=2020-06-01 - cache-control: no-cache - content-length: '543' - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:23 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1166' - status: - code: 201 - message: Created - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-zku4tnzciusv2p2uo2bk5tq2tqavcbxd3yugtiltfs6oadcwyfzigt7yvrgt4c6bsmdgteb7h72/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/bf035644-e7ec-d507-2637-8c49bad35da6?api-version=2020-06-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/bf035644-e7ec-d507-2637-8c49bad35da6","name":"bf035644-e7ec-d507-2637-8c49bad35da6","status":"Succeeded","error":null}' - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/bf035644-e7ec-d507-2637-8c49bad35da6?api-version=2020-06-01 - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:33 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppConfiguration/locations/westus/operationsStatus/bf035644-e7ec-d507-2637-8c49bad35da6?api-version=2020-06-01 -- request: - body: null - headers: - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9?api-version=2020-06-01 - response: - body: - string: '{"type":"Microsoft.AppConfiguration/configurationStores","location":"westus","properties":{"provisioningState":"Succeeded","creationDate":"2021-06-09T17:01:24+00:00","endpoint":"https://configuration7d301eb9.azconfig.io","encryption":{"keyVaultProperties":null},"privateEndpointConnections":null},"sku":{"name":"standard"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9","name":"configuration7d301eb9","tags":{"my_tag":"myTagValue"}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:33 GMT - etag: W/"0c0001c9-0000-0700-0000-60c0f3e30000" - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-zku4tnzciusv2p2uo2bk5tq2tqavcbxd3yugtiltfs6oadcwyfzigt7yvrgt4c6bsmdgteb7h72/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9?api-version=2020-06-01 -- request: - body: null - headers: - Accept: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/ListKeys?api-version=2020-06-01 - response: - body: - string: '{"value":[{"id":"N0ZA-l1-s0:KwJU9mzvyESfGZAQhsT4","name":"Primary","value":"aWKxcxE/8CPp6wAGMobS4fj0ZbOeh5RnvUL74VHDAmE=","connectionString":"Endpoint=https://configuration7d301eb9.azconfig.io;Id=N0ZA-l1-s0:KwJU9mzvyESfGZAQhsT4;Secret=aWKxcxE/8CPp6wAGMobS4fj0ZbOeh5RnvUL74VHDAmE=","lastModified":"2021-06-09T17:01:22+00:00","readOnly":false},{"id":"Wwak-l1-s0:pa+GqWvPXUbGsK10M0pm","name":"Secondary","value":"6ZuNktOaHy5maFbhtNpumZGfmaxWDtGzwbm3X3ne9Do=","connectionString":"Endpoint=https://configuration7d301eb9.azconfig.io;Id=Wwak-l1-s0:pa+GqWvPXUbGsK10M0pm;Secret=6ZuNktOaHy5maFbhtNpumZGfmaxWDtGzwbm3X3ne9Do=","lastModified":"2021-06-09T17:01:22+00:00","readOnly":false},{"id":"rbu2-l1-s0:nbkGqQWYhUJn3o26T1I7","name":"Primary - Read Only","value":"WiwdUtZ7OwwhTRgFBZ3/5Cc3V6S+HL/FkfsQeCKT99E=","connectionString":"Endpoint=https://configuration7d301eb9.azconfig.io;Id=rbu2-l1-s0:nbkGqQWYhUJn3o26T1I7;Secret=WiwdUtZ7OwwhTRgFBZ3/5Cc3V6S+HL/FkfsQeCKT99E=","lastModified":"2021-06-09T17:01:22+00:00","readOnly":true},{"id":"Cw6F-l1-s0:Jv8AD5txroVJJ6/vYXiR","name":"Secondary - Read Only","value":"GUzSTA+UWwa/P+teeeWlV0AdYzRpmTEpgN/l2xsPMm4=","connectionString":"Endpoint=https://configuration7d301eb9.azconfig.io;Id=Cw6F-l1-s0:Jv8AD5txroVJJ6/vYXiR;Secret=GUzSTA+UWwa/P+teeeWlV0AdYzRpmTEpgN/l2xsPMm4=","lastModified":"2021-06-09T17:01:22+00:00","readOnly":true}],"nextLink":null}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:33 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1199' - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-zku4tnzciusv2p2uo2bk5tq2tqavcbxd3yugtiltfs6oadcwyfzigt7yvrgt4c6bsmdgteb7h72/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/ListKeys?api-version=2020-06-01 -- request: - body: '{"id": "N0ZA-l1-s0:KwJU9mzvyESfGZAQhsT4"}' - headers: - Accept: - - application/json - Content-Length: - - '41' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/RegenerateKey?api-version=2020-06-01 - response: - body: - string: '{"id":"r+4K-l1-s0:9bU/j5d6DOJl5eO4JvkE","name":"Primary","value":"ni39dGZpKw0iACgiI+8+BAUYcHlMNbiE+VzgyeELjPY=","connectionString":"Endpoint=https://configuration7d301eb9.azconfig.io;Id=r+4K-l1-s0:9bU/j5d6DOJl5eO4JvkE;Secret=ni39dGZpKw0iACgiI+8+BAUYcHlMNbiE+VzgyeELjPY=","lastModified":"2021-06-09T17:01:33+00:00","readOnly":false}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:33 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1198' - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-zku4tnzciusv2p2uo2bk5tq2tqavcbxd3yugtiltfs6oadcwyfzigt7yvrgt4c6bsmdgteb7h72/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/RegenerateKey?api-version=2020-06-01 -- request: - body: '{"key": "PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309", "label": - "test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309", "content_type": "test content - type", "value": "test value", "tags": {"tag1": "tag1", "tag2": "tag2"}}' - headers: - Accept: - - application/vnd.microsoft.appconfig.kv+json, application/json, application/problem+json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '231' - Content-Type: - - application/vnd.microsoft.appconfig.kv+json - If-None-Match: - - '*' - User-Agent: - - azsdk-python-appconfiguration/1.2.0b3 Python/3.8.6 (Windows-10-10.0.19041-SP0) - x-ms-content-sha256: - - 5b/E4qQlXHTRod+n+f+xjK6c/tRVR8uxoC62FjvGJPw= - x-ms-date: - - Jun, 09 2021 17:01:32.483938 GMT - method: PUT - uri: https://configuration7d301eb9.azconfig.io/kv/PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309?label=test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309&api-version=1.0 - response: - body: - string: '{"etag":"Su6ziOTd151rTtLUfURJgB1zX2C","key":"PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309","label":"test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309","content_type":"test - content type","value":"test value","tags":{"tag1":"tag1","tag2":"tag2"},"locked":false,"last_modified":"2021-06-09T17:01:34+00:00"}' - headers: - access-control-allow-credentials: - - 'true' - access-control-allow-origin: - - '*' - access-control-expose-headers: - - DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, - Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-useragent, - x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, - If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, - Link, Memento-Datetime, retry-after-ms, x-ms-request-id, x-ms-client-session-id, - x-ms-effective-locale, WWW-Authenticate - connection: - - keep-alive - content-type: - - application/vnd.microsoft.appconfig.kv+json; charset=utf-8 - date: - - Wed, 09 Jun 2021 17:01:32 GMT - etag: - - '"Su6ziOTd151rTtLUfURJgB1zX2C"' - last-modified: - - Wed, 09 Jun 2021 17:01:34 GMT - server: - - openresty/1.17.8.2 - strict-transport-security: - - max-age=15724800; includeSubDomains - sync-token: - - zAJw6V16=Mzo1IzMwODY0NTI=;sn=3086452 - transfer-encoding: - - chunked - status: - code: 200 - message: OK -- request: - body: '{"key": "PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309", "label": - "test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309"}' - headers: - Accept: - - application/json - Content-Length: - - '129' - Content-Type: - - application/json - User-Agent: - - azsdk-python-mgmt-appconfiguration/1.0.1 Python/3.8.6 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/listKeyValue?api-version=2020-06-01 - response: - body: - string: '{"key":"PYTHON_UNIT_test_key_a6af8952-54a6-11e9-b600-2816a84d0309","label":"test_label1_1d7b2b28-549e-11e9-b51c-2816a84d0309","value":"test - value","contentType":"test content type","eTag":"Su6ziOTd151rTtLUfURJgB1zX2C","lastModified":"2021-06-09T17:01:34+00:00","locked":false,"tags":{"tag1":"tag1","tag2":"tag2"}}' - headers: - cache-control: no-cache - content-type: application/json; charset=utf-8 - date: Wed, 09 Jun 2021 17:01:34 GMT - expires: '-1' - pragma: no-cache - server: nginx/1.17.10 - strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked - vary: Accept-Encoding,Accept-Encoding - x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1197' - status: - code: 200 - message: OK - url: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgpy-zku4tnzciusv2p2uo2bk5tq2tqavcbxd3yugtiltfs6oadcwyfzigt7yvrgt4c6bsmdgteb7h72/providers/Microsoft.AppConfiguration/configurationStores/configuration7d301eb9/listKeyValue?api-version=2020-06-01 -version: 1 diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration.py index a88421488ab5..782040b90ef2 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration.py @@ -121,6 +121,7 @@ def create_endpoint(self, group_name, vnet_name, sub_net, endpoint_name, conf_st return result.result() + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_appconfiguration_list_key_values(self, resource_group): CONFIGURATION_STORE_NAME = self.get_resource_name("configuration") @@ -158,6 +159,7 @@ def test_appconfiguration_list_key_values(self, resource_group): } result = self.mgmt_client.configuration_stores.list_key_value(resource_group.name, CONFIGURATION_STORE_NAME, BODY) + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_appconfiguration(self, resource_group): diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration_async.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration_async.py index 44380ceddf8a..be6b082547d8 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration_async.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/tests/test_cli_mgmt_appconfiguration_async.py @@ -123,6 +123,7 @@ def create_endpoint(self, group_name, vnet_name, sub_net, endpoint_name, conf_st return result.result() + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_appconfiguration_list_key_values(self, resource_group): CONFIGURATION_STORE_NAME = self.get_resource_name("configuration") @@ -170,6 +171,7 @@ def test_appconfiguration_list_key_values(self, resource_group): self.mgmt_client.configuration_stores.list_key_value(resource_group.name, CONFIGURATION_STORE_NAME, BODY) ) + @unittest.skip('hard to test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_appconfiguration(self, resource_group): From 0549bec11444dd6da8a39676ac1dcf6de9b2855f Mon Sep 17 00:00:00 2001 From: Agnivesh Adhikari Date: Tue, 22 Jun 2021 21:43:59 +0530 Subject: [PATCH 22/45] [FarmBeats, Test] Hardcoded endpoint for statically set up resource (#19198) --- ...farm_heirarchy.test_farmer_operations.yaml | 80 +-- ...ierarchy_async.test_farmer_operations.yaml | 98 ++- ...st_satellite_flow.test_satellite_flow.yaml | 98 +-- ...ellite_flow_async.test_satellite_flow.yaml | 632 ++++-------------- .../recordings/test_smoke.test_boundary.yaml | 72 +- .../recordings/test_smoke.test_farmer.yaml | 38 +- .../test_smoke_async.test_boundary.yaml | 82 +-- .../test_smoke_async.test_farmer.yaml | 38 +- .../tests/test_farm_heirarchy.py | 3 +- .../tests/test_farm_hierarchy_async.py | 3 +- .../tests/test_satellite_flow.py | 8 +- .../tests/test_satellite_flow_async.py | 8 +- .../tests/test_smoke.py | 9 +- .../tests/test_smoke_async.py | 10 +- .../azure-agrifood-farming/tests/testcase.py | 2 +- .../tests/testcase_async.py | 2 +- sdk/agrifood/test-resources.json | 21 +- sdk/agrifood/tests.yml | 4 +- 18 files changed, 394 insertions(+), 814 deletions(-) diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_heirarchy.test_farmer_operations.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_heirarchy.test_farmer_operations.yaml index f51fd9e5cfbc..9f31579d1404 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_heirarchy.test_farmer_operations.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_heirarchy.test_farmer_operations.yaml @@ -15,13 +15,13 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: body: - string: '{"id":"test-farmer-farmer-ops","eTag":"00007b03-0000-0600-0000-60a44b150000","status":"Sample - Status","createdDateTime":"2021-05-18T23:17:41Z","modifiedDateTime":"2021-05-18T23:17:41Z","name":"Test + string: '{"id":"test-farmer-farmer-ops","eTag":"02007c9d-0000-0600-0000-60cfd96a0000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:26Z","modifiedDateTime":"2021-06-21T00:12:26Z","name":"Test Farmer","description":"Farmer created during testing.","properties":{"foo":"bar","numeric one":1,"1":"numeric key"}}' headers: @@ -32,19 +32,19 @@ interactions: connection: - keep-alive content-length: - - '314' + - '318' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:41 GMT + - Mon, 21 Jun 2021 00:12:26 GMT etag: - - 00007b03-0000-0600-0000-60a44b150000 + - 02007c9d-0000-0600-0000-60cfd96a0000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -58,13 +58,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: body: - string: '{"id":"test-farmer-farmer-ops","eTag":"00007b03-0000-0600-0000-60a44b150000","status":"Sample - Status","createdDateTime":"2021-05-18T23:17:41Z","modifiedDateTime":"2021-05-18T23:17:41Z","name":"Test + string: '{"id":"test-farmer-farmer-ops","eTag":"02007c9d-0000-0600-0000-60cfd96a0000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:26Z","modifiedDateTime":"2021-06-21T00:12:26Z","name":"Test Farmer","description":"Farmer created during testing.","properties":{"foo":"bar","numeric one":1,"1":"numeric key"}}' headers: @@ -75,19 +75,19 @@ interactions: connection: - keep-alive content-length: - - '314' + - '318' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:42 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:27 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -107,13 +107,13 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: body: - string: '{"id":"test-farmer-farmer-ops","eTag":"00007d03-0000-0600-0000-60a44b170000","status":"Sample - Status","createdDateTime":"2021-05-18T23:17:41Z","modifiedDateTime":"2021-05-18T23:17:43Z","name":"Test + string: '{"id":"test-farmer-farmer-ops","eTag":"02007d9d-0000-0600-0000-60cfd96c0000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:26Z","modifiedDateTime":"2021-06-21T00:12:28Z","name":"Test Farmer Updated","description":"Farmer created during testing.","properties":{"foo":"bar","numeric one":1,"1":"numeric key"}}' headers: @@ -124,19 +124,19 @@ interactions: connection: - keep-alive content-length: - - '322' + - '326' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:43 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:28 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '5' status: code: 200 message: OK @@ -150,13 +150,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: body: - string: '{"id":"test-farmer-farmer-ops","eTag":"00007d03-0000-0600-0000-60a44b170000","status":"Sample - Status","createdDateTime":"2021-05-18T23:17:41Z","modifiedDateTime":"2021-05-18T23:17:43Z","name":"Test + string: '{"id":"test-farmer-farmer-ops","eTag":"02007d9d-0000-0600-0000-60cfd96c0000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:26Z","modifiedDateTime":"2021-06-21T00:12:28Z","name":"Test Farmer Updated","description":"Farmer created during testing.","properties":{"foo":"bar","numeric one":1,"1":"numeric key"}}' headers: @@ -167,19 +167,19 @@ interactions: connection: - keep-alive content-length: - - '322' + - '326' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:44 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:29 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -195,7 +195,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: @@ -211,11 +211,11 @@ interactions: content-length: - '0' date: - - Tue, 18 May 2021 23:17:45 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:30 GMT strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '1' status: code: 204 message: No Content @@ -229,13 +229,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops?api-version=2021-03-31-preview response: body: string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''test-farmer-farmer-ops'' - does not exist.","target":null,"details":null,"innererror":null},"traceId":"0HM8KA6VD5AR8:00000002"}' + does not exist.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS8UNNVEU:00000002"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -244,19 +244,19 @@ interactions: connection: - keep-alive content-length: - - '189' + - '193' content-type: - application/json date: - - Tue, 18 May 2021 23:17:45 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:31 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 404 message: Not Found diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_hierarchy_async.test_farmer_operations.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_hierarchy_async.test_farmer_operations.yaml index 771de29533cc..70713eca065e 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_hierarchy_async.test_farmer_operations.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_farm_hierarchy_async.test_farmer_operations.yaml @@ -11,61 +11,59 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: body: - string: '{"id":"test-farmer-farmer-ops-async","eTag":"00007e1e-0000-0600-0000-60a44b1a0000","status":"Sample - Status","createdDateTime":"2021-05-18T23:17:46Z","modifiedDateTime":"2021-05-18T23:17:46Z","name":"Test + string: '{"id":"test-farmer-farmer-ops-async","eTag":"02007e9d-0000-0600-0000-60cfd9710000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:33Z","modifiedDateTime":"2021-06-21T00:12:33Z","name":"Test Farmer","description":"Farmer created during testing.","properties":{"foo":"bar","numeric one":1,"1":"numeric key"}}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '320' + content-length: '324' content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:17:46 GMT - etag: 00007e1e-0000-0600-0000-60a44b1a0000 - location: http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:33 GMT + etag: 02007e9d-0000-0600-0000-60cfd9710000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: code: 201 message: Created - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA4yPO27DMAyGryJwtgrJcZ3Cc9ELxFM2xqIDorUkSPIQBLl7qDjeq4GPnx8fugM7 - GKBQLnrGtFDaXYhZY775CRqgEa9CGXlHsqRroE1fTY16g113sVgToXPBsmbhT7jEP1KnLW9gSoSF - 3LeYkRcSojWt1eZT26+xPQz2OHT9WcAlOJ75P6THV3WU+9XP63ARHeUpcSwcvNQ2Wb2XK7cm9ldV - fyz+Q/CYQqRUmOTmO8whSNMF6yC/SidPKnhZYhuwUtm1X7rB4/EEAAD//wMACyviQUABAAA= + string: '{"id":"test-farmer-farmer-ops-async","eTag":"02007e9d-0000-0600-0000-60cfd9710000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:33Z","modifiedDateTime":"2021-06-21T00:12:33Z","name":"Test + Farmer","description":"Farmer created during testing.","properties":{"foo":"bar","numeric + one":1,"1":"numeric key"}}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:17:46 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:33 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview - request: body: '{"status": "Sample Status", "name": "Test Farmer Updated", "description": "Farmer created during testing.", "properties": {"foo": "bar", "numeric one": @@ -78,71 +76,65 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA4SPPW7DMAyFryJwtgrJde3Cc9ALxFm60RYdEK0lQZKHIMjdQ6XJXA380fsIPl6B - HYxQKBe9YtoovVKIWWO++AUaoAnPQhl5w2pJ10KbvoZa9Qa7brZzbYTOBcuehT/iFn9JHf/6BpZE - WMgdJEy8kRCtaa02H9p+Tu37aIex678F3ILjlf8hh0p6fKiT+FdfD+PqFF3dIqKjvCSOhYMX5ik/ - TSi3J/ZnVS+X/CZ4TCFSKkzi/QprCDI0Y6pbdpnkRQUvy2wDVpTX3w9d4Ha7AwAA//8DAC6+RRVI - AQAA + string: '{"id":"test-farmer-farmer-ops-async","eTag":"02007f9d-0000-0600-0000-60cfd9720000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:33Z","modifiedDateTime":"2021-06-21T00:12:34Z","name":"Test + Farmer Updated","description":"Farmer created during testing.","properties":{"foo":"bar","numeric + one":1,"1":"numeric key"}}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:17:47 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:34 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '5' status: code: 200 message: OK - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA4SPPW7DMAyFryJwtgrJde3Cc9ALxFm60RYdEK0lQZKHIMjdQ6XJXA380fsIPl6B - HYxQKBe9YtoovVKIWWO++AUaoAnPQhl5w2pJ10KbvoZa9Qa7brZzbYTOBcuehT/iFn9JHf/6BpZE - WMgdJEy8kRCtaa02H9p+Tu37aIex678F3ILjlf8hh0p6fKiT+FdfD+PqFF3dIqKjvCSOhYMX5ik/ - TSi3J/ZnVS+X/CZ4TCFSKkzi/QprCDI0Y6pbdpnkRQUvy2wDVpTX3w9d4Ha7AwAA//8DAC6+RRVI - AQAA + string: '{"id":"test-farmer-farmer-ops-async","eTag":"02007f9d-0000-0600-0000-60cfd9720000","status":"Sample + Status","createdDateTime":"2021-06-21T00:12:33Z","modifiedDateTime":"2021-06-21T00:12:34Z","name":"Test + Farmer Updated","description":"Farmer created during testing.","properties":{"foo":"bar","numeric + one":1,"1":"numeric key"}}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:17:48 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:34 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: @@ -153,42 +145,38 @@ interactions: api-supported-versions: 2021-03-31-preview connection: keep-alive content-length: '0' - date: Tue, 18 May 2021 23:17:49 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:35 GMT strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '1' status: code: 204 message: No Content - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA0xOWwrCQAy8ypKf/rQiimD3AEUFH/QGy26sC+1GkhSV0rtb0YLzM8xMyMwAyEwM - dgBPAcFCjUI9ezyRVtSnADl0KOKa/9A8ot5MDCZTFC2ujjvkmeguhZNX8pkJhGISqcFnFF1Mv9Rx - gwo29W2bQ0B1sZVZxpSQf4M+zjjds/O4D1P3cnfcXupDWZ3Lzdouv1jB+AYAAP//AwB+7e0UwwAA - AA== + string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''test-farmer-farmer-ops-async'' + does not exist.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS8R97PU9:00000003"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json - date: Tue, 18 May 2021 23:17:50 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:12:35 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 404 message: Not Found - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/test-farmer-farmer-ops-async-215?api-version=2021-03-31-preview version: 1 diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow.test_satellite_flow.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow.test_satellite_flow.yaml index bb4985cf9bac..67a1699022f5 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow.test_satellite_flow.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow.test_satellite_flow.yaml @@ -13,12 +13,12 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"satellite-flow-test-farmer","eTag":"00008103-0000-0600-0000-60a44b1e0000","createdDateTime":"2021-05-18T23:17:50Z","modifiedDateTime":"2021-05-18T23:17:50Z"}' + string: '{"id":"satellite-flow-test-farmer","eTag":"0300b671-0000-0600-0000-60cfd9750000","createdDateTime":"2021-06-21T00:12:37Z","modifiedDateTime":"2021-06-21T00:12:37Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -27,19 +27,19 @@ interactions: connection: - keep-alive content-length: - - '164' + - '168' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:50 GMT + - Mon, 21 Jun 2021 00:12:37 GMT etag: - - 00008103-0000-0600-0000-60a44b1e0000 + - 0300b671-0000-0600-0000-60cfd9750000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/satellite-flow-test-farmer - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-test-farmer strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -53,13 +53,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-test-farmer/boundaries/satellite-flow-test-boundary?api-version=2021-03-31-preview response: body: string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''satellite-flow-test-boundary'' - does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM8KA76V1Q8K:00000003"}' + does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS97EGEPD:00000003"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -68,19 +68,19 @@ interactions: connection: - keep-alive content-length: - - '217' + - '221' content-type: - application/json date: - - Tue, 18 May 2021 23:17:51 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:12:38 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 404 message: Not Found @@ -102,12 +102,12 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-test-farmer/boundaries/satellite-flow-test-boundary?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"satellite-flow-test-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"satellite-flow-test-boundary","eTag":"00008303-0000-0600-0000-60a44b200000","createdDateTime":"2021-05-18T23:17:52Z","modifiedDateTime":"2021-05-18T23:17:52Z"}' + string: '{"farmerId":"satellite-flow-test-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"satellite-flow-test-boundary","eTag":"0300b971-0000-0600-0000-60cfd9770000","createdDateTime":"2021-06-21T00:12:39Z","modifiedDateTime":"2021-06-21T00:12:39Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -116,19 +116,19 @@ interactions: connection: - keep-alive content-length: - - '573' + - '581' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:52 GMT + - Mon, 21 Jun 2021 00:12:39 GMT etag: - - 00008303-0000-0600-0000-60a44b200000 + - 0300b971-0000-0600-0000-60cfd9770000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/satellite-flow-test-farmer/boundaries/satellite-flow-test-boundary - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-test-farmer/boundaries/satellite-flow-test-boundary strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -144,18 +144,18 @@ interactions: Connection: - keep-alive Content-Length: - - '209' + - '217' Content-Type: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PUT uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-job?api-version=2021-03-31-preview response: body: string: '{"farmerId":"satellite-flow-test-farmer","boundaryId":"satellite-flow-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-01-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-job","status":"Waiting","message":"Created job ''satellite-flow-job'' to fetch satellite data for boundary ''satellite-flow-test-boundary'' - from startDate ''01/01/2020'' to endDate ''01/31/2020'' (both inclusive).","createdDateTime":"2021-05-18T23:17:53Z","lastActionDateTime":"2021-05-18T23:17:53Z","startTime":"2021-05-18T23:17:53Z"}' + from startDate ''01/01/2020'' to endDate ''01/31/2020'' (both inclusive).","createdDateTime":"2021-06-21T00:12:39Z","lastActionDateTime":"2021-06-21T00:12:39Z","startTime":"2021-06-21T00:12:39Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -164,19 +164,19 @@ interactions: connection: - keep-alive content-length: - - '643' + - '657' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:17:53 GMT + - Mon, 21 Jun 2021 00:12:40 GMT location: - https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-job?api-version=2021-03-31-preview operation-location: - https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-job?api-version=2021-03-31-preview - server: - - nginx/1.19.1 strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 202 message: Accepted @@ -190,14 +190,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-job?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"satellite-flow-test-farmer","boundaryId":"satellite-flow-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-01-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-job","status":"Succeeded","durationInSeconds":10.5670639,"message":"Satellite + string: '{"farmerId":"satellite-flow-test-farmer","boundaryId":"satellite-flow-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-01-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-job","status":"Succeeded","durationInSeconds":18.7905628,"message":"Satellite data is available for 12 days from provider in the requested date range. Successfully - fetched data for 12 days.","createdDateTime":"2021-05-18T23:17:53Z","lastActionDateTime":"2021-05-18T23:18:03Z","startTime":"2021-05-18T23:17:53Z","endTime":"2021-05-18T23:18:03Z"}' + fetched data for 12 days.","createdDateTime":"2021-06-21T00:12:39Z","lastActionDateTime":"2021-06-21T00:12:58Z","startTime":"2021-06-21T00:12:39Z","endTime":"2021-06-21T00:12:58Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -206,19 +206,19 @@ interactions: connection: - keep-alive content-length: - - '657' + - '666' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:18:24 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:13:10 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -232,14 +232,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-job?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"satellite-flow-test-farmer","boundaryId":"satellite-flow-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-01-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-job","status":"Succeeded","durationInSeconds":10.5670639,"message":"Satellite + string: '{"farmerId":"satellite-flow-test-farmer","boundaryId":"satellite-flow-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-01-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-job","status":"Succeeded","durationInSeconds":18.7905628,"message":"Satellite data is available for 12 days from provider in the requested date range. Successfully - fetched data for 12 days.","createdDateTime":"2021-05-18T23:17:53Z","lastActionDateTime":"2021-05-18T23:18:03Z","startTime":"2021-05-18T23:17:53Z","endTime":"2021-05-18T23:18:03Z"}' + fetched data for 12 days.","createdDateTime":"2021-06-21T00:12:39Z","lastActionDateTime":"2021-06-21T00:12:58Z","startTime":"2021-06-21T00:12:39Z","endTime":"2021-06-21T00:12:58Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -248,19 +248,19 @@ interactions: connection: - keep-alive content-length: - - '657' + - '666' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:18:24 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:13:11 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -274,12 +274,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-test-farmer&boundaryId=satellite-flow-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00%3A00%3A00.000Z&endDateTime=2020-01-31T00%3A00%3A00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview response: body: - string: '{"value":[{"sceneDateTime":"2020-01-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"8f2e02ce-7c72-1f10-9a04-05d4a2fe8940","eTag":"00009b03-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"350606cb-b622-8954-749d-771a40950c36","eTag":"00009a03-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"edb8b7a3-d8af-2500-6fb1-317879d21033","eTag":"00009903-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"df5f2b75-184f-d3fd-5550-7ccdf5b09d4c","eTag":"00009803-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"b0b6b527-3e8c-4db3-cfa7-28df6c927717","eTag":"00009703-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"dcedfd57-13c6-8a3c-1a33-e6b6645e7f80","eTag":"00009603-0000-0600-0000-60a44b2b0000"},{"sceneDateTime":"2020-01-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"6f13dc71-bb82-1eb0-5cd2-1336914ad578","eTag":"00009403-0000-0600-0000-60a44b2a0000"},{"sceneDateTime":"2020-01-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"8cb042a4-6c0c-4c31-4147-566a8d65e86a","eTag":"00009503-0000-0600-0000-60a44b2a0000"},{"sceneDateTime":"2020-01-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"a40b164e-7df1-4443-e78c-89707e689b97","eTag":"00009303-0000-0600-0000-60a44b2a0000"},{"sceneDateTime":"2020-01-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"6eab0d1c-64eb-61b6-a94b-a92830dae405","eTag":"00009003-0000-0600-0000-60a44b290000"},{"sceneDateTime":"2020-01-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"d47fa56e-2841-8160-1208-d77646ac142c","eTag":"00009203-0000-0600-0000-60a44b2a0000"},{"sceneDateTime":"2020-01-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"21516dd4-964a-92f3-8449-d7cdd4c52291","eTag":"00009103-0000-0600-0000-60a44b2a0000"}]}' + string: '{"value":[{"sceneDateTime":"2020-01-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"29d1a2c7-fd33-9b68-0213-542f727f909f","eTag":"0200979d-0000-0600-0000-60cfd98a0000"},{"sceneDateTime":"2020-01-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"98848f64-ca87-550a-1e19-f63d571e6118","eTag":"0200969d-0000-0600-0000-60cfd98a0000"},{"sceneDateTime":"2020-01-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"d76ac3d3-c555-9eeb-0324-060508e54f15","eTag":"0200959d-0000-0600-0000-60cfd98a0000"},{"sceneDateTime":"2020-01-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"5a0382e0-562d-31e1-834a-bafb16946583","eTag":"0200949d-0000-0600-0000-60cfd9890000"},{"sceneDateTime":"2020-01-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"c7ae41cb-faed-f302-ef5a-821307abc928","eTag":"0200939d-0000-0600-0000-60cfd9890000"},{"sceneDateTime":"2020-01-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"2efbf3ba-b694-4a45-6ddc-54a3d0f5c2c9","eTag":"0200929d-0000-0600-0000-60cfd9890000"},{"sceneDateTime":"2020-01-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"7f5b4da3-f9e2-f19a-1f49-5d06c2b3d2ca","eTag":"0200919d-0000-0600-0000-60cfd9880000"},{"sceneDateTime":"2020-01-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"7c795cbf-3fdf-2c31-a833-436d4c6eade5","eTag":"0200909d-0000-0600-0000-60cfd9880000"},{"sceneDateTime":"2020-01-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"97b6dd23-6b06-7110-7c89-981e6b48ace6","eTag":"02008f9d-0000-0600-0000-60cfd9880000"},{"sceneDateTime":"2020-01-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"3e7b3e22-eb65-f32f-32db-b50001e8d494","eTag":"02008e9d-0000-0600-0000-60cfd9870000"},{"sceneDateTime":"2020-01-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"27cd831e-1b13-a2f4-3b88-86f03e0e4a41","eTag":"02008c9d-0000-0600-0000-60cfd9870000"},{"sceneDateTime":"2020-01-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-test-farmer%2fsatellite-flow-test-boundary%2f2020-01-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-test-boundary","farmerId":"satellite-flow-test-farmer","id":"581ad355-6ecd-d5cb-8da0-f8b3dc5e9bc8","eTag":"02008d9d-0000-0600-0000-60cfd9870000"}]}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -288,19 +288,19 @@ interactions: connection: - keep-alive content-length: - - '68991' + - '73419' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:18:25 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:13:12 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '65' status: code: 200 message: OK diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow_async.test_satellite_flow.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow_async.test_satellite_flow.yaml index 094eeb656527..b68d33084896 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow_async.test_satellite_flow.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_satellite_flow_async.test_satellite_flow.yaml @@ -9,60 +9,90 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"satellite-flow-async-test-farmer","eTag":"00005e0b-0000-0600-0000-60a5370b0000","createdDateTime":"2021-05-18T22:25:04Z","modifiedDateTime":"2021-05-19T16:04:27Z"}' + string: '{"id":"satellite-flow-async-test-farmer","eTag":"0200989d-0000-0600-0000-60cfd99a0000","createdDateTime":"2021-06-21T00:13:14Z","modifiedDateTime":"2021-06-21T00:13:14Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '170' + content-length: '174' content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:04:27 GMT - etag: 00005e0b-0000-0600-0000-60a5370b0000 - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:13:14 GMT + etag: 0200989d-0000-0600-0000-60cfd99a0000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: - code: 200 - message: OK - url: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer?api-version=2021-03-31-preview + code: 201 + message: Created + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer-922?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer/boundaries/satellite-flow-async-test-boundary?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA5SSwW7DIAyGX6XinFQ2Bgy5rpdpl0rraVUPtCEVUtJUSaYpqvruA6W9Th0H8yM+ - /IPNTTR+6MLwXotKjH4KbRunUDZt/1P6cb6cyimMU7lAohDn0HdhGmZR3cQ0X0M6te3b+dxf0uap - 74c6XlKWUVT7/Z5pzaA0I0tyxM4VEtZaabKaQJG2COZQ/A9TVltHUjmNCyYVoqY0ERl+YpaZlWTD - RGrB0FiLbABBEj2wrI1WyZPVA9NgySESSw36mc0YQmNAGVS0YMY5mW6r2SX01SccDvdCxHE7xM7n - Cja+HUMh/GkI/pwqaWCtQCV3jcDOSE7032059t+XOucqRNj5c2IhDfZAZRYlmByyMuCV8o7yIncq - WU6h3qSwi13uogSJJegS7U5Shboi/Epg19exia+QdRhPQ7xOMX2FSrwtBqvjvPrcfIj7LwAAAP// - AwBv1jFSaAIAAA== + string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''satellite-flow-async-test-boundary'' + does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS97EGEPF:00000002"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip - content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:04:28 GMT - server: nginx/1.19.1 + content-type: application/json + date: Mon, 21 Jun 2021 00:13:14 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: - code: 200 - message: OK - url: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer/boundaries/satellite-flow-async-test-boundary?api-version=2021-03-31-preview + code: 404 + message: Not Found + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer-922/boundaries/satellite-flow-async-test-boundary-976?api-version=2021-03-31-preview +- request: + body: '{"geometry": {"coordinates": [[[73.70457172393799, 20.545385304358106], + [73.70457172393799, 20.545385304358106], [73.70448589324951, 20.542411534243367], + [73.70877742767334, 20.541688176010233], [73.71023654937744, 20.545083911372505], + [73.70663166046143, 20.546992723579137], [73.70457172393799, 20.545385304358106]]], + "type": "Polygon"}, "description": "Created by SDK"}' + headers: + Accept: + - application/json + Content-Length: + - '372' + Content-Type: + - application/merge-patch+json + User-Agent: + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) + method: PATCH + uri: https://fakeAccount.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer/boundaries/satellite-flow-async-test-boundary?api-version=2021-03-31-preview + response: + body: + string: '{"farmerId":"satellite-flow-async-test-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"satellite-flow-async-test-boundary","eTag":"0200999d-0000-0600-0000-60cfd99a0000","createdDateTime":"2021-06-21T00:13:14Z","modifiedDateTime":"2021-06-21T00:13:14Z","description":"Created + by SDK"}' + headers: + api-deprecated-versions: 2020-12-31-preview + api-supported-versions: 2021-03-31-preview + connection: keep-alive + content-length: '624' + content-type: application/json; charset=utf-8 + date: Mon, 21 Jun 2021 00:13:14 GMT + etag: 0200999d-0000-0600-0000-60cfd99a0000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer/boundaries/satellite-flow-async-test-boundary + strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' + status: + code: 201 + message: Created + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/satellite-flow-async-test-farmer-922/boundaries/satellite-flow-async-test-boundary-976?api-version=2021-03-31-preview - request: body: '{"farmerId": "satellite-flow-async-test-farmer", "boundaryId": "satellite-flow-async-test-boundary", "startDateTime": "2020-01-01T00:00:00.000Z", "endDateTime": "2020-12-31T00:00:00.000Z", @@ -71,611 +101,187 @@ interactions: Accept: - application/json Content-Length: - - '221' + - '229' Content-Type: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PUT uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview response: body: string: '{"farmerId":"satellite-flow-async-test-farmer","boundaryId":"satellite-flow-async-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-12-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-async-job","status":"Waiting","message":"Created job ''satellite-flow-async-job'' to fetch satellite data for boundary ''satellite-flow-async-test-boundary'' - from startDate ''01/01/2020'' to endDate ''12/31/2020'' (both inclusive).","createdDateTime":"2021-05-19T16:04:29Z","lastActionDateTime":"2021-05-19T16:04:29Z","startTime":"2021-05-19T16:04:29Z"}' + from startDate ''01/01/2020'' to endDate ''12/31/2020'' (both inclusive).","createdDateTime":"2021-06-21T00:13:15Z","lastActionDateTime":"2021-06-21T00:13:15Z","startTime":"2021-06-21T00:13:15Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '675' + content-length: '687' content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:04:29 GMT + date: Mon, 21 Jun 2021 00:13:15 GMT location: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview operation-location: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview - server: nginx/1.19.1 strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: code: 202 message: Accepted - url: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job-520?api-version=2021-03-31-preview +- request: + body: null + headers: + User-Agent: + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview + response: + body: + string: '{"farmerId":"satellite-flow-async-test-farmer","boundaryId":"satellite-flow-async-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-12-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-async-job","status":"Running","message":"Created + job ''satellite-flow-async-job'' to fetch satellite data for boundary ''satellite-flow-async-test-boundary'' + from startDate ''01/01/2020'' to endDate ''12/31/2020'' (both inclusive).","createdDateTime":"2021-06-21T00:13:15Z","lastActionDateTime":"2021-06-21T00:13:16Z","startTime":"2021-06-21T00:13:15Z"}' + headers: + api-deprecated-versions: 2020-12-31-preview + api-supported-versions: 2021-03-31-preview + connection: keep-alive + content-type: application/json; charset=utf-8 + date: Mon, 21 Jun 2021 00:13:46 GMT + strict-transport-security: max-age=15724800; includeSubDomains + transfer-encoding: chunked + vary: Accept-Encoding + x-ms-throttle-information: '1' + status: + code: 200 + message: OK + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job-520?api-version=2021-03-31-preview - request: body: null headers: User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA4RRXWvCMBT9KyHPVtpaFfsmDKHg9jD75BC5JreakSZbkjqK+N93ozhwMAd5yT0f - OTfnxBtwLbpK8pJ7CKi1Cpg02n4l4HsjkoA+JFcSH/Cd7YwE1//Dv9FI4QO48ETMWrVIojzN0yTN - 6NRpWl7Ommho5G9Slieje9KHs0clKUjJn5Vw1tsmxCds50SUrdAEZVBv8+0ynxMiIQAvT1y1sMcX - aNHz8o0v5xXfDK7DhXUthMu4rhY/41f0VndBWROhLB2mmzNBf279bndJMZle9w2dj2E6IRAlypij - cxDNKrNCYY0kvBiOi2KaZfmAUyxPb0bNzZvF5Ex5BkdQGnYaWWMdy4oRIb1njbMtu30HU4aFAzKH - nx39PsqopiuYPQ7ZJYf3Tad1zxoM4nAlwJ3jkFIKh6T71QM1NU6yWZ1NyrQo81nsQYMPcxEXesQd - jda3/h/bUfePPM7fAAAA//8DAGos4HWlAgAA + string: '{"farmerId":"satellite-flow-async-test-farmer","boundaryId":"satellite-flow-async-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-12-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-async-job","status":"Succeeded","durationInSeconds":51.5098276,"message":"Satellite + data is available for 143 days from provider in the requested date range. + Successfully fetched data for 143 days.","createdDateTime":"2021-06-21T00:13:15Z","lastActionDateTime":"2021-06-21T00:14:06Z","startTime":"2021-06-21T00:13:15Z","endTime":"2021-06-21T00:14:06Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:05:00 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:17 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job-520?api-version=2021-03-31-preview - request: body: null headers: User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA4RRXWvCMBT9KyHPVtpaFfsmDKHg9jD75BC5JreakSZbkjqK+N93ozhwMAd5yT0f - OTfnxBtwLbpK8pJ7CKi1Cpg02n4l4HsjkoA+JFcSH/Cd7YwE1//Dv9FI4QO48ETMWrVIojzN0yTN - 6NRpWl7Ommho5G9Slieje9KHs0clKUjJn5Vw1tsmxCds50SUrdAEZVBv8+0ynxMiIQAvT1y1sMcX - aNHz8o0v5xXfDK7DhXUthMu4rhY/41f0VndBWROhLB2mmzNBf279bndJMZle9w2dj2E6IRAlypij - cxDNKrNCYY0kvBiOi2KaZfmAUyxPb0bNzZvF5Ex5BkdQGnYaWWMdy4oRIb1njbMtu30HU4aFAzKH - nx39PsqopiuYPQ7ZJYf3Tad1zxoM4nAlwJ3jkFIKh6T71QM1NU6yWZ1NyrQo81nsQYMPcxEXesQd - jda3/h/bUfePPM7fAAAA//8DAGos4HWlAgAA + string: '{"farmerId":"satellite-flow-async-test-farmer","boundaryId":"satellite-flow-async-test-boundary","startDateTime":"2020-01-01T00:00:00Z","endDateTime":"2020-12-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","data":{"imageNames":["LAI"],"imageFormats":["TIF"],"imageResolutions":[10.0]},"id":"satellite-flow-async-job","status":"Succeeded","durationInSeconds":51.5098276,"message":"Satellite + data is available for 143 days from provider in the requested date range. + Successfully fetched data for 143 days.","createdDateTime":"2021-06-21T00:13:15Z","lastActionDateTime":"2021-06-21T00:14:06Z","startTime":"2021-06-21T00:13:15Z","endTime":"2021-06-21T00:14:06Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:05:01 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:18 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://fakeAccount.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes/satellite/ingest-data/satellite-flow-async-job-520?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA+zQ3WrCMBQH8HcpbFdGk9aPIshwjl1VGOjVdiGxPdVgmpQkVZzs3XfshXa07AUM - 5CI556T593cJjlxWEEy/LoFNQcEbd7AWBVaCkIaUsJBEdE3ptF6fQS8ojT6KDAxOLEVqtNW5w7LV - lUmv11agnFAgN+EmCefYEQXfwbuQYOtnctwlQh1wdO9caaeDgc0OxIHFaztySitLWD/nptgCd7bP - vysDfQVuUAe0g0yflNQ8qz/5wktBjmCs0GqGiRmhEYkYKQ0cBZyer699cLef3bI+hfnfiFiw+NdS - Cgckl/pEuD2rtE5ErjnA/Duy1ZXKuDnj0J0MD5SSeuE2lcWG0b4TOXooXvMukiUeDFgtK4fpgylO - 0J/eYwpl3PGC20OL6dpYYsNb3axsKltMq0XihW5CWxq2hF5p6IUaQlGHUOSFGkLDDqGhF2oIjTqE - Rl6oITTuEBp7oYbQpENo4oUaQnGHUOyF7kIxbwvFcy90F2KsLcTYown9AgAA///smE+LwjAQxb9L - zxtoR2mzeyuCUFDw4GlhD2MTNdg/oC2In95Jo6zdWrN72dP0UFreK5n8eIf0vST05MQY8Ynxm5Ad - 5aIr0+xLjdUAlpU/O3lJMnPrccOLKdsX4FKnM7n+f25bucBhtaOhB+RId4lLO53JPZK7RW4c3S1z - zO4HuwLNANcizZjQI6HyWVVHlJYjTd3XvQaujyU25F1nc/LlRd2qWU07Xukj8WjIEnzQB28BzXBY - mbMuBsp9wkzZIHs3Qsu4bXv8zkRuY33hBLZJLhMhIQEBUkmRwwSFhq3abCIZKlDk1WvcWTdd8Xuk - hX0QYdyRolsc4nSKubQvgY3LaaRjB8kd+x9TCbKfSu7YfYS4Y/89K+7YfYS4Y/cT4o7dR+hfO/Yr - AAAA///s2DEOgEAIBdETUYhZWI+DKJ33b02srMSwleZfYbp5nywEY88KwdizQjD2rBCMPSkEY88K - wdjTQjD250Iw9no3GHulHIx9oByMvdgOxv6i0PF3Y192VRNjCmlK0pnJZwtS3XzSlT2ujbsbex8x - 9nYCAAD//+zYMQ0AMAzAMFTjT233jintbwpRLjP27ZXnvZKxVyHGPm/F2KsQY+9CjL0KMfYqxNir - EGOvQoy9CjH2KMTYqxBjz0KM/VvoAgAA///s2DEOgCAMRuG7uDdBaikch0bcvP/qzFSExZj/Ci9v - +mDsi91g7DPlYOwL5WDsk+1g7AOF7r8be4qSpGSlWJTJcmm0szAFO0O9DquitvXGrivGzjD2t1dy - fyWM3SsEYx9vBWP3CsHY/UIwdq8QjN0r9AFjfwAAAP//7NwxDoBACETRu9iTsBG4zwal8/6t0c5G - lG2MmSt8pnoFHy8EY88KwdizQjD2pBCMPSsEY08LwdjvC8HY691g7JVyMPaBcjD2YjsY+4NC29+N - XbXxGt5IeD5O4ELGi1CYa/Qw9ujT1dhtxNjxj/31Kvlc5Q4AAP//7NihDQAwDMCw/78eK1xa7hes - oEyVHnsJeex7K4+9hDz2FvLYS8hjLyGPvYQ89hLy2EvIYw8hj72EPPYU8tj/Qh772e0BAAD//+zc - uw2AMAyE4Yki2QIHGMc83LF/C3Q06BLSIHQr/HJhfcXR2JvK0dgbytHYX7ajsRcU2v9u7HOESrYt - ifc5uYQn07OF2+Ti0S3jej0Hd2O3R2MfoLEr99hrr1K5x15ZiMZe3orGjgrR2HEhGjsqRGNHhWjs - qNBnjf0AAAD//+zdPQ6AMAiG4RORVMH+HMeg3bz/arrpIpYuxnxXeMPCM8BnCsHYrUIwdqMQjN0q - BGM3C8HYnwvB2P3dYOyecjD2gXIwdmc7GPuLQsffjT2WEFnap9OsTDKvSjuHRFKLLFPeEmtbUq7G - LiPGjnvs3VOJe+ydhW7GfgIAAP//7NgxEQAACACh/q1t4J/OVGDEsa9Wjr2EHHsLOfYScuwl5NhL - yLGXkGMvIcceQo69hBx7Cjn2Xcix/90c+0luAAAA///s3DEOgDAIheETkVBFU68Dhc37r04uLrR1 - 0rwr/GHhG97958LY58vB2Cfbwdg7Cp1/N/bNLQ7nSk1UKfaoVNiE2As3VpNFnlsx6xtjxx778FVi - j32wEIy9vxWMPSsEY88LwdizQjD2rBCMPSsEY88KfczYLwAAAP//7NwxDoAgDIXhEzVpESkcRwNs - 3n81bjpoEWN0eFf485Z+Qz8oBGM3CsHYrUIwdrMQjP26EIy9vxuMvaccjP1BORh7ZzsYe0Oh5U1j - F/6Dspehei1TpuRypsAxURFlmmsUNwZR9dsht1d290TZ8ZH99i75uEsou1UIyt7e6kTZVwAAAP// - 7NihEQAwCACx/bfGVvFXdFaIDKFnJix7CVn2ErLsJWTZS8iyl5BlLyHLHkKWvYQsewpZ9l3Ist/d - LPtFzrJ/yQ0AAAD//+zcKxKAMAxF0RVlJimdQpZTPnXdvwUcqNeCgnkyMneijsi9HJX9YTsqe0Oh - +n9ln5LbbCVK3NxF81AkmY7imtcQFj2Gc/erstsLZVf+ZO+9S+VP9s5CVPb2VlR2VIjKjgtR2VEh - KjsqRGVHhajsqBCVHRX6vLLvAAAA///s3DEOgDAIheETkZBUqT2O0rp5/1XdnITSuJh3hR8G8g18 - XQjKbhWCspuFoOzvhaDs8W5Q9kg5KPtAOSh7sB2U3VHo+L+ycxYuaao0q1RKZWPadV1IW2qSRa55 - 3kf4U9l5RNnxlb17L/GVvbMQlN3fCspuFXIr+wkAAP//7NgxEQAgDAAx/65xwPfKSCxkzMdClr2E - LHsJWfYSsuwlZNlLyLKHkGUvIcueQpb9LmTZ926WfSNn2R/kLPvE7gAAAP//7NwxCoAwDIXhEwWq - pKk5Ti1k8/5rcXMQXosIIu8KP1nyDe+mHZV9oNDxprJ/wdirbRGLFVm9qpjvIcUtSzRN1rSkGuej - ezH2HE+Mnavs01fJVfbJQjT28VY0dlSIxo4L0dhRIRo7KkRjR4Vo7KgQjR0VorGDQv809g4AAP// - 7NwxDoAgEETRu9hvInEX8DiIS+f9W2NJoYtgZeYKP1O9Yr4sBGM3C8HYnwvB2Pu7wdh7ysHYB8rB - 2DvbwdgbCh1/N3adZd12FsqxMKUUhQKzUnI+F5agJeapNna9NXZvGLujBZ/s71Z5JatXCWO3CsHY - 21vB2K1CMHa70JCxnwAAAP//7NgxEQAgDAAx/65xwPfKSCxkzBdCjr2EHHsJOfYScuwl5NhDyLGX - kGNPIcd+F3LsezfHvpFz7A9yjn1p59gHQgcAAP//7NwhDoAwDIXhEzUhG03X44xuc9zfAg73WHDw - bOWfiuYT3b9u7GGl5tVNaneVobFJLtrE4xz3xfLQ63y6G3t7YeyJH9lntzLxI/tkIRr781Y0dlSI - xo4L0dhRIRo7KkRjR4Vo7KgQjR0VorGDQjR2VOhPxn4AAAD//+zcMQ6AMAiF4RM1sWirHEdM2Xr/ - Vd2cpKVxMW9j5Q/TN+AsBGN/LwRj93eDsXvKwdgHysHYne1g7A2F6t+NXVUykW6hMGuY0zVlmlJY - pEQuskde782fxn6MGDv+sXdfJf6xdxaCsbe3grFbhWDsdiEYu1XoA2M/AQAA///s3TEKgDAQRNET - LURxk+xxdGM679+KnZUjK4LIXOGXr/k/K0RjR4Vo7KgQjR0VorGDQjR2VIjGDgvR2K8L0djj3Wjs - kXI09gflaOzBdjT2G4W2N439G9fTXmrutbhkG5uYJRVvVcWG5Hme1Nd+YMBZ2Reo7DsAAAD//+zc - MREAMAwDMf6sw6DfzBGFP08a/FB2j+zrXXpkXxai7P+tKHsVouxdiLJXIcpehSh7FaLsVYiyVyHK - HoUoexWi7FnouLIPAAAA///s3DEKgDAMheETBUrTEnuclOjm/Vdx0yk1RXF4V/h5Q/iGuIWg7PFu - UPZIOSj7RDkoe7AdlH2g0P6msv/B2K23LFKZ2paEel06rcUacamqllnFzhP8auw6Y+z4yP54lem+ - Shi7VwjGPt4Kxu4VgrH7hWDsXiEYu1foI2M/AAAA///s3DEOgDAIheETkUArWM5j2s37r8bNxWJw - 0ryd6Z/IN7wPF4KxR4Vg7FEhGHtQCMYeFYKxh4Vg7PNCMPZ8Nxh7phyM/UU5GHuyHYz9QaH978au - 7FuRbsRunYqNStq8UWmLSmXmdZzPwdXY/dbYNTR2wVrM5OQAAAD//+zcMREAMAwDMUzlT64Ecvl2 - FwWdpx88rvJ4i/kU0tjfrTT2EtLYW0hjLyGNvYQ09hLS2EtIYy8hjT2ENPYS0thTSGPfhTT20e0C - AAD//+zcIQ6AMAyF4RMtIbRrex3GJrm/HThcu02QkOer/lR94oW6wdhnysHYF8rB2CfbwdgDha6/ - G/tGUkXlPtOTk5ZmyarkVHbKasyNjgdL3sZuK8aOrZjhr8RWzGAhGHu8FYzdKwRj9wvB2L1CMHav - EIzdK/SpsXcAAAD//+zcsQ2AMAxE0V3oLVkOCvE6OLhj/xbaCAlDUoFuha+rXnGfKARjjwrB2INC - MPaoEIw9LARjvy8EY+/vBmPvKQdjHygHY+9sB2N/UGj/u7G71s1FExmfBaSakOXCtKS5spdsvurU - GnseMXZ8xbxeJberhLFfCh0AAAD//+zYoQ0AMAzAsP+/Ht+kpSo2DzLMJeSxz6089hLy2FvIYy8h - j72EPPYS8thLyGMvIY89hDz2EvLYU8hj/wt57Hs3j/1JDgAAAP//7NgxDoAgEETRu9iTbIKQ5Tgu - uB33b7WlGpTGmCmn/ZnqTZSjsS+Uo7G/bEdjnyjU/27s0nJxNQ01thJSdgmlmt0z5tNdjj3KNhp7 - WjB2URr7w1eKjq+ksaNCNPb5VjR2VIjGjgvR2FEhGjsqRGNHhWjsqNAHjf0CAAD//+zcsQ2AMAxE - 0YkskWACjGPipGP/FtFR4cRpELoVvq56xX2sEIzdKARjtwrB2M1CMPb3QjB2fzcYu6ccjH2gHIzd - 2Q7G3lDo/Luxs25rSFqI5zSR5Fjo4LhQzbuIaFCtNwU8jZ1HjB1/7N2rxB97ZyEYe2OrCwAA///s - 2KENAEAMw8D9t66eV2+p+HhCDO+dGXsUYuxdiLFXIcZehRh7FWLsVYixVyHGHoUYexVi7FmIsf8L - MfZ7N8Z+KcfYl8kAAAD//+zduw2AMAxF0YksISfKZ5zECR37t1DTPAcq0Fvh2tUpbG85GvvDdjR2 - R6Hj78auVofFohJ6nDL2ZNLbNYycW9mmak12/3ka3hg777EvbyXvsS8WorH7W9HYUSEaOy5EY0eF - aOyoEI0dFaKxo0I0dlToM8Z+AgAA///s3DEKgDAMheETBWKaQnucGurm/Vd1VNTUOgjyrvDnTd+Q - rwrB2L1CMHa3EIz9vhCMvb8bjL2nHIz9RTkYe2c7GHtDofnvxh6rpRy5UCgmxIMKBZ2MNFXTPGoJ - fPwVI5fGro6x83pjGPujVW7J9quEsXuFYOztrWDsXqETY18AAAD//+zYMQoAIBDAsP//2lkQC+do - 9k4d87Wxnw4x9jrE2OsQY69DjL0OMfY6xNjjEGOvQ4w9DzH2+yHGPv/G2CfnGPvDOca+JwsAAP// - 7NgxDoAwDEPRE0WigVJynbRk6/1XxAaTi5hAvsKXF7/hdjT2gUL978YeKVpds4kvm0vVNkloFGm5 - ekmx62zn0b0ae3ph7Go09oerVLuvksaOCtHYx1vR2FEhGjsuRGNHhWjsqBCNHRWisaNCNHZUiMYO - Cn3d2A8AAAD//+zYsQ2AMAwF0YksGYjiZJyYuGT/lhoKbBLRoL/C6ar3fSEYu1sIxv5cCMY+3g3G - PlIOxj5RDsY+2A7GHih0/N3YU9LddNlIMgtVUSMppZN249rW3tjuxs4zxp5h7G+vzNcrYexeIRh7 - vBWM3SsEY/cLBY39BAAA///s2KERACAMALH9t0bX8HdFkhUi87GQYy8hx15Cjr2EHHsJOfYQcuwl - 5NhTyLHfhRz73s2xb+Qc+4OcY1/aOfYhdAAAAP//7NwxCsAgDIXhEwlKU9TjaEi23n+ta0vhVdzk - XeHPm74h34Wu3Y3dT0091Rz8GP1zqT0UdRv3UGstWjR//WMXXzF2obHPrlKeq6Sxo0I09v+taOyo - EI0dF6Kxo0I0dlSIxo4K0dhRIRo7KkRjB4Vo7KjQnsZ+AwAA///s3DEOgCAMheG7uDcBDSUehxbY - vP/q7CLQOpl3hT9v+ob3aSEY+3shGLu9G4zdUg7G7igHYze2g7FPFLp+b+xSYuRQSLsqhTM1Eg6J - uO6N8xGzVN2ext48xo4/9uVV4o99sRCMfb4VjH1UCMY+LgRjHxVyGfsNAAD//+zYMQqAMAwF0BMF - 0iTWepxQ7eb9V3HrZKQiCP4rvPH9QgjHHgnh2CMhHHskhGMPhHDskRCOPRTCsV8L4djH3XDsI3I4 - 9gdyOPZBOxz7DaH9zWNP/IVlT21hkarkuTq5GlOZxGhummWzws3PDOiXfe2W/QAAAP//7NyhDcAw - EATBiiLZMP03Zhy0fpxpYXVowK1npuzbI/t0l/v97pKyVyHKft+Kslchyt6FKHsVouxViLJXIcpe - hSh7FaLsUYiyVyHKnoV+o+wHAAD//+zcsQ2AMAxE0YksGUJiGAeZuMv+LaKjQU4MFboVvq56xQUL - Qdnj3aDskXJQ9hfloOzBdlD2jkLt/8rOORXJWmk3PWhmE6piiZay6mSct2oXl9yVXR+VPfnKjk/2 - 4V3ik32wEJS9vxWU3SsEZfcLQdm9QlB2r9DHyn4CAAD//+zcoQ6AMAyE4XfBNymjo+Fx1rG5vb8F - i6FkCwkh50/98hP3w0JQdq8QlN0rBGV3CkHZvUJQdrcQlP2+EJS9vxuUvacclH2gHJS9sx2U/UGh - 9qayf8HYk60SYlXSeWdKmQsF0Uw1VlvUpGzK09XYbcTY8cl+Tg4AAAD//+zYoQEAIBDEsKXYfzYs - byierNA7lR7zfOWar2TsVYixv7di7FWIsXchxl6FGHsVYuxViLFXIcZehRh7FGLsVYixZyHGfi/0 - ubFvAAAA///s3DEOgCAMheETNYEIAsdRXti8/6pubgUajcO7QfOnC19ITd1o7DPlaOyGcjT2yXY0 - 9o5Cx5vG/o+f7EDM7hpFfGyQnFKRpdVdkIKvWFFcuJ+6T2XfLMrOq+zDe8mr7IOFqOz9rajsWiEq - u16Iyq4VorJrhajsWqEPlP0EAAD//+zcMQ6AMAiF4RORtBSsXKdp3Lz/Wt10EW0n07dwgD8M5Bv4 - eSEou1cIyu4UgrJ7haDsbiEo+3MhKHt/Nyh7Tzko+0A5KHtnOyj7i0L7BMqeQ1yNhWpSoSTHYI6V - okq2si2s5TzCr8puA8oe8JX9614Gu+/lpMreAAAA///s2DEBACAMwDD/rnGwwl5iIWcehCz7vZVl - LyHL3kKWvYQsewlZ9hKy7CVk2UvIsoeQZS8hy55Cln0Wsux7t0+X/QAAAP//7NwrEoAwDEXRFUU0 - Q0i6HOjHdf+WweHSEoHgbeFOROaIFywHZQ+Ug7K/bAdlnyg0fqDszDX33KikInT0ZCRqO+nWziZa - le1+D57KbhFlxyr78l1ilX2xEJR9vhWU3SsEZfcLQdm9QlB2rxCU3SsEZfcKfaLsFwAAAP//7Nwx - CoAwDIXhu7gHWo1trxObunn/VSehg0YrgsK7ws8bwjfkV4Wg7EYhKLtVCMpuFoKynxeCsrd3g7K3 - lIOyPygHZW9sB2W/UGh5U9m/YOwup6KehUTZU05BaR4HRyHF4icR3S6Grjb2eGjsvW3s+Mp+e5Vc - rxLGbhWCse+tVgAAAP//7NgxDQAACMAw/65xwBJeaqFn08qxl5BjbyHHXkKOvYQcewk59hJy7CXk - 2EPIsZeQY08hx74LOfa7m2O/yD099gEAAP//7N0xDoAwCIXhE5E0KUV7HIWO3n81ri6v1Q7GvCv8 - YeEbYE45GvvDdjT2jkLH3409opnrrpJci1yrrrQaIbVk17zYGtv986m9MXbeZB+eSt5kHyxEY+9v - RWNHhWjsuBCNHRWisaNCNHZUiMaOCtHYUaEPGfsJAAD//+zdMQ6AIAyF4RM1EUQqx6GAm/dfNW4a - I1hjwvB6hC+d/qHtUwiNvSaExl4VQmN/FkJj17uhsWvk0Ng/yKGxK+3Q2BuE1j8bex/XYtjY5EJk - KuIdSeSFxOSR4pz2CdZzvn4+nbSVfQhkcZP91V4eZOe9RGWvCaGyt1uhst8IbQAAAP//7NgxEQAg - DAAx/65xwF/LSCxkjGUfCln2ErLsJWTZS8iyl5BlLyHLHkKWvYQsewpZ9ruQZd+7WfaNnGV/kPtt - 2Q8AAAD//+zcoQ6AMAyE4XfBN9lKE+BxujIc72/Bom4LkEycrP1T9Yn7rB2VvaHQ+aeyj2DsteZ1 - KRGiOrtYqiHhdp+WVLdc/Nh9ehq7vTF2LrJ3fyUX2TsL0djbW9HYUSEaOy5EY0eFaOyoEI0dFaKx - o0I0dlSIxg4KjW7sFwAAAP//7NwxCoAwDIXhExXa5lm9Tglk8/6r4qaDqS2iw7vCn0wfId8XorG7 - hWjs94Vo7P3daOw95WjsA+Vo7J3taOwNhdY3jf0fl+wqBRKjhVqWFKYMhKT7RBS5wjTbjOtPdhlR - dv5kf7yXOO8lld0rRGVvb0Vl9wpR2f1Ch7JvAAAA///s2DENADAMwDD+rMegkdpzpuDTln0Qsuwl - ZNlLyLKXkGUvIcseQpa9hCx7Cln2Wciy790s+0bOsh/kLPvS7qtlfwAAAP//7NyxEYAwDEPRiXxH - MHHCOCbEHfu39DQiUMFphX+qXqGnhY7/K7sX803DZJ56iJbUZF28Sms5VHWv2a7Knt4oO1/Zh3fJ - V/bBQlT2+62o7KgQlR0XorKjQlR2VIjKjgpR2VEhKjsqRGUHhajsqND3lP0EAAD//+zcMQqAMAyF - 4RMF2gaS5jhq7eb9V3HToaZWcJB3hZ83hG/I54Wg7PeFoOzj3aDsI+Wg7C/KQdkH20HZOwpt/1f2 - yCuLTJkkmZGlhUmtKmVTrjqHUuQ4ws/KHprKHl1lj/jK/nSX0a67hLJ7haDs/a2g7F4hKLtfCMru - FWoo+w4AAP//7NghEoAwDAXRE0UEyoRcBwbZ+1tQlXwmlaxb/eQiNIS47EqIy66EuOxKiMsuhLjs - SojLLoW47O9CXPa6G5e9Isdln5DjshftuOwfhPoPLnvb4oh0y93Dlpbx1HnZegMAAP//7NyxDQAQ - FAbhnRDMI2L/EUSnO6KTG+FdXvUVf8ilpNZrqOv2TdnjeFF2d9mv/9Jd9stCKvt5K5WdCqnsXEhl - p0IqOxVS2amQyk6FVHYqpLJDIZWdCqnsWOgDZZ8AAAD//+zcuw2AMAyE4V3oLZGHiT1OEEnH/i11 - KgdHNOhW+HXVV9ynhaDs/m5Qdk85KPtCOSi7sx2UfaLQ/X9lTyxXiNpJz5goSwmUuSYqB0dpyqJ1 - 30ZlbyvKjl/217vM4y6h7FYhKPt8Kyi7VQjKbheCsluFoOxWoWllfwAAAP//7Ny7DYAwDEXRiSxF - /gQxTmSTjv3b9BQYJV14K9zyFPe3haDsWSEoe1YIyp4UgrJnhaDsaSEo+3shKPt8Nyj7TDko+0I5 - KPtkOyj7h0L3/sru5t2UhY4STlVapXbpSVwklK2zyOPLLrGi7Ft/2QcAAAD//+zcsQ0AMAzDsP+/ - 7gdRO2Qp+ALhSYN3dumX/VFIZb+3UtlLSGVvIZW9hFT2ElLZS0hlLyGVvYRU9hBS2UtIZU8hlX0W - +rSyHwAAAP//7Ny7DYAwDIThXegt2Ql5rUMMHfu31KkcYokC3Qq/rvqK+6QblH2lHJTdUQ7KvtgO - yj5R6P6/snNm1VR3yrEI1ePM1KV0ukIT5RQ4im6jsneHsjN+2d/uktu4Syi7VQjKPt8Kym4VgrLb - haDsViEou1UIym4Vcij7AwAA///s3LENwCAMRNFd0luyQAh5HLBMl/3bKGWaOJiO3ApfV73iflII - yu4VgrI7haDsXiEou1sIyv5eCMoe7wZlj5SDsi+Ug7IH20HZPxQ691f2kvrgYom46v3Lrkaiw6hp - NclNWEyPp7L3FWXHL/v0Lvf+Zb8AAAD//+zYwQkAIAwAsf23doOeCP1IVsgzC0KW/d7KspeQZW8h - y15Clr2ELHsJWfYSsuwlZNlDyLKXkGVPIcs+C1n2d7fPlv0AAAD//+zcuw3AIAyE4V3SWwoBbNax - QXTZv01NEZk8lCK6FX5d9RX3UTko+4NyUPab7aDsE4X2/yt7bK1rzEadWSjolkmUE63GUmqoJsWW - Udn1VNlXX9nxy355l2ncJZTdKwRln28FZfcKQdn9QlB2rxCU3SsEZfcKQdm9Qq8q+wEAAP//7Nwx - DoAgEETRu9ivWQSEPY5hofP+rbWNCMSYkLnCz1SvmCkLQdkrhaDstUJQ9mohKPtzISh7fzcoe085 - KPtAOSh7Zzso+4tC55fK7tdg4+/KnjxzcuKobMaSBqfExWSKmUNSvx9SZLkru4woO37Zm3eJX/bG - QtMr+wUAAP//7NhBCQAwDAAx/67noAelrxELeebQyrKXkGVvIcteQpa9hCx7CVn2ErLsJWTZQ8iy - l5BlTyHLPgtZ9r2bZd/IfbXsDwAA///s2jEOgCAQRNETbQKiuBxHFkrv3xo6rQZJMBZzhZ8pNi/7 - dTkq+2A7KntHoXOmsv/jl13z5v2hRZxplpKyijnbJS6hpFB1jdbOg7uy67CyqwRHZX+1y5bsuUsq - OypEZe9vRWVHhajsuBCVHRWisqNCVHZUiMqOClHZUaHJyn4BAAD//+zYMQ6AIAyF4RM1ETAt14G0 - bN5/NW66WIRJfUd4f970vb8QlN0rBGV3C0HZ7wtB2ce7QdlHykHZJ8pB2QfbQdk7Cm3fV3a1zEmL - 0GKtUQmqxNkqBTNVrimsfGw/K7tMKHsUKPvDX0a5/hLK7hWCsve3+o2y7wAAAP//7NgxDQAgAAQx - /65xwCXPRmqhY2chy95Clr2ELHsJWfYSsuwlZNlLyLKHkGUvIcueQpb9LmTZdzfLvshZ9ge5H5b9 - AAAA///sXEFPgzAY/S9GuWkoMCIHYmQw1kXLKG3ZuDGpEcrYMjiwJf53YYjLjDoTDybGw0fykhfS - 732vl9fk+xXt/lP2byi0/Pspu7wwFjJvV8Q8KtqlrGntJAbJJdANRTEerhcGeL+XXT+VsjcyFLyu - fmKYmz5/P3hA6rszT/UmHZT7gtuTpC7TN48NJpVVvKn6dwKzMwnoNt5cqPHr56rpN5J4kRwTgdKI - +AFxGdfDNy80gz6M3Ny7oSXYvR8+JZ03rGkDg3THzYEsnbhN56VI12QleGGGapkmrrGJQi31Urih - Ine8YuDHYI19Cio+ZnYo8DCRR5ZP20LWlMgZzX39PkCUinsdkdsGY8dbahvm1oTYDFBH7KLsyQ5o - LdC2BH6OEXeAjmcMMbcCZLZeMQEoJgliDlUJw+5cjPb/DhgKvQxmAWVTL5sDROYqBCMbZysVypHv - 79ZWRKxxd5628jxRkNXjaCend8PJdh4OiiiAOt9Oqrjrr8Yicr9VKSzhEjzxIdRhg2EBjJl/9vwC - AAD//wMAFnc2r4iUBAA= + string: '{"value":[{"sceneDateTime":"2020-12-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"97830c8e-d5f8-f724-0849-46bae90fb85f","eTag":"0200b79e-0000-0600-0000-60cfd9ce0000"},{"sceneDateTime":"2020-12-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6e888a03-2448-ee75-eaf2-149fc45b57b3","eTag":"0200b69e-0000-0600-0000-60cfd9ce0000"},{"sceneDateTime":"2020-12-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3e3075de-9957-f5c9-da7c-b0d323d446c6","eTag":"0200b59e-0000-0600-0000-60cfd9ce0000"},{"sceneDateTime":"2020-12-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"4a7e2225-646b-2bbe-9f2c-d21ddbf64794","eTag":"0200b39e-0000-0600-0000-60cfd9ce0000"},{"sceneDateTime":"2020-12-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b0ac65d0-b445-6e94-7db0-abc63f9cdac3","eTag":"0200b49e-0000-0600-0000-60cfd9ce0000"},{"sceneDateTime":"2020-12-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bf5d67f8-0a89-8fe1-883b-0b41a0a1b014","eTag":"0200b29e-0000-0600-0000-60cfd9cd0000"},{"sceneDateTime":"2020-12-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6c77c469-c625-47e6-e3e3-d22ced00e3c4","eTag":"0200b19e-0000-0600-0000-60cfd9cd0000"},{"sceneDateTime":"2020-12-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"96c7a007-7810-56d8-c56c-b2f3b9f3ef07","eTag":"0200b09e-0000-0600-0000-60cfd9cd0000"},{"sceneDateTime":"2020-12-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"2e334286-292f-3f0f-81a8-c176ca57f643","eTag":"0200af9e-0000-0600-0000-60cfd9cd0000"},{"sceneDateTime":"2020-12-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"54d74df6-bad4-913d-70f7-36bd38db2143","eTag":"0200ae9e-0000-0600-0000-60cfd9cd0000"},{"sceneDateTime":"2020-12-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"fb554c64-05de-970d-f46e-5d461eadbc62","eTag":"0200ad9e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-12-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-12-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"f6600299-a846-ccd0-4f3e-2ebf16453672","eTag":"0200ac9e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-11-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"00edb86d-28d0-a927-320c-8ad05b4077a3","eTag":"0200ab9e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-11-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"513c28d3-85c7-1eed-6744-802300b51d81","eTag":"0200aa9e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-11-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"753dc260-5a04-cecb-d644-b77559a7964d","eTag":"0200a99e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-11-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b4d0b01b-e3c4-20ce-b482-664350c6bfa5","eTag":"0200a89e-0000-0600-0000-60cfd9cc0000"},{"sceneDateTime":"2020-11-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"8fba3bc0-a3b5-1d4b-28e6-aa4261517186","eTag":"0200a79e-0000-0600-0000-60cfd9cb0000"},{"sceneDateTime":"2020-11-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bdebad0f-1e3f-ad7b-b606-d64882d6eda0","eTag":"0200a69e-0000-0600-0000-60cfd9cb0000"},{"sceneDateTime":"2020-11-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"14beec9a-7b31-7248-cda3-fbc0df5677c0","eTag":"0200a59e-0000-0600-0000-60cfd9cb0000"},{"sceneDateTime":"2020-11-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"734fd68a-1fa1-b336-6963-f3674783668b","eTag":"0200a49e-0000-0600-0000-60cfd9cb0000"},{"sceneDateTime":"2020-11-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"15529d2d-293f-e25d-7b20-e54bdb3c09f3","eTag":"0200a39e-0000-0600-0000-60cfd9cb0000"},{"sceneDateTime":"2020-11-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"cb24ea27-32f6-2e82-0421-8ead6744ec85","eTag":"0200a29e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-11-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-11-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"06c2c7f4-23bb-6bfd-6ced-c844215aedee","eTag":"0200a19e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-10-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-31%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ac340e5d-f735-4533-3cba-06fef5b837f2","eTag":"0200a09e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-10-29T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-29%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ca534a4d-f4c3-5666-3f4f-b57c7303fd7e","eTag":"02009f9e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-10-26T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-26%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d5447db8-d90f-6d22-5251-36cda0cb83f4","eTag":"02009e9e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-10-24T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-24%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"910fca88-ea64-ea53-ab73-a1ba63381ee6","eTag":"02009d9e-0000-0600-0000-60cfd9ca0000"},{"sceneDateTime":"2020-10-21T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-21%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ae7a09c8-fbcb-02fc-d339-c5f338ec7074","eTag":"02009c9e-0000-0600-0000-60cfd9c90000"},{"sceneDateTime":"2020-10-19T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-19%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"c2c04fe9-859e-3327-d139-1190a8cf02d3","eTag":"02009b9e-0000-0600-0000-60cfd9c90000"},{"sceneDateTime":"2020-10-16T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-16%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"fdaf580b-7982-591b-b856-ddecb4d1b86d","eTag":"02009a9e-0000-0600-0000-60cfd9c90000"},{"sceneDateTime":"2020-10-14T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-14%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"5d164386-5137-b041-70d2-56cbedf4fe2e","eTag":"0200989e-0000-0600-0000-60cfd9c90000"},{"sceneDateTime":"2020-10-11T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-11%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d8b34358-6fcb-192b-bd68-d068c90f9921","eTag":"0200999e-0000-0600-0000-60cfd9c90000"},{"sceneDateTime":"2020-10-09T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-09%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"433823e5-8451-63af-ed13-417d051c278f","eTag":"0200979e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-10-06T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-06%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e148d9ed-e858-da09-1279-c50c53148620","eTag":"0200969e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-10-04T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-04%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"74058203-3937-745c-f5ea-dde4bd3679bd","eTag":"0200959e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-10-01T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-10-01%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6bb3a22d-27db-6838-a7ac-e48f9d52c3d1","eTag":"0200949e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-09-29T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-29%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"4d65c1fa-86d3-c327-ccfe-0d279c6f47f9","eTag":"0200939e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-09-26T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-26%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d9c2290a-7384-9883-9cfa-443b1f184060","eTag":"0200929e-0000-0600-0000-60cfd9c80000"},{"sceneDateTime":"2020-09-24T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-24%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"006c9503-7a8f-7eec-6c34-07ca09332ee4","eTag":"0200919e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-21T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-21%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bbc74cf7-77cd-431e-8afc-8f95d6c551cb","eTag":"0200909e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-19T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-19%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"74b24d28-de91-05a5-67b9-5fcb16141601","eTag":"02008f9e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-16T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-16%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e60089b1-99d2-b444-486a-6887a97bdcca","eTag":"02008e9e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-14T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-14%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"330cf9f7-6af5-59b7-5b4c-4eb2844f86b9","eTag":"02008d9e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-11T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-11%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d7204e79-6799-42ed-e8b8-456deecfb603","eTag":"02008c9e-0000-0600-0000-60cfd9c70000"},{"sceneDateTime":"2020-09-09T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-09%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"070de425-a097-fc4b-3a7a-75f444f1a2ce","eTag":"02008b9e-0000-0600-0000-60cfd9c60000"},{"sceneDateTime":"2020-09-06T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-06%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"08aa1bce-03b2-1ee4-2968-c9594e5289a1","eTag":"02008a9e-0000-0600-0000-60cfd9c60000"},{"sceneDateTime":"2020-09-04T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-04%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":5.738,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"90d29f55-2be5-7c75-b485-0389417d2d0f","eTag":"0200899e-0000-0600-0000-60cfd9c60000"},{"sceneDateTime":"2020-09-01T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-09-01%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"f7f8e8a4-2c23-0e02-8560-faa16eb3ff91","eTag":"0200889e-0000-0600-0000-60cfd9c60000"},{"sceneDateTime":"2020-08-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"08fed6de-d579-66ce-ce29-40a0f9f37db3","eTag":"0200879e-0000-0600-0000-60cfd9c60000"},{"sceneDateTime":"2020-08-27T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-27%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"69ee19f4-a119-e44b-a30d-0b7aa62c84f3","eTag":"0200869e-0000-0600-0000-60cfd9c50000"}],"nextLink":"https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00%3a00%3a00.000Z&endDateTime=2020-12-31T00%3a00%3a00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWUVXd0VBQUFBQUNBPT0jUlQ6MSNUUkM6NTAjUlREOm4rVGxTTDV1UEkzZjhDSUxkNys1QlRNeE16RXVNVGt1TXpoVk1URTdNVEU3TVRGYkFBPT0jSVNWOjIjSUVPOjY1NTY3I1FDRjo3I0ZQQzpBWjFhQVFBQUFBQUlLMXNCQUFBQUFBZz0iLCJyYW5nZSI6eyJtaW4iOiIxRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRiIsIm1heCI6IkZGIn19XQ"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:05:02 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:18 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '255' status: code: 200 message: OK - url: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer-922&boundaryId=satellite-flow-async-test-boundary-976&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWkRCd0FBQUFBQUNBPT0jUlQ6MSNUUkM6NTAjUlREOm4rVGxTTDV1UEkzZjhDSUxkNys1QlRNeE16RXVNVGt1TXpoVk1URTdNVEU3TVRGYkFBPT0jSVNWOjIjSUVPOjY1NTY3I1FDRjo3I0ZQQzpBZTBHQUFBQUFBQUlld2NBQUFBQUFBZz0iLCJyYW5nZSI6eyJtaW4iOiIxRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRiIsIm1heCI6IkZGIn19XQ + uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWUVXd0VBQUFBQUNBPT0jUlQ6MSNUUkM6NTAjUlREOm4rVGxTTDV1UEkzZjhDSUxkNys1QlRNeE16RXVNVGt1TXpoVk1URTdNVEU3TVRGYkFBPT0jSVNWOjIjSUVPOjY1NTY3I1FDRjo3I0ZQQzpBWjFhQVFBQUFBQUlLMXNCQUFBQUFBZz0iLCJyYW5nZSI6eyJtaW4iOiIxRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRiIsIm1heCI6IkZGIn19XQ response: body: - string: !!binary | - H4sIAAAAAAAAA+zQ3WrCMBQH8HcpbFfGpq0fpSDDOXalMNCr7UJie6rBNClJqjjZu++0F9rRshcw - kIuTk5Pm39/VOzFRgZd8XT2TgoQ3ZmHDC+x4IQ0poTEJxxtKk2Z9egOv1OrEM9A4seKpVkblFttG - VTqtr61BWi5BbMPtMpzjCS/YHt65ANM8k2O15PKIowdrS5P4vsmOxILBa3tyTitDgmHOdLEDZs2Q - fVcahhKs3wQ0fqbOUiiWNZ98YSUnJ9CGKznDxAGhEYkCUmo4cTg/1699MHuY3bI+hfnfiNgw+NdC - cAskF+pMmLnItElE6hyg/x3ZqUpmTF9w6E6GG4plvbBMRbEN6NDyHD0ka3gXyxVuNBglKovpvQQn - 6M/gMYUyZlnBzLHDVB+s8MBZ3axMKjpM68XSCd2EdjTsCL3S0Am1hKIeocgJtYRGPUIjJ9QSGvcI - jZ1QS2jSIzRxQi2haY/Q1Am1hOIeodgJ3YVi1hWK507oLhQEXaEgeDShXwAAAP//7Jg/a8MwFMS/ - S+YKFMexnNEUCoYGMmQqdBCWkor6D6Q2lHz63rMSatdx1C6dngcjuBN++vkG++4SuvHFuOQvxm9C - NMrZ1q59q6yuJ7BIfunlLWTmNuKmz67q7oDLvM7kxv+5Xe0Dp+sjhp6Qg+4Tl/U6kxuSu0RuHt0l - c8zuB7tSuwmu5yxnQkNC1a2qDpS2M03d67UGbk6VbuHd50/wFWXTmccGJ97ZE3i0sNAObHlYYIr3 - nfu05VDrleuMuaEoB4+CB/mDB/zeBLcjX1xIZQ7GiMimqVARXobCZEKpZHNQm/UqlXR2u9dHuCWu - 1XppBS2ETHpWuCVSx7EuaC0XFJiPuZY94pb9r7mMxrnklj1EiFv237Pilj1EiFv2MCFu2UOE/rFl - /wIAAP//7NghEoAwDATAv+AjGtqGfifT1vF/i0bAMUHB3BdW7keFuOxIiMuOhLjsSIjLDoS47EiI - yw6FuOz3Qlz2uBuXPSLHZX8hx2UP2nHZHwjt/1/2Otaa3ExK6irah8uW55Dmpl6mdmu+nJc9Xy27 - T7DsBwAAAP//7NixCQAgEMDAlX7/6bQVhGh/KxypspHHZf/tcs4uXfYSctnfrVz2EnLZW8hlLyGX - vYRc9hJy2UvIZS8hlz2EXPYSctlTyGW/Ci0AAAD//+zYMQ6AIAyF4RM1oUHAXocSNu+/EhejU7EM - JuZd4c9b3ncVgrL7u0HZPeWg7AvloOzOdlD2iULH/5Vde6lRN6UUc6AuqZG2mkly6Ikry67nTbkr - e1xQdi5Q9pe75PLcJZTdKgRln28FZbcKQdntQlB2qxCU3Sr0qbIPAAAA///s3DEOgDAIheETkWCL - MR6nEdi8/2rdnETppHkj6x8G8g18ohCUPSoEZY8KQdmDQlD2qBCUPSwEZb8vBGXPd4OyZ8pB2QfK - QdmT7aDsDwrt/1f2xY2ZzWmdZiHVUqm1PtZ+KrCJy6bnEX5V9jKi7PjL/nIvDwAAAP//7NgxDQAw - DMAw/qy7t89SAKZg5coj21267CXkst+tXPYSctlbyGUvIZe9hFz2EnLZS8hlLyGXPYRc9hJy2VPI - Zf8LuexntwEAAP//7NwxDoAgDIXhEzWBVsAeBxA3778aN52K4mDiu8KfNzTfUCj7K+Wg7APloOwP - 20HZOwptP1B2qRqkRAqNF9KpOBJJSjHxmn12dW7HeXBWdj+i7PjLfnuXfN0llN0qBGXvbwVltwpB - 2e1CUHarEJTdKgRltwp9TNl3AAAA///s3DEOgCAMheETNWmwiB5HoN24/2rcdLEKizHvCn/e0m/o - BwtB2b1CUHanEJTdKwRldwtB2e8LQdn7u0HZe8pB2QfKQdk720HZHxRq/1f2mBJbqUKrSiSWWWmz - HMhkmXINWliPQ+6s7Dyi7PjL/nqXfN0llN0rVHcAAAD//+zYMREAAAgAof6tbeB7zlRgxLKfrSx7 - CVn2FrLsJWTZS8iyl5BlLyHLXkKWPYQsewlZ9hSy7LuQZf+7WfaUGwAAAP//7NwxDoAgEETRE20C - CCseBxA6798aOwvNAJUxc4WfbfYV8/TnUtnny1HZJ9tR2TsKHf9Xdr9p0RoX2dUmCdlmiRqaBKvO - p7XEphcG3JTdtVdlr1DZDXfZR+/ScJd9sBCVvb8VlR0VorLjQlR2VIjKjgpR2VEhKjsq9HllPwEA - AP//7NwxCoAwDIXhu7gXQixJrxM03bz/qpPgYtt0EORd4U+mb3ifF4KyNwpB2VuFoOzNQlD290JQ - 9ng3KHukHJR9ohyUPdgOyt5R6Pi/sq9SKbPrdQK1VJQ4bc6aijDtlMWq2fJUdp9RduyyD/8ldtkH - C0HZ+1vdyn4CAAD//+zYMQ0AAAjAMP+uUQBLuGuhZy37ImTZW8iyl5BlLyHLXkKWvYQsewlZ9hCy - 7CVk2VPIst9Clv3vZtk/cpY95AYAAP//7NwxDoAgEETRE5HIgojHgezSef9W7bRxUCvjXOFnqlfM - VTkq+8N2VPaOQssPlD2L1jaUrcBkTsSSG0uoLmick3rzOe5cclR2faPs/GW/vUs575LKjgpR2ftb - UdlRISo7LkRlR4Wo7KgQlR0VorKjQlR2VOiDyr4CAAD//+zcMQ6AIAyF4RORIEiwx6FVNu+/iqMO - FGviYN4V/r7pG/ptISi7VgjKrhaCsvcLQdnt3aDslnJQ9hfloOzGdlD2gUL7/5WdZVq3TN6xtAwp - LsVVn8iVSMIhycx8+8sexKzsuV0Zyv5ol2ey6y6h7FohKPt4Kyi7Vqij7AcAAAD//+zYMREAIAwA - Mf+uMcDxvbLGQsYQsuxDIcteQpa9hCx7CVn2ErLsIWTZS8iyp5BlfwtZ9r2bZd/IWfYPOct+tzsA - AAD//+zYsQ3AIAxE0YksGYhiGAcwdNm/TZ00R5QO3Qpfv3qwHZV9odC1v7KfVVuZ2iUEH1LCGGJH - N2mWYjVN7vZW9vZD2WOmsn/8Mubnl1R2VIjKvt6Kyo4KUdlxISo7KkRlR4Wo7KgQlR0VorKjQlR2 - UGgPZb8BAAD//+zYuw3AIAyE4Yks8ZKBcZAwXfZvo3RJE4NRmuhW+HXNfV8WgrKrhaDs74Wg7PZu - UHZLOSj7Rjkou7EdlH2i0PF/ZR8huFhkUKrClHMr5CsLcfTd9ZC4+eum3JW97Sg7Q9lXd8nPXULZ - tUJQ9vlWUHatEJRdL7Sg7CcAAAD//+zYwQkAIAwAsf23doCCB/VpVsgznwpZ9hKy7CVk2UvIspeQ - ZQ8hy15Clj2FLPtdyLLv3Sz7Rs6yP8hZ9qWdZR9CBwAA///s2LENgDAMRNGJIgUsJ3gcEicd+7dA - B6I4EB1c4wG+rrDetdDyA2XXUVOOLcTZ6nbEgxevIXscmtqUetnfg6Oy2xtlFyr7013KeZdUdlSI - yn6/FZUdFaKy40JUdlSIyo4KUdlRISo7KkRlR4Wo7KAQlR0V+qqyrwAAAP//7NwrEoAwDIThE1V0 - ypD2OHRDHfe3BYeB9IFi1kf9E/WJ/bAQlf29EJV9vBuVfaQclX2iHJV9sB2VvaHQ8X9l30MWIJ1n - i65O4IuLGZtTBFHxCQUXBtyVPT4qu9rKzl327r/kLntnISp7eysqu1WIym4XorJbhaaUvQIAAP// - 7Ni5DYAwEETRXsgtIR+Ltxx8ZfSfQggJg5YMJvkF/PD94hCVHR2isqNDVHZ0iMoODlHZ0SEqOzxE - Zb8/RGW3f6OyW85R2V+co7Ib31HZHxzavq/sGkSLjOiy98lJrs11iUfWFJr2qkXn6arsy0nZdwAA - AP//7NwxDQAgEARBRSTg3xwSlq8ZC5urpri9Zsp+/LJPd3n8sg8LUfb3VpS9ClH2LkTZqxBlr0KU - vQpR9ipE2asQZY9ClL0KUfYs9I2yXwAAAP//7NyxDcAgDETRiSwhxRh5HEygy/4tfRqDSRXdCl9X - veKChaDs8W5Q9kg5KPtBOSh7sB2UfaHQ839lt3K3rjrIcjUqwpWG9USNRVNNnPl6K7ucKDt+2bd3 - iV/2zUJQ9vVWUHavEJTdLwRl9wpB2b1CHyv7BAAA///s3LENwCAMBdFpUloiliHOOMhAx/5t+hRx - ZDr0V7jyFbdhISi7VwjK7hWCsjuFoOxeISi7WwjK/l0Iyh7vBmWPlIOyL5SDsgfbQdl/FJr7K3ux - i6tqpq4mxDIK9aRMiTlbbaOd9/sYIyvKji/78QAAAP//7NwxEQAwDAMx/qzDoN/MEQWdpx+83aVf - 9qWQyv5vpbKXkMreQip7CansJaSyl5DKXkIqewmp7CGkspeQyp5CKvtb6HRlHwAAAP//7Nw5DoAw - DETRE1kisZzg45Ct4/4toqNzFoEo5gpfLqxXzGI3KPtMOSj7Qjko+2Q7KHtHofNNZf+DsaddncSw - UW3qSRwX8qyV+Cg+c0g1x/sFfxq7rBg7VtmHrxKr7IOFYOz9rWDsViEYu10Ixm4VgrFbhWDsVqEP - jP0CAAD//+zcPQqAMAyG4bu4BxJaNR7H/mTz/qs4uhhtERS+PdNLpoeQnxeCsXuFYOxOIRi7VwjG - 7haCsV8XgrG3d4Oxt5SDsXeUg7E3toOx3yi0vWns37hkF16LlpIo8BRJbRayHBKJLiNrrRYtD2dl - Dx3KzvjK/nQvGV/Zj5EdAAD//+zYMQEAIAzAMP+ucbDCXmIhZx6ELPu9lWUvIcveQpa9hCx7CVn2 - ErLsJWTZS8iyh5BlLyHLnkKWfRay7Hu3T5f9AAAA///s3DEKgDAMheETBaQmLT2OsXTz/mt1c5HX - 2kGQd4T8ZAjfkMlyVPaJclT2l+2o7B2Fjv8re6lJNdoimswl5Gzi7kXOe1x9q7Gs9Zr9ruzhUdl3 - rOz8yj68l/zKPliIyt7fisqOClHZcSEqOypEZUeFqOyoEJUdFfpE2RsAAAD//+zcIQ6AMAyF4bvg - m7AuYz1Py+a4v8VgMJR1CvJ81Z+qT7xPFYKyO4Wg7F4hKLtbCMr+XAjKHu8GZY+Ug7JPlIOyB9tB - 2V8UOv6v7FkslWqduGkhYa3Eec9ktop2Ed20LXdlTzPKjlX24b/EKvtgISj7dXICAAD//+zYMREA - MAgAMf+ucdDvsRILGfNhZdlLyLK3kGUvIcteQpa9hCx7CVn2ErLsIWTZS8iyp5BlfwtZ9r2bZd/I - nVz2AQAA///s3DsOgDAMg+ETRUoghFynVLBx/5WdxS0PqYOv8MvTN/irclT2h+2o7A2Fzj+VfQRj - N89c6lwkLEIm31RscZddI/Wwmmu5/8XoG2PnK3v3KvnK3lmIxt7eisaOCtHYcSEaOypEY0eFaOyo - EI0dFaKxo0LDGPsFAAD//+zcPQqAMAyG4RMFTForXqc/2bz/qo6KmBoXkW/M+pLpIeSrhWDsViEY - u1kIxn5fCMbu7wZj95SDsb8oB2N3toOxdxRa/m7siUViaJV0mANlDkpT3sYac+NSRlY53bGzuo09 - keAn+7Ot3JMdtxLGbhWCsfe3grFfFFoBAAD//+zYMREAIAwAMf+uccBfy0gsZIxjHwo59hJy7CXk - 2EvIsZeQYy8hxx5Cjr2EHHsKOfa7kGPfuzn2jZxjf5D77dgPAAAA///s3DESgCAMRNETxUEiAY6D - DKX3b9XObmHU0WLblH9SvWIfa0dj7yi0vWnsXqek+j2zW15bTEHcnIpozU68RROrObpy3MJyasCV - 2dsdZuco+/BjcpR9sBCZvb8VmR0VIrPjQmR2VIjMjgqR2VEhMjsqRGZHhcjsoNCvmX0HAAD//+zc - MQrAIAyF4RMFYiMET1NqtJv3X7sX2qil4PCu8JPpI7wlCoHZ3UJg9vdCYPb5bmD2mXJg9g/lwOyT - 7cDsHYXan8y+yCh7UMshnVSLKCVTpa0WpiPGykGMLd2f2cujsmdf2THKPnyXGGUfLARl728FZfcK - Qdn9QrJfAAAA///s3LENADAMw7D/v+4BBWrEHcMXNHLQXWi1spuyjwtR9lSIsqdClD0VouyhEGVP - hSh7LETZ34Uoe9+NsjflKPtHOcpettuj7AcAAP//7NyxCcAwDETRiQSykZE9ThByl/3bkC7dxbhK - uBU+KsQrbqPQ+X9lt+xHadXFc5rMVlJiWEp1bT60z9D7gXoqe+woO2fZl++Ss+yLhajs71tR2VEh - KjsuRGVHhajsqBCVHRWisqNCVHZUiMoOClHZUaGPKfsFAAD//+zcMQ6AIAyF4RM1oYqRHgcUNu+/ - GjYHY6HE6PCO0D+dvuF9UQjK/lwIym7vBmW3lIOyD5SDshvbQdkbCh1vKvsfjL1M2WVJVdY5kLB3 - 5EMW2ue4bp5jkKVefjX2NGDsjFn23q9kzLJ3FoKxt7eCsWuFYOx6IRi7Vuje2E8AAAD//+zaMQqA - MBBE0RMtBDSu1wmadN6/NZ2dIyuBFP8Kb7rPIPQI0diVEI1dCdHYlRCNXQjR2JUQjV0K0djfhWjs - cTcae0SOxv5DjsYetKOxfxC6Rjb2OZ7sZT097XWz7M2tHX2J4nWxGwAA///s3LEJACAMBdGZLIJx - nOD+O9jbnGIl3ApHqkf4PWbOGhmt75/s9aLsrrJf36Wr7JeFVPbzVio7FVLZuZDKToVUdiqkslMh - lZ0KqexUSGWHQio7FVLZsdD/yr4AAAD//+zdMQ6AMAiF4RORFCIlHEfU0fuv7i60NC7mXeEP0zc8 - vi0EZa93g7JXykHZF8pB2YvtoOwDhe7/K7vsYsdmTME9SHtvJBaN1OW82EPZ3r9PfUXZsco+fZdY - ZZ8sBGUfbwVlzwpB2fNCUPasEJQ9KzSq7A8AAAD//+zdMQ6AMAxD0RNFShAg9ziloRv3X9kZCEq3 - 4iv88Q32fwtR2aNCVPaoEJU9KERljwpR2cNCVPb3QlT2fDcqe6YclX2gHJU92Y7K/qHQNb+yo+Gw - rbh4Qxf1vcqqaKKLW9dyVtjz+xQjyj7zKvsNAAD//+zcsQ0AMAzDsP+/7gdRO2Qp+ALhSYOXdumV - /VFIZb+3UtlLSGVvIZW9hFT2ElLZS0hlLyGVvYRU9hBS2UtIZU8hlX0W+rOyHwAAAP//7NwxCsAg - DIXhEwWUaMx11Dj2/mvp1qVELXQo7wo/WfIN75tuUPadclD2F+Wg7JvtoOwThY7/K7v1mGNWoyQt - kGjLxGUM6lLNmFNivV7du7KXR2WvrrIH7LKv3mXALvtiISj7fCsou1cIyu4XgrJ7haDsXiEou1do - X9lPAAAA///s3LENgDAMRNGJLBnFhGQcOwpd9m/pKTA4XbgVvq56xf2lEJTdKwRldwpB2b1CUHa3 - EJT9uRCUPd4Nyh4pB2WfKAdlD7aDsr8oNNZX9mJVUhKmxo3pzJ1Ji260W7NcRfqh91/2PKPs+GX/ - vMulf9kvAAAA///s2MEJACAMALH9t3aDngj9SFbIMxtClv3eyrKXkGVvIcteQpa9hCx7CVn2ErLs - JWTZQ8iyl5BlTyHLPgtZ9ne3v5b9AAAA///s3DEOgCAMheETkVgMyHVA2s37r8rm9kCMg3lj1z9d - +EL6VTkq+0Q5KvvDdlT2jkLH/5W9eJFQJbkttb/ssarLq17jkouPZqZ7e6bclT3MKDvvsg/vJe+y - Dxaisve3orKjQlR2XIjKjgpR2VEhKjsqRGVHhd5U9hMAAP//7NyxDcAgDETRiZAiwBDGwXLo2L9N - 6hRxMJ11Kzxd9YvzKYTKrgihsmtCqOyqECr7txAqu90Nld0ih8q+IYfKbrRDZf8hNP1XduLYeucS - an0Y2kkUMqcUhlxHkTiI5P0Yk3cqO37Zl3eJX/ZFIe+V/QYAAP//7NhBCQAwDAAx/67noAelrxEL - eebSyrKXkGVvIcteQpa9hCx7CVn2ErLsJWTZQ8iyl5BlTyHLPgtZ9r2bZd/I/bTsDwAA///s3TEO - gCAQRNETbaILG+A4C4bO+7fGUptBEi3MXOFnqtfM5+Wo7JPtqOwDhfb/K3vwlpdNi7TasySNJlaj - y5q826reNNzfT3Va2U20UNkf7fJMdt0llR0VorKPt6Kyo0JUdlyIyo4KUdlRISo7KkRlR4Wo7KjQ - u8p+AAAA///s3DEOgDAMQ9ETRUoboPF5KGzcf2WGgZZWSAh8hS9Pb/AHClHZS4Wo7MVCVPbrQlT2 - 9m5U9pZyVPaOclT2xnZU9opC25PK/gZjV49qDhcNHsUwusQBWTDnBTkA63T+i7EeY0809rurTMdV - 0thLhWjs9a3+Y+w7AAAA///s2DENACAABDH/rnHAJc9GaqFjVyHH3kKOvYQcewk59hJy7CXk2EvI - sYeQYy8hx55Cjv0u5Nh3N8e+yDn2B7kvjv0AAAD//+zYMQ6AIBBE0RORrLuAchwkbuf9W7XTwgxW - JGb6qX6meiPa0dg7Cu1/N/Zk2Vd3D03l3FqqYRbRoNJMtyW3Wi4suRv79GrsBRt7pLF/fWV8vpLG - jgrR2Ptb0dhRIRo7LkRjR4Vo7KgQjR0VorGjQjR2VIjGDgoNMfYDAAD//+zYuxGAIBCE4V7MbwZu - eJZzJ5rZf6opiSBE6rbw70bfqwrB2JuFYOz3hWDs491g7CPlYOwT5WDsg+1g7B2Fjq8bexTR4oNQ - WF0h9TnRvsk1BkdNybrM1iy1sZsZY2cY+9NXcv1KGHurEIy9vxWMvVXo78Z+AgAA///s2DERACAM - ADH/rnHA98rGxULGTIQcewk59hJy7CXk2EvIsZeQYw8hx15Cjj2FHPtdyLHv3Rz7Rs6xP8g59qXd - D8d+AAAA///s2jEKgDAMheG7uAdakzT2ONLSzfuvzro8RQSRd4WfTN/L64W2vxu71TklC5Xutkpk - L1KbFXE1Xbo2i+jTwdjTeGDsmX/sd68yn5YfGjsqRGO/3orGjgrR2HEhGjsqRGNHhWjsqBCNHRWi - saNCNHZQiMaOCn3I2HcAAAD//+zcMQqAMAyF4RMFWmvUHKct7eb9V9FJFExNF5F3hZ9MX0K+WgjG - /lwIxm7vBmO3lIOxd5SDsRvbwdgbCq1/N/a8SBqqdyQSHAXOaX/KHsnnyHMoPI0HBZyNvfQYO+7Y - X0/lZfMDY9cKwdjbW8HYtUIwdr0QjP1eaAMAAP//7NgxEQAgEAMwxfhfcUChv3GxkDGO/U3IsSch - x56EHHsScuxByLEnIccehRz7Wcix926OvZFz7AM5x17aOfYLofXnsW8AAAD//+zYuw2AMAyE4V3o - LRkHIjxOHs7+I0CHUh2IhuJW+HXNfbexe2+WophYzof0NKpcV6XKrmHbWEdpUZbZ2PsHY1ensb9c - pfq8Sho7KkRjf96Kxo4K0dhxIRo7KkRjR4Vo7KgQjR0VorGjQjR2UIjGjgrR2GGhvxv7CQAA///s - 3TEKgDAMheETBWyrJh5HY7t5/1UdBHFJTQdB3hV+3pJvydeFYOz+bjB2TzkYe0M5GLuzHYy9otD2 - d2OfJ0mqR3pJYyCVsFI/xEiZ05ILd1HkPHTvxq4txs4w9rerfHzihbFbhWDs9a1g7FYhGLtdCMZu - FYKxW4UuY98BAAD//+zcMQqAMAyF4RMFgk1ic5xWHL3/WtwKopE6qe8K//T4htcX+rWxHwrB2KNC - MPaoEIw9KARjjwrB2MNCMPbrQjD28W4w9pFyMPYH5WDsg+1g7DcKbV83djOVmp3Jigr56pV4UqPk - i7Al1zTvE7w39nJq7Dk29nf/sTcAAAD//+zYsQkAIBDAwKXcfzZrm4+dCLdCSHVPrlznlYy9CjH2 - +1aMvQox9i7E2KsQY69CjL0KMfYqxNirEGOPQoy9CjH2LMTY50K/GvsGAAD//+zcMQ6AIAyF4RM1 - qVWKHMdQ2bj/ahx1sAiLMe8Kfzp9eekXusHYe8rB2AfKwdg728HYGwrVvxt7CTHtHIQs87ljj4Fs - nTfirJOaLGrlvmNPI8aOf+yvr1KuVwlj9wrB2Ntbwdi9QjB2vxCM3SsEY/cKwdi9Qs/GfgAAAP// - 7NwxDoAwCIXhE5E0BJQep6269f6r6aiDKE6ad4U/b/pCQCEYu18Ixu4UgrF7hWDsbiEY+3UhGHu8 - G4w9Ug7G/qIcjD3YDsZ+o1D/u7HrtG4qViiXthCnOQ9or1S1JTax3PR8x25hYxdi/GN/tsqR7LjK - Lxr7DgAA///s2MEJACAMALH9t3aDnvgoCFkhz+wKOfZ7K8deQo69hRx7CTn2EnLsJeTYS8ixl5Bj - DyHHXkKOPYUc+yzk2N/dfjz2AwAA///s3DkOgDAMRNETWQpbbI4zCdDl/i2io3OWAgnNFb5cWK+Y - 78vR2AfK0dg729HYKwqVvxs7LoWtAQKbIDHPKkn3IAdO2zQvlux5Dt7GriPGzj325qvkHntjIRp7 - fSsau1eIxu4XorF7hWjsXiEau1eIxu4V6jH2GwAA///s3LERgCAQRNFezG8GOEAoR+TI7D81JvEU - MtwW/mz0gv1XIRi7UgjGrhWCsauFYOzPhWDs491g7CPlYOwT5WDsg+1g7C8KXasbezCOfSoniVim - UHwim1si4w7hbDm2vW69sccZY8cf++dV+n6VMHat0DrGfgMAAP//7NhBCQAwDAAx/67noAeFPgax - kGfurRx7CTn2FnLsJeTYS8ixl5BjLyHHXkKOPYQcewk59hRy7LOQY9+7OfaN3J/H/gAAAP//7Nwx - DoAgEETRu9hvosiCHIcNa+f9W2sKM2gsjJkr/Ez1ivlIORr7w3Y09oFCx9+N3UIuzdck6rFIsmiS - Nm/i+2xLrB6a1qk3dr009oyNnX/st1cZ+lXS2FEhGvt4Kxo7KkRjx4Vo7KgQjR0VorGjQjR2VIjG - jgq9Z+wnAAAA///s3DEOgCAMheG7uDcRStQeB6ps3n/VlcUibM07Qv+86RvqtBCM3SoEYzcLwdi/ - C8HYx7vB2EfKwdgnysHYB9vB2DsK3d6NnfW9/rgynWtmSroJadiZihaJwrXGpEtr7GnC2AP+sf9d - ZZB2lTB2qxCMvb+VT2N/AAAA///s2MEJACAMALH9t3YDD1o/QlbIMy+FHHsLOfYScuwl5NhLyLGX - kGMvIcceQo69hBx7Cjn2u5Bjn7s59omcY1/IfXfsBwAA///smUFvgjAYhv/LYri5tKAYDmQZKg42 - qu36gXJDYFsF0QlGt1+/mg2NyTZNdlmWHfq1Td5Dv7dPL29/i3f/GfsZDs3/esaOk46md/SoGem7 - gjq4qXZaRjNWY3061VScpujiOGPXTmXs0oQi3VY/weWqTt8PBCh1d+ap3pSDc99oa5Hynuibx3gp - ZRWtqvqXwHxHRGKKuURDiz7Kpew3VNIiORZiVcL8iXAebbt7EuRFH67cxDvNTtCrefhS1JCqkdze - i9fUbCPlxFtqlJlY8kWWFmaglSIZGKswaImhcFaQ5f1h0aYRXjIKuEpv/F4QkG6CbIvCbhBrxNEM - cqp7ggBknu7x642DXWC95foWsxLQBie+5XrqpEVR7oW9eEXABT5+ImnmY+4zPwH8HNsh8fugyb1N - EAY2dy3KkeGgnPuzxYucbf66UAkHlbwQRtFEl/MA+p5OA9iw/ZlsNxwns4+1RYPYcMRGxHN7Haog - hkUppkG+dmYL4UE4YNk5YyLuum41GT9KX9wBE67x4EuS3wAAAP//AwC3u7JhmpQEAA== + string: '{"value":[{"sceneDateTime":"2020-08-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"725c3f47-a21e-e8ca-3690-bcfd291e6e47","eTag":"0200859e-0000-0600-0000-60cfd9c50000"},{"sceneDateTime":"2020-08-22T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-22%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ab02fda4-1b18-da5b-82f6-260b8f76eb56","eTag":"0200849e-0000-0600-0000-60cfd9c50000"},{"sceneDateTime":"2020-08-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3ba08b5f-a32c-9889-d1a5-9fd068e5540b","eTag":"0200839e-0000-0600-0000-60cfd9c50000"},{"sceneDateTime":"2020-08-17T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-17%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"a470e8d0-0cae-9157-d205-d1e0c23f9979","eTag":"0200829e-0000-0600-0000-60cfd9c50000"},{"sceneDateTime":"2020-08-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3db8a18a-afc4-a37e-d062-42ec0418bc97","eTag":"0200819e-0000-0600-0000-60cfd9c50000"},{"sceneDateTime":"2020-08-12T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-12%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"07a81086-e3b5-e325-d76c-a397be3c8156","eTag":"0200809e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-08-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"a3e6c139-ae96-3203-4cea-2be00027a6a3","eTag":"02007f9e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-08-07T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-07%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"7de21f5d-eb65-0efc-04d7-46cb98dd6dfb","eTag":"02007e9e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-08-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"dba91a57-12b8-47b2-97bc-fdf8d4f921e4","eTag":"02007d9e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-08-02T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-08-02%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"03cef2b2-76cf-e7dc-0356-c60940aebd54","eTag":"02007c9e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-07-31T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-31%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"c8914c1e-52bb-994b-8496-c21fe837c8ed","eTag":"02007b9e-0000-0600-0000-60cfd9c40000"},{"sceneDateTime":"2020-07-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3bc3f8bb-5c22-56ce-7ee6-8bae5004ac2a","eTag":"02007a9e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-26T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-26%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"8674f7b2-20bb-024f-1f24-41a3cbb90321","eTag":"0200799e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"19c476e5-7fec-b0e6-1f4d-3d86ffbb85a5","eTag":"0200789e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-21T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-21%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"61314c90-abe6-c01c-bd65-444dcebf07d5","eTag":"0200779e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e96be739-8a71-6812-6d2d-0dd19c2d12be","eTag":"0200769e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-16T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-16%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"a9c6ad55-680e-0124-0ebe-4e06ea44e865","eTag":"0200759e-0000-0600-0000-60cfd9c30000"},{"sceneDateTime":"2020-07-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d522a767-6770-7bf7-9261-72b566d00fa8","eTag":"0200749e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-07-11T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-11%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b592583e-2f20-ea4f-6f5f-ecaa953f12c3","eTag":"0200739e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-07-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e297ffac-b5ba-8d43-d514-0100c89f8709","eTag":"0200729e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-07-06T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-06%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"2d1f75f3-6317-1e2a-9a02-afe77a42f03d","eTag":"0200719e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-07-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"5fac5502-9abe-0b81-fe2e-17f9dd239767","eTag":"0200709e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-07-01T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-07-01%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6a9245f6-87d0-c29b-0b05-c610daef8f2a","eTag":"02006f9e-0000-0600-0000-60cfd9c20000"},{"sceneDateTime":"2020-06-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":23.833,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"50fdf3e1-79cb-f907-1578-08ae9b3f0c35","eTag":"02006e9e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-26T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-26%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6b41dca3-550a-1cdf-edf8-d4c3234f00d2","eTag":"02006d9e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"df88651f-fe98-83e1-cced-86373615ca91","eTag":"02006c9e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-21T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-21%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"392a4481-f1ba-55d1-8504-64034f012a77","eTag":"02006b9e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"2f25dbbf-bdb5-a502-1219-2669043b0599","eTag":"02006a9e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-16T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-16%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e0c1ef11-4956-9489-fee9-e6ce244cb8fe","eTag":"0200699e-0000-0600-0000-60cfd9c10000"},{"sceneDateTime":"2020-06-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"9e784c0e-6a34-2d7d-c90e-f5aec3c83a69","eTag":"0200689e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-06-11T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-11%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ce8ef334-9e77-852e-c04d-098bbfbc07e2","eTag":"0200679e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-06-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"689865e0-169b-6191-8fb2-366cdb36f30d","eTag":"0200669e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-06-06T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-06%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"f5d69a26-8bd8-c2d2-9835-3e5620ab0e6d","eTag":"0200659e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-06-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d61983b8-60d1-3d97-787a-103803a30c1a","eTag":"0200649e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-06-01T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-06-01%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"814e8408-5977-6aaa-0326-5b28637a2d85","eTag":"0200639e-0000-0600-0000-60cfd9c00000"},{"sceneDateTime":"2020-05-29T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-29%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"7fd1522d-524b-892b-dd15-7f3918b979ac","eTag":"0200629e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-27T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-27%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"060caf1f-46df-25b6-2a04-f675ed4705e8","eTag":"0200609e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-24T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-24%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bca1e6ac-e69f-545f-05f2-80e3fdfc11c7","eTag":"0200619e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-22T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-22%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"7ffb5a47-6d00-0510-4046-a2817d08dca2","eTag":"02005f9e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-14T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-14%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"18fc4c9b-db7f-79e0-0892-eed88df6c351","eTag":"02005d9e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-12T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-12%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"cb87b74b-21f7-9c1a-06f4-ae2fc3764cf5","eTag":"02005e9e-0000-0600-0000-60cfd9bf0000"},{"sceneDateTime":"2020-05-09T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-09%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b6bc570b-262b-6719-3c09-0d53cd0002ae","eTag":"02005c9e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-05-07T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-07%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"5f6b4f4f-2ee2-5484-a9ca-9fe423aa8df1","eTag":"02005b9e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-05-04T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-04%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ffa6b208-9c44-288e-ec6d-28bcf4f2b9eb","eTag":"02005a9e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-05-02T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-05-02%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"149033fc-6a3f-5196-c4fa-c6685f8a4be8","eTag":"0200599e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-04-29T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-29%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"23f44f9b-083f-0ee3-d60c-2a5a61eb12b2","eTag":"0200589e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-04-27T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-27%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"8e888045-840a-3d3a-7913-81298be2ce1f","eTag":"0200579e-0000-0600-0000-60cfd9be0000"},{"sceneDateTime":"2020-04-24T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-24%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"9693ee89-0848-355d-2d9a-398ff776e5a5","eTag":"0200569e-0000-0600-0000-60cfd9bd0000"},{"sceneDateTime":"2020-04-22T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-22%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b326c4c8-4238-3597-5a03-1b00e92ad40b","eTag":"0200559e-0000-0600-0000-60cfd9bd0000"},{"sceneDateTime":"2020-04-19T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-19%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"6d6d37ab-dc78-865b-5579-c33e534b2634","eTag":"0200549e-0000-0600-0000-60cfd9bd0000"}],"nextLink":"https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00%3a00%3a00.000Z&endDateTime=2020-12-31T00%3a00%3a00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDYTBXZ0VBQUFBQUNBPT0jUlQ6MiNUUkM6MTAwI1JURDpuK1RsU0w1dVBJM2Y4Q0lMZDcrNUJUTXhNekV1TVRVdU1qcFZNVEU3TVRFN01URmJBQT09I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6NyNGUEM6QVoxYUFRQUFBQUFJSzFzQkFBQUFBQWc9IiwicmFuZ2UiOnsibWluIjoiMUZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYiLCJtYXgiOiJGRiJ9fV0"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:05:02 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:19 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '255' status: code: 200 message: OK - url: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWkRCd0FBQUFBQUNBPT0jUlQ6MSNUUkM6NTAjUlREOm4rVGxTTDV1UEkzZjhDSUxkNys1QlRNeE16RXVNVGt1TXpoVk1URTdNVEU3TVRGYkFBPT0jSVNWOjIjSUVPOjY1NTY3I1FDRjo3I0ZQQzpBZTBHQUFBQUFBQUlld2NBQUFBQUFBZz0iLCJyYW5nZSI6eyJtaW4iOiIxRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRiIsIm1heCI6IkZGIn19XQ + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer-922&boundaryId=satellite-flow-async-test-boundary-976&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWUVXd0VBQUFBQUNBPT0jUlQ6MSNUUkM6NTAjUlREOm4rVGxTTDV1UEkzZjhDSUxkNys1QlRNeE16RXVNVGt1TXpoVk1URTdNVEU3TVRGYkFBPT0jSVNWOjIjSUVPOjY1NTY3I1FDRjo3I0ZQQzpBWjFhQVFBQUFBQUlLMXNCQUFBQUFBZz0iLCJyYW5nZSI6eyJtaW4iOiIxRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRiIsIm1heCI6IkZGIn19XQ - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWWNCd0FBQUFBQUNBPT0jUlQ6MiNUUkM6MTAwI1JURDpuK1RsU0w1dVBJM2Y4Q0lMZDcrNUJUTXhNekV1TVRVdU1qcFZNVEU3TVRFN01URmJBQT09I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6NyNGUEM6QWUwR0FBQUFBQUFJZXdjQUFBQUFBQWc9IiwicmFuZ2UiOnsibWluIjoiMUZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYiLCJtYXgiOiJGRiJ9fV0 + uri: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDYTBXZ0VBQUFBQUNBPT0jUlQ6MiNUUkM6MTAwI1JURDpuK1RsU0w1dVBJM2Y4Q0lMZDcrNUJUTXhNekV1TVRVdU1qcFZNVEU3TVRFN01URmJBQT09I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6NyNGUEM6QVoxYUFRQUFBQUFJSzFzQkFBQUFBQWc9IiwicmFuZ2UiOnsibWluIjoiMUZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYiLCJtYXgiOiJGRiJ9fV0 response: body: - string: !!binary | - H4sIAAAAAAAAA+zQ3WrCMBQH8HcpbFdGk9aPIshwjl0pDPRqu5DYnmowTUqSKk727jvthXa07AUM - 5OLk5KT593cNTlyWEEy/roFNQMEbd7AROXaCkIaU0CFhkw2l03p9Br2gMPokUjA4sRKJ0VZnDttW - lyaprq1BOaFAbsPtMpzjicj5Ht6FBFs/k2G1FOqIowfnCjsdDGx6JA4sXtuTc1JawvoZN/kOuLN9 - /l0a6CtwgzqgHaT6rKTmaf3JF14IcgJjhVYzTMwIjUjESGHgJOD8XL32wd1hdsv6FGZ/I2LD4l9L - KRyQTOoz4faikjoRqXKA+Xdkp0uVcnPBoTsZbiiW1cIykfmW0b4TGXooXvMulivcGLBalg7TB1Oc - oD+9xxRKueM5t8cWU3WwwgNvdbOyiWwxrRdLL3QT2tGwJfRKQy/UEIo6hCIv1BAadggNvVBDaNQh - NPJCDaFxh9DYCzWEJh1CEy/UEIo7hGIvdBeKeVsonnuhuxBjbSHGHk3oFwAA///smE3LgkAUhf+L - 6wYcHZXayQuBUNCiVdBidMbeIT+gFKJf3x2nKDOb2rS6LhQ5R+bOw1mM5y2hFydGiifGOyE9yllW - qvkvJa8GsLS86eQlyMitx42fVdm+ARcbHcn1/3PbygSOVzsYekAOdJO4uNOR3CO5a+TG0V0zh+ye - 2BVcDXAt4gQJPRIqX1V1QGk50tRtbzVwfSh5A951MgdfVtSt+Kthxyt5AB4NWJwZfDBxYIb9Sp1k - MVBuEyZCB9m6EVjGbNviNyZwK+1LvakUeURJOM08woIgILnMBUkj6jOahb5PBXjlmu/A7erLo5Lo - J3HDjhTcQpczxtNIvzg6Lsexjp1hx/5tKlk/ldix2whhx/45K+zYbYSwY7cTwo7dRuinHfsFAAD/ - /+zYIQ6AMAxG4bvgm7SEju04rCmO+1uwGEo6Bfn9U09+nzwEY48OwdijQzD26BCMPTgEY48OwdjD - QzD250Mw9vw3GHvmHIx94ByMPfkOxv7i0PF3Y3eW4rUxla0zaW16BauQurmJ7r5Yn+7GLiPGPp8A - AAD//+zYMQ0AMAzAME7jD273jintbwpRLjP27ZXnvZKxVyHGPm/F2KsQY+9CjL0KMfYqxNirEGOv - Qoy9CjH2KMTYqxBjz0KM/VvoAgAA///s2DEOgCAMheETNSkGLT2OCN24/2rcdCrCYsw7wvvzpg/G - PtkNxj5SDsY+UQ7GPtgOxt5RqP3d2NPKSZZcKO4SiWswMtZIR5VUtqzB7Fp+N3aeMHZWGPvLV7I+ - Xwlj9wrB2Ptbwdi9QjB2vxCM3SsEY/cKfcDYTwAAAP//7NwxDoAgEETRE22CAyIcR7LQef/WGBsL - 4yo2xswVfrbZV8zHC9HYrUI0dqsQjd0oRGO3CtHYzUI09utCNPb+bjT2nnI09hflaOyd7WjsNwot - fzf2CXAOKUrUPEoJ1YuijuIVJWXMBWF7Ug7G3tqgcm7s0TZ27rE/vsp9wWgFAAD//+zYoQ0AMAzA - sP+/HitcWu4XrKBMlR57CXnseyuPvYQ89hby2EvIYy8hj72EPPYS8thLyGMPIY+9hDz2FPLY/0Ie - +9ntAQAA///s3DEOgCAMheETNSEIKT0OIG7efzVuOj20izHvCn/e0HxDaeyucjR2Rzka+8t2NPaJ - Qvvfjb2r5lZTEAttSIllE1tMJdexhl5UYzuPg6uxD4+x8x/741Wm+ypp7KgQjX2+FY0dFaKx40I0 - dlSIxo4K0dhRoc8a+wEAAP//7NwxDoAgDIXhEzVBKqQeRwts3H91xsFqWYx5V/jzpm94nykEY7cK - wdiNQjB2qxCM3SwEY78vBGP3d4Oxe8rB2CfKwdid7WDsDwr1vxt7ThI48EYqRalGbqQLZ8qtrDVJ - 2w+9GrvOGDv+2F+vMo6rhLFbhQZjPwEAAP//7NgxEQAACACh/q1t4J/OVGDEsa9Wjr2EHHsLOfYS - cuwl5NhLyLGXkGMvIcceQo69hBx7Cjn2Xcix/90c+0luAAAA///s2DEOgCAQRNG72G+yLESyxxEj - nfdv1cSGahArzVzhz1TvLkdjf1GOxj7YjsbeUWj/u7HnmqymEMQ0r5J0UZmzu2xeLJpVj8Gn1tjL - sLGfGyuN/dErr2TtK2nsqBCNvb8VjR0VorHjQjR2VIjGjgrR2FEhGjsq9DFjPwAAAP//7NqxCoAw - DIThJwo0h2j7OJW0m++/6qqgqe0gyE3Zf276yAeFaOxOIRq7V4jG7haisT8XorH3d6Ox95SjsQ+U - o7F3tqOxNxTa/m7saVbAFpOqSWUJWgVhhZQyWcqw41z/2POAsSPS2F+uEvG8Shq7V4jG3t7q1th3 - AAAA///s2KERACAMALGV2H86FLZ/VGeFyBA67yUcewk59hJy7CXk2EvIsZeQYy8hxx5Cjr2EHHsK - OfZZyLHv3Rz7Rs6xf8pdAAAA///s2LENwCAMRNFd0lOBFXsdDO6yfxvKUERHUqJb4fsK6z3L0dh/ - tqOxLxS6djf23Et4FU3RtaTcximqqyU9zUN9PFSlHbOx26uxCzZ2obF/XaXMq6Sxo0I09vVWNHZU - iMaOC9HYUSEaOypEY0eFaOyoEI0dFdrC2G8AAAD//+zYuw2AMAyE4YkskYTEZhwUJx37t4gOGpyH - aNCt8Oua+74sBGO3CsHYzUIw9vdCMPbxbjD2kXIw9olyMPbBdjD2hkLH3409JsdpFSG/cybHUUiz - OlJZ2G+VS9Hrxt2NXWaMPcDYe1cZnquEsVuFYOztrWDsVqFOYz8BAAD//+zYMREAIAwAMf+uccD3 - ykgsZMyXQo69hBx7CTn2EnLsJeTYS8ixh5BjLyHHnkKO/S7k2Pdujn0j59gf5Bz73O4AAAD//+zc - sQ2AMAxE0YksJTGyyTgoJl32bxEdVEdEF90KX9f4FaaxzxYaqxt7pKzWc4hrVDm7hTQru/SteVXz - KMd9pDyN3f8YO/+xT68yvVdJY0eFaOzfW9HYUSEaOy5EY0eFaOyoEI0dFaKxo0I0dlSIxg4KrWzs - FwAAAP//7Nw9DoAwCIbhE5GUBkt7HGtk8/6rzg7Sv8l8V3hhekJYUwjG7haCsX8XgrGPd4Oxj5SD - sU+Ug7EPtoOxNxS6/m7sKrrnuBXKxQLJeShJfeZhLKHGpCb1fceeJoyd8Y+9dysZ/9g7C8HY21vB - 2L1CMHa/0AJjvwEAAP//7NixDcAgEACxibN/i5QBOPR0yCu49ONCjr2EHHsJOfYScuwl5NhDyLGX - kGNPIce+F3LsczfHPpFz7Bdyjn1o59gPhL6/6hYAAAD//+zcMQ6AIBBE0bvYb6IobDwOAve/ArRW - I7HTf4WfLTavmA8be9zXUI5SLaTQrGZ38y1V8zx+qdOvNp7O5W7s8Y2xs8c+fZXssU8Wwtift8LY - VSGMXRfC2FUhjF0VwthVIYxdFcLYVSGMXRTC2FWh/xl7BwAA///s3bENgEAIheGJKEQkMo4B6dy/ - dQCj3J2xMW+FP1Rf8eguBGN/LgRjH+8GYx8pB2N/UQ7GPtgOxt5Q6Pi7sXOGhaxJaumkzE626Eyy - 6xaTR+jl56ncGrvUxo499u6rxB57ZyEYe3srGHtVCMZeF4KxV4U+M/YTAAD//+zYwQ3AIAgF0IlI - tGAt64A9uv+1AzQpht7MX+Ed3zZCOPZICMceCeHYIyEceyCEY4+EcOyhEI79WwjHnnfDsWfkcOw/ - 5HDsSTsc+4LQ3P3YfZxV2JTEipGL3OTchK7e9KijdH0dOy8f+wMAAP//7NwxDQAgAANBS1jCvwkS - NsLwsJ+FT6cbOm9j98f+vcpxrpKxVyHG/t6KsVchxt6FGHsVYuxViLFXIcZehRh7FWLsUYixVyHG - noUY+y60AAAA///s3LsNgDAMhOFd6C05cRKyjmWRjv1bagrkPASiuBV+XfUV91gIxj7fDcY+Uw7G - vlAOxj7ZDsbeUeh809gD/0HZd218pJJJas4UYglkZomkiZpyVRHb7soeF5Sd8cg+ukvGI/tgISh7 - fysou1cIyu4XgrJ7haDsXqFPlf0CAAD//+zcMQ6AMAiF4RORtMUEOA/azfuv1s1JDI2JJu8I/DB9 - A78sBGWPCkHZo0JQ9qAQlD0qBGUPC0HZ7wtB2fPdoOyZclD2iXJQ9mQ7KPuDQvubyv4FY9cmwuJK - zXulzmpkRYzYl3WrYzNczsmvxl5njB0f2cOrPAAAAP//7NyhEQAwDAOx/bcOL8g3XCvojB74XaVH - 9qOQxv5vpbGXkMbeQhp7CWnsJaSxl5DGXkIaewlp7CGksZeQxp5CGvsupLEvbgMAAP//7Ny7DYAw - DIThiSwZOyHxOlihy/4tPY3zaBC6FX5d9RUXdIOxr5SDsW+Ug7EvtoOxDxTqfzd2S5kzi1Ipt5Jb - rSQtN/IjXSZ+qsn7LYZ3jB2P7NOrxCP7ZCEY+3grGHtUCMYeF4KxR4Vg7FEhGHtU6APG/gAAAP// - 7NgxCoBADETREwV0FyQ5jhuTzvu3sp0WGo2NyFzhM828jxeCsUeFYOxBIRh7VAjGHhaCsV8XgrHn - u8HYM+Vg7C/KwdiT7WDsNwqtfzd2ZVmmRQsJs5OpCll1p7mVkQdrVaXfuJ2xm6eNvVARGPujVfZk - x1XC2E8KbQAAAP//7NihEQAgDACx/bfG4eB71VkhMlfIsc+tHHsJOfYWcuwl5NhLyLGXkGMvIcde - Qo49hBx7CTn2FHLsfyHHvndz7A+5AwAA///s2jEOgCAQRNETkcBCXDiOkqXj/q22mugglTFzhZ9p - 9mWf71wa+3w5GvtkOxr7QKH+e2MPMaVm4qpPRwGpxXlt4sJmeV0klKyXP3azW2OP2NiVxv52lXpe - JY0dFaKxj7eisaNCNHZciMaOCtHYUSEaOypEY0eFPmvsOwAAAP//7N0xDoAgEETRE20iMFHOI7ud - Vtw/MZZauAiNMXOFn6leM58pRGN3CtHYvUI0drcQjf25EI29vxuNvaccjX2gHI29sx2NvaHQ/ndj - t4TldHSZkFWiGSTkoKJIGXFVK/Pt89R0xNhBY3+7SlxXSWP3CtHY21vVsh0AAAD//+zYMQ0AAAjA - MP+uUQBLuGuhZx37KeTYW8ixl5BjLyHHXkKOvYQcewk59hBy7CXk2FPIsd9Cjv3v5tg/co59lRsA - AAD//+zYsQ2AMAxE0Yks2VZI5HEcoGT/FtFBdQEq0K3w9auHy9HYH7ajsQ8U2v5u7KbFpqhFrC8p - q5qLRUspvVfXzFbjwJKzsc9vjN1p7Hev9OuVNHZUiMY+3orGjgrR2HEhGjsqRGNHhWjsqBCNHRWi - saNCHzP2HQAA///s3D0KgDAMhuG7uAcSaTU9Tv9G77+KYwdNbcFBviu8fNNDyPeFYOxWIRi7WQjG - /lwIxj7eDcY+Ug7GPlEOxj7YDsbeUej4u7GXquvu/HXHnoR000Askimqz64wuxzD0hp7mjB2wT/2 - t6uU0K4Sxm4VgrH3t4KxW4Vujf0EAAD//+zYoQ0AMAzAsP+/HhuaGqmj5kGGIXSFPPYS8thLyGMv - IY+9hDz2EvLYQ8hjLyGPPYU89lnIY9+7eewbOY/9Q85jfyUHAAD//+zcsQ3AIAxE0YksAUIQxsFg - uuzfRunSnVE6dCt8ubBecY52NHZHoft0Y9cWw9TaxNpIkksY0vMyGXPZVYtFTe9z8DX2/sfYuce+ - fZXcY98sRGP3t6Kxo0I0dlyIxo4K0dhRIRo7KkRjR4Vo7KgQjR0UOsPYHwAAAP//7NyxDYAwDETR - iSwlTgRhHGxDx/4tooMCnATRoFvh6wrrFf6yEIzdLQRjfy4EY+/vBmPvKQdjf1EOxt7ZDsZeUWj7 - u7GHJZnyaFTWOFFhjSRigVhY82AS0nyc4GdjL7fGzr6x4x978yrzdZUwdq8QjL2+FYzdKwRj9ws1 - GfsOAAD//+zYQQ0AIAwAMf+uMbBwyXhSC332SyHHXkKOvYQcewk59hJy7CHk2EvIsaeQY78LOfa9 - m2PfyDn2BznHvrRz7IPQAQAA///s3LsRgDAMg+Fd6H3Hw4ZkHGLH+49AnUpwdKAV/lP1Ffqdsfvs - NbNXMW0h3aJIc1XJbbGzme5eYhqN/Xhj7Pxjf7zKdVwljR0VorHfb0VjR4Vo7LgQjR0VorGjQjR2 - VIjGjgrR2FEhGjsoRGNHhb5s7BcAAAD//+zcuw3AIAxF0YmQjMgHz4Nxl/1bki5pYmKoorfC1Sus - U3hSIRj7eyEYu78bjN1TDsY+UA7G7mwHY+8odPzd2GmNmqVq2IlT0KXymYFjkFIla+EkfJ1Pd2Pf - Boyd8I/96yqJn6uEsVuFYOz9rWDsViEYu10Ixm4VmmDsDQAA///s2LENgDAMRNGJLBEnBjEOjpOO - /VsQFQXCyHTRjXC/uzd4IRi7VwjG7hWCsXuFYOxOIRi7VwjG7haCsb8XgrHHu8HYI+Vg7D/KwdiD - 7WDsHwrtoxs7Zy1sutDaqpyzc6OplURSk85s1rfrpNyNXR6M/QAAAP//7NwxEQAACAMx/66R8DAT - C3+dMnRt7P7Yz6v0x34sxNj3rRh7FWLsXYixVyHGXoUYexVi7FWIsVchxh6FGHsVYuxZ6J2xDwAA - AP//7NwxDoAgEETRE20CMgQ5jqB03r81dlotLLExc4WfafYVO1iIxm7vRmO3lKOxT5SjsRvb0dg7 - Cp1/N/YaXIqtrVLy4QULqnhXdompAltGCPE+457Gjhlj5z/24VXivUoau1aIxt7fisauFaKx64Vo - 7FohGrtW6DNjvwAAAP//7NwhEsAgDETRE2UmlITAdZhSx/1tdSuaTnDM+lVfPrHbFIKxe4Vg7F4h - GLtTCMbuFYKxu4Vg7N+FYOzxbjD2SDkY+0I5GHuwHYz9R6G5u7Hn0ZOcR6PBZlR7Y1KViwpX0yap - ML+/YvKKseOP/TG5AQAA///s2KERADAMA7Gduv9wJSUh/QwgbvRnpM0rz3wlY69CjH3firFXIcbe - hRh7FWLsVYixVyHGXoUYexVi7FGIsVchxp6FGPu/EGN/kwsAAP//7NgxDoAgDEbhu7g3sUIRr9MU - Nu6/GkcGU8TEwfxXeHnTN9ENxj5TDsb+ohyMfbIdjH2gUPu7sStrCDEeZCUrVRGjUncmU8vCKXGS - svTGvt0aOzvGzhRWGPujK69k/ZUwdq8QjH28FYzdKwRj9wvB2L1CMHavEIzdK/SxsZ8AAAD//+zY - MRKAIAxE0RNlBkOAcBxESu/fqp02RqHS2SPsn63eBwvB2K1CMHajEIzdKgRjNwvB2O8Lwdj7u8HY - e8rB2AfKwdg728HYHxRa/27sLXGWFB1VlkYSiiO/1JmK+hxUJg3xWH42djdg7Kww9pevZL2+Esa+ - F9oAAAD//+zYoQ0AMAzAsP+/7i5opmLzIMOsQh77v5XHXkIeewt57CXksZeQx15CHnsJeewl5LGH - kMdeQh57Cnnsu5DHfnfz2F8yAAAA///s2DEOgCAQRNETbSJrdpHjIGjn/Vtjp9WANMbMFX6mmLzu - cjT2gXI09pftaOwNhY7fG3uqIU9eRX1exZbosmkx2VIuHmLdVa8Lfjf2MGLsRmPvXaU9V0ljR4Vo - 7O2taOyoEI0dF6Kxo0I0dlSIxo4K0dhRoU8Y+wkAAP//7NgxDoAgEAXRE20CrMByHBHouH9rrYmu - QmPMv8JkqvfpQjB2pRCMXSsEY1cLwdjvC8HYx7vB2EfKwdgnysHYB9vB2B8U6n839pIlOTaVanCZ - fFo9pbwIGYnBtiY2bidjL23G2BnG/vZKPl4JY9cKwdgvW+0AAAD//+zYIQoAMAzAwP//ujBbWKD6 - fNTJLCuPvYQ89hby2EvIYy8hj72EPPYS8thLyGMPIY+9hDz2FPLY/0Ie+93NY7/IeewvGQAAAP// - 7Ny7DYAwDIThiSKZPIg8jgVOx/4t0EF1ITQI3Qq/rvqKGytHYx9sR2PvKLT93djrpHOR5aivloO6 - WPC0ppDdmrRWYqwnllyN3d8YO//YH69S7quksaNCNPb+VjR2VIjGjgvR2FEhGjsqRGNHhWjsqBCN - HRX6sLHvAAAA///s3TkOgDAMRNETRSILWY7jGNJx/xZBiQROTIPQXOHL1SvG3ygEY5cKwdjFQjD2 - 50Iwdn03GLumHIz9RTkYu7IdjL2j0PZ3Y+c2E7XAhnJeTax8/DwN3rjqS0nRJ1cuP08XvjX2STR2 - iz320au02GMfLARj728FY5cKnca+AwAA///s2DENAAAIwDD/rnHAEnhroWcd+yrk2EvIsZeQYy8h - x15Cjr2EHHsIOfYScuwp5Nh3Icd+d3PsFznH/pBz7AMAAP//7NwxEoAgDETRu9inYCBKjgMGOu7f - WlstaKWzV/iT6k1mH7ajsU8UGr839mqe1U4pUU0shS7ajyZ5L7H1arkl3+7G7i/+2AP32Jevknvs - i4Vo7POtaOyoEI0dF6Kxo0I0dlSIxo4K0dhRIRo7KkRjB4W+Z+wXAAAA///s3TEOgCAMheETkZQo - RI5jQTbuv5puLloo0Ti8I/CH6Qt5fF0Ixq4WgrE/F4Kx27vB2C3lYOwT5WDsxnYw9o5C7U1j9/QH - ZacQlpJ8drnmKBsx5KJ8fZq2vZZ6cFlZzn5Vdp55yY5F9uF7iUX2wUJQ9v5WUHatEJRdL3Sj7CcA - AAD//+zYoREAIAwAsf23xlXyd0WSFSJDaIQsewlZ9hKy7CVk2UvIsoeQZS8hy55Clv0uZNn3bpZ9 - I2fZH+Qs+9Lu82U/AAAA///s3DEKgDAMheETBVpq03ocI83W+6/qptOriCDyhlzgJ0u+IWOF+pvK - /gVjL+vi+yTxqk3i5C5Ja5GsqXm2GMyOI+Vs7PMTY+dH9ttbGa5bSWNHhWjs461o7KgQjR0XorGj - QjR2VIjGjgrR2FEhGjsqRGMHhWjsqNA/jH0DAAD//+zdMQ6AMAiF4RM1oam+xuNgGzfvv+rsIIXG - xbwr/DB9A3xaiMb+XojGHu9GY4+Uo7FPlKOxB9vR2AcKnX83djQoji5J97WmjGVLRfSeB5ArSlPp - z6+nOmHswovs3q0UXmR3FqKxj7eisVuFaOx2IRq7Vchl7BcAAAD//+zcMQqAMBBE0bvYB1yzEHKc - sNl03r9VKztHVgTBOcL88hXzy0I0dlSIxo4K0dhRIRo7KERjR4Vo7LAQjf26EI093o3GHilHY39Q - jsYebEdjv1FofdPYv/EWI6OKi+6bjzv2UrKl1kzT4qZ9ePa51+lU9g0AAP//7NwxDQAhAARBV++H - 5v1LIAggCy0ZC5urpril7N9O2cffyu6T/XqXPtkvC1H281aUvQpR9i5E2asQZa9ClL0KUfYqRNmr - EGWPQpS9ClH2LPSssk8AAAD//+zcIRKAMAxE0bvgYzIJtMcp0Lje34JFpU1hBrEu+k/UE/tSISh7 - vBuUPVIOyj5RDsoebAdl7yjUvlT2Pxg7m2lhVUr7WqmKZmKpB53GebP7ylKWp7GnGWPHIvvwV2KR - fbAQjL2/FYzdKwRj9wvB2L1CMHav0LSxXwAAAP//7NyxDYAwDETRiVxYcmwxDEUkm44R2J2ko8LI - dNGt8KvTK275QjD2rBCMPSsEY08KwdizQjD2tBCM/b0QjL3eDcZeKQdj/1EOxl5sB2P/UOhc3di5 - cRxhSuxdyMTnMb0Ihat2GYtza5MCnsZumbHv1w0AAP//AwCDtwPD3e0DAA== + string: '{"value":[{"sceneDateTime":"2020-04-17T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-17%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"f164d8a8-7180-b919-f73e-5624072d1533","eTag":"0200539e-0000-0600-0000-60cfd9bd0000"},{"sceneDateTime":"2020-04-14T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-14%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e0adc751-b410-a871-b692-b727146138b3","eTag":"0200529e-0000-0600-0000-60cfd9bd0000"},{"sceneDateTime":"2020-04-12T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-12%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"df4cc28f-74e5-6240-bd71-352dfde33e38","eTag":"0200519e-0000-0600-0000-60cfd9bc0000"},{"sceneDateTime":"2020-04-09T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-09%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b34c8673-1b1a-050e-f971-50200b93556a","eTag":"0200509e-0000-0600-0000-60cfd9bc0000"},{"sceneDateTime":"2020-04-07T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-07%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"af7400ef-69c5-af68-92ce-48dcb7d75cf7","eTag":"02004f9e-0000-0600-0000-60cfd9bc0000"},{"sceneDateTime":"2020-04-04T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-04%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"5dc31573-6d3c-8cb0-9d96-007c00cb5984","eTag":"02004e9e-0000-0600-0000-60cfd9bc0000"},{"sceneDateTime":"2020-04-02T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-04-02%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"c02cfcbf-8d67-1db4-94f7-3fdbf5b79c30","eTag":"02004d9e-0000-0600-0000-60cfd9bc0000"},{"sceneDateTime":"2020-03-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"d5f15815-c93f-1167-66f0-2fc7933616b8","eTag":"02004c9e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bf25f3ef-306b-a50b-6001-ad78e0d044c8","eTag":"02004b9e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"1fe952d0-d167-141d-5ece-23fb76139155","eTag":"02004a9e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"9c5d0ca4-5492-ff5f-a84b-d4813c498c7e","eTag":"0200499e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"ed9d5d68-b1a2-dc62-0b67-04e80ae728ce","eTag":"0200489e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"1a01433e-3cbe-ca37-3520-0db577e86bc5","eTag":"0200479e-0000-0600-0000-60cfd9bb0000"},{"sceneDateTime":"2020-03-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3851282b-b90c-b655-80f6-8aee55f62413","eTag":"0200469e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-03-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"9cedc0bb-9432-55a3-c729-4e1d2bceccc3","eTag":"0200459e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-03-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"fb49e1c4-4371-4c53-a62a-4884a62566a6","eTag":"0200449e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-03-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"4613b054-0437-7c3d-beb7-4b57195f88d2","eTag":"0200439e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-03-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"789bce9a-4253-62fb-625e-d7dd54a4700f","eTag":"0200429e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-03-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-03-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"c83314e3-14f8-087e-2d7b-066d7969c89e","eTag":"0200419e-0000-0600-0000-60cfd9ba0000"},{"sceneDateTime":"2020-02-29T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-29%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"2a8c3372-35d7-9380-4fca-01b25c71f1a6","eTag":"0200409e-0000-0600-0000-60cfd9b90000"},{"sceneDateTime":"2020-02-27T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-27%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3bf23aa6-2b3c-3922-eacf-abf25ca438ac","eTag":"02003f9e-0000-0600-0000-60cfd9b90000"},{"sceneDateTime":"2020-02-24T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-24%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"bd833ef3-45e8-1d24-f1e9-b1ce3c054964","eTag":"02003e9e-0000-0600-0000-60cfd9b90000"},{"sceneDateTime":"2020-02-22T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-22%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"c6ca94a1-f4f5-5d4a-b493-a2df6d53cd08","eTag":"02003d9e-0000-0600-0000-60cfd9b90000"},{"sceneDateTime":"2020-02-19T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-19%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3a12be4d-dc73-37d7-1d03-5f158a8c4dcc","eTag":"02003c9e-0000-0600-0000-60cfd9b90000"},{"sceneDateTime":"2020-02-17T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-17%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3a2a68b1-2552-6eb5-6f6a-a92a0a6e1748","eTag":"02003b9e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-14T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-14%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"4b5ea995-91a1-2562-4e23-7866c12096b6","eTag":"02003a9e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-12T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-12%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"25ba9d81-b8bf-3c86-25fe-1f4e45017a72","eTag":"0200399e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-09T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-09%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"878833c4-db1d-2e2f-f193-e2f5caeb28bc","eTag":"0200389e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-07T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-07%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"580ec874-01c2-9aea-8daf-0b62f05dbff6","eTag":"0200379e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-04T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-04%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3e9074b7-4714-8d7d-f134-77ce58f6360d","eTag":"0200369e-0000-0600-0000-60cfd9b80000"},{"sceneDateTime":"2020-02-02T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-02-02%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3084f512-60ed-2e5f-47e5-d4a4b7a70a43","eTag":"0200359e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-30T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-30%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"a2d1f910-2859-116f-7591-6b538cd2719d","eTag":"0200349e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-28T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-28%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"f3a898bc-2456-5961-ce4e-6dcd6a8650a2","eTag":"0200339e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-25T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-25%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"50494f3f-721a-877b-9790-0f5001149243","eTag":"0200329e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-23T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-23%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"dac7c844-af3b-0c15-5cc0-e1baf362b631","eTag":"0200319e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-20T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-20%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"a31aeadd-52a2-152a-31af-f31141e7afc4","eTag":"02002f9e-0000-0600-0000-60cfd9b60000"},{"sceneDateTime":"2020-01-18T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-18%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"522bb9ef-a7e8-c6cd-4e05-719cf62f7d92","eTag":"0200309e-0000-0600-0000-60cfd9b70000"},{"sceneDateTime":"2020-01-15T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-15%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"cb2075f6-c9c6-f742-08e0-daafa4608a46","eTag":"02002e9e-0000-0600-0000-60cfd9b60000"},{"sceneDateTime":"2020-01-13T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-13%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"e4c87fc1-b0bb-52b6-72f2-b7b54e168d9a","eTag":"02002d9e-0000-0600-0000-60cfd9b60000"},{"sceneDateTime":"2020-01-10T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-10%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"b44140dd-84f0-6f8e-7175-99a738816356","eTag":"02002c9e-0000-0600-0000-60cfd9b60000"},{"sceneDateTime":"2020-01-08T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-08%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":100.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"dbd43706-dd16-e8f5-8518-2cc9070d5ff5","eTag":"0200299e-0000-0600-0000-60cfd9b50000"},{"sceneDateTime":"2020-01-05T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-05%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"02ae61ad-99d5-71ff-8559-97097ab458df","eTag":"02002a9e-0000-0600-0000-60cfd9b50000"},{"sceneDateTime":"2020-01-03T00:00:00Z","provider":"Microsoft","source":"Sentinel_2_L2A","imageFiles":[{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fclm_10.tif","name":"CLM","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fdatamask_10.tif","name":"dataMask","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fscl_10.tif","name":"SCL","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb02_10.tif","name":"B02","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb03_10.tif","name":"B03","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb04_10.tif","name":"B04","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb05_10.tif","name":"B05","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb06_10.tif","name":"B06","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb07_10.tif","name":"B07","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb08_10.tif","name":"B08","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb8a_10.tif","name":"B8A","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb11_10.tif","name":"B11","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fb12_10.tif","name":"B12","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fviewzenithmean_10.tif","name":"viewZenithMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fviewazimuthmean_10.tif","name":"viewAzimuthMean","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fsunzenithangles_10.tif","name":"sunZenithAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2fsunazimuthangles_10.tif","name":"sunAzimuthAngles","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2flai_10.tif","name":"LAI","resolution":10.0},{"fileLink":"https://fakeAccount.farmbeats.azure.net/scenes/downloadFiles?api-version=2021-03-31-preview&filePath=Microsoft%2fSentinel_2_L2A%2fsatellite-flow-async-test-farmer%2fsatellite-flow-async-test-boundary%2f2020-01-03%2f00-00-00%2flaimask_10.tif","name":"LAIMask","resolution":10.0}],"imageFormat":"TIF","cloudCoverPercentage":0.0,"darkPixelPercentage":0.0,"boundaryId":"satellite-flow-async-test-boundary","farmerId":"satellite-flow-async-test-farmer","id":"3552aa4b-9f62-422d-b291-07f39eec96e3","eTag":"02002b9e-0000-0600-0000-60cfd9b60000"}]}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Wed, 19 May 2021 16:05:03 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:20 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '220' status: code: 200 message: OK - url: https://fakeAccount.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer&boundaryId=satellite-flow-async-test-boundary&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDWWNCd0FBQUFBQUNBPT0jUlQ6MiNUUkM6MTAwI1JURDpuK1RsU0w1dVBJM2Y4Q0lMZDcrNUJUTXhNekV1TVRVdU1qcFZNVEU3TVRFN01URmJBQT09I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6NyNGUEM6QWUwR0FBQUFBQUFJZXdjQUFBQUFBQWc9IiwicmFuZ2UiOnsibWluIjoiMUZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYiLCJtYXgiOiJGRiJ9fV0 + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/scenes?provider=Microsoft&farmerId=satellite-flow-async-test-farmer-922&boundaryId=satellite-flow-async-test-boundary-976&source=Sentinel_2_L2A&startDateTime=2020-01-01T00:00:00.000Z&endDateTime=2020-12-31T00:00:00.000Z&maxCloudCoveragePercentage=100.0&maxDarkPixelCoveragePercentage=100.0&$maxPageSize=50&api-version=2021-03-31-preview&$skipToken=W3sidG9rZW4iOiIrUklEOn5Qa1pRQU1teHVDYTBXZ0VBQUFBQUNBPT0jUlQ6MiNUUkM6MTAwI1JURDpuK1RsU0w1dVBJM2Y4Q0lMZDcrNUJUTXhNekV1TVRVdU1qcFZNVEU3TVRFN01URmJBQT09I0lTVjoyI0lFTzo2NTU2NyNRQ0Y6NyNGUEM6QVoxYUFRQUFBQUFJSzFzQkFBQUFBQWc9IiwicmFuZ2UiOnsibWluIjoiMUZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkYiLCJtYXgiOiJGRiJ9fV0 version: 1 diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_boundary.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_boundary.yaml index 2e49472a3f41..f2c76151d84a 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_boundary.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_boundary.yaml @@ -13,12 +13,12 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"smoke-test-boundary-farmer","eTag":"00009e03-0000-0600-0000-60a44b650000","createdDateTime":"2021-05-18T23:19:01Z","modifiedDateTime":"2021-05-18T23:19:01Z"}' + string: '{"id":"smoke-test-boundary-farmer","eTag":"0200b89e-0000-0600-0000-60cfd9de0000","createdDateTime":"2021-06-21T00:14:22Z","modifiedDateTime":"2021-06-21T00:14:22Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -27,19 +27,19 @@ interactions: connection: - keep-alive content-length: - - '164' + - '167' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:19:01 GMT + - Mon, 21 Jun 2021 00:14:22 GMT etag: - - 00009e03-0000-0600-0000-60a44b650000 + - 0200b89e-0000-0600-0000-60cfd9de0000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/smoke-test-boundary-farmer - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/smoke-test-boundary-farmer strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -53,13 +53,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary?api-version=2021-03-31-preview response: body: string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''smoke-test-boundary'' - does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM8KA76QDRHR:00000006"}' + does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS8UNNVF0:00000002"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -68,19 +68,19 @@ interactions: connection: - keep-alive content-length: - - '208' + - '212' content-type: - application/json date: - - Tue, 18 May 2021 23:19:01 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:14:23 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 404 message: Not Found @@ -102,12 +102,12 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"smoke-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"smoke-test-boundary","eTag":"0000a003-0000-0600-0000-60a44b660000","createdDateTime":"2021-05-18T23:19:02Z","modifiedDateTime":"2021-05-18T23:19:02Z"}' + string: '{"farmerId":"smoke-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"smoke-test-boundary","eTag":"0200b99e-0000-0600-0000-60cfd9e00000","createdDateTime":"2021-06-21T00:14:24Z","modifiedDateTime":"2021-06-21T00:14:24Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -116,19 +116,19 @@ interactions: connection: - keep-alive content-length: - - '564' + - '571' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:19:02 GMT + - Mon, 21 Jun 2021 00:14:24 GMT etag: - - 0000a003-0000-0600-0000-60a44b660000 + - 0200b99e-0000-0600-0000-60cfd9e00000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -142,12 +142,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"smoke-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"smoke-test-boundary","eTag":"0000a003-0000-0600-0000-60a44b660000","createdDateTime":"2021-05-18T23:19:02Z","modifiedDateTime":"2021-05-18T23:19:02Z"}' + string: '{"farmerId":"smoke-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"smoke-test-boundary","eTag":"0200b99e-0000-0600-0000-60cfd9e00000","createdDateTime":"2021-06-21T00:14:24Z","modifiedDateTime":"2021-06-21T00:14:24Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -156,19 +156,19 @@ interactions: connection: - keep-alive content-length: - - '564' + - '571' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:19:02 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:14:24 GMT strict-transport-security: - max-age=15724800; includeSubDomains transfer-encoding: - chunked vary: - Accept-Encoding + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -184,7 +184,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer/boundaries/smoke-test-boundary?api-version=2021-03-31-preview response: @@ -200,11 +200,11 @@ interactions: content-length: - '0' date: - - Tue, 18 May 2021 23:19:03 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:14:25 GMT strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '1' status: code: 204 message: No Content @@ -220,7 +220,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-boundary-farmer?api-version=2021-03-31-preview response: @@ -236,11 +236,11 @@ interactions: content-length: - '0' date: - - Tue, 18 May 2021 23:19:04 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:14:26 GMT strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '1' status: code: 204 message: No Content diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_farmer.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_farmer.yaml index ed795609a51f..0c163ba48642 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_farmer.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke.test_farmer.yaml @@ -13,12 +13,12 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"smoke-test-farmer","eTag":"0000931e-0000-0600-0000-60a44b690000","createdDateTime":"2021-05-18T23:19:05Z","modifiedDateTime":"2021-05-18T23:19:05Z"}' + string: '{"id":"smoke-test-farmer","eTag":"0200ba9e-0000-0600-0000-60cfd9e40000","createdDateTime":"2021-06-21T00:14:28Z","modifiedDateTime":"2021-06-21T00:14:28Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -27,19 +27,19 @@ interactions: connection: - keep-alive content-length: - - '155' + - '159' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:19:05 GMT + - Mon, 21 Jun 2021 00:14:28 GMT etag: - - 0000931e-0000-0600-0000-60a44b690000 + - 0200ba9e-0000-0600-0000-60cfd9e40000 location: - - http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/smoke-test-farmer - server: - - nginx/1.19.1 + - http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/smoke-test-farmer strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '5' status: code: 201 message: Created @@ -53,12 +53,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"smoke-test-farmer","eTag":"0000931e-0000-0600-0000-60a44b690000","createdDateTime":"2021-05-18T23:19:05Z","modifiedDateTime":"2021-05-18T23:19:05Z"}' + string: '{"id":"smoke-test-farmer","eTag":"0200ba9e-0000-0600-0000-60cfd9e40000","createdDateTime":"2021-06-21T00:14:28Z","modifiedDateTime":"2021-06-21T00:14:28Z"}' headers: api-deprecated-versions: - 2020-12-31-preview @@ -67,17 +67,17 @@ interactions: connection: - keep-alive content-length: - - '155' + - '159' content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 23:19:06 GMT + - Mon, 21 Jun 2021 00:14:28 GMT etag: - - 0000931e-0000-0600-0000-60a44b690000 - server: - - nginx/1.19.1 + - 0200ba9e-0000-0600-0000-60cfd9e40000 strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '1' status: code: 200 message: OK @@ -93,7 +93,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/smoke-test-farmer?api-version=2021-03-31-preview response: @@ -109,11 +109,11 @@ interactions: content-length: - '0' date: - - Tue, 18 May 2021 23:19:07 GMT - server: - - nginx/1.19.1 + - Mon, 21 Jun 2021 00:14:28 GMT strict-transport-security: - max-age=15724800; includeSubDomains + x-ms-throttle-information: + - '1' status: code: 204 message: No Content diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_boundary.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_boundary.yaml index 5ffc0517119e..909bef546b8f 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_boundary.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_boundary.yaml @@ -9,58 +9,54 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"async-test-boundary-farmer","eTag":"0000a203-0000-0600-0000-60a44b6b0000","createdDateTime":"2021-05-18T23:19:07Z","modifiedDateTime":"2021-05-18T23:19:07Z"}' + string: '{"id":"async-test-boundary-farmer","eTag":"0300bf71-0000-0600-0000-60cfd9e60000","createdDateTime":"2021-06-21T00:14:30Z","modifiedDateTime":"2021-06-21T00:14:30Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '164' + content-length: '168' content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:19:07 GMT - etag: 0000a203-0000-0600-0000-60a44b6b0000 - location: http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:30 GMT + etag: 0300bf71-0000-0600-0000-60cfd9e60000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: code: 201 message: Created - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA0yOSwrCQBBEr9L0JpsoLgxoDhCM4AdvME53dCCZlp6OH4J3N6KCtauqR1EDsqoo - lgN6IcYSD5ykV89bsUr6SJhjxym5038Jt2BnCASZS4/oJ8bJJsc37vSRAQkniGLA95AMGlG4qFwD - MUHjtGOtaToOm9MTG5axb9scic2FNv1siJH1++6dPEdeneeaxiOz1WaxP6yX1W5ZzMvZRwU+XwAA - AP//AwC/yyxZ0AAAAA== + string: '{"error":{"code":"ResourceNotFound","message":"Resource with id ''async-test-boundary'' + does not exist for provided farmerId.","target":null,"details":null,"innererror":null},"traceId":"0HM9GS95TRN2E:00000005"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json - date: Tue, 18 May 2021 23:19:08 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:30 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 404 message: Not Found - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180/boundaries/async-test-boundary-156?api-version=2021-03-31-preview - request: body: '{"geometry": {"coordinates": [[[73.70457172393799, 20.545385304358106], [73.70457172393799, 20.545385304358106], [73.70448589324951, 20.542411534243367], @@ -75,68 +71,62 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview response: body: - string: '{"farmerId":"async-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"async-test-boundary","eTag":"0000a403-0000-0600-0000-60a44b6c0000","createdDateTime":"2021-05-18T23:19:08Z","modifiedDateTime":"2021-05-18T23:19:08Z","description":"Created + string: '{"farmerId":"async-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"async-test-boundary","eTag":"0300c271-0000-0600-0000-60cfd9e70000","createdDateTime":"2021-06-21T00:14:31Z","modifiedDateTime":"2021-06-21T00:14:31Z","description":"Created by SDK"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '595' + content-length: '603' content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:19:08 GMT - etag: 0000a403-0000-0600-0000-60a44b6c0000 - location: http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:31 GMT + etag: 0300c271-0000-0600-0000-60cfd9e70000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: code: 201 message: Created - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180/boundaries/async-test-boundary-156?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview response: body: - string: !!binary | - H4sIAAAAAAAAA5SRwW7DIAyGX6XinFQGgw25rpdpl0rraVUPNKFRpCapkuwQVX33OUp7nLRxMAZ/ - 8IP/u7rEoU3De6UKFce5K/MpjVN+7r+7Kg5zvpZVpurUt2kaZlXc1TTfkvD7/jrXfSfFsu+Hqumi - nFXF8Xhk3DJYx5oNBuQQMgNbZx16h2DReQ10yv6HWe98QGOD0ytmrNYOZUIkfmGema1hYkS7Ypq8 - 10ygwSA+sSUnZ0WT7RNz4DFojWwcuNdtRKiJwJK2uGIUgpHXOg6C/vULp9MjU824H5o2Lh28xOuY - MhXLIcVaOkmwtWBF3WngQIaF/sUQaXY6xFqKICNawHxJcqAlLBnJrj1TuSwWa0RjStVOwqFpF9sM - GJ2Dy7U/GCx0KMB/Cdj2VXNp/kJWaSyH5jY14n2h3laBzXnefO4+1OMHAAD//wMAztbGHVMCAAA= + string: '{"farmerId":"async-test-boundary-farmer","geometry":{"type":"Polygon","coordinates":[[[73.70457172393799,20.545385304358106],[73.70457172393799,20.545385304358106],[73.70448589324951,20.542411534243367],[73.70877742767334,20.541688176010233],[73.71023654937744,20.545083911372505],[73.70663166046143,20.546992723579137],[73.70457172393799,20.545385304358106]]]},"isPrimary":false,"acreage":60.40491151079627,"id":"async-test-boundary","eTag":"0300c271-0000-0600-0000-60cfd9e70000","createdDateTime":"2021-06-21T00:14:31Z","modifiedDateTime":"2021-06-21T00:14:31Z","description":"Created + by SDK"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:19:08 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:33 GMT strict-transport-security: max-age=15724800; includeSubDomains transfer-encoding: chunked vary: Accept-Encoding + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180/boundaries/async-test-boundary-156?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview response: @@ -147,20 +137,20 @@ interactions: api-supported-versions: 2021-03-31-preview connection: keep-alive content-length: '0' - date: Tue, 18 May 2021 23:19:09 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:33 GMT strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '1' status: code: 204 message: No Content - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer/boundaries/async-test-boundary?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180/boundaries/async-test-boundary-156?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-boundary-farmer?api-version=2021-03-31-preview response: @@ -171,11 +161,11 @@ interactions: api-supported-versions: 2021-03-31-preview connection: keep-alive content-length: '0' - date: Tue, 18 May 2021 23:19:11 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:34 GMT strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '1' status: code: 204 message: No Content - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-boundary-farmer?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-boundary-farmer-180?api-version=2021-03-31-preview version: 1 diff --git a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_farmer.yaml b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_farmer.yaml index a535af30a7f2..31d771734c9d 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_farmer.yaml +++ b/sdk/agrifood/azure-agrifood-farming/tests/recordings/test_smoke_async.test_farmer.yaml @@ -9,60 +9,60 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"async-test-farmer","eTag":"0000a503-0000-0600-0000-60a44b700000","createdDateTime":"2021-05-18T23:19:12Z","modifiedDateTime":"2021-05-18T23:19:12Z"}' + string: '{"id":"async-test-farmer","eTag":"0300c371-0000-0600-0000-60cfd9ec0000","createdDateTime":"2021-06-21T00:14:36Z","modifiedDateTime":"2021-06-21T00:14:36Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '155' + content-length: '159' content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:19:12 GMT - etag: 0000a503-0000-0600-0000-60a44b700000 - location: http://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-farmer - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:36 GMT + etag: 0300c371-0000-0600-0000-60cfd9ec0000 + location: http://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-farmer strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '5' status: code: 201 message: Created - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-farmer-137?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: GET uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview response: body: - string: '{"id":"async-test-farmer","eTag":"0000a503-0000-0600-0000-60a44b700000","createdDateTime":"2021-05-18T23:19:12Z","modifiedDateTime":"2021-05-18T23:19:12Z"}' + string: '{"id":"async-test-farmer","eTag":"0300c371-0000-0600-0000-60cfd9ec0000","createdDateTime":"2021-06-21T00:14:36Z","modifiedDateTime":"2021-06-21T00:14:36Z"}' headers: api-deprecated-versions: 2020-12-31-preview api-supported-versions: 2021-03-31-preview connection: keep-alive - content-length: '155' + content-length: '159' content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 23:19:13 GMT - etag: 0000a503-0000-0600-0000-60a44b700000 - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:36 GMT + etag: 0300c371-0000-0600-0000-60cfd9ec0000 strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '1' status: code: 200 message: OK - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-farmer-137?api-version=2021-03-31-preview - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-agrifood-farming/1.0.0b1 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-agrifood-farming/1.0.0b1 Python/3.7.4 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://fakeAccount.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview response: @@ -73,11 +73,11 @@ interactions: api-supported-versions: 2021-03-31-preview connection: keep-alive content-length: '0' - date: Tue, 18 May 2021 23:19:13 GMT - server: nginx/1.19.1 + date: Mon, 21 Jun 2021 00:14:36 GMT strict-transport-security: max-age=15724800; includeSubDomains + x-ms-throttle-information: '1' status: code: 204 message: No Content - url: https://sdk-testing-wcus-1.farmbeats.azure.net/farmers/async-test-farmer?api-version=2021-03-31-preview + url: https://sdk-live-test-agadhika-second.farmbeats.azure.net/farmers/async-test-farmer-137?api-version=2021-03-31-preview version: 1 diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_farm_heirarchy.py b/sdk/agrifood/azure-agrifood-farming/tests/test_farm_heirarchy.py index e1eaa7559524..ee0aa16912b9 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_farm_heirarchy.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_farm_heirarchy.py @@ -16,7 +16,7 @@ class FarmHeirarchyTestCase(FarmBeatsTest): def test_farmer_operations(self, agrifood_endpoint): # Setup data - farmer_id = "test-farmer-farmer-ops" + farmer_id = self.generate_random_name("test-farmer-farmer-ops") farmer_name = "Test Farmer" farmer_description = "Farmer created during testing." farmer_status = "Sample Status" @@ -73,7 +73,6 @@ def test_farmer_operations(self, agrifood_endpoint): # Assert on immediate response assert farmer.name == updated_farmer.name assert farmer.created_date_time == updated_farmer.created_date_time - assert farmer.modified_date_time != updated_farmer.modified_date_time # Retrieve updated object updated_retrieved_farmer = client.farmers.get(farmer_id=farmer_id) diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_farm_hierarchy_async.py b/sdk/agrifood/azure-agrifood-farming/tests/test_farm_hierarchy_async.py index 2d41327d8776..44869a9389ed 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_farm_hierarchy_async.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_farm_hierarchy_async.py @@ -17,7 +17,7 @@ class FarmBeatsSmokeTestCaseAsync(FarmBeatsTestAsync): async def test_farmer_operations(self, agrifood_endpoint): # Setup data - farmer_id = "test-farmer-farmer-ops-async" + farmer_id = self.generate_random_name("test-farmer-farmer-ops-async") farmer_name = "Test Farmer" farmer_description = "Farmer created during testing." farmer_status = "Sample Status" @@ -74,7 +74,6 @@ async def test_farmer_operations(self, agrifood_endpoint): # Assert on immediate response assert farmer.name == updated_farmer.name assert farmer.created_date_time == updated_farmer.created_date_time - assert farmer.modified_date_time != updated_farmer.modified_date_time # Retrieve updated object updated_retrieved_farmer = await client.farmers.get(farmer_id=farmer_id) diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow.py b/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow.py index 951a133da07e..0d57c35b18af 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow.py @@ -18,10 +18,14 @@ def test_satellite_flow(self, agrifood_endpoint): # Setup data common_id_prefix = "satellite-flow-" - farmer_id = common_id_prefix + "test-farmer" - boundary_id = common_id_prefix + "test-boundary" + farmer_id_prefix = common_id_prefix + "test-farmer" + boundary_id_prefix = common_id_prefix + "test-boundary" job_id_prefix = common_id_prefix + "job" + job_id = self.generate_random_name(job_id_prefix) + farmer_id = self.generate_random_name(farmer_id_prefix) + boundary_id = self.generate_random_name(boundary_id_prefix) + start_date_time = datetime(2020, 1, 1, tzinfo=Utc()) end_date_time = datetime(2020, 1, 31, tzinfo=Utc()) diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow_async.py b/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow_async.py index fa446f362419..a41e5a01482f 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow_async.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_satellite_flow_async.py @@ -22,10 +22,14 @@ async def test_satellite_flow(self, agrifood_endpoint): # Setup data common_id_prefix = "satellite-flow-async-" - farmer_id = common_id_prefix + "test-farmer" - boundary_id = common_id_prefix + "test-boundary" + farmer_id_prefix = common_id_prefix + "test-farmer" + boundary_id_prefix = common_id_prefix + "test-boundary" job_id_prefix = common_id_prefix + "job" + job_id = self.generate_random_name(job_id_prefix) + farmer_id = self.generate_random_name(farmer_id_prefix) + boundary_id = self.generate_random_name(boundary_id_prefix) + start_date_time = datetime.datetime(2020, 1, 1, tzinfo=Utc()) end_date_time = datetime.datetime(2020, 12, 31, tzinfo=Utc()) diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_smoke.py b/sdk/agrifood/azure-agrifood-farming/tests/test_smoke.py index c91b88a439b7..4f8551b3349e 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_smoke.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_smoke.py @@ -16,7 +16,8 @@ class FarmBeatsSmokeTestCase(FarmBeatsTest): def test_farmer(self, agrifood_endpoint): client = self.create_client(agrifood_endpoint=agrifood_endpoint) - farmer_id = "smoke-test-farmer" + farmer_id = self.generate_random_name("smoke-test-farmer") + farmer = client.farmers.create_or_update( farmer_id=farmer_id, farmer=Farmer() @@ -39,8 +40,10 @@ def test_farmer(self, agrifood_endpoint): @FarmBeatsPowerShellPreparer() def test_boundary(self, agrifood_endpoint): client = self.create_client(agrifood_endpoint=agrifood_endpoint) - farmer_id = "smoke-test-boundary-farmer" - boundary_id = "smoke-test-boundary" + + farmer_id = self.generate_random_name("smoke-test-boundary-farmer") + boundary_id = self.generate_random_name("smoke-test-boundary") + farmer = client.farmers.create_or_update( farmer_id=farmer_id, farmer=Farmer() diff --git a/sdk/agrifood/azure-agrifood-farming/tests/test_smoke_async.py b/sdk/agrifood/azure-agrifood-farming/tests/test_smoke_async.py index 308377a1f166..ff43534c12c9 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/test_smoke_async.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/test_smoke_async.py @@ -16,7 +16,9 @@ class FarmBeatsSmokeTestCaseAsync(FarmBeatsTestAsync): @FarmBeatsPowerShellPreparer() async def test_farmer(self, agrifood_endpoint): client = self.create_client(agrifood_endpoint=agrifood_endpoint) - farmer_id = "async-test-farmer" + + farmer_id = self.generate_random_name("async-test-farmer") + farmer = await client.farmers.create_or_update( farmer_id=farmer_id, farmer=Farmer() @@ -38,8 +40,10 @@ async def test_farmer(self, agrifood_endpoint): @FarmBeatsPowerShellPreparer() async def test_boundary(self, agrifood_endpoint): client = self.create_client(agrifood_endpoint=agrifood_endpoint) - boundary_id = "async-test-boundary" - farmer_id = boundary_id + "-farmer" + + boundary_id = self.generate_random_name("async-test-boundary") + farmer_id = self.generate_random_name("async-test-boundary-farmer") + farmer = await client.farmers.create_or_update(farmer_id=farmer_id, farmer=Farmer()) boundary = await self.create_boundary_if_not_exist(client, farmer_id, boundary_id) assert boundary == await client.boundaries.get( diff --git a/sdk/agrifood/azure-agrifood-farming/tests/testcase.py b/sdk/agrifood/azure-agrifood-farming/tests/testcase.py index 8532ec060457..f52f7354efee 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/testcase.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/testcase.py @@ -25,7 +25,7 @@ def create_client(self, agrifood_endpoint): def generate_random_name(self, name): if self.is_live: - created_name = "{}-{}".format(name, random.randint(0, 1000)) + created_name = "{}-{}".format(name, random.randint(0, 100000)) self.scrubber.register_name_pair(created_name, name) return created_name return name diff --git a/sdk/agrifood/azure-agrifood-farming/tests/testcase_async.py b/sdk/agrifood/azure-agrifood-farming/tests/testcase_async.py index e9fddad7c751..f46e86dbfdbc 100644 --- a/sdk/agrifood/azure-agrifood-farming/tests/testcase_async.py +++ b/sdk/agrifood/azure-agrifood-farming/tests/testcase_async.py @@ -25,7 +25,7 @@ def create_client(self, agrifood_endpoint): def generate_random_name(self, name): if self.is_live: - created_name = "{}-{}".format(name, random.randint(0, 1000)) + created_name = "{}-{}".format(name, random.randint(0, 100000)) self.scrubber.register_name_pair(created_name, name) return created_name return name diff --git a/sdk/agrifood/test-resources.json b/sdk/agrifood/test-resources.json index df43413cb388..7d55d0d67b17 100644 --- a/sdk/agrifood/test-resources.json +++ b/sdk/agrifood/test-resources.json @@ -41,30 +41,11 @@ "resourceName": "[format('{0}-{1}', parameters('commonPrefix'), parameters('baseName'))]" }, "resources": [ - { - "type": "Microsoft.AgFoodPlatform/farmbeats", - "apiVersion": "2020-05-12-preview", - "name": "[variables('resourceName')]", - "location": "[parameters('location')]", - "sku": { - "name": "[parameters('sku')]" - } - }, - { - "type": "Microsoft.Authorization/roleAssignments", - "apiVersion": "2019-04-01-preview", - "name": "[guid(resourceGroup().id, deployment().name, parameters('commonPrefix'), parameters('baseName'), parameters('testApplicationOid'))]", - "properties": { - "roleDefinitionId": "[resourceId('Microsoft.Authorization/roleDefinitions', variables('serviceAdminRoleId'))]", - "principalId": "[parameters('testApplicationOid')]", - "scope": "[resourceGroup().id]" - } - } ], "outputs": { "AGRIFOOD_ENDPOINT": { "type": "string", - "value": "[reference(resourceId('Microsoft.AgFoodPlatform/farmbeats', variables('resourceName'))).instanceUri]" + "value": "https://internal-sdk-live-test-py.farmbeats.azure.net" } } } diff --git a/sdk/agrifood/tests.yml b/sdk/agrifood/tests.yml index 56fd00b077f2..004442e819e6 100644 --- a/sdk/agrifood/tests.yml +++ b/sdk/agrifood/tests.yml @@ -15,4 +15,6 @@ stages: AZURE_CLIENT_ID: $(AGRIFOOD_CLIENT_ID) AZURE_CLIENT_SECRET: $(AGRIFOOD_CLIENT_SECRET) AZURE_TENANT_ID: $(AGRIFOOD_TENANT_ID) - TEST_MODE: 'RunLiveNoRecord' \ No newline at end of file + TEST_MODE: 'RunLiveNoRecord' + AZURE_SKIP_LIVE_RECORDING: 'True' + AZURE_TEST_RUN_LIVE: 'true' \ No newline at end of file From ef17573ee67ab1f9fc2e635e25c134f464eca5bf Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 22 Jun 2021 09:35:08 -0700 Subject: [PATCH 23/45] missed data feed cleanups (#19379) --- .../async_tests/base_testcase_aad_async.py | 250 +++++++++--------- .../tests/async_tests/base_testcase_async.py | 250 +++++++++--------- .../tests/base_testcase.py | 250 +++++++++--------- .../tests/base_testcase_aad.py | 250 +++++++++--------- 4 files changed, 524 insertions(+), 476 deletions(-) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_aad_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_aad_async.py index 0ff0380e38ff..d11d4faace0e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_aad_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_aad_async.py @@ -181,24 +181,28 @@ async def _create_data_feed(self, name): ) async def _create_data_feed_and_detection_config(self, name): - data_feed = await self._create_data_feed(name) - detection_config_name = create_random_name(name) - detection_config = await self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="testing", - whole_series_detection_condition=MetricDetectionCondition( - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = await self._create_data_feed(name) + detection_config_name = create_random_name(name) + detection_config = await self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ) ) ) - ) - return detection_config, data_feed + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_data_feed_for_update(self, name): data_feed_name = create_random_name(name) @@ -244,122 +248,130 @@ async def _create_data_feed_for_update(self, name): ) async def _create_alert_config_for_update(self, name): - detection_config, data_feed = await self._create_data_feed_and_detection_config(name) - alert_config_name = create_random_name(name) - alert_config = await self.admin_client.create_alert_configuration( - name=alert_config_name, - cross_metrics_operator="AND", - metric_alert_configurations=[ - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="TopN", - top_n_group_in_scope=TopNGroupScope( - top=5, - period=10, - min_top_count=9 + try: + detection_config, data_feed = await self._create_data_feed_and_detection_config(name) + alert_config_name = create_random_name(name) + alert_config = await self.admin_client.create_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids['cost'], + lower=1.0, + upper=5.0 + ) ) ), - alert_conditions=MetricAnomalyAlertConditions( - metric_boundary_condition=MetricBoundaryCondition( - direction="Both", - companion_metric_id=data_feed.metric_ids['cost'], - lower=1.0, - upper=5.0 + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="SeriesGroup", - series_group_in_scope={'city': 'Shenzhen'} - ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" - ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="WholeSeries" ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) ) - ) - ], - hook_ids=[] - ) - return alert_config, data_feed, detection_config + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_detection_config_for_update(self, name): - data_feed = await self._create_data_feed(name) - detection_config_name = create_random_name("testupdated") - detection_config = await self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="My test metric anomaly detection configuration", - whole_series_detection_condition=MetricDetectionCondition( - condition_operator="AND", - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 - ) - ), - hard_threshold_condition=HardThresholdCondition( - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = await self._create_data_feed(name) + detection_config_name = create_random_name("testupdated") + detection_config = await self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + condition_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ), - lower_bound=0, - upper_bound=100 - ), - change_threshold_condition=ChangeThresholdCondition( - change_percentage=50, - shift_point=30, - within_range=True, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=2, - min_ratio=2 + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) ) - ) - ), - series_detection_conditions=[MetricSingleSeriesDetectionCondition( - series_key={"city": "Shenzhen", "category": "Jewelry"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )], - series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( - series_group_key={"city": "Sao Paulo"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )] - ) - return detection_config, data_feed + )] + ) + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_email_hook_for_update(self, name): return await self.admin_client.create_hook( diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py index c3d27ec86131..925150b21127 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/async_tests/base_testcase_async.py @@ -179,24 +179,28 @@ async def _create_data_feed(self, name): ) async def _create_data_feed_and_detection_config(self, name): - data_feed = await self._create_data_feed(name) - detection_config_name = create_random_name(name) - detection_config = await self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="testing", - whole_series_detection_condition=MetricDetectionCondition( - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = await self._create_data_feed(name) + detection_config_name = create_random_name(name) + detection_config = await self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ) ) ) - ) - return detection_config, data_feed + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_data_feed_for_update(self, name): data_feed_name = create_random_name(name) @@ -242,122 +246,130 @@ async def _create_data_feed_for_update(self, name): ) async def _create_alert_config_for_update(self, name): - detection_config, data_feed = await self._create_data_feed_and_detection_config(name) - alert_config_name = create_random_name(name) - alert_config = await self.admin_client.create_alert_configuration( - name=alert_config_name, - cross_metrics_operator="AND", - metric_alert_configurations=[ - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="TopN", - top_n_group_in_scope=TopNGroupScope( - top=5, - period=10, - min_top_count=9 + try: + detection_config, data_feed = await self._create_data_feed_and_detection_config(name) + alert_config_name = create_random_name(name) + alert_config = await self.admin_client.create_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids['cost'], + lower=1.0, + upper=5.0 + ) ) ), - alert_conditions=MetricAnomalyAlertConditions( - metric_boundary_condition=MetricBoundaryCondition( - direction="Both", - companion_metric_id=data_feed.metric_ids['cost'], - lower=1.0, - upper=5.0 + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="SeriesGroup", - series_group_in_scope={'city': 'Shenzhen'} - ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" - ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="WholeSeries" ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) ) - ) - ], - hook_ids=[] - ) - return alert_config, data_feed, detection_config + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_detection_config_for_update(self, name): - data_feed = await self._create_data_feed(name) - detection_config_name = create_random_name("testupdated") - detection_config = await self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="My test metric anomaly detection configuration", - whole_series_detection_condition=MetricDetectionCondition( - condition_operator="AND", - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 - ) - ), - hard_threshold_condition=HardThresholdCondition( - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = await self._create_data_feed(name) + detection_config_name = create_random_name("testupdated") + detection_config = await self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + condition_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ), - lower_bound=0, - upper_bound=100 - ), - change_threshold_condition=ChangeThresholdCondition( - change_percentage=50, - shift_point=30, - within_range=True, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=2, - min_ratio=2 + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) ) - ) - ), - series_detection_conditions=[MetricSingleSeriesDetectionCondition( - series_key={"city": "Shenzhen", "category": "Jewelry"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )], - series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( - series_group_key={"city": "Sao Paulo"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )] - ) - return detection_config, data_feed + )] + ) + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e async def _create_email_hook_for_update(self, name): return await self.admin_client.create_hook( diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py index 747e05ca333e..fb618dba3342 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase.py @@ -174,24 +174,28 @@ def _create_data_feed(self, name): ) def _create_data_feed_and_detection_config(self, name): - data_feed = self._create_data_feed(name) - detection_config_name = create_random_name(name) - detection_config = self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="testing", - whole_series_detection_condition=MetricDetectionCondition( - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = self._create_data_feed(name) + detection_config_name = create_random_name(name) + detection_config = self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ) ) ) - ) - return detection_config, data_feed + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_data_feed_for_update(self, name): data_feed_name = create_random_name(name) @@ -238,122 +242,130 @@ def _create_data_feed_for_update(self, name): def _create_alert_config_for_update(self, name): - detection_config, data_feed = self._create_data_feed_and_detection_config(name) - alert_config_name = create_random_name(name) - alert_config = self.admin_client.create_alert_configuration( - name=alert_config_name, - cross_metrics_operator="AND", - metric_alert_configurations=[ - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="TopN", - top_n_group_in_scope=TopNGroupScope( - top=5, - period=10, - min_top_count=9 + try: + detection_config, data_feed = self._create_data_feed_and_detection_config(name) + alert_config_name = create_random_name(name) + alert_config = self.admin_client.create_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids['cost'], + lower=1.0, + upper=5.0 + ) ) ), - alert_conditions=MetricAnomalyAlertConditions( - metric_boundary_condition=MetricBoundaryCondition( - direction="Both", - companion_metric_id=data_feed.metric_ids['cost'], - lower=1.0, - upper=5.0 + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="SeriesGroup", - series_group_in_scope={'city': 'Shenzhen'} - ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" - ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="WholeSeries" ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) ) - ) - ], - hook_ids=[] - ) - return alert_config, data_feed, detection_config + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_detection_config_for_update(self, name): - data_feed = self._create_data_feed(name) - detection_config_name = create_random_name("testupdated") - detection_config = self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="My test metric anomaly detection configuration", - whole_series_detection_condition=MetricDetectionCondition( - condition_operator="AND", - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 - ) - ), - hard_threshold_condition=HardThresholdCondition( - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = self._create_data_feed(name) + detection_config_name = create_random_name("testupdated") + detection_config = self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + condition_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ), - lower_bound=0, - upper_bound=100 - ), - change_threshold_condition=ChangeThresholdCondition( - change_percentage=50, - shift_point=30, - within_range=True, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=2, - min_ratio=2 + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) ) - ) - ), - series_detection_conditions=[MetricSingleSeriesDetectionCondition( - series_key={"city": "Shenzhen", "category": "Jewelry"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )], - series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( - series_group_key={"city": "Sao Paulo"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )] - ) - return detection_config, data_feed + )] + ) + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_email_hook_for_update(self, name): return self.admin_client.create_hook( diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase_aad.py b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase_aad.py index dd91719a5468..f33debad815d 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase_aad.py +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/tests/base_testcase_aad.py @@ -176,24 +176,28 @@ def _create_data_feed(self, name): ) def _create_data_feed_and_detection_config(self, name): - data_feed = self._create_data_feed(name) - detection_config_name = create_random_name(name) - detection_config = self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="testing", - whole_series_detection_condition=MetricDetectionCondition( - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = self._create_data_feed(name) + detection_config_name = create_random_name(name) + detection_config = self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="testing", + whole_series_detection_condition=MetricDetectionCondition( + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ) ) ) - ) - return detection_config, data_feed + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_data_feed_for_update(self, name): data_feed_name = create_random_name(name) @@ -240,122 +244,130 @@ def _create_data_feed_for_update(self, name): def _create_alert_config_for_update(self, name): - detection_config, data_feed = self._create_data_feed_and_detection_config(name) - alert_config_name = create_random_name(name) - alert_config = self.admin_client.create_alert_configuration( - name=alert_config_name, - cross_metrics_operator="AND", - metric_alert_configurations=[ - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="TopN", - top_n_group_in_scope=TopNGroupScope( - top=5, - period=10, - min_top_count=9 + try: + detection_config, data_feed = self._create_data_feed_and_detection_config(name) + alert_config_name = create_random_name(name) + alert_config = self.admin_client.create_alert_configuration( + name=alert_config_name, + cross_metrics_operator="AND", + metric_alert_configurations=[ + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="TopN", + top_n_group_in_scope=TopNGroupScope( + top=5, + period=10, + min_top_count=9 + ) + ), + alert_conditions=MetricAnomalyAlertConditions( + metric_boundary_condition=MetricBoundaryCondition( + direction="Both", + companion_metric_id=data_feed.metric_ids['cost'], + lower=1.0, + upper=5.0 + ) ) ), - alert_conditions=MetricAnomalyAlertConditions( - metric_boundary_condition=MetricBoundaryCondition( - direction="Both", - companion_metric_id=data_feed.metric_ids['cost'], - lower=1.0, - upper=5.0 + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="SeriesGroup", + series_group_in_scope={'city': 'Shenzhen'} + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="SeriesGroup", - series_group_in_scope={'city': 'Shenzhen'} - ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" - ) - ) - ), - MetricAlertConfiguration( - detection_configuration_id=detection_config.id, - alert_scope=MetricAnomalyAlertScope( - scope_type="WholeSeries" ), - alert_conditions=MetricAnomalyAlertConditions( - severity_condition=SeverityCondition( - min_alert_severity="Low", - max_alert_severity="High" + MetricAlertConfiguration( + detection_configuration_id=detection_config.id, + alert_scope=MetricAnomalyAlertScope( + scope_type="WholeSeries" + ), + alert_conditions=MetricAnomalyAlertConditions( + severity_condition=SeverityCondition( + min_alert_severity="Low", + max_alert_severity="High" + ) ) ) - ) - ], - hook_ids=[] - ) - return alert_config, data_feed, detection_config + ], + hook_ids=[] + ) + return alert_config, data_feed, detection_config + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_detection_config_for_update(self, name): - data_feed = self._create_data_feed(name) - detection_config_name = create_random_name("testupdated") - detection_config = self.admin_client.create_detection_configuration( - name=detection_config_name, - metric_id=data_feed.metric_ids['cost'], - description="My test metric anomaly detection configuration", - whole_series_detection_condition=MetricDetectionCondition( - condition_operator="AND", - smart_detection_condition=SmartDetectionCondition( - sensitivity=50, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 - ) - ), - hard_threshold_condition=HardThresholdCondition( - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=5, - min_ratio=5 + try: + data_feed = self._create_data_feed(name) + detection_config_name = create_random_name("testupdated") + detection_config = self.admin_client.create_detection_configuration( + name=detection_config_name, + metric_id=data_feed.metric_ids['cost'], + description="My test metric anomaly detection configuration", + whole_series_detection_condition=MetricDetectionCondition( + condition_operator="AND", + smart_detection_condition=SmartDetectionCondition( + sensitivity=50, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ) ), - lower_bound=0, - upper_bound=100 - ), - change_threshold_condition=ChangeThresholdCondition( - change_percentage=50, - shift_point=30, - within_range=True, - anomaly_detector_direction="Both", - suppress_condition=SuppressCondition( - min_number=2, - min_ratio=2 + hard_threshold_condition=HardThresholdCondition( + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=5, + min_ratio=5 + ), + lower_bound=0, + upper_bound=100 + ), + change_threshold_condition=ChangeThresholdCondition( + change_percentage=50, + shift_point=30, + within_range=True, + anomaly_detector_direction="Both", + suppress_condition=SuppressCondition( + min_number=2, + min_ratio=2 + ) ) - ) - ), - series_detection_conditions=[MetricSingleSeriesDetectionCondition( - series_key={"city": "Shenzhen", "category": "Jewelry"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + ), + series_detection_conditions=[MetricSingleSeriesDetectionCondition( + series_key={"city": "Shenzhen", "category": "Jewelry"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )], - series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( - series_group_key={"city": "Sao Paulo"}, - smart_detection_condition=SmartDetectionCondition( - anomaly_detector_direction="Both", - sensitivity=63, - suppress_condition=SuppressCondition( - min_number=1, - min_ratio=100 + )], + series_group_detection_conditions=[MetricSeriesGroupDetectionCondition( + series_group_key={"city": "Sao Paulo"}, + smart_detection_condition=SmartDetectionCondition( + anomaly_detector_direction="Both", + sensitivity=63, + suppress_condition=SuppressCondition( + min_number=1, + min_ratio=100 + ) ) - ) - )] - ) - return detection_config, data_feed + )] + ) + return detection_config, data_feed + except Exception as e: + self.admin_client.delete_data_feed(data_feed.id) + raise e def _create_email_hook_for_update(self, name): return self.admin_client.create_hook( From 9df4984bd033299248497233dc039e4866c6c0df Mon Sep 17 00:00:00 2001 From: Agnivesh Adhikari Date: Tue, 22 Jun 2021 22:05:23 +0530 Subject: [PATCH 24/45] Fix broken pypi link (#19075) --- sdk/agrifood/azure-agrifood-farming/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/agrifood/azure-agrifood-farming/README.md b/sdk/agrifood/azure-agrifood-farming/README.md index ae2b158e97a4..ccfc97534638 100644 --- a/sdk/agrifood/azure-agrifood-farming/README.md +++ b/sdk/agrifood/azure-agrifood-farming/README.md @@ -7,7 +7,7 @@ Use FarmBeats client library for Python to do the following. - Ingest satellite and weather data for areas of interest. - Ingest farm operations data covering tilling, planting, harvesting and application of farm inputs. -[Source code][source_code] | [Package (PyPi)][pypi] | [API reference documentation][api_docs] | [Product documentation][product_docs] | [Changelog][change_log] +[Source code][source_code] | [Package (PyPi)][pypi-package] | [API reference documentation][api_docs] | [Product documentation][product_docs] | [Changelog][change_log] ## Getting started @@ -361,6 +361,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [product_docs]: https://aka.ms/FarmBeatsProductDocumentationPaaS [pip]: https://pypi.org/project/pip/ [pypi]: https://pypi.org/ +[pypi-package]: https://pypi.org/project/azure-agrifood-farming/ [python]: https://www.python.org/downloads/ [python_logging]: https://docs.python.org/3.5/library/logging.html [samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/agrifood/azure-agrifood-farming/samples/ From 3072fc8c0366287fbaea1b02493a50259c3248a2 Mon Sep 17 00:00:00 2001 From: bishnu-shb <84697158+bishnu-shb@users.noreply.github.com> Date: Tue, 22 Jun 2021 22:08:50 +0530 Subject: [PATCH 25/45] [Service Bus]Match the partition key with session id only when both are set (#19233) The azure documentation says "if a message has the partition key property but not the session ID property set, then Service Bus uses the partition key property value as the partition key. If the message has both the session ID and the partition key properties set, both properties must be identical" [https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-partitioning#using-a-partition-key]. [Re-raised #18955] --- sdk/servicebus/azure-servicebus/CHANGELOG.md | 6 ++++++ .../azure-servicebus/azure/servicebus/_common/message.py | 2 +- .../azure-servicebus/azure/servicebus/_version.py | 2 +- sdk/servicebus/azure-servicebus/tests/test_queues.py | 6 ++---- sdk/servicebus/azure-servicebus/tests/test_sessions.py | 3 +-- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/sdk/servicebus/azure-servicebus/CHANGELOG.md b/sdk/servicebus/azure-servicebus/CHANGELOG.md index 8c87776e8a23..c523940f080b 100644 --- a/sdk/servicebus/azure-servicebus/CHANGELOG.md +++ b/sdk/servicebus/azure-servicebus/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 7.3.1 (Unreleased) + +**Bug Fixes** + +* Fixed a bug that when setting `ServiceBusMessage.partition_key`, input value should be not validated against `session_id` of None (PR #19233, thanks @bishnu-shb). + ## 7.3.0 (2021-06-08) **New Features** diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py index 5bd423442e7a..f5ed0ace07cf 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_common/message.py @@ -310,7 +310,7 @@ def partition_key(self, value): ) ) - if value and value != self.session_id: + if value and self.session_id and value != self.session_id: raise ValueError( "partition_key:{} cannot be set to a different value than session_id:{}".format( value, self.session_id diff --git a/sdk/servicebus/azure-servicebus/azure/servicebus/_version.py b/sdk/servicebus/azure-servicebus/azure/servicebus/_version.py index 18ac64a0a1a3..7efc5dfb5363 100644 --- a/sdk/servicebus/azure-servicebus/azure/servicebus/_version.py +++ b/sdk/servicebus/azure-servicebus/azure/servicebus/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "7.3.0" +VERSION = "7.3.1" diff --git a/sdk/servicebus/azure-servicebus/tests/test_queues.py b/sdk/servicebus/azure-servicebus/tests/test_queues.py index 1cfdc9bee017..9f9f837d38ff 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_queues.py +++ b/sdk/servicebus/azure-servicebus/tests/test_queues.py @@ -129,8 +129,7 @@ def test_queue_by_queue_client_conn_str_receive_handler_peeklock(self, servicebu message.content_type = 'application/text' message.correlation_id = 'cid' message.message_id = str(i) - with pytest.raises(ValueError): - message.partition_key = 'pk' + message.partition_key = 'pk' message.to = 'to' message.reply_to = 'reply_to' sender.send_messages(message) @@ -216,8 +215,7 @@ def test_queue_by_queue_client_send_multiple_messages(self, servicebus_namespace messages = [] for i in range(10): message = ServiceBusMessage("Handler message no. {}".format(i)) - with pytest.raises(ValueError): - message.partition_key = 'pkey' + message.partition_key = 'pkey' message.time_to_live = timedelta(seconds=60) message.scheduled_enqueue_time_utc = utc_now() + timedelta(seconds=60) message.partition_key = None diff --git a/sdk/servicebus/azure-servicebus/tests/test_sessions.py b/sdk/servicebus/azure-servicebus/tests/test_sessions.py index 75bd1edf3e44..6250367b0b20 100644 --- a/sdk/servicebus/azure-servicebus/tests/test_sessions.py +++ b/sdk/servicebus/azure-servicebus/tests/test_sessions.py @@ -64,8 +64,7 @@ def test_session_by_session_client_conn_str_receive_handler_peeklock(self, servi for i in range(3): message = ServiceBusMessage("Handler message no. {}".format(i)) - with pytest.raises(ValueError): - message.partition_key = 'pkey' + message.partition_key = 'pkey' message.session_id = session_id message.partition_key = session_id From 3a471ada95c696fd2c3795f80a46cc381f977067 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 22 Jun 2021 11:11:31 -0700 Subject: [PATCH 26/45] Deprecate azure-monitor (#19384) * Deprecate azure-monitor * ci fix --- eng/.docsettings.yml | 1 + scripts/devops_tasks/common_tasks.py | 1 + sdk/monitor/azure-monitor/CHANGELOG.md | 3 ++ sdk/monitor/azure-monitor/README.md | 3 ++ sdk/monitor/azure-monitor/sdk_packaging.toml | 2 + sdk/monitor/azure-monitor/setup.py | 44 ++++++++++++++++++++ 6 files changed, 54 insertions(+) create mode 100644 sdk/monitor/azure-monitor/CHANGELOG.md create mode 100644 sdk/monitor/azure-monitor/README.md create mode 100644 sdk/monitor/azure-monitor/sdk_packaging.toml create mode 100644 sdk/monitor/azure-monitor/setup.py diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 9b2268542ee7..7564b2c8a678 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -84,6 +84,7 @@ known_content_issues: - ['sdk/storage/README.md', '#4554'] - ['sdk/textanalytics/azure-ai-textanalytics/samples/README.md', '#4554'] - ['sdk/monitor/azure-monitor-opentelemetry-exporter/README.md', '#4554'] + - ['sdk/monitor/azure-monitor/README.md', '#4554'] - ['sdk/digitaltwins/azure-digitaltwins-core/swagger/README.md', '#4554'] - ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#4554'] - ['sdk/translation/azure-ai-translation-document/swagger/README.md', '#4554'] diff --git a/scripts/devops_tasks/common_tasks.py b/scripts/devops_tasks/common_tasks.py index ac26be2d18b5..f7704eb97bb7 100644 --- a/scripts/devops_tasks/common_tasks.py +++ b/scripts/devops_tasks/common_tasks.py @@ -43,6 +43,7 @@ "azure", "azure-mgmt", "azure-storage", + "azure-monitor", "azure-mgmt-regionmove" ] MANAGEMENT_PACKAGE_IDENTIFIERS = [ diff --git a/sdk/monitor/azure-monitor/CHANGELOG.md b/sdk/monitor/azure-monitor/CHANGELOG.md new file mode 100644 index 000000000000..276d07348376 --- /dev/null +++ b/sdk/monitor/azure-monitor/CHANGELOG.md @@ -0,0 +1,3 @@ +# Disclaimer + +Starting with v0.4.0, this package cannot be installed anymore, please use [azure-mgmt-monitor](https://pypi.org/project/azure-mgmt-monitor/) instead. diff --git a/sdk/monitor/azure-monitor/README.md b/sdk/monitor/azure-monitor/README.md new file mode 100644 index 000000000000..4a511c2266d1 --- /dev/null +++ b/sdk/monitor/azure-monitor/README.md @@ -0,0 +1,3 @@ +# Microsoft Azure Monitor library for Python + +Starting with v0.4.0, this package cannot be installed anymore, please use [azure-mgmt-monitor](https://pypi.org/project/azure-mgmt-monitor/) instead. diff --git a/sdk/monitor/azure-monitor/sdk_packaging.toml b/sdk/monitor/azure-monitor/sdk_packaging.toml new file mode 100644 index 000000000000..901bc8ccbfa6 --- /dev/null +++ b/sdk/monitor/azure-monitor/sdk_packaging.toml @@ -0,0 +1,2 @@ +[packaging] +auto_update = false diff --git a/sdk/monitor/azure-monitor/setup.py b/sdk/monitor/azure-monitor/setup.py new file mode 100644 index 000000000000..ec804826441d --- /dev/null +++ b/sdk/monitor/azure-monitor/setup.py @@ -0,0 +1,44 @@ +#!/usr/bin/env python + +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- + +from setuptools import setup +import sys + + +message = """ + +Starting with v0.4.0, this package cannot be installed anymore, please use [azure-mgmt-monitor](https://pypi.org/project/azure-mgmt-monitor/) instead. +""" + +if "sdist" in sys.argv: + setup( + name='azure-monitor', + version='0.4.0', + description='Microsoft Azure Monitor library for Python', + long_description=open('README.md', 'r').read(), + long_description_content_type='text/markdown', + license='MIT License', + author='Microsoft Corporation', + author_email='azpysdkhelp@microsoft.com', + url='https://github.com/Azure/azure-sdk-for-python', + classifiers=[ + 'Development Status :: 7 - Inactive', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'License :: OSI Approved :: MIT License', + ], + zip_safe=False, + ) +else: + raise RuntimeError(message) From cb2031cc1c83b02a405001aa8c8c6fca88e7b514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Tue, 22 Jun 2021 15:24:20 -0700 Subject: [PATCH 27/45] [Key Vault] Performance tests for certificates, keys, and secrets (#19002) --- .../tests/perfstress_tests/get_certificate.py | 24 +++--- .../tests/perfstress_tests/decrypt.py | 68 +++++++++++++++++ .../tests/perfstress_tests/get_key.py | 24 +++--- .../tests/perfstress_tests/sign.py | 74 +++++++++++++++++++ .../tests/perfstress_tests/unwrap.py | 68 +++++++++++++++++ .../tests/perfstress_tests/get_secret.py | 20 ++--- .../tests/perfstress_tests/list_secrets.py | 67 +++++++++++++++++ 7 files changed, 311 insertions(+), 34 deletions(-) create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/decrypt.py create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/sign.py create mode 100644 sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/unwrap.py create mode 100644 sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/list_secrets.py diff --git a/sdk/keyvault/azure-keyvault-certificates/tests/perfstress_tests/get_certificate.py b/sdk/keyvault/azure-keyvault-certificates/tests/perfstress_tests/get_certificate.py index c6afd0fe3376..4de4bd2f0428 100644 --- a/sdk/keyvault/azure-keyvault-certificates/tests/perfstress_tests/get_certificate.py +++ b/sdk/keyvault/azure-keyvault-certificates/tests/perfstress_tests/get_certificate.py @@ -2,10 +2,9 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ - from azure_devtools.perfstress_tests import PerfStressTest -from azure.identity import EnvironmentCredential -from azure.identity.aio import EnvironmentCredential as AsyncEnvironmentCredential +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential from azure.keyvault.certificates import CertificateClient, CertificatePolicy from azure.keyvault.certificates.aio import CertificateClient as AsyncCertificateClient @@ -16,23 +15,24 @@ def __init__(self, arguments): super().__init__(arguments) # Auth configuration - self.credential = EnvironmentCredential() - self.async_credential = AsyncEnvironmentCredential() + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() # Create clients vault_url = self.get_from_env("AZURE_KEYVAULT_URL") - self.client = CertificateClient(vault_url, self.credential) - self.async_client = AsyncCertificateClient(vault_url, self.async_credential) + self.client = CertificateClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncCertificateClient(vault_url, self.async_credential, **self._client_kwargs) + self.certificate_name = "livekvtestgetcertperfcert" async def global_setup(self): """The global setup is run only once.""" await super().global_setup() - await self.async_client.create_certificate("livekvtestperfcert", CertificatePolicy.get_default()) + await self.async_client.create_certificate(self.certificate_name, CertificatePolicy.get_default()) async def global_cleanup(self): """The global cleanup is run only once.""" - await self.async_client.delete_certificate("livekvtestperfcert") - await self.async_client.purge_deleted_certificate("livekvtestperfcert") + await self.async_client.delete_certificate(self.certificate_name) + await self.async_client.purge_deleted_certificate(self.certificate_name) await super().global_cleanup() async def close(self): @@ -43,8 +43,8 @@ async def close(self): def run_sync(self): """The synchronous perf test.""" - self.client.get_certificate("livekvtestperfcert") + self.client.get_certificate(self.certificate_name) async def run_async(self): """The asynchronous perf test.""" - await self.async_client.get_certificate("livekvtestperfcert") + await self.async_client.get_certificate(self.certificate_name) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/decrypt.py b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/decrypt.py new file mode 100644 index 000000000000..cd1ddb4718d6 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/decrypt.py @@ -0,0 +1,68 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import os + +from azure_devtools.perfstress_tests import PerfStressTest +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential +from azure.keyvault.keys import KeyClient +from azure.keyvault.keys.aio import KeyClient as AsyncKeyClient +from azure.keyvault.keys.crypto import CryptographyClient, EncryptionAlgorithm +from azure.keyvault.keys.crypto.aio import CryptographyClient as AsyncCryptographyClient +from azure.mgmt.keyvault.models import KeyPermissions, Permissions + + +# without keys/get, a CryptographyClient created with a key ID performs all ops remotely +NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) + + +class DecryptTest(PerfStressTest): + + def __init__(self, arguments): + super().__init__(arguments) + + # Auth configuration + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() + + # Create clients + vault_url = self.get_from_env("AZURE_KEYVAULT_URL") + self.client = KeyClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncKeyClient(vault_url, self.async_credential, **self._client_kwargs) + self.key_name = "livekvtestdecryptperfkey" + + async def global_setup(self): + """The global setup is run only once.""" + await super().global_setup() + rsa_key = await self.async_client.create_rsa_key(self.key_name) + self.crypto_client = CryptographyClient(rsa_key.id, self.credential, permissions=NO_GET, **self._client_kwargs) + self.async_crypto_client = AsyncCryptographyClient( + rsa_key.id, self.async_credential, permissions=NO_GET, **self._client_kwargs + ) + + self.test_algorithm = EncryptionAlgorithm.rsa_oaep_256 + plaintext = os.urandom(32) + self.ciphertext = self.crypto_client.encrypt(self.test_algorithm, plaintext).ciphertext + + async def global_cleanup(self): + """The global cleanup is run only once.""" + await self.async_client.delete_key(self.key_name) + await self.async_client.purge_deleted_key(self.key_name) + await super().global_cleanup() + + async def close(self): + """This is run after cleanup.""" + await self.async_client.close() + await self.async_crypto_client.close() + await self.async_credential.close() + await super().close() + + def run_sync(self): + """The synchronous perf test.""" + self.crypto_client.decrypt(self.test_algorithm, self.ciphertext) + + async def run_async(self): + """The asynchronous perf test.""" + await self.async_crypto_client.decrypt(self.test_algorithm, self.ciphertext) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/get_key.py b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/get_key.py index cf9e8fbc22d3..3affa9b7b68c 100644 --- a/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/get_key.py +++ b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/get_key.py @@ -2,10 +2,9 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ - from azure_devtools.perfstress_tests import PerfStressTest -from azure.identity import EnvironmentCredential -from azure.identity.aio import EnvironmentCredential as AsyncEnvironmentCredential +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential from azure.keyvault.keys import KeyClient from azure.keyvault.keys.aio import KeyClient as AsyncKeyClient @@ -16,23 +15,24 @@ def __init__(self, arguments): super().__init__(arguments) # Auth configuration - self.credential = EnvironmentCredential() - self.async_credential = AsyncEnvironmentCredential() + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() # Create clients vault_url = self.get_from_env("AZURE_KEYVAULT_URL") - self.client = KeyClient(vault_url, self.credential) - self.async_client = AsyncKeyClient(vault_url, self.async_credential) + self.client = KeyClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncKeyClient(vault_url, self.async_credential, **self._client_kwargs) + self.key_name = "livekvtestgetkeyperfkey" async def global_setup(self): """The global setup is run only once.""" await super().global_setup() - await self.async_client.create_rsa_key("livekvtestperfkey") + await self.async_client.create_rsa_key(self.key_name) async def global_cleanup(self): """The global cleanup is run only once.""" - await self.async_client.delete_key("livekvtestperfkey") - await self.async_client.purge_deleted_key("livekvtestperfkey") + await self.async_client.delete_key(self.key_name) + await self.async_client.purge_deleted_key(self.key_name) await super().global_cleanup() async def close(self): @@ -43,8 +43,8 @@ async def close(self): def run_sync(self): """The synchronous perf test.""" - self.client.get_key("livekvtestperfkey") + self.client.get_key(self.key_name) async def run_async(self): """The asynchronous perf test.""" - await self.async_client.get_key("livekvtestperfkey") + await self.async_client.get_key(self.key_name) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/sign.py b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/sign.py new file mode 100644 index 000000000000..1a1bbab94b88 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/sign.py @@ -0,0 +1,74 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import hashlib +import os + +from azure_devtools.perfstress_tests import PerfStressTest +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential +from azure.keyvault.keys import KeyClient +from azure.keyvault.keys.aio import KeyClient as AsyncKeyClient +from azure.keyvault.keys.crypto import CryptographyClient, SignatureAlgorithm +from azure.keyvault.keys.crypto.aio import CryptographyClient as AsyncCryptographyClient +from azure.mgmt.keyvault.models import KeyPermissions, Permissions + + +# without keys/get, a CryptographyClient created with a key ID performs all ops remotely +NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) + + +class SignTest(PerfStressTest): + + def __init__(self, arguments): + super().__init__(arguments) + + from dotenv import load_dotenv + load_dotenv() + + # Auth configuration + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() + + # Create clients + vault_url = self.get_from_env("AZURE_KEYVAULT_URL") + self.client = KeyClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncKeyClient(vault_url, self.async_credential, **self._client_kwargs) + self.key_name = "livekvtestsignperfkey" + + async def global_setup(self): + """The global setup is run only once.""" + await super().global_setup() + rsa_key = await self.async_client.create_rsa_key(self.key_name) + self.crypto_client = CryptographyClient(rsa_key.id, self.credential, permissions=NO_GET, **self._client_kwargs) + self.async_crypto_client = AsyncCryptographyClient( + rsa_key.id, self.async_credential, permissions=NO_GET, **self._client_kwargs + ) + + self.test_algorithm = SignatureAlgorithm.rs256 + plaintext = os.urandom(2048) + hasher = hashlib.sha256() + hasher.update(plaintext) + self.digest = hasher.digest() + + async def global_cleanup(self): + """The global cleanup is run only once.""" + await self.async_client.delete_key(self.key_name) + await self.async_client.purge_deleted_key(self.key_name) + await super().global_cleanup() + + async def close(self): + """This is run after cleanup.""" + await self.async_client.close() + await self.async_crypto_client.close() + await self.async_credential.close() + await super().close() + + def run_sync(self): + """The synchronous perf test.""" + self.crypto_client.sign(self.test_algorithm, self.digest) + + async def run_async(self): + """The asynchronous perf test.""" + await self.async_crypto_client.sign(self.test_algorithm, self.digest) diff --git a/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/unwrap.py b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/unwrap.py new file mode 100644 index 000000000000..3996217311b3 --- /dev/null +++ b/sdk/keyvault/azure-keyvault-keys/tests/perfstress_tests/unwrap.py @@ -0,0 +1,68 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import os + +from azure_devtools.perfstress_tests import PerfStressTest +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential +from azure.keyvault.keys import KeyClient +from azure.keyvault.keys.aio import KeyClient as AsyncKeyClient +from azure.keyvault.keys.crypto import CryptographyClient, EncryptionAlgorithm +from azure.keyvault.keys.crypto.aio import CryptographyClient as AsyncCryptographyClient +from azure.mgmt.keyvault.models import KeyPermissions, Permissions + + +# without keys/get, a CryptographyClient created with a key ID performs all ops remotely +NO_GET = Permissions(keys=[p.value for p in KeyPermissions if p.value != "get"]) + + +class UnwrapTest(PerfStressTest): + + def __init__(self, arguments): + super().__init__(arguments) + + # Auth configuration + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() + + # Create clients + vault_url = self.get_from_env("AZURE_KEYVAULT_URL") + self.client = KeyClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncKeyClient(vault_url, self.async_credential, **self._client_kwargs) + self.key_name = "livekvtestunwrapperfkey" + + async def global_setup(self): + """The global setup is run only once.""" + await super().global_setup() + rsa_key = await self.async_client.create_rsa_key(self.key_name) + self.crypto_client = CryptographyClient(rsa_key.id, self.credential, permissions=NO_GET, **self._client_kwargs) + self.async_crypto_client = AsyncCryptographyClient( + rsa_key.id, self.async_credential, permissions=NO_GET, **self._client_kwargs + ) + + self.test_algorithm = EncryptionAlgorithm.rsa_oaep_256 + key_bytes = os.urandom(32) + self.encrypted_key = self.crypto_client.wrap_key(self.test_algorithm, key_bytes).encrypted_key + + async def global_cleanup(self): + """The global cleanup is run only once.""" + await self.async_client.delete_key(self.key_name) + await self.async_client.purge_deleted_key(self.key_name) + await super().global_cleanup() + + async def close(self): + """This is run after cleanup.""" + await self.async_client.close() + await self.async_crypto_client.close() + await self.async_credential.close() + await super().close() + + def run_sync(self): + """The synchronous perf test.""" + self.crypto_client.unwrap_key(self.test_algorithm, self.encrypted_key) + + async def run_async(self): + """The asynchronous perf test.""" + await self.async_crypto_client.unwrap_key(self.test_algorithm, self.encrypted_key) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py index 37230cef3214..da5fc424e048 100644 --- a/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py +++ b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/get_secret.py @@ -2,10 +2,9 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ - from azure_devtools.perfstress_tests import PerfStressTest -from azure.identity import EnvironmentCredential -from azure.identity.aio import EnvironmentCredential as AsyncEnvironmentCredential +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential from azure.keyvault.secrets import SecretClient from azure.keyvault.secrets.aio import SecretClient as AsyncSecretClient @@ -16,23 +15,24 @@ def __init__(self, arguments): super().__init__(arguments) # Auth configuration - self.credential = EnvironmentCredential() - self.async_credential = AsyncEnvironmentCredential() + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() # Create clients vault_url = self.get_from_env("AZURE_KEYVAULT_URL") self.client = SecretClient(vault_url, self.credential, **self._client_kwargs) self.async_client = AsyncSecretClient(vault_url, self.async_credential, **self._client_kwargs) + self.secret_name = "livekvtestgetsecretperfsecret" async def global_setup(self): """The global setup is run only once.""" await super().global_setup() - await self.async_client.set_secret("livekvtestperfsecret", "secret-value") + await self.async_client.set_secret(self.secret_name, "secret-value") async def global_cleanup(self): """The global cleanup is run only once.""" - await self.async_client.delete_secret("livekvtestperfsecret") - await self.async_client.purge_deleted_secret("livekvtestperfsecret") + await self.async_client.delete_secret(self.secret_name) + await self.async_client.purge_deleted_secret(self.secret_name) await super().global_cleanup() async def close(self): @@ -43,8 +43,8 @@ async def close(self): def run_sync(self): """The synchronous perf test.""" - self.client.get_secret("livekvtestperfsecret") + self.client.get_secret(self.secret_name) async def run_async(self): """The asynchronous perf test.""" - await self.async_client.get_secret("livekvtestperfsecret") + await self.async_client.get_secret(self.secret_name) diff --git a/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/list_secrets.py b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/list_secrets.py new file mode 100644 index 000000000000..983d6e6703ee --- /dev/null +++ b/sdk/keyvault/azure-keyvault-secrets/tests/perfstress_tests/list_secrets.py @@ -0,0 +1,67 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import asyncio + +from azure_devtools.perfstress_tests import PerfStressTest +from azure.identity import DefaultAzureCredential +from azure.identity.aio import DefaultAzureCredential as AsyncDefaultAzureCredential +from azure.keyvault.secrets import SecretClient +from azure.keyvault.secrets.aio import SecretClient as AsyncSecretClient + + +class ListSecretsTest(PerfStressTest): + + def __init__(self, arguments): + super().__init__(arguments) + + # Auth configuration + self.credential = DefaultAzureCredential() + self.async_credential = AsyncDefaultAzureCredential() + + # Create clients + vault_url = self.get_from_env("AZURE_KEYVAULT_URL") + self.client = SecretClient(vault_url, self.credential, **self._client_kwargs) + self.async_client = AsyncSecretClient(vault_url, self.async_credential, **self._client_kwargs) + self.secret_names = ["livekvtestlistperfsecret{}".format(i) for i in range(self.args.list_size)] + + async def global_setup(self): + """The global setup is run only once.""" + await super().global_setup() + create = [self.async_client.set_secret(name, "secret-value") for name in self.secret_names] + await asyncio.wait(create) + + async def global_cleanup(self): + """The global cleanup is run only once.""" + delete = [self.async_client.delete_secret(name) for name in self.secret_names] + await asyncio.wait(delete) + purge = [self.async_client.purge_deleted_secret(name) for name in self.secret_names] + await asyncio.wait(purge) + await super().global_cleanup() + + async def close(self): + """This is run after cleanup.""" + await self.async_client.close() + await self.async_credential.close() + await super().close() + + def run_sync(self): + """The synchronous perf test.""" + secret_properties = self.client.list_properties_of_secrets() + # enumerate secrets to exercise paging code + list(secret_properties) + + async def run_async(self): + """The asynchronous perf test.""" + secret_properties = self.async_client.list_properties_of_secrets() + # enumerate secrets to exercise paging code + async for _ in secret_properties: + pass + + @staticmethod + def add_arguments(parser): + super(ListSecretsTest, ListSecretsTest).add_arguments(parser) + parser.add_argument( + '--list-size', nargs='?', type=int, help='Number of secrets to list. Defaults to 10', default=10 + ) From 0c01e248f95f21ee308601f14b07be574fb11ad9 Mon Sep 17 00:00:00 2001 From: Jianping Chen Date: Tue, 22 Jun 2021 15:27:25 -0700 Subject: [PATCH 28/45] [Communication]: use x-ms-date for hmac (#19396) * Use x-ms-date for Hmac * Update chat recorded sessions * Fix SMS hmac; update sms recorded sessions * Update phone number code and recorded sessions Co-authored-by: JP Chen --- sdk/communication/CONTRIBUTING.md | 3 + .../communication/chat/_shared/policy.py | 4 +- ...ient_e2e.test_access_token_validation.yaml | 114 ++++---- ...at_client_e2e.test_create_chat_thread.yaml | 104 ++++--- ..._create_chat_thread_w_no_participants.yaml | 102 ++++--- ...hat_thread_w_repeatability_request_id.yaml | 130 +++++---- ...at_client_e2e.test_delete_chat_thread.yaml | 116 ++++---- ...hat_client_e2e.test_get_thread_client.yaml | 104 ++++--- ...hat_client_e2e.test_list_chat_threads.yaml | 116 ++++---- ...e_async.test_create_chat_thread_async.yaml | 88 +++--- ...e_chat_thread_w_no_participants_async.yaml | 86 +++--- ...read_w_repeatability_request_id_async.yaml | 113 +++---- ...ent_e2e_async.test_delete_chat_thread.yaml | 99 ++++--- ...ient_e2e_async.test_get_thread_client.yaml | 88 +++--- ...ient_e2e_async.test_list_chat_threads.yaml | 97 +++--- ...read_client_e2e.test_add_participants.yaml | 171 ++++++----- ...thread_client_e2e.test_delete_message.yaml | 180 +++++++----- ...at_thread_client_e2e.test_get_message.yaml | 186 ++++++------ ...thread_client_e2e.test_get_properties.yaml | 174 ++++++----- ..._thread_client_e2e.test_list_messages.yaml | 216 ++++++++------ ...ead_client_e2e.test_list_participants.yaml | 184 +++++++----- ...ad_client_e2e.test_list_read_receipts.yaml | 276 ++++++++++-------- ...ad_client_e2e.test_remove_participant.yaml | 189 ++++++------ ...t_thread_client_e2e.test_send_message.yaml | 168 ++++++----- ...ead_client_e2e.test_send_read_receipt.yaml | 180 +++++++----- ...ent_e2e.test_send_typing_notification.yaml | 168 ++++++----- ...thread_client_e2e.test_update_message.yaml | 180 +++++++----- ...t_thread_client_e2e.test_update_topic.yaml | 168 ++++++----- ...lient_e2e_async.test_add_participants.yaml | 153 +++++----- ..._client_e2e_async.test_delete_message.yaml | 162 +++++----- ...ead_client_e2e_async.test_get_message.yaml | 168 ++++++----- ..._client_e2e_async.test_get_properties.yaml | 157 +++++----- ...d_client_e2e_async.test_list_messages.yaml | 195 +++++++------ ...ient_e2e_async.test_list_participants.yaml | 164 ++++++----- ...ent_e2e_async.test_list_read_receipts.yaml | 250 +++++++++------- ...ent_e2e_async.test_remove_participant.yaml | 169 ++++++----- ...ad_client_e2e_async.test_send_message.yaml | 151 +++++----- ...ient_e2e_async.test_send_read_receipt.yaml | 162 +++++----- ...e_async.test_send_typing_notification.yaml | 149 +++++----- ..._client_e2e_async.test_update_message.yaml | 162 +++++----- ...ad_client_e2e_async.test_update_topic.yaml | 151 +++++----- .../communication/identity/_shared/policy.py | 4 +- ...tion_identity_client.test_create_user.yaml | 16 +- ...ity_client.test_create_user_and_token.yaml | 18 +- ..._create_user_and_token_with_no_scopes.yaml | 16 +- ...est_create_user_from_managed_identity.yaml | 12 +- ...tion_identity_client.test_delete_user.yaml | 32 +- ...est_delete_user_from_managed_identity.yaml | 24 +- ...cation_identity_client.test_get_token.yaml | 34 ++- ....test_get_token_from_managed_identity.yaml | 26 +- ..._client.test_get_token_with_no_scopes.yaml | 30 +- ...on_identity_client.test_revoke_tokens.yaml | 50 ++-- ...t_revoke_tokens_from_managed_identity.yaml | 38 ++- ...dentity_client_async.test_create_user.yaml | 18 +- ...ient_async.test_create_user_and_token.yaml | 20 +- ..._create_user_and_token_with_no_scopes.yaml | 18 +- ...est_create_user_from_managed_identity.yaml | 14 +- ...dentity_client_async.test_delete_user.yaml | 36 ++- ...est_delete_user_from_managed_identity.yaml | 28 +- ..._identity_client_async.test_get_token.yaml | 38 +-- ....test_get_token_from_managed_identity.yaml | 30 +- ...t_async.test_get_token_with_no_scopes.yaml | 33 ++- ...ntity_client_async.test_revoke_tokens.yaml | 56 ++-- ...t_revoke_tokens_from_managed_identity.yaml | 44 +-- .../phonenumbers/_shared/policy.py | 4 +- ...lient.test_get_purchased_phone_number.yaml | 16 +- ...ed_phone_number_from_managed_identity.yaml | 12 +- ...hone_number_with_invalid_phone_number.yaml | 18 +- ...ent.test_list_purchased_phone_numbers.yaml | 106 ++----- ...d_phone_numbers_from_managed_identity.yaml | 102 ++----- ...t.test_search_available_phone_numbers.yaml | 60 ++-- ...e_phone_numbers_from_managed_identity.yaml | 48 +-- ...one_numbers_with_invalid_country_code.yaml | 14 +- ...test_update_phone_number_capabilities.yaml | 80 ++--- ...er_capabilities_from_managed_identity.yaml | 64 ++-- ...apabilities_with_invalid_phone_number.yaml | 24 +- ...async.test_get_purchased_phone_number.yaml | 15 +- ...ed_phone_number_from_managed_identity.yaml | 11 +- ...hone_number_with_invalid_phone_number.yaml | 17 +- ...ync.test_list_purchased_phone_numbers.yaml | 105 ++----- ...d_phone_numbers_from_managed_identity.yaml | 101 ++----- ...c.test_search_available_phone_numbers.yaml | 19 +- ...e_phone_numbers_from_managed_identity.yaml | 15 +- ...one_numbers_with_invalid_country_code.yaml | 13 +- ...test_update_phone_number_capabilities.yaml | 78 ++--- ...er_capabilities_from_managed_identity.yaml | 62 ++-- ...apabilities_with_invalid_phone_number.yaml | 21 +- .../azure/communication/sms/_shared/policy.py | 4 +- ....test_send_sms_fake_from_phone_number.yaml | 16 +- ...2e.test_send_sms_fake_to_phone_number.yaml | 16 +- ...e.test_send_sms_from_managed_identity.yaml | 12 +- ...e.test_send_sms_multiple_with_options.yaml | 16 +- ...t_sms_client_e2e.test_send_sms_single.yaml | 16 +- ...nd_sms_unauthorized_from_phone_number.yaml | 25 +- ..._e2e.test_send_sms_unique_message_ids.yaml | 32 +- ...send_sms_fake_from_phone_number_async.yaml | 15 +- ...t_send_sms_fake_to_phone_number_async.yaml | 15 +- ..._send_sms_from_managed_identity_async.yaml | 11 +- ..._send_sms_multiple_with_options_async.yaml | 15 +- ..._e2e_async.test_send_sms_single_async.yaml | 15 +- ..._unauthorized_from_phone_number_async.yaml | 21 +- ...est_send_sms_unique_message_ids_async.yaml | 30 +- 102 files changed, 4211 insertions(+), 3685 deletions(-) diff --git a/sdk/communication/CONTRIBUTING.md b/sdk/communication/CONTRIBUTING.md index 1f5b9f3e42c3..f95ae940d23e 100644 --- a/sdk/communication/CONTRIBUTING.md +++ b/sdk/communication/CONTRIBUTING.md @@ -10,6 +10,9 @@ Let's get started with how to setup the repo itself. To get started with any of the packages, change directory to the package you want to install and run the `pip install .` command. This will install all of the local files necessary for you to run the corresponding tests. It's important to note that if you made changes to the local files and want to run the tests again, you must run the `pip install .` command from the package root folder to update the files with your new changes. +In each SDK directory, run the following command to ensure packages to support development is installed correctly, +`python -m pip install -r .\dev_requirements.txt`. + Once the package has been installed on your machine, let's jump on how to run the tests to see that everything is in order. ## Testing diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml index 509b85ed33f4..fcf7d1f38d4c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:41 GMT + - Tue, 22 Jun 2021 20:51:50 GMT ms-cv: - - fHGI8ZHBdE6FWWcLXb9+rw.0 + - vSCUJP34TE698k75/G+nGQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 49ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:41.6383161+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:50.0857826+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:41 GMT + - Tue, 22 Jun 2021 20:51:50 GMT ms-cv: - - EfrrYu6M0kqvH0XENzwnDQ.0 + - cAHNVCW16kaXydTs9QHoPA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 65ms status: code: 200 message: OK @@ -99,32 +103,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 183597c1-141c-48f7-8f36-536594b699bf + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - fa6291de-4be7-4a5d-9269-277457040344 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:QpGlH_w2Jtw0OFUlTwFjkp_BMdOpuYobb064odI3LEo1@thread.v2", - "topic": "test topic1", "createdOn": "2021-03-23T01:59:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-c7c7-54b7-a43a0d000907"}}}}' + body: '{"chatThread": {"id": "19:0OpwXD84zHNn-hB5SAUm4xePrMNmulZ33M6QIOQKNdU1@thread.v2", + "topic": "test topic1", "createdOn": "2021-06-22T20:51:51Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:42 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - 0QDsoA/PIkSNRfA85F0svg.0 + - +0LZ8diz9UmrKxeDG80Jnw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 863ms + - 958ms status: code: 201 message: Created @@ -138,7 +144,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: @@ -146,19 +152,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:42 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - K4ohqxXMoUiwfIc1+DvMDA.0 + - Ppc2hEf7IE2e1hwxmRJAkg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 145ms + - 83ms status: code: 200 message: OK @@ -173,30 +181,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:43 GMT + - Tue, 22 Jun 2021 20:51:52 GMT ms-cv: - - lhO99myGHEqzfNHwBCBFIQ.0 - request-context: - - appId= + - fOJFQH20WkCsu48gFB3gTg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 625ms + - 281ms status: code: 204 message: No Content @@ -212,24 +217,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:53 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:53 GMT ms-cv: - - 6ya6A5CIZUmKVJS7j0PAQQ.0 + - yB9hp9ZolUu13FJoHHgR0w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 497ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml index 84dbd7f52693..1eaf939f6d2b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:53 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:53 GMT ms-cv: - - uflYkslnJ0az1K57+xY24w.0 + - f4bZLHwBdECjuyyImBosHQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 22ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:54 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:44.5046882+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:53.3896803+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:44 GMT + - Tue, 22 Jun 2021 20:51:54 GMT ms-cv: - - NHQbqzwTnEmQN4kTm9h+DQ.0 + - GGUPhGRaNUCkR38QUSVFGA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 137ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 7c9537bd-2f39-44df-a26a-a2fa79edbe52 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - c6bc96ed-cd7d-4809-bb2f-1b9278681d01 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:BYxo7l_Y6soquzd7Oy778gz14edJEaEjMtKCGxLOXN81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:45Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-d362-80f5-8b3a0d002f4e"}}}}' + body: '{"chatThread": {"id": "19:LM_q8olIzgltuHK6uNMVuo4u7FH0NaJO_HPHSFfMuIk1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:51:54Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:46 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - Z4eZicRU/EGxlcnkewHl4g.0 + - ewF6qFpHKEikQywJ1GSbDA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 667ms + - 508ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:46 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - U1WddTr9b0m75baizF2oTg.0 - request-context: - - appId= + - 1bYLG1U8+UuXKdfWHMC3xQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 906ms + - 108ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:55 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:55 GMT ms-cv: - - Y5zdwC9idEugEjPPH1Qblg.0 + - 2lggGcjKFEKHSRPaC+Tdtg.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 184ms + - 685ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml index 361c89384971..fa647e635369 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:56 GMT ms-cv: - - AzG/QSHtjkOFVdbh6V7s6A.0 + - KZYlls6Ju0uv3K93fXVuBA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 32ms + - 123ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:47.1232489+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:56.2488809+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:57 GMT ms-cv: - - xzyDRZIa70iilFv36NBznA.0 + - dPgBczYazEKv4sjiHqB9Gw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 34ms + - 165ms status: code: 200 message: OK @@ -99,32 +103,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5d2562a6-0fee-427a-9477-e09a152aa74e + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 0587da26-8d1a-4b03-ade7-f702310b3e17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:fxoIRZPJMm6dXjLMT4k8tnmYPCBnlae4kQGQNthvJeI1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:48Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-de48-1000-343a0d000add"}}}}' + body: '{"chatThread": {"id": "19:EyT1M86f22dSYWHcXYA5QmKJ-EVOiXZ5TrkGPn0N1HY1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:51:57Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:47 GMT + - Tue, 22 Jun 2021 20:51:57 GMT ms-cv: - - yGpzNDBNdkSkJ2suBlHl1g.0 + - k0JPeei4/kykVHAe4VoHrQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 460ms + - 725ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:49 GMT + - Tue, 22 Jun 2021 20:51:58 GMT ms-cv: - - g9mXZj5R30i7lcnY19fLfA.0 - request-context: - - appId= + - L2klub7EVU2txmVdZFb2pw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1009ms + - 169ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:58 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:49 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - 1ikoodygZ06DDnx6IugNNg.0 + - KeGcNL0Fh0ebitakfwUzAQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 789ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml index 07b5a09c9d61..120f929b1131 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:50 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - kNOIjBzdUkSSdMXvK6WDtg.0 + - HZFqLa4hkUyGMVEld3KdVA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 20ms + - 51ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:51:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:49.6172094+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:59.096303+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:50 GMT + - Tue, 22 Jun 2021 20:51:59 GMT ms-cv: - - M2bq+LiyUky0hQEsxZJR/g.0 + - hZ+lbd0rsUmh4681jrgnYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 156ms + - 65ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 12f32c6b-8a13-45af-95ce-d2e492fd71c8 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9853473b-2e19-48a9-9e01-7213d5a48b17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:XZn_jacKh5zU8vmPN3IskLxeXZfM-MBU1d7NzdVwPF01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:51Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}}}' + body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:52 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - +bSS41dlrEC+Zl36+g3LMg.0 + - kGbFzY/Kk0ytZH55SddRAg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1606ms + - 417ms status: code: 201 message: Created @@ -138,36 +144,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 12f32c6b-8a13-45af-95ce-d2e492fd71c8 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9853473b-2e19-48a9-9e01-7213d5a48b17 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:XZn_jacKh5zU8vmPN3IskLxeXZfM-MBU1d7NzdVwPF01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:51Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-e749-eef0-8b3a0d002831"}}}}' + body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:52 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - batYK2U7QkOf5ILJ8H+GZQ.0 + - uD0G+0wiIUWTNMOyZ0YwMA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 266ms + - 324ms status: code: 201 message: Created @@ -182,30 +190,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:00 GMT ms-cv: - - ZTRkKS4ni0GZRN2DXVGuOg.0 - request-context: - - appId= + - EOkx3+UMpUiLV24IbB04lg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 701ms + - 156ms status: code: 204 message: No Content @@ -221,24 +226,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:01 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:01 GMT ms-cv: - - qyTr+rr23UaXeKdRI9MACg.0 + - 4ibqaJ1kXE29KWKliFiPoQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 118ms + - 849ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml index bd406251a27c..7e547b20ff4c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:02 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:53 GMT + - Tue, 22 Jun 2021 20:52:02 GMT ms-cv: - - f7L/URyIcEyJ/hlffArpvg.0 + - LCJeZi2K80KbwaRWe9X53w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 29ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 01:59:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:02 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T01:59:53.4873853+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:02.1225636+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:54 GMT + - Tue, 22 Jun 2021 20:52:02 GMT ms-cv: - - fA1HowjENU2BSh15UH/Lnw.0 + - k6lr9tU5H0mMyqWL4OzpHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 134ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1213f59f-b296-4338-896f-8a0d2e78ba78 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 86c48417-b6bc-4cd0-b961-dea8ef0c8b0f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:abJXrsagnDHX3cZW8lc4Eg52E_boDKgmBqcxUui5pL41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T01:59:54Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb0-f66e-defd-8b3a0d002c4f"}}}}' + body: '{"chatThread": {"id": "19:tdfwwXihXDa8rsRse8l9B9hzKwqjOdap_gAcdLfikGI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:03Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 01:59:54 GMT + - Tue, 22 Jun 2021 20:52:03 GMT ms-cv: - - cJT7n82hukmpnwZJ9J1zwg.0 + - eX/cox2sDEWqdZ2KfjE5ZQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 378ms + - 644ms status: code: 201 message: Created @@ -140,7 +146,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -149,15 +155,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 01:59:55 GMT + - Tue, 22 Jun 2021 20:52:03 GMT ms-cv: - - m/AVKdvCd02mCdtbOB0Ayg.0 + - d00+LMTFpUGitUriihYSJQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 121ms + - 194ms status: code: 204 message: No Content @@ -172,30 +180,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 01:59:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:06 GMT + - Tue, 22 Jun 2021 20:52:04 GMT ms-cv: - - biayCudeBkWOn3yVTXAYHw.0 - request-context: - - appId= + - GPC1/PSvBE2rK0syf8hL6A.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11281ms + - 108ms status: code: 204 message: No Content @@ -211,24 +216,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:04 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:06 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - /a0SccwV+EyPJ/WfeqlOxQ.0 + - 6H/JZr2bRkCZemzgoxAUwQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 91ms + - 778ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml index e312e8e2b1c3..fbdd58d17623 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:07 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - HzzTiS9QqUqeHnaakcGZ+w.0 + - YDWH0ukBjU2aYAUz/jD7Pw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 101ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:06.3203994+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:05.3848576+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:07 GMT + - Tue, 22 Jun 2021 20:52:05 GMT ms-cv: - - tLhooADcyESS1ajGze6ePw.0 + - ZLU/DNyJfUGKjlLVbVIo0Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 153ms + - 167ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d2f8f718-69db-49da-91f8-d0783b9d093c + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1f86cf03-f998-4b6a-9d80-eb795b4d78c0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:MwQvTLMD0QBUFBXeXIY_0IVfRGvSPfaVQa-aATov1_w1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:07Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-28ac-47b4-a43a0d0015da"}}}}' + body: '{"chatThread": {"id": "19:V41iISKlCQRg67Jwb7-K1BSJBq-bxYb2dARsXNarYS41@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:06Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:08 GMT + - Tue, 22 Jun 2021 20:52:06 GMT ms-cv: - - Z1pUgAlLRkmaAG/Ac1SQNg.0 + - AJhAjaimzE2MvIIdIMf3Tg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 944ms + - 573ms status: code: 201 message: Created @@ -139,30 +145,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:09 GMT + - Tue, 22 Jun 2021 20:52:06 GMT ms-cv: - - il8/1DiR+kqDeqcPiTiQdw.0 - request-context: - - appId= + - i+4bX327DEeBUOIFU2jUqg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1294ms + - 158ms status: code: 204 message: No Content @@ -178,24 +181,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:07 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - DFrdpdvvYkKOOKHjoyKrAg.0 + - V0Q6d9eupkiPq53LK9K21g.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 233ms + - 2023ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml index 4e0abdd0a2f3..3c53831c4e1a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - 1PXolSLN3UWbfWP3Ba3psA.0 + - W70fntTim0iRoBmVnHyZPQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 19ms + - 62ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:09.543551+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:09.4380765+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:09 GMT ms-cv: - - uT3r9w3h6EG8bTTWwVJA5g.0 + - jM6nJq4WUUKkpZo9ye/2Hw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 130ms status: code: 200 message: OK @@ -95,36 +99,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 22f9b695-8817-4e72-a6f8-d24cd0226aac + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a9a8c11d-0ceb-4bd5-9763-a2acad21bf21 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:Zy6nhCxHPwyMHQYL1-KH4ky6KkPtCUEzZoL6ZBYupHo1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:10Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-35a0-ac00-343a0d0029b8"}}}}' + body: '{"chatThread": {"id": "19:qOEr5Gk8t3D51yo9xhFS77rwmzDD2Mc2qC3tZtag27A1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:10Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:10 GMT + - Tue, 22 Jun 2021 20:52:10 GMT ms-cv: - - fJ4DKCpt2k+VchVRXIvaYg.0 + - 4+bBwEXHXE2zCya+ryunJA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 667ms status: code: 201 message: Created @@ -138,7 +144,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 response: @@ -146,19 +152,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:12 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - ekqdBMd5J0GrP4WHmBN4Lg.0 + - pX4cwuqJe0SJay2Gyaw+zQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 99ms + - 105ms status: code: 200 message: OK @@ -173,30 +181,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:14 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - boCHRYE7yEiQX35rgfe7sg.0 - request-context: - - appId= + - 1ZpLuvKBpEGY+7NhkazJ2w.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1040ms + - 170ms status: code: 204 message: No Content @@ -212,24 +217,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:14 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:14 GMT + - Tue, 22 Jun 2021 20:52:13 GMT ms-cv: - - hW3wa+kWjEmc8M0tyUWsVQ.0 + - qpnAW7teXUaMzuBaE/HE+w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 191ms + - 771ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml index 3d27906fb5fb..6f40a2a2b53f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:15 GMT + - Tue, 22 Jun 2021 20:52:15 GMT ms-cv: - - 352Nh1MVSUqiXYBQc4W/1Q.0 + - lrP95kLyUE2RhgWRM0xbaw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 95ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:14.6547958+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:15.0461768+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:15 GMT + - Tue, 22 Jun 2021 20:52:15 GMT ms-cv: - - wSlPJuUqHUSBpymMhN04DA.0 + - BBgY2fTxVEy5EhznI9pKEA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 156ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - b444f34d-c535-4c6c-bb69-c0825b7062ef + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9f521261-6c27-45b4-ab58-372720169acb method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:SCmNqWfHFr0rNuEOzn9NVbXIpexZc0n6nqGVTzA9iAg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:15Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-491d-80f5-8b3a0d002f66"}}}}' + body: '{"chatThread": {"id": "19:5OTItLkfqgNZNbdkZJGi0Tw7Gk3947sX4ushhmOXPCI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:16Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:16 GMT - ms-cv: CqqD1gjh90OyD8aexodATw.0 + date: Tue, 22 Jun 2021 20:52:16 GMT + ms-cv: 4ST5GKZFYk6p3Xtr48//Pg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 543ms + x-cache: CONFIG_NOCACHE + x-processing-time: 594ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:16 GMT - ms-cv: OG6kgWwHHE27SJRl8oV2Qg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:16 GMT + ms-cv: 3wsOIOWPBkuiQC7iTEF5aQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 169ms + x-cache: CONFIG_NOCACHE + x-processing-time: 177ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:19 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:17 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - X1uY0axZi0GR7WnLRfIprg.0 + - u9UPqVKkgEmt/w2caavvGQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 778ms + - 914ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml index 7384b940d4f2..4ddb3da38fd8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:19 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:18 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - cFmjkEAy30CPv+8z3rRBSA.0 + - zjSh6ObOn0Kx8GCRti+iOg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 105ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:20 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:19 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:16.965431+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:18.2935729+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:17 GMT + - Tue, 22 Jun 2021 20:52:18 GMT ms-cv: - - 967OF2qHbkGUs8cvRF417g.0 + - 4l2QFgYaT06TZVzmMDmgIA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 151ms + - 178ms status: code: 200 message: OK @@ -95,25 +99,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - da0cf59e-36c6-4bdb-b929-a9f2474e4b4f + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 8d8b5540-2c6a-4722-8e95-299ec5e4f3cf method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:LpR0EuWSH9e86rZJskmJg9Y25nnYDf7bXfWR8UDe6pc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:18Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-524f-47b4-a43a0d0015dd"}}}}' + body: '{"chatThread": {"id": "19:0KyXGTSmW4__jXsrXdhuZ11gb50yZh_0LKKhtkVNtbo1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:19Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:18 GMT - ms-cv: VvQccxfU20KE5W3FJEcjlw.0 + date: Tue, 22 Jun 2021 20:52:20 GMT + ms-cv: uIgLKvBgaU2uqOf0xBEZDg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 545ms + x-cache: CONFIG_NOCACHE + x-processing-time: 529ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:18 GMT - ms-cv: Sd9ZGwFfN0K5qFmJYP8gzQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:20 GMT + ms-cv: Hlu6bmKxBkeFxBtf6pExUA.0 strict-transport-security: max-age=2592000 - x-processing-time: 246ms + x-cache: CONFIG_NOCACHE + x-processing-time: 108ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:21 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:20 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:19 GMT + - Tue, 22 Jun 2021 20:52:21 GMT ms-cv: - - +pGts6cKfUCConndAEbKyA.0 + - B1y8Zlm4FEeeZ4IGvzVfNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 825ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml index 25f3a44d6f22..aa543399db5c 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:20 GMT + - Tue, 22 Jun 2021 20:52:21 GMT ms-cv: - - w9/BQ/BDMkaf+veW//ZJYw.0 + - +YwKWQsXzkScD6ust3GIiw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 74ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:19.5297847+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:21.2418757+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:20 GMT + - Tue, 22 Jun 2021 20:52:22 GMT ms-cv: - - MuuCcfcVxUqQAr9+CGUwUA.0 + - Zj9KI87hAUKrZJHga6zfkQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 37ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1f15f963-d11c-4a45-aabf-7bcdde228993 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 472eca96-c164-4ca5-b4db-e9a159504505 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:-NtpoqgB77uWn9aWX5eCOtkoyhn6GrtusFW8o1dHIu41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:20Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}}}' + body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: 9CIvBRrADU2N40/1WHPBFg.0 + date: Tue, 22 Jun 2021 20:52:22 GMT + ms-cv: 3OFCTqMk5UCSLAdCEMTtrQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 648ms + x-cache: CONFIG_NOCACHE + x-processing-time: 343ms status: code: 201 message: Created @@ -124,29 +129,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1f15f963-d11c-4a45-aabf-7bcdde228993 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 472eca96-c164-4ca5-b4db-e9a159504505 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:-NtpoqgB77uWn9aWX5eCOtkoyhn6GrtusFW8o1dHIu41@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:20Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-5c36-80f5-8b3a0d002f68"}}}}' + body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: CPUgnBu3Gke6jF8Q96+CLQ.0 + date: Tue, 22 Jun 2021 20:52:22 GMT + ms-cv: ysfM12uJ80a0KsSChilJeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 310ms + x-cache: CONFIG_NOCACHE + x-processing-time: 223ms status: code: 201 message: Created @@ -157,7 +163,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -165,11 +171,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:21 GMT - ms-cv: Gho1JmO8LUed6YJBiYEwlA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:23 GMT + ms-cv: IeyURAjdEUeXe8t6++bOUg.0 strict-transport-security: max-age=2592000 - x-processing-time: 173ms + x-cache: CONFIG_NOCACHE + x-processing-time: 286ms status: code: 204 message: No Content @@ -185,10 +192,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:24 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -198,17 +205,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:24 GMT ms-cv: - - yvp5zvbiykmDfNUy0/5opg.0 + - wZ0dtedx60qJURutofHpxA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 722ms + - 688ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml index f11d257b69f7..396965e752de 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:26 GMT ms-cv: - - ZFqWk+YogE26Kt8RA8Pong.0 + - pg7/XMlZ6k+ghW3ewBIGww.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 92ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:22.2069578+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:25.4830008+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:22 GMT + - Tue, 22 Jun 2021 20:52:26 GMT ms-cv: - - y5w0siklgke8SEizpiWRYg.0 + - sJbW3M3D7EqBJAyD2O+3rw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 160ms + - 167ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '257' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - c3b06f54-cb81-4708-885f-264131b7b518 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - e3d2cd5a-8940-472f-a4a9-efce0f4d3abb method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:xG9gXQbfk6W8q1vMFGNWhDzjMpahAJwX_Kp76_-RE-s1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:23Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-66a4-defd-8b3a0d002c62"}}}}' + body: '{"chatThread": {"id": "19:43_h7rasMUfHonmcY5qxSv2o0lAK2BfUmPl9E0uUfmU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:27Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: l5qvuRupC0mK0OqLp7bsXA.0 + date: Tue, 22 Jun 2021 20:52:27 GMT + ms-cv: WMOPSchIikmmQDHr+9gv4g.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 758ms + x-cache: CONFIG_NOCACHE + x-processing-time: 568ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: MV7CXSmr40m/UBnm3VNf+w.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:27 GMT + ms-cv: MzbJCCwBj0GUpBzxDXQnAA.0 strict-transport-security: max-age=2592000 - x-processing-time: 223ms + x-cache: CONFIG_NOCACHE + x-processing-time: 130ms status: code: 204 message: No Content @@ -147,7 +153,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -155,11 +161,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:23 GMT - ms-cv: 03VKMNy1CUCxhrnrdcHlNg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:28 GMT + ms-cv: kkb1Qs2qGESjwci1N+fo+Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 95ms + x-cache: CONFIG_NOCACHE + x-processing-time: 177ms status: code: 204 message: No Content @@ -175,10 +182,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:26 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:29 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -188,17 +195,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:24 GMT + - Tue, 22 Jun 2021 20:52:30 GMT ms-cv: - - lLl+5UvO0UCuI/eV8sd9eg.0 + - IiAIRAiNK0mVZYyjIzIRJA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 521ms + - 925ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml index 9e27c855aea7..8e1e9f6188b9 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:30 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:25 GMT + - Tue, 22 Jun 2021 20:52:32 GMT ms-cv: - - 20AsF8Po1Ui7DK/vgoKVTA.0 + - goTz6/Zc8kSWOdRGe7I+vA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 85ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:24.5096169+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:32.9783707+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:25 GMT + - Tue, 22 Jun 2021 20:52:33 GMT ms-cv: - - robHajmGLE2DtRokN/3wpQ.0 + - 8YV1Fd9HFkmu3J9JbHja0Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 136ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - c58e918d-8a6f-450a-8e33-e823da308c32 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 6e1f34d0-972f-4a8f-ad0f-e454e3d90cad method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:a7scq8j6cixJ4hNuVIYg_nwcUINk35nAVjmuunqfatg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:25Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7061-1000-343a0d000aec"}}}}' + body: '{"chatThread": {"id": "19:7LGDmjICcpbNNGmJgqpwIQ6QdF1GSHBbEGDhh9_0w3Q1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:34Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:26 GMT - ms-cv: Z5+5T7qhNEOMf7ntKWuI5w.0 + date: Tue, 22 Jun 2021 20:52:34 GMT + ms-cv: jMldTRwtpkOwwkFKBoCJNQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 728ms + x-cache: CONFIG_NOCACHE + x-processing-time: 597ms status: code: 201 message: Created @@ -124,7 +129,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -132,11 +137,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:26 GMT - ms-cv: dBEoEGGH102GxGxr49MQtQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:34 GMT + ms-cv: njWVsxdIVU+Zkc0yo+j84Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 250ms + x-cache: CONFIG_NOCACHE + x-processing-time: 169ms status: code: 204 message: No Content @@ -152,10 +158,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:35 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -165,17 +171,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:26 GMT + - Tue, 22 Jun 2021 20:52:35 GMT ms-cv: - - qhvKEctchEeBe5gaET8VPA.0 + - 8sPeUSKmFEG+7OHyfJR1MQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 496ms + - 640ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml index b3bf1ba99b6e..498026e03c2f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml @@ -12,31 +12,33 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:27 GMT + - Tue, 22 Jun 2021 20:52:36 GMT ms-cv: - - dL/9ZAvsZ0K47psZhnrzHg.0 + - pSJ0VwTB20K1kSnqqHi0Nw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - 60ms status: @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:30 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:37 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:27.0553604+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:36.884581+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:28 GMT + - Tue, 22 Jun 2021 20:52:37 GMT ms-cv: - - JEalPJbddkK55SgrhgljNw.0 + - b6q5W6gNAkW8vVnkBXne3A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 128ms status: code: 200 message: OK @@ -91,29 +95,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - fcc573bb-8907-467e-b3ab-e99b4c142758 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 3ad888a5-d7e1-48c7-bff7-7203e0738b4e method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:ZSVbarYVepoj0_gutZl9w_e9nrk5fJsxe5nxkyLtwRs1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:28Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-7994-92fd-8b3a0d00251d"}}}}' + body: '{"chatThread": {"id": "19:YPYZOu1agJIntrn2lZ-WacPkxyTBSYdJkOlUhiCoOwM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:38Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:28 GMT - ms-cv: gZUwcIRRM02izBwR9ezZsA.0 + date: Tue, 22 Jun 2021 20:52:38 GMT + ms-cv: 4xGkE00hIUmbOhafN06YVg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 634ms + x-cache: CONFIG_NOCACHE + x-processing-time: 590ms status: code: 201 message: Created @@ -124,20 +129,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:00:30 GMT - ms-cv: GUV3c5NqRkmDQK1rAMymCQ.0 + date: Tue, 22 Jun 2021 20:52:41 GMT + ms-cv: KcAYig+aWkekdksKcPmhuA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 95ms + x-cache: CONFIG_NOCACHE + x-processing-time: 81ms status: code: 200 message: OK @@ -148,7 +154,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -156,11 +162,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:00:30 GMT - ms-cv: ZazzKVAVMUqfETyEOH4OYA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:52:41 GMT + ms-cv: 75liE9Ou006qfrU5tYTf+g.0 strict-transport-security: max-age=2592000 - x-processing-time: 252ms + x-cache: CONFIG_NOCACHE + x-processing-time: 125ms status: code: 204 message: No Content @@ -176,10 +183,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:42 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -189,17 +196,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:32 GMT + - Tue, 22 Jun 2021 20:52:42 GMT ms-cv: - - c6PMtgQUCE6gHmXuEX7sCA.0 + - k1kuT9vr3E2aH1+qo4Ljfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1349ms + - 887ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml index 2a8aa2798c52..43632207c237 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:32 GMT + - Tue, 22 Jun 2021 20:52:43 GMT ms-cv: - - Co2UcdZOy0yFojpWYa7vgw.0 + - gWrrJWCVOUumh2Oz9BQbtg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 33ms + - 84ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:32.5814511+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.0742387+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - XA9Sd9TUOkant1xGAgfUqA.0 + - lDsgpVAIi029IUCxURZs+w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 128ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-909d-3ef0-8b3a0d0028ca"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-d207-b8ba-a43a0d002ce5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - peGqdZKPIEaZkZuqi4n3IA.0 + - 1mRJWhZTy0yQ3VkF6ZGJOA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:32.9589505+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.480522+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:33 GMT + - Tue, 22 Jun 2021 20:52:44 GMT ms-cv: - - zrsHxBfzZkyLEj9RgJyAXA.0 + - U8K+fnmQl0ultnK/AMI8dQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 160ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6d9ec3fc-020a-4149-889d-d1754c0a4757 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7b84fd83-f8c7-462a-8334-7a374313762f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:X-i1OCfjs_ydNeTf4PGzbMVjP9Jh--N9N82AfC_c1N01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:34Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-8f27-3ef0-8b3a0d0028c8"}}}}' + body: '{"chatThread": {"id": "19:ewl3-fapK9Nosd1ilIbwq6vODeuiJWv30vQkNN7D0FQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:46Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:34 GMT + - Tue, 22 Jun 2021 20:52:46 GMT ms-cv: - - aOYWol46nU2wfX9F9BSKyQ.0 + - 6Uy157BgzUONPqW442LTHg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 854ms + - 711ms status: code: 201 message: Created @@ -224,30 +234,33 @@ interactions: Connection: - keep-alive Content-Length: - - '234' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:35 GMT + - Tue, 22 Jun 2021 20:52:47 GMT ms-cv: - - hdvnkrhPBkOZfM6pGsoEtQ.0 + - 3k2SkPvs/0+RFMEZ4pkbVw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 384ms + - 369ms status: code: 201 message: Created @@ -262,30 +275,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:36 GMT + - Tue, 22 Jun 2021 20:52:47 GMT ms-cv: - - Sc8j/Vw7T0OeSwngT+OP+w.0 - request-context: - - appId= + - zr9KmXuUrUSU8qf7gOZB6Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 693ms + - 170ms status: code: 204 message: No Content @@ -300,10 +310,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -313,17 +323,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:36 GMT + - Tue, 22 Jun 2021 20:52:49 GMT ms-cv: - - d9S4omrr8kehP4eTH3d48A.0 + - 5eO0U4Xl70qmP+O5wxkUvA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 681ms + - 1828ms status: code: 204 message: No Content @@ -339,24 +351,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:50 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:50 GMT ms-cv: - - kF1DOTdEH0GxA6Wn5BgpUA.0 + - 0jEp3n0/Q0mKoLnwiVc44w.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 213ms + - 929ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml index 65bbac4ae3ee..2a9a519101d4 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - bUbrqt4Q8UqEVyHbDPYdGQ.0 + - NmIRlZ9MJUqhnkLfWeA4Jg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 91ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:36.930961+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:50.6187793+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - mvjmzoxHW0acbOjTofeaSA.0 + - R/DEBPl8qEaKhCoerDW0sA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 137ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a19b-80f5-8b3a0d002f73"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-eb90-ceb1-a43a0d00bdfc"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - 3k84s4ANrUudeN8GaQ470g.0 + - 0y0XeeKYSE2rBdRQWOkO0g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 71ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:37.3164629+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:51.0220441+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:37 GMT + - Tue, 22 Jun 2021 20:52:51 GMT ms-cv: - - a8KaGG6F3U6e2p7WueaKnw.0 + - Opq0xom0WkalaUwGpwIW4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 152ms + - 165ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 03dc0aa7-b478-412e-b691-1a1fd51c7453 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 3d6f0447-94e6-49e5-bcce-81b5dbc225a7 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:u2XjqhWUkGdp3R0cNPYHCeiEC8CiqARUEn0VxBVNNe81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:38Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-a033-80f5-8b3a0d002f72"}}}}' + body: '{"chatThread": {"id": "19:Lka7ukU8T01s5p_sXicH_14AJWaqaPT64snT9Is6pM01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:38 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - jaqSDX8OQ0ym8JGfxH1qeg.0 + - gI1INlIc9Eq8hJIXY0zx9A.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 736ms + - 496ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - 9NSwZSDH40OUU7sgcYmysw.0 + - Vep4URYeN0avDBFaJw3YBA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 190ms + - 210ms status: code: 201 message: Created @@ -265,7 +277,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -274,15 +286,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:52 GMT ms-cv: - - sVVv2d/3/U2u4/+ez7X8rA.0 + - P73t5e6DHE2C+dpc3H8I6g.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 270ms + - 257ms status: code: 204 message: No Content @@ -297,30 +311,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:39 GMT + - Tue, 22 Jun 2021 20:52:53 GMT ms-cv: - - cOquMqzEoUuG7yxV2qe/Jg.0 - request-context: - - appId= + - uE4gXOvDkkCNfASslmSzQg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 638ms + - 318ms status: code: 204 message: No Content @@ -335,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:53 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -348,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:40 GMT + - Tue, 22 Jun 2021 20:52:54 GMT ms-cv: - - LXcXVj8COUiT9tazWnoFmA.0 + - we/NjoDv30eZV59VldrtQw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 620ms status: code: 204 message: No Content @@ -374,24 +387,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:54 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - A83dHXa3YkyI035DvJCsmA.0 + - H5PY1b2hzEyKK2eXRdSnpA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 168ms + - 732ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml index 55636fc1f504..a22948fc35dd 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - cdvzzGq/80mPDCU9r6xyUw.0 + - aaeABU1Xe06GwZEg1JswmQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 42ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:40.9646647+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.7753604+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - 1/wCXe/1kEmssUazr11RjA.0 + - 0N2X/MP2MESeB3PkXke1Og.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 131ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b13c-99bf-a43a0d0024ea"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-fbac-e3c7-593a0d001af5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - NzVOg2HP4UukhUlMisSc2w.0 + - XYeLM4uixEWWWjqTEwRQ8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 24ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:41.2687055+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.9505748+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:41 GMT + - Tue, 22 Jun 2021 20:52:55 GMT ms-cv: - - ViFOd+M440iPgwucZJth5Q.0 + - 1c6kgzPFVU2Zq3K6kikL4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 142ms + - 32ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 7e0ae889-b166-4765-b544-f8026f9640e9 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 18c89648-0d4a-4373-8fa3-d52aa41524e2 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:_oZBBj-GZY3J160sLaeeSRImsXuJnPssSn09dRHO9l81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}}}' + body: '{"chatThread": {"id": "19:DKWVb1_3iQgLjBQn3i_d2saoFSv3GgYXKAwt8tQRD2g1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:52:56Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - B2cy4jZXskasqGcivp3GkA.0 + - S5UG0uK3REel82YZV2fUFQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 750ms + - 648ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - EBXa+njix06JptuSjdqz2g.0 + - 5CDv1n3FlUGnK8jVsBpvVQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 197ms + - 279ms status: code: 201 message: Created @@ -263,30 +275,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1616464843669", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395177044", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-03-23T02:00:43Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-b016-99bf-a43a0d0024e9"}}}' + "2021-06-22T20:52:57Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:42 GMT + - Tue, 22 Jun 2021 20:52:56 GMT ms-cv: - - i8SRJZTyR02P1MwoFUfa+A.0 + - pdfPUTV8qEyLn2wHdcpVUQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 102ms + - 116ms status: code: 200 message: OK @@ -301,30 +315,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:43 GMT + - Tue, 22 Jun 2021 20:52:57 GMT ms-cv: - - 1kBfJt0AWUWUgdQW0Y0BAQ.0 - request-context: - - appId= + - Y0Hhg87HE0CWyLi5i2UxZQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 490ms + - 257ms status: code: 204 message: No Content @@ -339,10 +350,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:57 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -352,17 +363,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:44 GMT + - Tue, 22 Jun 2021 20:52:58 GMT ms-cv: - - V05VY4wxwkiOxogzyZb7wA.0 + - cQZhKYzCikGiqhT3eXhJ4A.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1108ms + - 664ms status: code: 204 message: No Content @@ -378,24 +391,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:58 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:44 GMT + - Tue, 22 Jun 2021 20:52:58 GMT ms-cv: - - tkFwb2BKGE6LlE+8EtSbtQ.0 + - EFf8o6CvCk+VlW6ZWZ57ag.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 195ms + - 563ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml index 961da0dc7dee..964de05022f0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:45 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - HRttduw6yk6W6/cvLNibrQ.0 + - gidDQVUDekaenMwsLroXVg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 29ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:45.415765+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.6871619+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:45 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - 0Stw0iU3UkW6uM00qjXNyQ.0 + - 2phab7zz8U2Av91LApxy4g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 155ms + - 42ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c29f-47b4-a43a0d0015e1"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0af6-28c5-593a0d001bd0"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:46 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - snLE0XuLjUew4PzaigMMxQ.0 + - vuehMXX20k+Hv+GvTd/Yjw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 33ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:52:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:45.7258597+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.8764278+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:46 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - Drn0i1EzZkes7KhbU8Zi5g.0 + - E7vFE+bEWUmOwwMXVfMnlQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 44ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 60ba2499-d29e-424a-9b78-f21d6bf636bb + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - f4f2f85f-1a8c-49ef-b712-05d30d214b63 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:_8yVP1qtd1nnrOoiF5ycR1rvL1tb8N0tcd1Vz4baEnQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:46Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}}}' + body: '{"chatThread": {"id": "19:cwsBqfi5P16U-E_PwkGgEcQcCg8z74f7OJfDhf2NRh01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:47 GMT + - Tue, 22 Jun 2021 20:52:59 GMT ms-cv: - - CtWGuQritkaUnBlHE1GlSA.0 + - EqMQTSelQEqNupIBD6T6QQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 736ms + - 448ms status: code: 201 message: Created @@ -224,29 +234,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-03-23T02:00:46Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-c171-47b4-a43a0d0015e0"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:47 GMT + - Tue, 22 Jun 2021 20:53:00 GMT ms-cv: - - 37yyyNYTYEGaeVtqskvwYQ.0 + - /bi1FXiao0y/xvLterHScg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 91ms + - 78ms status: code: 200 message: OK @@ -261,30 +273,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:48 GMT + - Tue, 22 Jun 2021 20:53:00 GMT ms-cv: - - X4SfyQU5YkyqbeyZtvHIkw.0 - request-context: - - appId= + - 2IxEFt9ybkG3gNINgY8O+Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 880ms + - 163ms status: code: 204 message: No Content @@ -299,10 +308,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:01 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -312,17 +321,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:02 GMT ms-cv: - - eOgROPPueEiXhC8YWrhH9w.0 + - ejBwpkXvCUS+XNnVD8e/EA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 589ms + - 822ms status: code: 204 message: No Content @@ -338,24 +349,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:02 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:02 GMT ms-cv: - - /28EsY7bUkyplfSAR4pitA.0 + - a33rA3Yc+EWEC30cSKX61Q.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 682ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml index b79115469d34..fe112c14506d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - JNHmnJWT+06jOv4PUfI69A.0 + - XxjSxEXcr0yeB3LwWpKrWw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 30ms + - 33ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:49.3681884+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:02.8820605+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - viWRaFnN6EGlwdpdlCz7hQ.0 + - 0Sm8wtmUL06twwBDAIqayQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:03 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d220-63b2-a43a0d0025a7"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1b65-e3c7-593a0d001af7"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - jrF/gQkLqESi/SOSXm7+Ew.0 + - Wip+OVoQHUaijH1SnHH6iQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 32ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:04 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:49.6799549+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:03.0774892+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:49 GMT + - Tue, 22 Jun 2021 20:53:03 GMT ms-cv: - - hlk/t84Yp0O4u1B3/ayvFA.0 + - 0i289LekwEOikg+BVA3UfQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 131ms + - 38ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 20bae8b1-59c2-4a6d-a1eb-724ebcff406d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 8614c7c6-b342-468d-85b1-bfde25b7de9d method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:BEl-6moQ2D1CUCNoo6ublDWRjH7MXdqIBmOMsHF31dw1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:50Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-d0e4-63b2-a43a0d0025a6"}}}}' + body: '{"chatThread": {"id": "19:vraRn114U16p4LbamnaYDiO8aE4qGmzUCh_LwYJa6F81@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:04Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:04 GMT ms-cv: - - OY8ghh+JUE2pMpwPkJHPfQ.0 + - xJzLs8xs/E+Wd6SUL0s+6g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 763ms + - 473ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:05 GMT ms-cv: - - MDlTupfvnUGGR17+RuagaA.0 + - f8/SrLeJzEudt21Z8SECeA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 223ms + - 387ms status: code: 201 message: Created @@ -263,7 +275,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 response: @@ -271,19 +283,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:05 GMT ms-cv: - - IHiVcl5+L0yqctQpreP78A.0 + - 9+11J0zs6UStci2lsiiFKA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 140ms + - 248ms status: code: 200 message: OK @@ -297,7 +311,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -305,19 +319,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - QaXc0ceouUWv/dZPCukRdw.0 + - KEAWOb6oxU6KA9Hz39ZIKw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 180ms + - 135ms status: code: 200 message: OK @@ -331,7 +347,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -339,19 +355,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:51 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - FCyzKp9eBUmemwUtSp83+A.0 + - CgimGtMmC06DX6PyMRZSyg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 186ms + - 122ms status: code: 200 message: OK @@ -365,7 +383,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 response: @@ -373,19 +391,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:52 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - KmV3/ZPAlUGuwhf2bfdfEQ.0 + - qkqyBxwun0yjq1h68TFJqw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 174ms + - 140ms status: code: 200 message: OK @@ -400,30 +420,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:53 GMT + - Tue, 22 Jun 2021 20:53:06 GMT ms-cv: - - qX0Y/Y2tiUa3Gg+2pi29tQ.0 - request-context: - - appId= + - 7HyA7KtuSkKaBUeV+n+PSQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 977ms + - 163ms status: code: 204 message: No Content @@ -438,10 +455,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:00:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:07 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -451,17 +468,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:07 GMT ms-cv: - - KiPmz6HlEka2+A+Uuo5IFg.0 + - XqxzZLOwaESAnTU61BMWKw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 685ms + - 653ms status: code: 204 message: No Content @@ -477,24 +496,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:07 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:07 GMT ms-cv: - - nr0sBiDLzEewhvZwbMKMAw.0 + - KrRW27v7vke+bGa6sB1ooQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 274ms + - 495ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml index 59f1e15be40f..34a02528286b 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:54 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - 9rGoSow960qX6+dhR7DnwQ.0 + - Rluqi/eOcU6dMQwjIKC6AQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 19ms + - 32ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:54.5803127+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:07.9578099+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - qGbguC5qjkW8JQgiuNG9/Q.0 + - CK5W7uXtdkmqa2Q53s6lYw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 32ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e67b-b5bb-a43a0d0030a7"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2f79-e3c7-593a0d001afe"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - AomPQS1UTE2FDu9K7MCVHg.0 + - fTyl4H0ty0umoTwv7SezUQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 61ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:00:58 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:54.8846113+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:08.2355618+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:55 GMT + - Tue, 22 Jun 2021 20:53:08 GMT ms-cv: - - mDrrUpGr4UivsPUmepZRcA.0 + - +2oplxi3EUqr2lusN4ziDw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 135ms + - 37ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '257' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6bc5b929-c807-4882-af99-c8410a0669e4 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 25b72693-946f-409f-88e0-8d6310d2ad82 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:u2GVykDHbvqJB7ltRBVLfjueg4DXyA6rp7A4t_JE6xc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:00:56Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-e551-b5bb-a43a0d0030a6"}}}}' + body: '{"chatThread": {"id": "19:0br5s3BTIsrwva4YZlbfaabAuOjWyXIbVyNh2PQCiiI1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:09Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:56 GMT + - Tue, 22 Jun 2021 20:53:09 GMT ms-cv: - - UJbbJHq5PE2HZWd7NPgzqw.0 + - oeY2bcXYNUibkNW6RjIT5g.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 942ms + - 388ms status: code: 201 message: Created @@ -224,30 +234,33 @@ interactions: Connection: - keep-alive Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:56 GMT + - Tue, 22 Jun 2021 20:53:09 GMT ms-cv: - - Iyr41xYT706pQxM7PDkjew.0 + - Ti4/ZA+BF0W381v8cbyMxQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 279ms + - 232ms status: code: 201 message: Created @@ -261,26 +274,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:57 GMT + - Tue, 22 Jun 2021 20:53:10 GMT ms-cv: - - NnJvwsUgCUuyxpRHvtbzDQ.0 + - jtJiO+vgSkKgprINEk5YVQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 90ms status: code: 200 message: OK @@ -295,30 +311,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:00 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:00:58 GMT + - Tue, 22 Jun 2021 20:53:10 GMT ms-cv: - - RbJySq/SbkCXMptTad+oqA.0 - request-context: - - appId= + - p2SuPL7P40eykdmcjjT3UQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 625ms + - 133ms status: code: 204 message: No Content @@ -333,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:01 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:11 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -346,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:11 GMT ms-cv: - - oRnRCz3XF06khtQ96qF/kg.0 + - baMV3AnyNky8tPeBX5lw2A.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 765ms + - 496ms status: code: 204 message: No Content @@ -372,24 +387,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:11 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:00:58 GMT + - Tue, 22 Jun 2021 20:53:11 GMT ms-cv: - - MfEd8BRzN0KNvjQqpufSgw.0 + - fe9iKwA87UasA/GHtUU+RQ.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 242ms + - 780ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml index a28ab9bc1013..da10316d9e76 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:12 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:12 GMT ms-cv: - - 3sJKD+JFiUiDAiJR7jhCCA.0 + - fHf029up8kuT+ODkZAmEeg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18ms + - 60ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:12 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:59.1936435+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.1709642+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - xcKub/dMtE+1AEyoQ9cD/Q.0 + - mlOYNkC/ZEiqZQCYum+K+Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 139ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f858-6a0b-343a0d00275c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3ff1-b8ba-a43a0d002ceb"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - cBkFFWGZYkGUA8ykPs2bNA.0 + - FVBq2qpqVEehAl4WMVZX/A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:00:59.3384224+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.6692365+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:00:59 GMT + - Tue, 22 Jun 2021 20:53:13 GMT ms-cv: - - OoqWf7xSXUir4TURKI777Q.0 + - VjZ1o+IGI0WTECW7C5fO7Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 137ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '475' + - '659' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 40334be5-6db5-40a2-9086-b8f6080182fb + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7d46b5b6-7a25-4d7d-8aee-ad8407169ea1 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:2sAh1iSiY-YP8qJnPfcxq0PJ_rnx2Q3kpQ4vIIhi-881@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb1-f7dc-6a0b-343a0d00275b"}}}}' + body: '{"chatThread": {"id": "19:wpJTRn5aSw3d4G3M1Lx45w56nPcIvSR7HiyTG-a0Q4Y1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:14Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:14 GMT ms-cv: - - pFrSgFoM6USXkVa+Mhcyyw.0 + - WMIPcRV1DE2QymDdVSubTw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 689ms + - 627ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - 68pwrisUIE+bSqvf0JCU2w.0 + - CfjVEQ4yK0ikYCBocZpwDg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 197ms + - 300ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -276,17 +288,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:00 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - oKsMI60yAku3U80TzMZbyQ.0 + - 0ApUVuUYQ0yCxpTCzbz1MA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 179ms + - 105ms status: code: 200 message: OK @@ -300,7 +314,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -308,19 +322,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:15 GMT ms-cv: - - D2eRx7unKUOqBNEf2neBDQ.0 + - 2swZZP/ScU+cOSS4pD6mww.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 107ms + - 352ms status: code: 200 message: OK @@ -339,7 +355,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -347,19 +363,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:16 GMT ms-cv: - - PgvePwvtnE6f+Wx2MnMWGg.0 + - WdxhwXJo1kefM2D8x3ikOQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 147ms + - 327ms status: code: 201 message: Created @@ -377,7 +395,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -386,17 +404,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:01 GMT + - Tue, 22 Jun 2021 20:53:16 GMT ms-cv: - - 31EHmIzUi0ylKTjKaxbzwg.0 + - ylsoKw+1lEaJukci67zgpQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 194ms + - 106ms status: code: 200 message: OK @@ -410,7 +430,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -418,19 +438,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - CclAU5uz7UG7nITOPEJmbA.0 + - M4KP5msYP0KUXXatKodjQQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 102ms + - 292ms status: code: 200 message: OK @@ -449,7 +471,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -457,19 +479,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - glG0jl5HXESqlKVBXlfkcg.0 + - JWc/YZqq1Eu8BSezJgDfPQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 123ms + - 346ms status: code: 201 message: Created @@ -487,7 +511,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -496,17 +520,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:02 GMT + - Tue, 22 Jun 2021 20:53:17 GMT ms-cv: - - Z+BdB+6Zm0WfA28qquBdjA.0 + - j9Sdx/cSN0Kb1dKlsnhUpQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 450ms + - 124ms status: code: 200 message: OK @@ -520,7 +546,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -528,19 +554,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:03 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - UQVo4Hu/MEmbFfKoO7z5xw.0 + - 9Dh5KNDkjEiDSEzRUvSuzg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 97ms + - 153ms status: code: 200 message: OK @@ -554,7 +582,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 response: @@ -562,19 +590,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:03 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - /CwxPly3qUSZONfb47bbQQ.0 + - 1VPnxLIpgUOkkHYRxHFIDQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 94ms + - 242ms status: code: 200 message: OK @@ -589,30 +619,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:04 GMT + - Tue, 22 Jun 2021 20:53:18 GMT ms-cv: - - 8oEkkLbp1UKuhoWfeK7v2g.0 - request-context: - - appId= + - 3vrdi7D8jU+7gEbplWdTrA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1069ms + - 244ms status: code: 204 message: No Content @@ -627,10 +654,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:19 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -640,17 +667,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:04 GMT + - Tue, 22 Jun 2021 20:53:19 GMT ms-cv: - - RolRQPCXu0Op1VuavXP2Xw.0 + - FtE9hcMmuUC5kWzmNcUzig.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 546ms + - 627ms status: code: 204 message: No Content @@ -666,24 +695,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:20 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:20 GMT ms-cv: - - Q8AzXkbx+kSPl3qUwpSkww.0 + - nzxtfmFkKkay+Hls9rdYOA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 259ms + - 718ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml index 223ad88e5d6a..9c65800d5ca5 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:20 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - Ar2enym3ZUqiPacmPBX2eA.0 + - GuyGzQIX8E+Qz3rFYdDezQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 20ms + - 93ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:05.2518727+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:20.8161891+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - cWM/TPUsa0+giLQO+V9OLA.0 + - HV8G2cJnUUWV33uDFoLVsw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 164ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1018-0e04-343a0d00096d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:21 GMT ms-cv: - - pqbxihMO8kWHKDc1YKlZLQ.0 + - UUiH97VEAU2pplPeeZ+0TA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 89ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:08 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:05.3988906+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:21.2749423+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:05 GMT + - Tue, 22 Jun 2021 20:53:22 GMT ms-cv: - - q2nS3MMYUUi6bFy6ME+Ytw.0 + - xh9jGvTPbkSa5hIT/eouTQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 162ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d32418f7-681b-479f-8594-4acce312b5ab + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 64288911-987d-4cdb-93fb-f10417537668 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:B8oq8ahBK5cFIHtWi1_aHFypfzWNGhW2DKTms3abRjA1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:06Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-0f75-0e04-343a0d00096c"}}}}' + body: '{"chatThread": {"id": "19:0oyHLO0Q80qnPax4RVGXdoRRVE5Z8SaMetegO5WtUkQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:22 GMT ms-cv: - - EKFbWFRymUqjekuNFdGVNA.0 + - jzmK3rvGtkicAR1lgdsflQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 561ms + - 700ms status: code: 201 message: Created @@ -224,35 +234,39 @@ interactions: Connection: - keep-alive Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:23 GMT ms-cv: - - 6nzOIXmYFkW15FwwYJpI5w.0 + - 7KcGmsNMwkW1HNSbQ0qDiQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 228ms + - 321ms status: code: 201 message: Created - request: - body: '{"communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1018-0e04-343a0d00096d"}}' + body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' headers: Accept: - application/json @@ -261,11 +275,11 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '204' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 response: @@ -273,15 +287,18 @@ interactions: string: '' headers: api-supported-versions: - - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07 + - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, + 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:06 GMT + - Tue, 22 Jun 2021 20:53:24 GMT ms-cv: - - Tjk6XY1CZE6swZWMHVX+Hg.0 + - xQefzArrQU+jLAFhP0ti6Q.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 217ms + - 350ms status: code: 204 message: No Content @@ -296,30 +313,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:07 GMT + - Tue, 22 Jun 2021 20:53:24 GMT ms-cv: - - incA1PkCLkecbcE6OiXliw.0 - request-context: - - appId= + - cg7UC/jYEEW0wGr5kqQQgA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 748ms + - 302ms status: code: 204 message: No Content @@ -334,10 +348,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -347,17 +361,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:25 GMT ms-cv: - - /UfnfY1KWUGNmH65oSVLtQ.0 + - gsxrvN956kGuqQBhnS0Xzw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 688ms + - 627ms status: code: 204 message: No Content @@ -373,24 +389,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:25 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:26 GMT ms-cv: - - v9vvOA99dkKdiBOupqgKRQ.0 + - +5ImzKkfo0OBkmeyYZ2FXg.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 130ms + - 683ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml index b5d00646d8eb..5a3d66d634a0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:26 GMT ms-cv: - - D6obLY9aXkaM9rg2F9jzsA.0 + - e/M9zbkgvk+2x+PPER/ykA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 92ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:08.706543+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:26.5023506+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:27 GMT ms-cv: - - H21lpkVFeUyDulUU98N3zQ.0 + - LDLFPZYQx0yhDeveIi2fXA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 183ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d91-0e04-343a0d000972"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-78f0-7f07-113a0d003340"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:08 GMT + - Tue, 22 Jun 2021 20:53:27 GMT ms-cv: - - 4MxQCtcyNUy/b/EtiNcb3w.0 + - U+soSJC8mUSz5/jQ8D5wpg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 120ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:12 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:28 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:08.8693015+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:27.3067682+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:09 GMT + - Tue, 22 Jun 2021 20:53:28 GMT ms-cv: - - o25SHeW0fESSnDXHQbIAEg.0 + - XIEOkE0fqk2VEB3lwaRJ7Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 157ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 98b412c1-e4cd-4502-b0e9-67916c17130d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a35c8257-5af7-427d-8357-5c6047318e3e method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:beKR5WZ7fUwlYtunpLzHwvC04sgZ5diqfR2A4NUq-9w1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:10Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-1d00-0e04-343a0d000971"}}}}' + body: '{"chatThread": {"id": "19:vR7qiRNiD_0wWQfsiPL_8WwUsUQPBsr8NPvYTq5d4jo1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:28Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:09 GMT + - Tue, 22 Jun 2021 20:53:28 GMT ms-cv: - - 3cTSDRN8dUCG7SaJ+kixyQ.0 + - DnJbWwBN5ESfxpTNIGqhUA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 726ms + - 409ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:10 GMT + - Tue, 22 Jun 2021 20:53:29 GMT ms-cv: - - UgCVno3Q1UiOof5R314g9A.0 + - +5/VKxVfwUOhIHMP70xKEw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 276ms status: code: 201 message: Created @@ -264,30 +276,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:13 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:10 GMT + - Tue, 22 Jun 2021 20:53:29 GMT ms-cv: - - 4OahkuZQJEO+TmYweDqOHg.0 - request-context: - - appId= + - 8C9BadazikSaZeAgH1bBCw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 656ms + - 196ms status: code: 204 message: No Content @@ -302,10 +311,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:30 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,17 +324,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:31 GMT ms-cv: - - Kftn8p3U5UOHnekrrePXQQ.0 + - 1FBeqW1Noku1KBz9CZJn0g.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 440ms + - 854ms status: code: 204 message: No Content @@ -341,24 +352,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:31 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:31 GMT ms-cv: - - 3DTe5NV2tUy9TE905OksmQ.0 + - WJc4DNtM+U2H8YNFhmt6Vw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 118ms + - 656ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml index 7cb043d59035..e56eabf5ce26 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:32 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - TuLtMxdB8UCTM2W5RjfkIA.0 + - YC+hyU3EtUmhOQUN+25Qtg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 17ms + - 90ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:11.5858096+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:32.8408559+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - aMrzIgkI5UefrA4buRI4sA.0 + - +teTKivEfEOwOp4uWzVmBQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 23ms + - 161ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-28d1-f40f-343a0d00347e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-90c1-7f07-113a0d003346"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:33 GMT ms-cv: - - wdniYBQiX0GVWSxQgTsAnA.0 + - GC72mNEmjUmsyJnKAiDK1w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 93ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:34 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:11.7429317+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:33.4678143+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:11 GMT + - Tue, 22 Jun 2021 20:53:34 GMT ms-cv: - - cImLG5Don0ey9gH68UWGcg.0 + - wYvKyI1UxEK5UJ/KSkGsMw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 209ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 6fc377d8-4d02-4b92-9e42-5755b5be306a + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a3b50289-8979-4fd0-89f2-3b68176f405b method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:qGB_ac1hdprV0WmOguQWM8vytmT4UMA5z087Dq_owUw1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:12Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-2845-f40f-343a0d00347d"}}}}' + body: '{"chatThread": {"id": "19:Ve2ZfT4zjCTsHMSPSmkK9mpLlrnk5VALkpg27IViYRk1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:35Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:35 GMT ms-cv: - - BD2XKS5rGkWQHir+DE53zg.0 + - Bs6T1mw5o0+45P7eDf9qpA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 812ms + - 929ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:36 GMT ms-cv: - - IYUGx5fb5Uqhjd8+91OouQ.0 + - Cm9q9MFS7U6D56hDuwrgbw.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 176ms + - 320ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -276,17 +288,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:36 GMT ms-cv: - - xCzroDh+QEm5YiFRGrTM8A.0 + - WZxNrQle/kW9xGuJYvkL8w.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 186ms + - 264ms status: code: 200 message: OK @@ -301,30 +315,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:16 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:13 GMT + - Tue, 22 Jun 2021 20:53:37 GMT ms-cv: - - Z5zD3Zx0qEKNYEUKJ/TPUg.0 - request-context: - - appId= + - NzMmuphMHUWHzO5sFXFejA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 543ms + - 248ms status: code: 204 message: No Content @@ -339,10 +350,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:37 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -352,17 +363,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:14 GMT + - Tue, 22 Jun 2021 20:53:39 GMT ms-cv: - - XHwpMtOSK069+CKL81efGA.0 + - vLztvNFxk0S8xVp/AC0eBA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 2151ms status: code: 204 message: No Content @@ -378,24 +391,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:40 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:40 GMT ms-cv: - - 9bbAD8PfEEWUoKkrW+a1sA.0 + - iT0wSdBgoEq1lO7X6CY3ow.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 134ms + - 921ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml index 8e76467471c0..7e1404bd16bd 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - G6FFxcQIV0KZYI/blGkRKQ.0 + - RLUpnCbVSUyNo5DyhQil8g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 59ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:15.1650847+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:40.9266298+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - XxfgnhNXFkShZ05F3sVnbA.0 + - sCbKx6FXeEivBwzCm7XK0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 141ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:41 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-36cc-ac00-343a0d0029e3"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-b029-b8ba-a43a0d002cf3"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - VZD1G3JvpE6amF0I2xJGYQ.0 + - kTDVqz4cpkSzy9XhBzOnmQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 62ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:42 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:15.3051653+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:41.364192+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:15 GMT + - Tue, 22 Jun 2021 20:53:41 GMT ms-cv: - - wxg21vC9wUi1wqkrlD5SnQ.0 + - WaYQ6vTaOEOuTjIF5NIfDA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 24c0c828-5301-4f58-955b-ee94ce3e58cc + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 9773afa0-5c20-4ddb-a745-237b7e600dc0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:yvV3f3G4aaImX4P6x9cxEbqeF5mMCWqZ4COCZU7n33A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:19Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-362f-ac00-343a0d0029e2"}}}}' + body: '{"chatThread": {"id": "19:-t5q3MxOu7oWbKcEplCsZp-MpcHQ14TKECCMkGJKBIs1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:42Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:20 GMT + - Tue, 22 Jun 2021 20:53:43 GMT ms-cv: - - UCWHpDwitUuunHCFmGxDpg.0 + - Mc6WCDj8AUmbWzXAfv/87Q.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 3833ms + - 570ms status: code: 201 message: Created @@ -226,7 +236,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 response: @@ -235,17 +245,19 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-length: - '0' date: - - Tue, 23 Mar 2021 02:01:19 GMT + - Tue, 22 Jun 2021 20:53:43 GMT ms-cv: - - 0xs0B6bhW0Sd53azinpyEA.0 + - TOnwlAwHJE+eV9qDeWFrxg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 125ms + - 457ms status: code: 200 message: OK @@ -260,30 +272,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:20 GMT + - Tue, 22 Jun 2021 20:53:44 GMT ms-cv: - - Ku6ml2ePIEucROuO85btnQ.0 - request-context: - - appId= + - TzEabzIkPUa3B1DyMBQ9bw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1003ms + - 264ms status: code: 204 message: No Content @@ -298,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:44 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -311,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:21 GMT + - Tue, 22 Jun 2021 20:53:44 GMT ms-cv: - - CIKy5OWUvEy23EuGkbSJHw.0 + - sGMjak7Sg0CruPJuKaAqIg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 708ms + - 742ms status: code: 204 message: No Content @@ -337,24 +348,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:45 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - Cnk4RDXJXE2/p9wX5yyGGQ.0 + - pX5ETG4m80GrTEu8PfXGRw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 193ms + - 754ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml index bc64f74941e9..2011116c76ac 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:24 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - UMki/9+bHEaI+ftMx4anZw.0 + - 36o/csKzK0iKljvfjxaZXA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 70ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:22.0563135+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:45.6679125+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:22 GMT + - Tue, 22 Jun 2021 20:53:45 GMT ms-cv: - - iQEmbNEZAEOQD2F0iBt9WA.0 + - KY9aFZiwVk27Bc46g7gqJw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 133ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-51dc-3ef0-8b3a0d0028e4"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c2cb-ceb1-a43a0d00be1e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:23 GMT + - Tue, 22 Jun 2021 20:53:46 GMT ms-cv: - - VfRqI7em1UK+PV8mtGAriA.0 + - 1hbDPoOCpUqNwm14IATLCA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 111ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:22.4376219+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:46.1039276+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:23 GMT + - Tue, 22 Jun 2021 20:53:46 GMT ms-cv: - - OIrGLVttkUmwzV35iZhrFw.0 + - M0dFUiEhjkCWJTm3auM3QA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 136ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 493325e0-cd8b-458a-842c-19805a8795b5 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 68c54c2b-00e7-4ad4-9bee-be8d2218097c method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:a09Xy7oVWsLRF7YgxJijFT6BA89sK48unHlaF4Z_gNQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:23Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-506e-3ef0-8b3a0d0028e2"}}}}' + body: '{"chatThread": {"id": "19:-BvngluhydL8F1gmUbbeNquC-NDG13ZZd8nJAbC_7iU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:47Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:24 GMT + - Tue, 22 Jun 2021 20:53:47 GMT ms-cv: - - qQoCzLos7Uiu4jD92BO5kQ.0 + - Ci3MYsyp9kubNDY48OD1IQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 811ms + - 997ms status: code: 201 message: Created @@ -229,7 +239,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: @@ -237,19 +247,21 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:24 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - Iisft2CL1Ue5x8Dkpp1pCg.0 + - a3NAsV7dWEmn/CoK4W57LA.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 125ms + - 219ms status: code: 201 message: Created @@ -267,7 +279,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -276,15 +288,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:25 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - 7SOl1totUkaUtmg3yYGEtA.0 + - s78p5y6DlUqF3zHgw/4LwA.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 236ms + - 262ms status: code: 204 message: No Content @@ -299,30 +313,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:27 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:25 GMT + - Tue, 22 Jun 2021 20:53:48 GMT ms-cv: - - +u1Zmue3w0Crzd7Ea+JRDQ.0 - request-context: - - appId= + - M7CacyQ7tkS5+OEvhTWJjQ.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 644ms + - 246ms status: code: 204 message: No Content @@ -337,10 +348,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:28 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:49 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -350,17 +361,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:49 GMT ms-cv: - - kXYrJ3FJuE2VeyVP1bAAcw.0 + - KM5Se/cnKk2EAdGA+26Wlg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 732ms + - 809ms status: code: 204 message: No Content @@ -376,24 +389,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:50 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:50 GMT ms-cv: - - 95gKGT+TOU6rkYmUljljxw.0 + - EZfrJ0Jq1kWOAzh/8YuZfw.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 139ms + - 592ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml index c73944177ae6..eed2bbae1c44 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - HYBoLTX030ipNXepouOTzg.0 + - C1qoiNl7IkCnqP1Oqe0IYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 56ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:26.1642219+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.6495859+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - 08MvGdzhiES92bkTBy9Jug.0 + - kDzPKMb+RU2zihyd2uvt9A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 37ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-61b4-1000-343a0d000afd"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d5ff-f6c7-593a0d00a004"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - ku+Et+fnekKI1Bjqod7CUA.0 + - FRzjdflDFkKar4pPIyo0/g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 31ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:29 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:26.5548682+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.8597505+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:26 GMT + - Tue, 22 Jun 2021 20:53:51 GMT ms-cv: - - NLLV3c7hsEiVV88MG5++Vg.0 + - 3Yc9mI+xq02hlX/S8YC4hg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 266ms + - 39ms status: code: 200 message: OK @@ -181,36 +189,38 @@ interactions: Connection: - keep-alive Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - ff1cd2b1-2f26-4f3a-901e-6e1494fcc5d7 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - fce812e6-bc11-48a0-a1c2-2470f66d1b6f method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:KfTNmvbO3T_lmdUcXIdLnFahl6wsTUWawsi1NpQUqRc1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:27Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6124-1000-343a0d000afc"}}}}' + body: '{"chatThread": {"id": "19:hrY9cyB7ZgErqa0D6SAjE_-qOhLJoVAFLMloLt7xs681@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:27 GMT + - Tue, 22 Jun 2021 20:53:52 GMT ms-cv: - - EjqFMniZxE61CjSp+rlYDA.0 + - GZIEKl0lO0ulGWefkkTkRg.0 strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 627ms + - 913ms status: code: 201 message: Created @@ -228,7 +238,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -237,15 +247,17 @@ interactions: headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:28 GMT + - Tue, 22 Jun 2021 20:53:53 GMT ms-cv: - - 5BQRTC6dWUar+WtxvS7cQA.0 + - 7Wwzh2D3s0yJ9N3q9wElYw.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 326ms + - 266ms status: code: 204 message: No Content @@ -260,30 +272,27 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:31 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - x-ms-return-client-request-id: - - 'true' + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6 date: - - Tue, 23 Mar 2021 02:01:29 GMT + - Tue, 22 Jun 2021 20:53:52 GMT ms-cv: - - q4+2Mhgs8kuKn4S7vdjZwg.0 - request-context: - - appId= + - zrGvZuWGVkG5h0wDR8EHTg.0 strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 636ms + - 346ms status: code: 204 message: No Content @@ -298,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:31 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:53 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -311,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:54 GMT ms-cv: - - TJ1juBJzK0eDCD31dUB+Mw.0 + - q9uOqr0GTUSKe/ir/ryyNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 428ms + - 824ms status: code: 204 message: No Content @@ -337,24 +348,31 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:54 GMT + x-ms-return-client-request-id: + - 'true' method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:29 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - mbsLPqTEc0CdZMmcq0t2RA.0 + - iCVroY422E6rGrsUYenAUA.0 + request-context: + - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 185ms + - 721ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml index 4395383eeb60..2e51e2a474c0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:32 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - RbpAl36CeUyXCNaJPFJ1IA.0 + - XWpww3stDUyqbMmJ+1yJEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 30ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:32 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:29.7064114+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:54.9284912+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - AsJSZpsvUUeDNrc+LjdhCw.0 + - mpm66b7OekSep7ZzPU5FPg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 137ms + - 40ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6fa1-99bf-a43a0d00250e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e6cb-28c5-593a0d001c0e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - qJYoueAetkSIjsLsEzcC9w.0 + - uBKTX6L61UCeqboOoOWdVw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 56ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:33 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:29.9813796+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:55.1582054+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:30 GMT + - Tue, 22 Jun 2021 20:53:55 GMT ms-cv: - - s13nOlnnDEWAI0GyZ1Ap5A.0 + - ZZH5HFJsw0WR+NDwglwoag.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 129ms + - 37ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5d24a6d1-be90-4b8a-9d22-dbfb9fb88a26 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - c3f7b5a1-e256-4e60-a5ea-53aca37e7483 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:KfNu_4Ds85hGQgtD4MAKz_TKTDP6ZURenP1BKib4HL01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:31Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-6e79-99bf-a43a0d00250d"}}}}' + body: '{"chatThread": {"id": "19:WUog7EmOuu8P05BLA7E9Ppvm30CDd5UxWWojjT26rzM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:53:56Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: jZGrFToxcUKhvS20F4ACTg.0 + date: Tue, 22 Jun 2021 20:53:57 GMT + ms-cv: jxUIv3+9a0u0fx4mg0Q/Eg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 388ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1022ms status: code: 201 message: Created @@ -210,24 +219,25 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: VvwE4UblLEil6i/krAvmpA.0 + date: Tue, 22 Jun 2021 20:53:57 GMT + ms-cv: cKjdzV9BgUqbKIyZSjwVdg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 290ms + x-cache: CONFIG_NOCACHE + x-processing-time: 152ms status: code: 201 message: Created @@ -238,7 +248,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -246,11 +256,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:31 GMT - ms-cv: O54DGubSS0GLHGY9oKL2AA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:53:58 GMT + ms-cv: xGzw7HdbhkSAf0HtoZivGQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 157ms + x-cache: CONFIG_NOCACHE + x-processing-time: 281ms status: code: 204 message: No Content @@ -266,10 +277,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:34 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:58 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -279,17 +290,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:32 GMT + - Tue, 22 Jun 2021 20:53:58 GMT ms-cv: - - RRZcVwrPhEWkj3+FWVNyJg.0 + - P5+gBHsU7EOBwcN+yCtd8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 556ms + - 768ms status: code: 204 message: No Content @@ -304,10 +317,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:53:59 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -317,17 +330,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:33 GMT + - Tue, 22 Jun 2021 20:53:59 GMT ms-cv: - - Hnx7tOCmIUSldt3W4NwWYg.0 + - oKtZ9hnGZUSdsxiZNevOcw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 812ms + - 888ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml index 818856e34f39..4b11017a7ab8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:35 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - gGTImgLdekGqbCz4XGNKHw.0 + - HAc+6a6fU0yftNm+UhGG/A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 107ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:33.3191566+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:59.9986836+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - PGz0Ee42jkmBMZQFpg0wyw.0 + - sqQKW1qslkaFHrvfE4Z4zw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 154ms + - 163ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7dee-eef0-8b3a0d00285f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-faad-570c-113a0d001777"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:00 GMT ms-cv: - - aTH30t3MRk6VBA/qgEuTjA.0 + - aitQoG1bV0Smf3M7CbIAbg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 87ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:36 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:33.7058079+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:00.5218274+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:34 GMT + - Tue, 22 Jun 2021 20:54:01 GMT ms-cv: - - 0aQPJ2jE6U+jDr8JvL2OGw.0 + - mBUPBK/5e0Cv/0LsuHuwtA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 157ms + - 186ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - d99e87ae-f8d2-4d0a-a639-6b5ed5a8b712 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 499169b3-89c3-4d79-8081-09329c9258ba method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:HEaNh2Zfgzh1Fy65Z1yIHDUCgJ56KNJJ-upLvUE5jWg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:34Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-7c6f-eef0-8b3a0d00285e"}}}}' + body: '{"chatThread": {"id": "19:2bfBBjFX-LF28V9kWUmHvOdoa9NM5hLZDnl824nt2kc1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:02Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: 5rfOvIWdVkSGNh2aAel3CA.0 + date: Tue, 22 Jun 2021 20:54:01 GMT + ms-cv: wiXbQ9z9hkCmXQ1WX6FLaA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 674ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1070ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:34 GMT - ms-cv: 4j2L4rzVDkKHkxDdrCAoew.0 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: HB4yT9fRYECvn1dkxaxrVw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 130ms + x-cache: CONFIG_NOCACHE + x-processing-time: 137ms status: code: 201 message: Created @@ -239,7 +249,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -247,11 +257,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: 0l8MS4zxukWJ3jI/oRFyPQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: 25Yp2PAvPkCjy6AEBdreNw.0 strict-transport-security: max-age=2592000 - x-processing-time: 148ms + x-cache: CONFIG_NOCACHE + x-processing-time: 194ms status: code: 204 message: No Content @@ -262,7 +273,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -270,11 +281,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:35 GMT - ms-cv: X7CIxPMlz0GTKj0Zak3AsQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:02 GMT + ms-cv: WdtqWb/hUk+TGfE+3yshCQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 186ms + x-cache: CONFIG_NOCACHE + x-processing-time: 117ms status: code: 204 message: No Content @@ -290,10 +302,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:03 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -303,17 +315,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:36 GMT + - Tue, 22 Jun 2021 20:54:04 GMT ms-cv: - - wzeWZc48E0SCEkZtttt6Gw.0 + - K2sAnihUKkCAGdItrSxxHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 791ms + - 876ms status: code: 204 message: No Content @@ -328,10 +342,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:04 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -341,17 +355,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - LnrsMEpVsk2TBsJU4CsAGA.0 + - Rk7bc2s7AU+LDjhYSpveNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 728ms + - 776ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml index 398f23f012c2..97ac02fac809 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - ImRSG/3KLEGs976GXBpY1Q.0 + - RLZBQT8YPUWAzD7bo/efSQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:37.3508481+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.0254301+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:05 GMT ms-cv: - - BpZIgAevuUujc4YZqy/T6A.0 + - KIzItmhL+06VBiLxdETVrg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 28ms + - 135ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8d62-6a0b-343a0d002768"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0e62-b8ba-a43a0d002d00"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:06 GMT ms-cv: - - 4BP8zhGrHk+N66rNbpYabw.0 + - aSh00vLNLEizqRtjXeik2Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 9ms + - 96ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:40 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:06 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:37.4847991+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.4591877+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:38 GMT + - Tue, 22 Jun 2021 20:54:06 GMT ms-cv: - - OzWH+TyVQESPKnQ2FlvLtA.0 + - r2KAkS0Wq02/qCN0Nu8D4Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 146ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 804833b7-e592-4a33-8edd-f3ade3307e0a + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - a70f4e5d-a202-447f-bbb6-39fe30a751e8 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:yyDNL6BtrLwjYbPdkCHUXouom06BzoUj8-oRK4bBHN01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:38Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}}}' + body: '{"chatThread": {"id": "19:OqsBKH78B-ASbL8lopnL7TfzS5oPZecTgP9h2bbOZ381@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:06Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: CE7uwJQ4gkaxUeMqIlT61w.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: dQKbZZTsvUqMSRDWJqXJeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 751ms + x-cache: CONFIG_NOCACHE + x-processing-time: 463ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: KKz2dSgNeEiBQZi+9xf3hQ.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: mh4QuWAPn0qvfXZa61e9zg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 171ms + x-cache: CONFIG_NOCACHE + x-processing-time: 281ms status: code: 201 message: Created @@ -239,23 +249,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1616464899480", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395247382", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-03-23T02:01:39Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-8ce7-6a0b-343a0d002767"}}}' + "2021-06-22T20:54:07Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:38 GMT - ms-cv: qi8NIvmP1kixVo6jvScp4g.0 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: I++SMZGu7EyK3kv0WzQFDg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 267ms + x-cache: CONFIG_NOCACHE + x-processing-time: 109ms status: code: 200 message: OK @@ -266,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -274,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:39 GMT - ms-cv: mB1CExfxI0SR0rYVZMLpaw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:07 GMT + ms-cv: mVgN23PaGEyiGgo5V40rBA.0 strict-transport-security: max-age=2592000 - x-processing-time: 177ms + x-cache: CONFIG_NOCACHE + x-processing-time: 270ms status: code: 204 message: No Content @@ -294,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:42 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:08 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -307,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:40 GMT + - Tue, 22 Jun 2021 20:54:08 GMT ms-cv: - - CxM9gPCLlUiLBlN5MSj1Fw.0 + - PL/oc9cZC0qxaGACMwSDag.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 495ms + - 803ms status: code: 204 message: No Content @@ -332,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:08 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -345,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:09 GMT ms-cv: - - gfzoYenB3UOJb+VYm5/5Wg.0 + - LpWYNIv5T06G4XDUnPyKvw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 631ms + - 488ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml index 89397cd2f91f..31005e16ca6d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - l6poQNuDVkOUZiOA8+Sx0w.0 + - ZAAM4UZTJkii6HZy6TlB3g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:41.1588227+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.490438+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - 7/GVCALi40iNIYLXgFkp8g.0 + - csbtpOA6nUmNIwpsfqdnfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 184ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9c7c-3ef0-8b3a0d0028f9"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1fc9-51b9-a43a0d00941a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:41 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - 6RHVc0jXAUmIrVzKCgurNg.0 + - Sf27eaCSXECGtSbQ3xVNgA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 98ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:41.5520077+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.9658129+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:42 GMT + - Tue, 22 Jun 2021 20:54:10 GMT ms-cv: - - uBQ8X4WH8k6Z/he2RCKpKQ.0 + - 2pvk2x1rSEC49KodxUMVwA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 166ms + - 155ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 57e8a09f-93ae-4f59-97bb-fbb0ca922465 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 688c08f7-d916-485c-b32e-dc2de45bbab0 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:w2v_LnGoH_NQzUsSOBeDIiy-rQFX6ooEhhFYxtAfDt01@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}}}' + body: '{"chatThread": {"id": "19:6LDSbOCXBWWvZnFFxPmDLC3x5_3oXqyaCG6OC28K2nQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: BQbIugkgVUWvF119R0pDtQ.0 + date: Tue, 22 Jun 2021 20:54:11 GMT + ms-cv: PjLujZB+ZEqERW3yVaQW2Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 691ms + x-cache: CONFIG_NOCACHE + x-processing-time: 708ms status: code: 201 message: Created @@ -210,22 +219,23 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-03-23T02:01:42Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-9b08-3ef0-8b3a0d0028f8"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: z1B8OczIPE6ZMai/qYDg/Q.0 + date: Tue, 22 Jun 2021 20:54:12 GMT + ms-cv: t8aAZGqQREy2lRPb2tLSFw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 145ms + x-cache: CONFIG_NOCACHE + x-processing-time: 90ms status: code: 200 message: OK @@ -236,7 +246,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -244,11 +254,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:43 GMT - ms-cv: PDFAzl/jpkOYmD3x1p7Kfw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:12 GMT + ms-cv: l1NFCKT1802RymnMQEMGUA.0 strict-transport-security: max-age=2592000 - x-processing-time: 174ms + x-cache: CONFIG_NOCACHE + x-processing-time: 124ms status: code: 204 message: No Content @@ -264,10 +275,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:12 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -277,17 +288,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:44 GMT + - Tue, 22 Jun 2021 20:54:13 GMT ms-cv: - - eOR4XQpT00CKg9IIUx+J/A.0 + - tksE94u4g0mOaIPraXGUWw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 756ms + - 679ms status: code: 204 message: No Content @@ -302,10 +315,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:13 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,17 +328,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:45 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - P1dz9eQpI0eCgDbUphOYpg.0 + - XdL6QvFe3U+iwuyR4jQWXQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 685ms + - 752ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml index cd4f4837bd7f..3ce050a67048 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:45 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - 3JEPxcumoEG8SNyJQTcD3Q.0 + - qno+WgjR1kijEOzaDWVRmw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 59ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:45.1271161+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:13.9575394+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - BV2LzGusj0Gs7PEoEQOM9Q.0 + - WxZVPzHY0EScFh1JhfdnSA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 136ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-abc5-f40f-343a0d003490"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-313b-ceb1-a43a0d00be3e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - wUwWJFmIK0SEdesHvB4pMQ.0 + - GdmHh306W0qKqXYosKng5A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:48 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:15 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:45.2499843+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:14.3763+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:46 GMT + - Tue, 22 Jun 2021 20:54:14 GMT ms-cv: - - i3TdECcaoU6GXqc/cLl+uw.0 + - yapNkafm2UKFPdGE2kNABw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 25ms + - 135ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - b8374fe8-e7ce-4bb4-82a2-5ef6f05e71ac + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 2ec1eab4-67e2-419c-a8c3-ad007e02e535 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:zBc3LxTPpuXaVjsv1UC0nBQtbCpHh7P9qybTAOAaWaM1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:46Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ab4a-f40f-343a0d00348f"}}}}' + body: '{"chatThread": {"id": "19:-BvCnUQkh7-NosK2rCWxqE1TIlbPcrdeUpvGI_aw0WA1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:15Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: v1b6xZ2EiEKA8hCVC//qNQ.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: vOkIhlOJwEaDcWUwMwwEHg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 569ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1098ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: +fCAeaZSR0+PP83DgM4IrA.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: veT6Y7DBQEC2PGwqguj6Og.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 131ms + x-cache: CONFIG_NOCACHE + x-processing-time: 255ms status: code: 201 message: Created @@ -239,20 +249,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: BpPY2EayZUehWvCteoY38w.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: zLsxENg1+EOnd1sRdwstVg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 111ms + x-cache: CONFIG_NOCACHE + x-processing-time: 153ms status: code: 200 message: OK @@ -263,20 +274,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:46 GMT - ms-cv: HjNutBNQA0iLnUwmnjWAAQ.0 + date: Tue, 22 Jun 2021 20:54:16 GMT + ms-cv: m8FKnXWBHUunjtpVcUn2xQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 149ms + x-cache: CONFIG_NOCACHE + x-processing-time: 216ms status: code: 200 message: OK @@ -287,20 +299,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: fUiZjjTw3E6lCZgdEXCILg.0 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: zTVMe32EGUCXcZzcbkK93w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 136ms + x-cache: CONFIG_NOCACHE + x-processing-time: 216ms status: code: 200 message: OK @@ -311,20 +324,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: T80LxrYXwk6Oqmvz3G/r4Q.0 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: 50u/dVa2xkWKvfEtj8Hu1A.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 184ms + x-cache: CONFIG_NOCACHE + x-processing-time: 293ms status: code: 200 message: OK @@ -335,7 +349,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -343,11 +357,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:47 GMT - ms-cv: zOG6UGK/QEGqHqFmu6a/jw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:17 GMT + ms-cv: tyrZYzqAQk+y2NE0EGSyTA.0 strict-transport-security: max-age=2592000 - x-processing-time: 114ms + x-cache: CONFIG_NOCACHE + x-processing-time: 298ms status: code: 204 message: No Content @@ -363,10 +378,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:18 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -376,17 +391,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:48 GMT + - Tue, 22 Jun 2021 20:54:18 GMT ms-cv: - - o8qpbPgcMEaGnIt9yYCiPw.0 + - YYzFUh/Oq0GwQVQoy7DGEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 630ms + - 588ms status: code: 204 message: No Content @@ -401,10 +418,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:51 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:19 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -414,17 +431,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:19 GMT ms-cv: - - OxhCNyQcaEGHF9fUDKI4/g.0 + - D8kNdWJcFkSl65osT65WTg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 532ms + - 599ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml index 3c808a060d66..1262bc561b98 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:20 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:48 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - fIalAE7hAESRqdjlYFHP9Q.0 + - 4cdXxvLfn0yzJOe/FkqhEw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 65ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:49.0486876+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.2206621+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - kdPXkN/g7UWB8uwNzdLjvw.0 + - pXvVqjoZXESzKPWpK0nvbg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 133ms + - 131ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-bb2f-b5bb-a43a0d0030c2"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-49d5-ceb1-a43a0d00be46"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - JY6WZcADrE2MCxiD6uFw2w.0 + - J/GDmkv77kavo6bM1c+myQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 63ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:52 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:49.3450146+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.6923263+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:49 GMT + - Tue, 22 Jun 2021 20:54:20 GMT ms-cv: - - ifqeP/nbbEeyGQhSImAzIA.0 + - i1fclV1Qskmh5v8J5pUukA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 134ms + - 130ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 4819e137-60e0-40ce-ad41-637fd7b4ff4d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 54313c93-9823-44c3-84e9-8b1d7e31cc53 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:obYF2-CpFUqL8bXE0HAGvfrpgnbMwt-wprLkFlxvZR81@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:50Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-ba0c-b5bb-a43a0d0030c1"}}}}' + body: '{"chatThread": {"id": "19:vVHmsbRsyNUbAUFVwcFYrsJ970aWOClkvnZxG16V5TU1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:21Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: K0X7wcG4YUyYmdQBa6vnFg.0 + date: Tue, 22 Jun 2021 20:54:21 GMT + ms-cv: KR1oIRziQEKbK8OWcP2b0w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 938ms + x-cache: CONFIG_NOCACHE + x-processing-time: 696ms status: code: 201 message: Created @@ -210,24 +219,25 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: M+iMwQs1MUKL0JbpqEH56g.0 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: Abns45iUlEa8RmnjmVgaqQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 273ms + x-cache: CONFIG_NOCACHE + x-processing-time: 255ms status: code: 201 message: Created @@ -238,20 +248,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: sHt5RZxawk6W8QhYI4g6HQ.0 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: 2Zr8WiuwTkeceKfN9+DAXA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 108ms + x-cache: CONFIG_NOCACHE + x-processing-time: 103ms status: code: 200 message: OK @@ -262,7 +273,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -270,11 +281,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:51 GMT - ms-cv: zBpOMXzWiU2knmrm1frObQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:22 GMT + ms-cv: w1qWZgHqW0uHzw3N7K6x4Q.0 strict-transport-security: max-age=2592000 - x-processing-time: 258ms + x-cache: CONFIG_NOCACHE + x-processing-time: 126ms status: code: 204 message: No Content @@ -290,10 +302,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:54 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:23 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -303,17 +315,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:51 GMT + - Tue, 22 Jun 2021 20:54:23 GMT ms-cv: - - KrfPmahnI0iYsQslMxIQhQ.0 + - xbR2O1ZgsEuOFAZdOzSong.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 456ms + - 671ms status: code: 204 message: No Content @@ -328,10 +342,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:01:55 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -341,17 +355,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:52 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - OG+MWL9VL0aoy8YQGbhkpQ.0 + - I0MqS8Bp2kKNl/GtQRVL4w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 785ms + - 711ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml index 8fb25a57f2cf..edd49792d88a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - 6qgune8SGUmbgnn81jaX3w.0 + - +M/pYbd5ekaEb+MikDW9Lg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 62ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:53.424543+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.6795353+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:24 GMT ms-cv: - - j9w5mgHRo0yp3naT3ruZUg.0 + - 1Um9nUSh2EGxsDfUizh3Eg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 148ms + - 140ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cc65-92fd-8b3a0d002533"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-5afc-b8ba-a43a0d002d12"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:53 GMT + - Tue, 22 Jun 2021 20:54:25 GMT ms-cv: - - dDDA7XKt8UCMg/57WCDbsQ.0 + - kApVSJfIj0SFaJ11GqWIQA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 60ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:01:56 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:53.7844653+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.0726322+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:54 GMT + - Tue, 22 Jun 2021 20:54:25 GMT ms-cv: - - IbIkMYhfmk6k2gS3Gwb9cw.0 + - b0jfkb4u3EicByRfv6TwJA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 148ms + - 138ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '475' + - '659' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 5c277620-3a8c-4a62-bc2d-701205223760 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 6f60d9df-0261-4d6f-9df5-5d7dc4e020f5 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:TJc_Iz5YIv_tJ1-fF5-cOVYut1AAPDA-gj7--7lCpcM1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:01:54Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-cafe-92fd-8b3a0d002532"}}}}' + body: '{"chatThread": {"id": "19:e7oDYrKtGUNpCbdNh2sL0LFls3C25lvhfeEtoZlkRtM1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:26Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: kiCCiyLk1kKhjD66zv5U3g.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: G/hz8rX8jk27tlZG0No7TQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 418ms + x-cache: CONFIG_NOCACHE + x-processing-time: 450ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 5QFZ9n9vR0i26qAFk1SiVw.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: TBzEYBVOp0ezRotk6g+oQQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 222ms + x-cache: CONFIG_NOCACHE + x-processing-time: 198ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -251,12 +261,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 2RsNc/iQsEun7mpIcVFqFw.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: ZQvBdcoiikKJuyqRUePN9A.0 strict-transport-security: max-age=2592000 - x-processing-time: 221ms + x-cache: CONFIG_NOCACHE + x-processing-time: 116ms status: code: 200 message: OK @@ -267,20 +278,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: 9sspPAfyAE+ashBpGadL0Q.0 + date: Tue, 22 Jun 2021 20:54:26 GMT + ms-cv: Il3dgS029UWsvq4r6vhkuw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 106ms + x-cache: CONFIG_NOCACHE + x-processing-time: 148ms status: code: 200 message: OK @@ -296,20 +308,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:55 GMT - ms-cv: E7LgtFddlkqpaD5UB33uDA.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: JBbVET7fwEOyN448LVR7Ng.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 121ms + x-cache: CONFIG_NOCACHE + x-processing-time: 212ms status: code: 201 message: Created @@ -324,7 +337,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -332,12 +345,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: me4SNxnVe0CWWdl9W7fHXw.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: u5owL29DjkeGm+ywVNR4NA.0 strict-transport-security: max-age=2592000 - x-processing-time: 229ms + x-cache: CONFIG_NOCACHE + x-processing-time: 141ms status: code: 200 message: OK @@ -348,20 +362,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: 2kCArQBeekaSdvuDKvWj6g.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: D2vXx2TFZ0e8er0BZm9pCw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 109ms + x-cache: CONFIG_NOCACHE + x-processing-time: 108ms status: code: 200 message: OK @@ -377,20 +392,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:56 GMT - ms-cv: FZmhiH9pPUWQOv87YvLTQw.0 + date: Tue, 22 Jun 2021 20:54:27 GMT + ms-cv: 6oJtVbwoWk+Lz5OTTmMpeg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 138ms + x-cache: CONFIG_NOCACHE + x-processing-time: 174ms status: code: 201 message: Created @@ -405,7 +421,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -413,12 +429,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: sv0i4SW5Dkudq7UuRNUqYg.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: RHxHXip2W0OP+wiA9aCwqg.0 strict-transport-security: max-age=2592000 - x-processing-time: 228ms + x-cache: CONFIG_NOCACHE + x-processing-time: 97ms status: code: 200 message: OK @@ -429,20 +446,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: 0tcBaPSAMECuICv1fUYIHg.0 + date: Tue, 22 Jun 2021 20:54:28 GMT + ms-cv: ndpKimPpNUy6KW4PW+QyIg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 102ms + x-cache: CONFIG_NOCACHE + x-processing-time: 118ms status: code: 200 message: OK @@ -453,20 +471,21 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: u7WGhEwtBUO3cqoFMyx+Ug.0 + date: Tue, 22 Jun 2021 20:54:29 GMT + ms-cv: QTu1bX322EaphP3bGtdmig.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 145ms + x-cache: CONFIG_NOCACHE + x-processing-time: 129ms status: code: 200 message: OK @@ -477,7 +496,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -485,11 +504,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:01:57 GMT - ms-cv: 2M5tIDvBlkayLKZpsENY/w.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:29 GMT + ms-cv: cipnldZBs0qong6eweHJcQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 131ms + x-cache: CONFIG_NOCACHE + x-processing-time: 178ms status: code: 204 message: No Content @@ -505,10 +525,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:00 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:29 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -518,17 +538,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:58 GMT + - Tue, 22 Jun 2021 20:54:29 GMT ms-cv: - - h8AF707O3U2/xwlEM8OA/g.0 + - I9UVp+7RGky9WYz7K4svVA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 794ms + - 657ms status: code: 204 message: No Content @@ -543,10 +565,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:01 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:30 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -556,17 +578,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:30 GMT ms-cv: - - jaKqMubaD0GuMlbcgLZcVA.0 + - X5aCNTC/lU+ik1HggqYISA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1005ms + - 618ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml index 7fbe547e15e9..f7f644ef3546 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - Kn8BWge50EaaTyByJZJOig.0 + - IqvWsJuyq0WoSkExSYrgNg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 44ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:59.347789+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.6578675+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - 0D+zPQzTokeWpmgyY7a3Zw.0 + - 2IcCcwd2v0CCS1Sjh8aCKg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 150ms + - 26ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e389-80f5-8b3a0d002f9a"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:01:59 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - TNMQKztBgEO0D/l8w4lvKw.0 + - +ARJdn1gbUSv+VunSIQZ3A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 35ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:02 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:01:59.7078343+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.89207+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:00 GMT + - Tue, 22 Jun 2021 20:54:31 GMT ms-cv: - - YAp6Y1hZ0EaThiZiXsAKgA.0 + - P3/7emU+i0y5qG4b0Nkeew.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 151ms + - 62ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - cc9166bb-7449-430f-ad42-8b33a62d34e1 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1e069a50-3c63-4a4e-b49d-618ddebd4414 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:fZ0plAX6yNjPhU2w1QrIF0IWhyS_nyr8NC6A59_yP7A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e219-80f5-8b3a0d002f99"}}}}' + body: '{"chatThread": {"id": "19:1ungQFx5v99KM_cZK_UXp0A5vy822oO__BjqoQmIm0c1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:32Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:00 GMT - ms-cv: mSPbZ3cEgECCKX4ZBVTyZQ.0 + date: Tue, 22 Jun 2021 20:54:32 GMT + ms-cv: h7NhsyYQlEGj7XTNgWx4DQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 615ms + x-cache: CONFIG_NOCACHE + x-processing-time: 742ms status: code: 201 message: Created @@ -210,39 +219,41 @@ interactions: Accept: - application/json Content-Length: - - '235' + - '327' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 + 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:01 GMT - ms-cv: wysyux9XukSuk2OWbPl4Eg.0 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: 792I65gM3UmT7bUDVx/xSQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 404ms + x-cache: CONFIG_NOCACHE + x-processing-time: 331ms status: code: 201 message: Created url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 - request: - body: '{"communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-e389-80f5-8b3a0d002f9a"}}' + body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' headers: Accept: - application/json Content-Length: - - '112' + - '204' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 response: @@ -250,11 +261,12 @@ interactions: string: '' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07 - date: Tue, 23 Mar 2021 02:02:01 GMT - ms-cv: LgiU/w/uN0aKzZlRf6muag.0 + 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: NBLyJEFAmkWBrQTBIF3J+g.0 strict-transport-security: max-age=2592000 - x-processing-time: 178ms + x-cache: CONFIG_NOCACHE + x-processing-time: 323ms status: code: 204 message: No Content @@ -265,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -273,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:02 GMT - ms-cv: e+gjt74cc06qaVFHquX0Kw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:33 GMT + ms-cv: nd4N1IhVPEyzqWJkVYSTMg.0 strict-transport-security: max-age=2592000 - x-processing-time: 247ms + x-cache: CONFIG_NOCACHE + x-processing-time: 125ms status: code: 204 message: No Content @@ -293,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:33 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -306,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:02 GMT + - Tue, 22 Jun 2021 20:54:34 GMT ms-cv: - - AIaELJmEw06K1geN/edDJg.0 + - 29WY8NNhWUmQ9AeHdq/rNA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 679ms + - 745ms status: code: 204 message: No Content @@ -331,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:34 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -344,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:03 GMT + - Tue, 22 Jun 2021 20:54:34 GMT ms-cv: - - 0ftUfgWYZUmXNhsPJidHQQ.0 + - qPVyqimsdkmzcHUi+xuMUQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 765ms + - 778ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml index f65f37f70641..f14608061d6a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:06 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - PDmx66Jzp067QxtLOoTi8A.0 + - ALwGnKk//0OaT9X1Ntk95g.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:03.9333825+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.201396+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - wsT8yZ2kJkmNcYgTzFLIUg.0 + - osvRLdA+PEOeofdOK3gk1Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 161ms + - 65ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f574-3ef0-8b3a0d00290b"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8412-f6c7-593a0d00a010"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - moFdM9UosEOUEArjEW4wnQ.0 + - OmV87kLnRkOjfAdvFuLr0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 32ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:07 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:04.3249993+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.4291858+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:04 GMT + - Tue, 22 Jun 2021 20:54:35 GMT ms-cv: - - 6YOS4pgrG0KCe0NEoYUd6Q.0 + - Kf7cM2EqkEamCtp1T/oThA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 164ms + - 40ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 3a03f73b-3808-4a99-8c08-dfd0571d03be + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - be5b3ad2-e26e-431b-b848-2296fde84ed7 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:ad-UPbyRbyuUKR0pk86hRM-qqtShJf56MAmXE6HxQfs1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:05Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb2-f3ff-3ef0-8b3a0d00290a"}}}}' + body: '{"chatThread": {"id": "19:JwuKSQ17ePPSgIzlmMfT65-itpaosjoTTyeYTBu0DF01@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:36Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:06 GMT - ms-cv: f+QlwLUZ0kmnSdZtSU90UA.0 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: 8jJyi3KKOEqvs+XA+SEenA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 743ms + x-cache: CONFIG_NOCACHE + x-processing-time: 669ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:05 GMT - ms-cv: WK3lp+bTV0a/8bEazqMisQ.0 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: 5/f7LH34Ek+OLfGSOkJkNA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 185ms + x-cache: CONFIG_NOCACHE + x-processing-time: 187ms status: code: 201 message: Created @@ -239,7 +249,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -247,11 +257,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:06 GMT - ms-cv: Vw8CUko+wU63Se34+95txw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:37 GMT + ms-cv: +2tY6Wy0a0imxcK2aqE87w.0 strict-transport-security: max-age=2592000 - x-processing-time: 236ms + x-cache: CONFIG_NOCACHE + x-processing-time: 121ms status: code: 204 message: No Content @@ -267,10 +278,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:09 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:37 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -280,17 +291,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:07 GMT + - Tue, 22 Jun 2021 20:54:38 GMT ms-cv: - - epZy4C+ipE68RqinUgpFDw.0 + - c82Dkxy8ikGWkihaylhR7w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 778ms + - 833ms status: code: 204 message: No Content @@ -305,10 +318,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:38 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -318,17 +331,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:07 GMT + - Tue, 22 Jun 2021 20:54:38 GMT ms-cv: - - OOJNDItXikG9Gt2Gnbpj3A.0 + - WC7lx3t0FUqf0K/5XiJeaQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 638ms + - 510ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml index d061acd9123d..ae2a14ae8545 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:10 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:08 GMT + - Tue, 22 Jun 2021 20:54:39 GMT ms-cv: - - 9g14Sa04yUGx4wfH+3AK0Q.0 + - ZHWslVpngE6RjQ8qQR/2dw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 22ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:08.0806226+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.4154833+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - O26apXiXG0isn5F/86PEbg.0 + - PzTxP5OSHkCBUT8iWGlpMg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 162ms + - 42ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-05ab-3ef0-8b3a0d002913"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-957e-28c5-593a0d001c48"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - 47PwiPj4MUmunmw8qtz8zw.0 + - hiTQSi757kSbcJn+6St8pQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 31ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:11 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:08.4696443+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.9305944+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:09 GMT + - Tue, 22 Jun 2021 20:54:40 GMT ms-cv: - - 9TiizXJRAk2WNCb1oXIVrg.0 + - wGhXJm2eJ023sI2mKEDU8Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 158ms + - 40ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - de1069cd-1688-4d5d-ace9-5603ff43896d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - f11ba3f8-8d25-4853-a43b-60769bf0d247 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:THAH-m4HFKOOiOedTFEGEj23gST5NVHjHvLS6GVUyxk1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:09Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-0432-3ef0-8b3a0d002910"}}}}' + body: '{"chatThread": {"id": "19:-x6L3gHUNtF6P2wflnLjbCkW2cL6oS4UVpExU0XYUTQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:41Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: Tzob30ICKEqFdtzjSZX6aw.0 + date: Tue, 22 Jun 2021 20:54:41 GMT + ms-cv: oKqWEz+oOkOp8R/UzkPrXQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 563ms + x-cache: CONFIG_NOCACHE + x-processing-time: 697ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: lxGWHkc90kGN4YGUiwWq/g.0 + date: Tue, 22 Jun 2021 20:54:41 GMT + ms-cv: RlHGvShOCUS3lAk7MtmZWA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 119ms + x-cache: CONFIG_NOCACHE + x-processing-time: 250ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 response: @@ -251,12 +261,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:02:09 GMT - ms-cv: Qay0GnVjKUW2RlWA5VzK1Q.0 + date: Tue, 22 Jun 2021 20:54:42 GMT + ms-cv: GsHLUVJxsU2h/j2Aj/qbcg.0 strict-transport-security: max-age=2592000 - x-processing-time: 265ms + x-cache: CONFIG_NOCACHE + x-processing-time: 241ms status: code: 200 message: OK @@ -267,7 +278,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -275,11 +286,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:10 GMT - ms-cv: OyizfITJ8UmY85MQcSbJlw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:42 GMT + ms-cv: IjQ1s1MxpUWcw/T7RwqvNA.0 strict-transport-security: max-age=2592000 - x-processing-time: 252ms + x-cache: CONFIG_NOCACHE + x-processing-time: 299ms status: code: 204 message: No Content @@ -295,10 +307,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:13 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:43 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -308,17 +320,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:11 GMT + - Tue, 22 Jun 2021 20:54:44 GMT ms-cv: - - 43gFbB2Q3kmqnuR1Bjvt1A.0 + - bFwZIKESmEi2kvlmluxhog.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 696ms + - 822ms status: code: 204 message: No Content @@ -333,10 +347,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:45 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -346,17 +360,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:45 GMT ms-cv: - - Pya6Qto9Lk2xYgZSZoazMw.0 + - EkWWHVPidk6GBzuv40xZtQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 542ms + - 550ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml index 5189d5b0455c..c956210778c8 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - f8MBljXf1kuYxa2lvrkVBw.0 + - uNPycoiaHkSeEWdwYPGPHg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 93ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:14 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:11.6791242+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:45.8106545+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - UNZJSP4nyEKjbWfb+/53mg.0 + - 2dxUqyMv0UyngcN5b3tnTw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 23ms + - 139ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-137e-1000-343a0d000b08"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-ada2-b8ba-a43a0d002d23"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - eYtUpybz+USYfRW4Q9ul0w.0 + - FcZnCnf6rkGbxOWEuXKUfg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 87ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:15 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:47 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:11.8051875+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:46.2564276+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:12 GMT + - Tue, 22 Jun 2021 20:54:46 GMT ms-cv: - - j0pUtkj0lEyaKhAmrrTTMQ.0 + - yBJPkAejjkOgDtogXYfvwQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 24ms + - 168ms status: code: 200 message: OK @@ -177,28 +185,29 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 300d4d28-607a-4b5c-9bf4-f45fa973ab0d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 28e6d964-77bd-42cd-a8e5-107268111a92 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:IdonVjTgIEdQDkiiynPc5J__gwXbSYom_T4Uk4ubW-k1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:12Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-12f2-1000-343a0d000b07"}}}}' + body: '{"chatThread": {"id": "19:-Vtmg8MynfXaSL4-snZhqIM_F349EJKadyT2kmivCiQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:47Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: oAY0MrSkpkOmmgboS8hwaA.0 + date: Tue, 22 Jun 2021 20:54:47 GMT + ms-cv: kf0yrBRoL0a2Km5uJ/5ksw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked + x-cache: CONFIG_NOCACHE x-processing-time: 736ms status: code: 201 @@ -210,7 +219,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 response: @@ -218,12 +227,13 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-length: '0' - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: txmi0jMTrkemJzYhSYg5Xw.0 + date: Tue, 22 Jun 2021 20:54:47 GMT + ms-cv: UU5D+Mzz/EaLBOQo4tn+wA.0 strict-transport-security: max-age=2592000 - x-processing-time: 232ms + x-cache: CONFIG_NOCACHE + x-processing-time: 258ms status: code: 200 message: OK @@ -234,7 +244,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -242,11 +252,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:13 GMT - ms-cv: p2tssF1EiUue1w8CNYfWFw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:48 GMT + ms-cv: Du6a5WU5+UiJIeDc8DDVzQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 187ms + x-cache: CONFIG_NOCACHE + x-processing-time: 238ms status: code: 204 message: No Content @@ -262,10 +273,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:16 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -275,17 +286,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:14 GMT + - Tue, 22 Jun 2021 20:54:49 GMT ms-cv: - - L3uAOfgxT0OpozDoWBEo2w.0 + - /azBFW05bEGPuwTM4DeEVg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 551ms + - 776ms status: code: 204 message: No Content @@ -300,10 +313,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:17 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:49 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -313,17 +326,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:49 GMT ms-cv: - - UyKeyBRlHU+zY8Cn2+TJvw.0 + - JjPmNNWASkCXMRnH9U6JoQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 990ms + - 640ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml index 2baa5152b14c..ff67dc4c7751 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - aIDb/ulzrEWcIP4kI8KmBw.0 + - /Ub5zZaghkaLwcdZOFVNrQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 70ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:15.2830379+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:50.484132+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - Qqj2/7/gRUOzfQG+oIsg2g.0 + - iv3zmQ6ekUOcE3i6Sovp4Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 27ms + - 171ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2193-6a0b-343a0d00277d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-c010-51b9-a43a0d009446"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:50 GMT ms-cv: - - rnQh1FFGx0ahd7ePMhbUMg.0 + - NEhQUCZwjU2XlFeTkB632Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 96ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:18 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:15.4276198+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:51.03718+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:15 GMT + - Tue, 22 Jun 2021 20:54:52 GMT ms-cv: - - GmSqkCO/B0yeYcOzQWmOgw.0 + - uQGkYyW2NEOewW448sR/rQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 26ms + - 147ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 9886e472-2842-4982-a5c8-a79c4f2a9da0 + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 7cadd68e-5e6f-4a33-8862-fc8769ece727 method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:s4u_awPd_-N0gIPN2ybUzmgMS8eI-DXGdcjKdZCg41A1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:16Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-2101-6a0b-343a0d00277c"}}}}' + body: '{"chatThread": {"id": "19:h5Qj9fgSx2isMThWhsaE5_Jll8G0a163GcIoNmmFnIg1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:52Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: Mwrb4ZrOVkyy7rRlJrPi+g.0 + date: Tue, 22 Jun 2021 20:54:52 GMT + ms-cv: c9gEYpnO8k+cpKoGdwsW+w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 591ms + x-cache: CONFIG_NOCACHE + x-processing-time: 431ms status: code: 201 message: Created @@ -215,20 +224,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: 0yy2JP/LSE+sHN1siCm2/Q.0 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: QWI0euuxD0i0svu061fdXw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 184ms + x-cache: CONFIG_NOCACHE + x-processing-time: 185ms status: code: 201 message: Created @@ -243,7 +253,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 response: @@ -251,11 +261,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:16 GMT - ms-cv: PMN1WU1MY0G8Gftg31M2+g.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: Fcb4SdBa7EiwyKgPMltfWQ.0 strict-transport-security: max-age=2592000 - x-processing-time: 235ms + x-cache: CONFIG_NOCACHE + x-processing-time: 245ms status: code: 204 message: No Content @@ -266,7 +277,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -274,11 +285,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:17 GMT - ms-cv: 9Fi1w+eQW0iAn4cP8fYKFg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:54:53 GMT + ms-cv: AeZmKWdjskK4lhb+mpHV8A.0 strict-transport-security: max-age=2592000 - x-processing-time: 126ms + x-cache: CONFIG_NOCACHE + x-processing-time: 179ms status: code: 204 message: No Content @@ -294,10 +306,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:20 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -307,17 +319,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:18 GMT + - Tue, 22 Jun 2021 20:54:54 GMT ms-cv: - - nBo9ZUJZa0qFJoRPVyIj0A.0 + - Sf5Or/RWBEGpB2hKq0oo5w.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 827ms + - 588ms status: code: 204 message: No Content @@ -332,10 +346,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:21 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -345,17 +359,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:19 GMT + - Tue, 22 Jun 2021 20:54:55 GMT ms-cv: - - 0jTsJDEvX0qSx2ixE0VjDw.0 + - w92WNoXjZEeYpHIgqWMXfw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1115ms + - 708ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml index 065d17822fbc..7dcd8b626c8e 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml @@ -12,33 +12,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:55 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - Wgnh93aprkarSvXkZxU9lg.0 + - d7cDl24Vn0iuYgLfRNVBoA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 83ms status: code: 201 message: Created @@ -55,33 +57,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:22 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:19.7454209+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:56.6651919+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - 75LQm+Bsa0uohY1VhGW9TA.0 + - TF1wdnaLl0imD9GGQ0rsKw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 159ms + - 162ms status: code: 200 message: OK @@ -98,33 +102,35 @@ interactions: - '2' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-333b-92fd-8b3a0d00253d"}}' + body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d8d4-570c-113a0d001791"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:57 GMT ms-cv: - - U06Obtx0Kkyo/ocPN4tTuA.0 + - VAWDijDsqU+M2PbTCZ6gFw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 91ms status: code: 201 message: Created @@ -141,33 +147,35 @@ interactions: - '20' Content-Type: - application/json - Date: - - Tue, 23 Mar 2021 02:02:23 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:54:58 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-03-24T02:02:20.1323824+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:57.7524043+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Tue, 23 Mar 2021 02:02:20 GMT + - Tue, 22 Jun 2021 20:54:58 GMT ms-cv: - - 5eVOsn42Dk6NF6YKvVgp0w.0 + - 2/nGLYVsdEWTBNEVFvw8wg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 155ms + - 217ms status: code: 200 message: OK @@ -177,29 +185,30 @@ interactions: Accept: - application/json Content-Length: - - '258' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) - repeatability-Request-Id: - - 1e7d74f4-b208-4898-98b3-1593d221bd1d + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + repeatability-request-id: + - 1e455e28-a94f-4cd1-ae4b-30f60276ec0a method: POST uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 response: - body: '{"chatThread": {"id": "19:k6_-wPrAEB1TIUJd4qB1Quf6oxatO2B5UWtl9kR4ylg1@thread.v2", - "topic": "test topic", "createdOn": "2021-03-23T02:02:21Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c", - "communicationUser": {"id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000008-fcb3-31c1-92fd-8b3a0d00253c"}}}}' + body: '{"chatThread": {"id": "19:CaKyZFIDA9YYOhv2UkyImFQ5A0NJI133NHLUGcD7ypE1@thread.v2", + "topic": "test topic", "createdOn": "2021-06-22T20:54:59Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f", + "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 content-type: application/json; charset=utf-8 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: scmv8T9+qEOwncsefCytGg.0 + date: Tue, 22 Jun 2021 20:54:59 GMT + ms-cv: 10CBOcI3Sk+cD7apl2KD4w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 1254ms + x-cache: CONFIG_NOCACHE + x-processing-time: 453ms status: code: 201 message: Created @@ -214,7 +223,7 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -222,11 +231,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: xJ6J/E/1oEWO0IPOo7HhwA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:55:01 GMT + ms-cv: b7xy7EWFgE6lTlT3Ek1vag.0 strict-transport-security: max-age=2592000 - x-processing-time: 261ms + x-cache: CONFIG_NOCACHE + x-processing-time: 275ms status: code: 204 message: No Content @@ -237,7 +247,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 response: @@ -245,11 +255,12 @@ interactions: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07 - date: Tue, 23 Mar 2021 02:02:22 GMT - ms-cv: KZntzLqWfEKJKZvCo7FIVg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + date: Tue, 22 Jun 2021 20:55:01 GMT + ms-cv: 9nW1AUfRAUCQqESp3XiTbA.0 strict-transport-security: max-age=2592000 - x-processing-time: 258ms + x-cache: CONFIG_NOCACHE + x-processing-time: 244ms status: code: 204 message: No Content @@ -265,10 +276,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:25 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:55:02 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -278,17 +289,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:23 GMT + - Tue, 22 Jun 2021 20:55:03 GMT ms-cv: - - MIzREcoipkKUMZqZrwzU3g.0 + - UISdDH9xH0mSFJcmdo8nbw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 752ms + - 1046ms status: code: 204 message: No Content @@ -303,10 +316,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Tue, 23 Mar 2021 02:02:26 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0b6 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:55:03 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -316,17 +329,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Tue, 23 Mar 2021 02:02:24 GMT + - Tue, 22 Jun 2021 20:55:04 GMT ms-cv: - - azi3b8ZlIkyDln3Sp7Ltag.0 + - QqT2UWjvQE655NpiLEzjEg.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 662ms + - 861ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py b/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py +++ b/sdk/communication/azure-communication-identity/azure/communication/identity/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml index 7e41f754589f..301b0204bd09 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:35 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - MAFpWlOWZkOwGTjcoqQs/A.0 + - lHDY2orXNUaVroMvaXTo5Q.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 67ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml index 641ff514b18f..774bc7a8bfd9 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token.yaml @@ -12,10 +12,10 @@ interactions: - '35' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:37 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -23,24 +23,26 @@ interactions: response: body: string: '{"identity": {"id": "sanitized"}, "accessToken": {"token": "sanitized", - "expiresOn": "2021-04-22T01:03:36.4974103+00:00"}}' + "expiresOn": "2021-06-23T18:58:41.0416959+00:00"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:37 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - 8h5FkbC290CXIiTUXJXG1A.0 + - l/CSdhjlCkqUxwXbhm0A0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 460ms + - 44ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml index cb6d253c9f41..41dce2b2b65a 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_and_token_with_no_scopes.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:38 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:42 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:37 GMT + - Tue, 22 Jun 2021 18:58:41 GMT ms-cv: - - vm3Y63QS2E2q02bPpNW/pw.0 + - xw+PCHfIQk+b5c4uCZpjWQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 66ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml index 56c413fc45bc..cdd55f49254c 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_create_user_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:38 GMT + - Tue, 22 Jun 2021 18:58:43 GMT ms-cv: - - /0cdgYWzkUSJN8NGVXbzww.0 + - rpnmbbC2M0Kyzkz98A1JdQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 12ms + - 134ms status: code: 201 message: Created diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml index 250ef1bbcff1..e68e914c5ed9 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:44 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:38 GMT + - Tue, 22 Jun 2021 18:58:43 GMT ms-cv: - - v1sp8VZ12kmfHIv4KPQL/g.0 + - 9IzqC9YNm0uDNYm6RxtIYg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 49ms status: code: 201 message: Created @@ -54,10 +56,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Wed, 21 Apr 2021 01:03:39 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:44 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -67,17 +69,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:39 GMT + - Tue, 22 Jun 2021 18:58:44 GMT ms-cv: - - pd0NJk+DuE+kE0OxofV5oA.0 + - JTY7rdzhkUqYBDIPRq0VQQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 556ms + - 533ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml index 7459941fd8df..a99163075e33 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_delete_user_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:41 GMT + - Tue, 22 Jun 2021 18:58:45 GMT ms-cv: - - i1V3NBItW0+3BVjUvRgbMw.0 + - Ug7Zn5/Gz0KQgz9N4Xhucg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 192ms + - 184ms status: code: 201 message: Created @@ -51,7 +53,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: @@ -59,17 +61,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:46 GMT ms-cv: - - LTpN0ElayE2anISXsYUn0A.0 + - nilo/u16T0+MwV1DVmJmKA.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 559ms + - 602ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml index 86e6b83ec35f..a039939d2bf0 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:43 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:46 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:46 GMT ms-cv: - - qRo3jp67IUCPfCZMWCCiOg.0 + - sQSar9r5TUOqqCxbdBHTyQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 10ms + - 64ms status: code: 201 message: Created @@ -56,34 +58,36 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:44 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:47 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:42.4880688+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:46.6953294+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:42 GMT + - Tue, 22 Jun 2021 18:58:47 GMT ms-cv: - - f/in6N3GcUGnAXhB0syCrw.0 + - /4RHszheLUCYJWaFYBC0Ew.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 149ms + - 139ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml index af0da6165764..593290083c18 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:47 GMT ms-cv: - - /8iK7bJGjUi0wHSNAwuUvg.0 + - hVvyYX9XxU6zWOPqQNGexQ.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 63ms + - 120ms status: code: 201 message: Created @@ -53,29 +55,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:43.9098436+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:47.9669834+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - lFmF0NQQv0mEcihxGfvDNA.0 + - ScBH9C6lcUKVpuK/HgdNag.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 152ms + - 132ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml index 5f659146f0bd..9701e68cbebb 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_get_token_with_no_scopes.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:45 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:44 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - 9vrmAbY5v0CAKw3yWG5Bmg.0 + - vamc7sfwiEqgDSToVw/p6w.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 66ms status: code: 201 message: Created @@ -56,10 +58,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -72,17 +74,19 @@ interactions: content-type: - application/json date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:48 GMT ms-cv: - - Tp8+MIEEKU+8PBZ/KK1LZQ.0 + - JsKQZ1aVqEqESmmKxCb9Jw.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 15ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml index 3aa0310f73f2..99816cd053cd 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens.yaml @@ -12,10 +12,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:49 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,21 +25,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - fuf/w29xP0WNPsRxaQzqoA.0 + - FJHzH2TvD0e12lVcXgSuyA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 63ms status: code: 201 message: Created @@ -56,34 +58,36 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:46 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:50 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:45.2383068+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:49.3439607+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:45 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - yDf0VHpTCUOuwF4VOh6jYA.0 + - DKf8LhNaDUOZXXKAxbPF0A.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 144ms + - 136ms status: code: 200 message: OK @@ -98,10 +102,10 @@ interactions: - keep-alive Content-Length: - '0' - Date: - - Wed, 21 Apr 2021 01:03:47 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:50 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -111,17 +115,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:46 GMT + - Tue, 22 Jun 2021 18:58:49 GMT ms-cv: - - x6iZdquF6U6B1JffH3SVog.0 + - kE8W5L1ywUyHQ8Ti27FqDw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 646ms + - 118ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml index b86efc264de9..4bf4ec120fbd 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client.test_revoke_tokens_from_managed_identity.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: @@ -21,21 +21,23 @@ interactions: string: '{"identity": {"id": "sanitized"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:47 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - EXzyqcpSLEmW/V9CMYTdrA.0 + - /v3eXw+ynEmrXJx7SCxnZg.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 61ms status: code: 201 message: Created @@ -53,29 +55,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:03:47.3930771+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:50.9078351+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 content-type: - application/json; charset=utf-8 date: - - Wed, 21 Apr 2021 01:03:48 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - Ixbw0cZ9202QiXVlpIX4Xg.0 + - BHvQo/WPQUqrZL9kU873EA.0 request-context: - appId= strict-transport-security: - max-age=2592000 transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 142ms + - 136ms status: code: 200 message: OK @@ -91,7 +95,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 response: @@ -99,17 +103,19 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 date: - - Wed, 21 Apr 2021 01:03:48 GMT + - Tue, 22 Jun 2021 18:58:51 GMT ms-cv: - - siARyMOEtE+pYQ8qc+NsmQ.0 + - w2m7hOe0Z06KH0UWpOZgFw.0 request-context: - appId= strict-transport-security: - max-age=2592000 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 314ms + - 157ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml index 7f2bd96fc4ae..5c08470130ad 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:49 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:52 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,16 +20,18 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:48 GMT - ms-cv: vLH+ygW3XUa8wzACEaR+Bw.0 + date: Tue, 22 Jun 2021 18:58:52 GMT + ms-cv: 8b6Yfs+VdEKtQYXxtcyTrQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 61ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml index 6fdf410808e0..7e280b547b9b 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token.yaml @@ -8,10 +8,10 @@ interactions: - '35' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:49 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:52 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -19,18 +19,20 @@ interactions: response: body: string: '{"identity": {"id": "sanitized"}, "accessToken": {"token": "sanitized", - "expiresOn": "2021-04-22T01:03:48.6583292+00:00"}}' + "expiresOn": "2021-06-23T18:58:52.2693039+00:00"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:49 GMT - ms-cv: kOV35dSPHEKdFd1cLyyQGA.0 + date: Tue, 22 Jun 2021 18:58:52 GMT + ms-cv: XTjYc9kgYUu7zZ6B8Rdsgg.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 271ms + x-cache: CONFIG_NOCACHE + x-processing-time: 220ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml index 734bdbe3fa68..6f6f74d0c129 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_and_token_with_no_scopes.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:50 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:53 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,16 +20,18 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:49 GMT - ms-cv: oyaGnhQ3UEmQUwkoKSJAxg.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: daAADl1wzkCrA1udPhvONg.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 60ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml index 923e8bf08762..747ada8532a1 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_create_user_from_managed_identity.yaml @@ -9,23 +9,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:57 GMT - ms-cv: sZ0IpHj30kWgvOIETT0pSw.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: blzFPJXQKECRzon4Dt1t+g.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 75ms + x-cache: CONFIG_NOCACHE + x-processing-time: 29ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml index a1c3b5e80dca..b4ddf3559e35 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:03:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:54 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,27 +20,29 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:03:56 GMT - ms-cv: CJkZvR0IjU24z7Hl7wULlQ.0 + date: Tue, 22 Jun 2021 18:58:53 GMT + ms-cv: srpqeGImaU+bWruVBTOEgQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 64ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '' headers: Accept: - application/json - Date: - - Wed, 21 Apr 2021 01:03:57 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -49,14 +51,16 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:03:56 GMT - ms-cv: CnKxXcEGq0OgIKxwDm9ImA.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:54 GMT + ms-cv: Tnse04fTa0653orPnAB3SA.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 516ms + x-cache: CONFIG_NOCACHE + x-processing-time: 570ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml index ac4670d4c137..1087400e1b79 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_delete_user_from_managed_identity.yaml @@ -9,46 +9,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:01 GMT - ms-cv: KTWJCXY3gUiYfQy7doRb8Q.0 + date: Tue, 22 Jun 2021 18:58:55 GMT + ms-cv: P20kvw1g/k62AibiEW0m0w.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 13ms + x-cache: CONFIG_NOCACHE + x-processing-time: 213ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 response: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:02 GMT - ms-cv: FonWIeITCEGEaNxOB9+T0w.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: PUdu1M8QkkeuAL9M7ArAGg.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 543ms + x-cache: CONFIG_NOCACHE + x-processing-time: 741ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml index ece1d84b7d7a..9a2b042db410 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:03 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:57 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:01 GMT - ms-cv: fmX+9TYBPUm5ZkIKPaifcg.0 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: JeNejveUHE6tLkBFbxCwnA.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 11ms + x-cache: CONFIG_NOCACHE + x-processing-time: 32ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -41,28 +43,30 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:03 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:01.7301111+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:56.6293051+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:02 GMT - ms-cv: c9LnBXull0+tsXKdnfOgAA.0 + date: Tue, 22 Jun 2021 18:58:56 GMT + ms-cv: ypTGR8db/0ONDQgCgRMc7A.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 146ms + x-cache: CONFIG_NOCACHE + x-processing-time: 41ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml index cef3bc481f75..13aee8398063 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_from_managed_identity.yaml @@ -9,25 +9,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:03 GMT - ms-cv: TSIMcZz1E06I4UrDT9KTJQ.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: 7oopmmtvjkWXfajCRFqUKQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 189ms + x-cache: CONFIG_NOCACHE + x-processing-time: 156ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -38,23 +40,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:03.4374044+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:57.8544274+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:03 GMT - ms-cv: Gh+ByIBlWkGjuFkngm5tbw.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: RbLsOw6sfUauQ7hxmcs76w.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 26ms + x-cache: CONFIG_NOCACHE + x-processing-time: 155ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml index beff73ce320b..9069d24f085a 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_get_token_with_no_scopes.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:58 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: +Ld0uuJrsEy+Fmi0FwHE8A.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: PI32xduU1kufD7wpUg8OzQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 32ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{}' headers: @@ -41,10 +43,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -55,14 +57,15 @@ interactions: field is required.", "target": "Scopes"}}' headers: content-type: application/json - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: o4QM5R8B1EaTu9t9KLIA2g.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: IivNGo5Jgk+G+i/KIsh3KQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 19ms + x-cache: CONFIG_NOCACHE + x-processing-time: 38ms status: code: 400 message: Bad Request - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml index 5d128fe9e387..0adbd6067d92 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens.yaml @@ -8,10 +8,10 @@ interactions: - '2' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -20,18 +20,20 @@ interactions: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: q+ucnkroYUqgGSLLb7AE/w.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: mJmgM9zu2kGn0sD7GWAPeQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 12ms + x-cache: CONFIG_NOCACHE + x-processing-time: 59ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -41,39 +43,41 @@ interactions: - '20' Content-Type: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:04.2125267+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:58.4494428+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: gOgVb9xDOU6aJ58CkV4Eag.0 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: EyrkOFV4gEayIxQQzsv/Xw.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 143ms + x-cache: CONFIG_NOCACHE + x-processing-time: 35ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 - request: body: '' headers: Accept: - application/json - Date: - - Wed, 21 Apr 2021 01:04:05 GMT User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 18:58:59 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -82,14 +86,16 @@ interactions: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:04 GMT - ms-cv: z3IGAket8EuW3k4420x+Jw.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:58:58 GMT + ms-cv: TOQFHBkQpkqIRdzCAbyiNw.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 134ms + x-cache: CONFIG_NOCACHE + x-processing-time: 97ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml index 18d8f3c30851..004a75ea1975 100644 --- a/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-identity/tests/recordings/test_communication_identity_client_async.test_revoke_tokens_from_managed_identity.yaml @@ -9,25 +9,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: body: string: '{"identity": {"id": "sanitized"}}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: esqhi3WAnUSWE09C5oWopQ.0 + date: Tue, 22 Jun 2021 18:58:59 GMT + ms-cv: xMC3NdE8+UOt9+GxzhhPdA.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 14ms + x-cache: CONFIG_NOCACHE + x-processing-time: 63ms status: code: 201 message: Created - url: https://lakshmanscommunication-communication.communication.azure.com/identities?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities?api-version=2021-03-07 - request: body: '{"scopes": ["chat"]}' headers: @@ -38,46 +40,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: body: - string: '{"token": "sanitized", "expiresOn": "2021-04-22T01:04:05.5521447+00:00"}' + string: '{"token": "sanitized", "expiresOn": "2021-06-23T18:58:59.4525188+00:00"}' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 content-type: application/json; charset=utf-8 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: DThu30avp0m4zQe2A2DIvQ.0 + date: Tue, 22 Jun 2021 18:59:00 GMT + ms-cv: WQwpvECVnEOtmsOqTfyibQ.0 request-context: appId= strict-transport-security: max-age=2592000 transfer-encoding: chunked - x-processing-time: 147ms + x-cache: CONFIG_NOCACHE + x-processing-time: 138ms status: code: 200 message: OK - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 response: body: string: '' headers: - api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07 - date: Wed, 21 Apr 2021 01:04:06 GMT - ms-cv: ELlNYXpYGk+PxAb32vSRJA.0 + api-supported-versions: 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, + 2021-03-31-preview1 + date: Tue, 22 Jun 2021 18:59:00 GMT + ms-cv: J1LfEe6dv0KsmrtnfoiCJA.0 request-context: appId= strict-transport-security: max-age=2592000 - x-processing-time: 225ms + x-cache: CONFIG_NOCACHE + x-processing-time: 129ms status: code: 204 message: No Content - url: https://lakshmanscommunication-communication.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 + url: https://smstestapp.communication.azure.com/identities/sanitized/:revokeAccessTokens?api-version=2021-03-07 version: 1 diff --git a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py +++ b/sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml index 764e374b596e..cb4a73acbdfb 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:46 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:44:57 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -20,7 +20,7 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -28,15 +28,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:48:48 GMT + - Tue, 22 Jun 2021 20:44:59 GMT ms-cv: - - icnv38Nf2Ee4VYsAtG0drw.0 + - cHfeMFABLEmxv6jxdIHxYA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2326ms + - 1829ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml index 5157865eddc1..67f80593f797 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_from_managed_identity.yaml @@ -9,14 +9,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -24,15 +24,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:48:50 GMT + - Tue, 22 Jun 2021 20:45:02 GMT ms-cv: - - Zi4vLw+YjEq33j5+bRQ0/Q.0 + - B83QXGnmAUCqJREwCTGA0w.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1730ms + - 1564ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml index 7527b2d91c1e..98ab7ed77892 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_get_purchased_phone_number_with_invalid_phone_number.yaml @@ -8,33 +8,35 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:51 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:02 GMT x-ms-return-client-request-id: - 'true' method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: - string: '{"error": {"code": "PhoneNumberNotFound", "message": "The specified - phone number +14255550123 cannot be found.", "target": "phonenumber"}}' + string: '{"error": {"code": "NotFound", "message": "Input phoneNumber +14255550123 + cannot be found.", "target": "phonenumber"}}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json date: - - Mon, 19 Apr 2021 21:48:51 GMT + - Tue, 22 Jun 2021 20:45:03 GMT ms-cv: - - 5h1NjStvd0SrcZTNKmwgtw.0 + - Hsrooe9j7kKbBXUskCK25w.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 775ms + - 1025ms status: code: 404 message: Not Found diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml index 0a1315125791..08451aba4f35 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Mon, 19 Apr 2021 21:48:52 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:04 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -23,128 +23,62 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:49:11 GMT + - Tue, 22 Jun 2021 20:45:06 GMT ms-cv: - - t1PykxARPUOCUU7QX1bUqQ.0 + - XNBGMxu4bEy8YLFQJnaXOw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 18600ms + - 2610ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml index 533fd88bd40a..053256cc4215 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_list_purchased_phone_numbers_from_managed_identity.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers?skip=0&top=100&api-version=2021-03-07 response: @@ -19,128 +19,62 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Mon, 19 Apr 2021 21:49:44 GMT + - Tue, 22 Jun 2021 20:45:10 GMT ms-cv: - - 0Z8gtvI0QU23MCk18CE4JA.0 + - lnYAf4Nr3kq+LYS2bvybog.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 30850ms + - 2313ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml index 302fc3583747..0423af83dc1f 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers.yaml @@ -13,10 +13,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Wed, 07 Apr 2021 18:29:43 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:10 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,19 +32,21 @@ interactions: content-length: - '0' date: - - Wed, 07 Apr 2021 18:29:44 GMT + - Tue, 22 Jun 2021 20:45:12 GMT ms-cv: - - LvLK+LqWDUu7V7yHfmkRmA.0 + - vXOXkjCfiE6dNa/huWEhcA.0 operation-id: - - search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3 + - search_42ad2046-6138-41ba-9bb2-813d73b020bf operation-location: - - /phoneNumbers/operations/search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + - /phoneNumbers/operations/search_42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 request-context: - appId= search-id: - - 78110af8-eb5e-4015-ac29-7c8d5f5e18c3 + - 42ad2046-6138-41ba-9bb2-813d73b020bf + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 3174ms + - 2089ms status: code: 202 message: Accepted @@ -57,18 +59,18 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Wed, 07 Apr 2021 18:30:16 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:43 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07", - "createdDateTime": "2021-04-07T18:29:44.4976895+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:45:12.973093+00:00", "id": "sanitized", "operationType": "search", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -78,15 +80,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:15 GMT + - Tue, 22 Jun 2021 20:45:43 GMT ms-cv: - - i4+zgQOBak2k/ioGPGp9dA.0 + - UhmgFX5aT0KpUg9Bn07oOQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 866ms + - 375ms status: code: 200 message: OK @@ -100,36 +104,38 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Wed, 07 Apr 2021 18:30:17 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:45:43 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/78110af8-eb5e-4015-ac29-7c8d5f5e18c3?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/42ad2046-6138-41ba-9bb2-813d73b020bf?api-version=2021-03-07 response: body: - string: '{"searchId": "78110af8-eb5e-4015-ac29-7c8d5f5e18c3", "phoneNumbers": + string: '{"searchId": "42ad2046-6138-41ba-9bb2-813d73b020bf", "phoneNumbers": ["sanitized"], "phoneNumberType": "tollFree", "assignmentType": "application", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}, "searchExpiresBy": - "2021-04-07T18:45:49.2672556+00:00"}' + "2021-06-22T21:01:14.4876979+00:00"}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:16 GMT + - Tue, 22 Jun 2021 20:45:44 GMT ms-cv: - - IfRdHuIX0UC42Rg3CjLrzQ.0 + - bMfOuPz8lUenz2j+TEMgtQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1088ms + - 836ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml index 13998b502964..456345ff2633 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_from_managed_identity.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2021-03-07 response: @@ -28,19 +28,21 @@ interactions: content-length: - '0' date: - - Wed, 07 Apr 2021 18:30:21 GMT + - Tue, 22 Jun 2021 20:45:48 GMT ms-cv: - - N1sHbasufkeD6OIvutgLVg.0 + - JqIO26MYSkKRuCzVr5jTwQ.0 operation-id: - - search_d637d7ed-1486-4b9e-b9cb-aaa8521538de + - search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37 operation-location: - - /phoneNumbers/operations/search_d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + - /phoneNumbers/operations/search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 request-context: - appId= search-id: - - d637d7ed-1486-4b9e-b9cb-aaa8521538de + - e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37 + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2587ms + - 2601ms status: code: 202 message: Accepted @@ -54,13 +56,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/search_e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07", - "createdDateTime": "2021-04-07T18:30:20.8854076+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/availablePhoneNumbers/searchResults/e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:45:48.0480102+00:00", "id": "sanitized", "operationType": "search", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -70,15 +72,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:51 GMT + - Tue, 22 Jun 2021 20:46:18 GMT ms-cv: - - /QYgPFGEcUK285lLkY7iXg.0 + - e9cQiYr4CU2FQ9cydc99tg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 424ms + - 371ms status: code: 200 message: OK @@ -93,31 +97,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/d637d7ed-1486-4b9e-b9cb-aaa8521538de?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/availablePhoneNumbers/searchResults/e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37?api-version=2021-03-07 response: body: - string: '{"searchId": "d637d7ed-1486-4b9e-b9cb-aaa8521538de", "phoneNumbers": + string: '{"searchId": "e4a33ed5-2f35-4cfd-b9c2-5f38a3680d37", "phoneNumbers": ["sanitized"], "phoneNumberType": "tollFree", "assignmentType": "application", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}, "searchExpiresBy": - "2021-04-07T18:46:26.1636769+00:00"}' + "2021-06-22T21:01:49.4858573+00:00"}' headers: api-supported-versions: - '2021-03-07' content-type: - application/json; charset=utf-8 date: - - Wed, 07 Apr 2021 18:30:52 GMT + - Tue, 22 Jun 2021 20:46:19 GMT ms-cv: - - CIYMmIMnzUipb7frdCigqQ.0 + - 00XBl/MO9EyBSoy8GoWBxw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 885ms + - 750ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml index 0c4552eb60d4..3229512b1dc8 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_search_available_phone_numbers_with_invalid_country_code.yaml @@ -13,10 +13,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Mon, 19 Apr 2021 21:49:44 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:19 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -31,15 +31,17 @@ interactions: content-type: - application/json date: - - Mon, 19 Apr 2021 21:49:44 GMT + - Tue, 22 Jun 2021 20:46:20 GMT ms-cv: - - tAckLoEl7Uyqg0NYT97njA.0 + - X5zahc33FEioKcd5dQTdxA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 13ms + - 29ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml index 9945b8a2a065..25c62bda1879 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities.yaml @@ -8,10 +8,10 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:14:38 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:20 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -20,7 +20,7 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -28,21 +28,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:14:38 GMT + - Tue, 22 Jun 2021 20:46:20 GMT ms-cv: - - tMx8pGeOqEul+6PPHnwXJw.0 + - vaBhNY7NNUSeaflNX53uUg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1934ms + - 988ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "outbound", "sms": "outbound"}' + body: '{"calling": "outbound", "sms": "inbound+outbound"}' headers: Accept: - application/json @@ -51,43 +53,45 @@ interactions: Connection: - keep-alive Content-Length: - - '42' + - '50' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:14:40 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:21 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "3421d622-f7c5-454f-8565-4ce3b4f8f75e"}' + string: '{"capabilitiesUpdateId": "087efda3-1a64-4115-b26a-ce3661c57443"}' headers: access-control-expose-headers: - Operation-Location,Location,operation-id,capabilities-id api-supported-versions: - '2021-03-07' capabilities-id: - - 3421d622-f7c5-454f-8565-4ce3b4f8f75e + - 087efda3-1a64-4115-b26a-ce3661c57443 content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:14:40 GMT + - Tue, 22 Jun 2021 20:46:22 GMT ms-cv: - - 56CQKwhda0iJyB7+4J7nWw.0 + - ZJy/oJxyYE6Ow9yrzqTeFQ.0 operation-id: - - capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e + - capabilities_087efda3-1a64-4115-b26a-ce3661c57443 operation-location: - - /phoneNumbers/operations/capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e?api-version=2021-03-07 + - /phoneNumbers/operations/capabilities_087efda3-1a64-4115-b26a-ce3661c57443?api-version=2021-03-07 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1521ms + - 1681ms status: code: 202 message: Accepted @@ -101,18 +105,18 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:15:12 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:53 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_3421d622-f7c5-454f-8565-4ce3b4f8f75e?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_087efda3-1a64-4115-b26a-ce3661c57443?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:14:39.9584305+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:46:22.994957+00:00", "id": "sanitized", "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -122,15 +126,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:10 GMT + - Tue, 22 Jun 2021 20:46:53 GMT ms-cv: - - rgELiaWEZ0ickxlU0rKhJQ.0 + - e4sUKtC4AkODZ9Y6GXge/Q.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 577ms + - 335ms status: code: 200 message: OK @@ -144,19 +150,19 @@ interactions: - gzip, deflate Connection: - keep-alive - Date: - - Fri, 30 Apr 2021 16:15:13 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:46:53 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -164,15 +170,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:13 GMT + - Tue, 22 Jun 2021 20:46:54 GMT ms-cv: - - ASe3ytfjIEee94LoaAFw9g.0 + - TILVQVGyhEGDDqqlJegCBw.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 2504ms + - 1141ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml index 7b8ee14013e6..a7520f8e23c7 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_from_managed_identity.yaml @@ -9,14 +9,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -24,21 +24,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:21 GMT + - Tue, 22 Jun 2021 20:46:57 GMT ms-cv: - - NN1ByHp1/UWMdngUtxuKsQ.0 + - kjhoufizi02M9+QPZd4MVA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 7009ms + - 1298ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "inbound", "sms": "inbound+outbound"}' + body: '{"calling": "inbound", "sms": "outbound"}' headers: Accept: - application/json @@ -47,39 +49,41 @@ interactions: Connection: - keep-alive Content-Length: - - '49' + - '41' Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "be1e19b1-9d28-43b3-b54d-18c3ba16df1a"}' + string: '{"capabilitiesUpdateId": "d82c64c9-e114-4041-b1e5-ab63401776ed"}' headers: access-control-expose-headers: - Operation-Location,Location,operation-id,capabilities-id api-supported-versions: - '2021-03-07' capabilities-id: - - be1e19b1-9d28-43b3-b54d-18c3ba16df1a + - d82c64c9-e114-4041-b1e5-ab63401776ed content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:23 GMT + - Tue, 22 Jun 2021 20:46:59 GMT ms-cv: - - CVK1lozVPEOndsRX5RX4xA.0 + - QjT48a2ou0GZYbZmxLnf3w.0 operation-id: - - capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a + - capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed operation-location: - - /phoneNumbers/operations/capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a?api-version=2021-03-07 + - /phoneNumbers/operations/capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed?api-version=2021-03-07 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1804ms + - 1954ms status: code: 202 message: Accepted @@ -94,13 +98,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_be1e19b1-9d28-43b3-b54d-18c3ba16df1a?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_d82c64c9-e114-4041-b1e5-ab63401776ed?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:15:24.2219997+00:00", "id": "sanitized", + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:46:58.6394532+00:00", "id": "sanitized", "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: @@ -110,15 +114,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:54 GMT + - Tue, 22 Jun 2021 20:47:29 GMT ms-cv: - - SXa4WyO3Mka8a9Gsf8BsYQ.0 + - P6C7GfA5rU6V2tBIOS3Bgg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 267ms + - 759ms status: code: 200 message: OK @@ -133,14 +139,14 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: @@ -148,15 +154,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 30 Apr 2021 16:15:55 GMT + - Tue, 22 Jun 2021 20:47:31 GMT ms-cv: - - /K7P7Q7xt0Sgxjgs/KsISg.0 + - xms5AKIsBE+vHxF9ijrhkg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 1185ms + - 1984ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml index dcfb20aff2a4..4135cf8dbf0b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client.test_update_phone_number_capabilities_with_invalid_phone_number.yaml @@ -12,31 +12,37 @@ interactions: - '49' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:15:58 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:32 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: - '2021-03-07' - content-length: - - '0' + content-type: + - application/json date: - - Fri, 30 Apr 2021 16:15:57 GMT + - Tue, 22 Jun 2021 20:47:32 GMT ms-cv: - - Uoo4DHvUEE2ERImbFBY4Lg.0 + - wOfynf2/VkWvUO9h7jk2Sg.0 request-context: - appId= + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 381ms + - 448ms status: code: 404 message: Not Found + url: sanitized version: 1 diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml index 35205680b6c8..6b6ba242838b 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:50:55 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:33 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -16,16 +16,17 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:50:56 GMT - ms-cv: AFGxY/duj06Kmg3TuDfcGA.0 + date: Tue, 22 Jun 2021 20:47:34 GMT + ms-cv: ak3TkQ+u6kKnYzN0owAzFw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1847ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1929ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml index d1cbf3822007..29a2a86dcef3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_from_managed_identity.yaml @@ -5,23 +5,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:50:59 GMT - ms-cv: 3EenyQdSX024+58WLGrx3Q.0 + date: Tue, 22 Jun 2021 20:47:36 GMT + ms-cv: u+qnQDcXqEqzi+RzxpD0hg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1864ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1605ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml index 631f7d10407f..7cece02b420c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_get_purchased_phone_number_with_invalid_phone_number.yaml @@ -4,26 +4,27 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:51:00 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:37 GMT x-ms-return-client-request-id: - 'true' method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: - string: '{"error": {"code": "PhoneNumberNotFound", "message": "The specified - phone number +14255550123 cannot be found.", "target": "phonenumber"}}' + string: '{"error": {"code": "NotFound", "message": "Input phoneNumber +14255550123 + cannot be found.", "target": "phonenumber"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json - date: Mon, 19 Apr 2021 21:51:00 GMT - ms-cv: mIQqzEwXO0ix/6wyl5JeaA.0 + date: Tue, 22 Jun 2021 20:47:38 GMT + ms-cv: 7+dgmadKM06K8sXhBnyRew.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 370ms + x-cache: CONFIG_NOCACHE + x-processing-time: 632ms status: code: 404 message: Not Found diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml index 4c32175634b5..6ec64c266e5c 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Mon, 19 Apr 2021 21:51:00 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:38 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -19,121 +19,54 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:51:22 GMT - ms-cv: l7h5Udj1KEmfnFBK5cXaHQ.0 + date: Tue, 22 Jun 2021 20:47:40 GMT + ms-cv: du5+GuN5+ES2ioFPWok6Ig.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 22047ms + x-cache: CONFIG_NOCACHE + x-processing-time: 2763ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml index 9bc51ca049b6..3d1142381ed0 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_list_purchased_phone_numbers_from_managed_identity.yaml @@ -5,7 +5,7 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers?skip=0&top=100&api-version=2021-03-07 response: @@ -15,121 +15,54 @@ interactions: "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-14T00:23:52.1861991+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-14T21:31:30.9566555+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "geographic", "capabilities": {"calling": "outbound", "sms": "none"}, "assignmentType": "application", "purchaseDate": "2021-04-06T23:27:52.858607+00:00", "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound", "sms": "none"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:48:49.38583+00:00", "cost": - {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T17:51:13.4876763+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T21:13:23.5677014+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T20:48:35.6663829+00:00", "cost": + "application", "purchaseDate": "2021-05-25T00:03:06.2985305+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-03-26T22:41:03.6935096+00:00", "cost": + "application", "purchaseDate": "2021-05-24T23:39:11.2079613+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-03-29T20:13:20.1694649+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-03-30T23:10:20.4361699+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-26T23:18:22.4715623+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T17:35:42.8155189+00:00", + "assignmentType": "application", "purchaseDate": "2021-05-27T03:05:50.816041+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:15:56.8228107+00:00", "cost": - {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": - "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:32:06.9113399+00:00", "cost": + "application", "purchaseDate": "2021-02-10T17:52:41.818335+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "none", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T21:36:18.8554333+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:02:07.935429+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-06T23:14:21.7956616+00:00", + "assignmentType": "application", "purchaseDate": "2021-02-10T18:01:46.4199999+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "none", "sms": "outbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:19:11.9095127+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound"}, "assignmentType": - "application", "purchaseDate": "2021-04-06T23:40:02.0410712+00:00", "cost": + "tollFree", "capabilities": {"calling": "inbound", "sms": "outbound"}, "assignmentType": + "application", "purchaseDate": "2021-03-09T15:03:04.7513808+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-07T16:37:03.918591+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T16:18:38.5365335+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T19:48:38.3328121+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, - "assignmentType": "application", "purchaseDate": "2021-04-08T20:56:52.3906615+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "tollFree", "capabilities": {"calling": "inbound", "sms": "inbound+outbound"}, + "tollFree", "capabilities": {"calling": "outbound", "sms": "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", - "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}, - {"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": - "geographic", "capabilities": {"calling": "inbound+outbound", "sms": "none"}, - "assignmentType": "application", "purchaseDate": "2021-04-14T15:50:33.2361831+00:00", - "cost": {"amount": 1.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' + "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}]}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Mon, 19 Apr 2021 21:51:50 GMT - ms-cv: Jx2d1/4mNEmD1ZWnJzt1YQ.0 + date: Tue, 22 Jun 2021 20:47:43 GMT + ms-cv: qcNbhv5WqU6HogBWb93mkQ.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 26011ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1488ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml index 953feca5e429..d7565f49784d 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers.yaml @@ -9,10 +9,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Wed, 07 Apr 2021 18:48:54 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:43 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -24,13 +24,14 @@ interactions: access-control-expose-headers: Location,Operation-Location,operation-id,search-id api-supported-versions: '2021-03-07' content-length: '0' - date: Wed, 07 Apr 2021 18:48:56 GMT - ms-cv: /OjVQPdlhka/jerEeAhXtw.0 - operation-id: search_2eb536a6-57c8-46f8-b15a-7b4424c425a2 - operation-location: /phoneNumbers/operations/search_2eb536a6-57c8-46f8-b15a-7b4424c425a2?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:45 GMT + ms-cv: d2IuwtOW+km0VKnygc3F2g.0 + operation-id: search_ca052693-7500-4cc3-a225-7d9c1fd34b1b + operation-location: /phoneNumbers/operations/search_ca052693-7500-4cc3-a225-7d9c1fd34b1b?api-version=2021-03-07 request-context: appId= - search-id: 2eb536a6-57c8-46f8-b15a-7b4424c425a2 - x-processing-time: 4020ms + search-id: ca052693-7500-4cc3-a225-7d9c1fd34b1b + x-cache: CONFIG_NOCACHE + x-processing-time: 1984ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml index 11c3d2c27c4c..69a1f2a41e2e 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_from_managed_identity.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.0b5 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/availablePhoneNumbers/countries/US/:search?api-version=2021-03-07 response: @@ -20,13 +20,14 @@ interactions: access-control-expose-headers: Location,Operation-Location,operation-id,search-id api-supported-versions: '2021-03-07' content-length: '0' - date: Wed, 07 Apr 2021 18:49:02 GMT - ms-cv: eES0hVGbok+B4zAc1Oe1TA.0 - operation-id: search_d6dc3b85-25dc-438d-906e-e83e1baf5765 - operation-location: /phoneNumbers/operations/search_d6dc3b85-25dc-438d-906e-e83e1baf5765?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:48 GMT + ms-cv: enVXTP8D9kqwjFsx4VKoNg.0 + operation-id: search_b3c21f0a-e304-4a65-a596-6f3d2e158744 + operation-location: /phoneNumbers/operations/search_b3c21f0a-e304-4a65-a596-6f3d2e158744?api-version=2021-03-07 request-context: appId= - search-id: d6dc3b85-25dc-438d-906e-e83e1baf5765 - x-processing-time: 3678ms + search-id: b3c21f0a-e304-4a65-a596-6f3d2e158744 + x-cache: CONFIG_NOCACHE + x-processing-time: 2112ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml index 7013ea5074a7..640fa54910e9 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_search_available_phone_numbers_with_invalid_country_code.yaml @@ -9,10 +9,10 @@ interactions: - '131' Content-Type: - application/json - Date: - - Fri, 30 Apr 2021 21:35:58 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:48 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -24,11 +24,12 @@ interactions: headers: api-supported-versions: '2021-03-07' content-type: application/json - date: Fri, 30 Apr 2021 21:35:58 GMT - ms-cv: vS+4qpNfgUqjc0RGNA/ZgQ.0 + date: Tue, 22 Jun 2021 20:47:47 GMT + ms-cv: yjkV05mHAUiTKwXC80sLow.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 33ms + x-cache: CONFIG_NOCACHE + x-processing-time: 71ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml index 0eca61196c8c..6d7abdc918c3 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities.yaml @@ -4,10 +4,10 @@ interactions: headers: Accept: - application/json - Date: - - Fri, 30 Apr 2021 16:17:37 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:48 GMT x-ms-return-client-request-id: - 'true' method: GET @@ -16,52 +16,54 @@ interactions: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:17:36 GMT - ms-cv: 0JBRywupmUiOUPbwKf2v8Q.0 + date: Tue, 22 Jun 2021 20:47:50 GMT + ms-cv: eNoOQ2NX6ke7I8BldBOFMg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1754ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1702ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "outbound", "sms": "outbound"}' + body: '{"calling": "outbound", "sms": "inbound+outbound"}' headers: Accept: - application/json Content-Length: - - '42' + - '50' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:17:39 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:47:50 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32"}' + string: '{"capabilitiesUpdateId": "40eb12ed-bb5f-454f-bec7-90a170a5f8ce"}' headers: access-control-expose-headers: Operation-Location,Location,operation-id,capabilities-id api-supported-versions: '2021-03-07' - capabilities-id: 2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32 + capabilities-id: 40eb12ed-bb5f-454f-bec7-90a170a5f8ce content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:17:38 GMT - ms-cv: p+R3H1NjEkmqK3T3KmaYVw.0 - operation-id: capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32 - operation-location: /phoneNumbers/operations/capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:47:52 GMT + ms-cv: imjyH9MVr0WirATbirebdw.0 + operation-id: capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce + operation-location: /phoneNumbers/operations/capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce?api-version=2021-03-07 request-context: appId= transfer-encoding: chunked - x-processing-time: 1329ms + x-cache: CONFIG_NOCACHE + x-processing-time: 2138ms status: code: 202 message: Accepted @@ -69,28 +71,29 @@ interactions: - request: body: '' headers: - Date: - - Fri, 30 Apr 2021 16:18:10 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:48:22 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_2ca86ef2-8dcc-468b-9fe2-0d15a74f8d32?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_40eb12ed-bb5f-454f-bec7-90a170a5f8ce?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:17:38.4897453+00:00", "id": "sanitized", - "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:47:52.39424+00:00", "id": "sanitized", "operationType": + "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: Location api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:09 GMT - ms-cv: nVFdQRsWe0WKjRRQJAnEpg.0 + date: Tue, 22 Jun 2021 20:48:22 GMT + ms-cv: Uh9eA0XWuE+XghkF2vRnRw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 367ms + x-cache: CONFIG_NOCACHE + x-processing-time: 497ms status: code: 200 message: OK @@ -98,28 +101,29 @@ interactions: - request: body: '' headers: - Date: - - Fri, 30 Apr 2021 16:18:11 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:48:23 GMT x-ms-return-client-request-id: - 'true' method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:11 GMT - ms-cv: haippK60VEW5h9Upy8R3qg.0 + date: Tue, 22 Jun 2021 20:48:24 GMT + ms-cv: +bZ/lqVNSkGbw9K8gPjPXw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 1847ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1438ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml index 93f047b96d0f..c4c738725b20 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_from_managed_identity.yaml @@ -5,55 +5,57 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "outbound", "sms": - "outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:15 GMT - ms-cv: b8QShH17K0OPkuuUcD83tg.0 + date: Tue, 22 Jun 2021 20:48:26 GMT + ms-cv: nrkAV6nj2Eex37E9sJRfRw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 2201ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1053ms status: code: 200 message: OK url: sanitized - request: - body: '{"calling": "inbound", "sms": "inbound+outbound"}' + body: '{"calling": "inbound", "sms": "outbound"}' headers: Accept: - application/json Content-Length: - - '49' + - '41' Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '{"capabilitiesUpdateId": "d673295d-7927-4c56-8912-3b8a7517c3dd"}' + string: '{"capabilitiesUpdateId": "061f7879-d6f5-40a4-b613-fbfd526f0d0b"}' headers: access-control-expose-headers: Operation-Location,Location,operation-id,capabilities-id api-supported-versions: '2021-03-07' - capabilities-id: d673295d-7927-4c56-8912-3b8a7517c3dd + capabilities-id: 061f7879-d6f5-40a4-b613-fbfd526f0d0b content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:17 GMT - ms-cv: EglfUu8sgke3lTBhJ92ynw.0 - operation-id: capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd - operation-location: /phoneNumbers/operations/capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd?api-version=2021-03-07 + date: Tue, 22 Jun 2021 20:48:28 GMT + ms-cv: PLjM7uRQ7kukTd8fEPOY2Q.0 + operation-id: capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b + operation-location: /phoneNumbers/operations/capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b?api-version=2021-03-07 request-context: appId= transfer-encoding: chunked - x-processing-time: 1806ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1863ms status: code: 202 message: Accepted @@ -62,23 +64,24 @@ interactions: body: null headers: User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_d673295d-7927-4c56-8912-3b8a7517c3dd?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/operations/capabilities_061f7879-d6f5-40a4-b613-fbfd526f0d0b?api-version=2021-03-07 response: body: - string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18335260208?api-version=2021-03-07", - "createdDateTime": "2021-04-30T16:18:17.4753288+00:00", "id": "sanitized", - "operationType": "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' + string: '{"status": "succeeded", "resourceLocation": "/phoneNumbers/+18332408804?api-version=2021-03-07", + "createdDateTime": "2021-06-22T20:48:28.08175+00:00", "id": "sanitized", "operationType": + "updatePhoneNumberCapabilities", "lastActionDateTime": "0001-01-01T00:00:00+00:00"}' headers: access-control-expose-headers: Location api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:48 GMT - ms-cv: VnwNJZRFBUimJlcQEKl/2Q.0 + date: Tue, 22 Jun 2021 20:48:58 GMT + ms-cv: +cxPnf8pNkKGkBzU9WFh9Q.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 664ms + x-cache: CONFIG_NOCACHE + x-processing-time: 322ms status: code: 200 message: OK @@ -87,23 +90,24 @@ interactions: body: null headers: User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://sanitized.communication.azure.com/phoneNumbers/+18335260208?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/phoneNumbers/+18332408804?api-version=2021-03-07 response: body: string: '{"id": "sanitized", "phoneNumber": "sanitized", "countryCode": "US", "phoneNumberType": "tollFree", "capabilities": {"calling": "inbound", "sms": - "inbound+outbound"}, "assignmentType": "application", "purchaseDate": "2000-01-01T00:00:00+00:00", + "outbound"}, "assignmentType": "application", "purchaseDate": "2021-03-09T15:01:55.0949003+00:00", "cost": {"amount": 2.0, "currencyCode": "USD", "billingFrequency": "monthly"}}' headers: api-supported-versions: '2021-03-07' content-type: application/json; charset=utf-8 - date: Fri, 30 Apr 2021 16:18:53 GMT - ms-cv: INpASdJbFkiAzoUK/fLPgA.0 + date: Tue, 22 Jun 2021 20:48:59 GMT + ms-cv: rQocnmx/fkiwpB1c8CErjA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 4863ms + x-cache: CONFIG_NOCACHE + x-processing-time: 1226ms status: code: 200 message: OK diff --git a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml index 4c97e64c7811..be0a46368f49 100644 --- a/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml +++ b/sdk/communication/azure-communication-phonenumbers/test/recordings/test_phone_number_administration_client_async.test_update_phone_number_capabilities_with_invalid_phone_number.yaml @@ -8,26 +8,29 @@ interactions: - '49' Content-Type: - application/merge-patch+json - Date: - - Fri, 30 Apr 2021 16:18:56 GMT User-Agent: - - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.5 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-phonenumbers/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:49:00 GMT x-ms-return-client-request-id: - 'true' method: PATCH uri: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: '2021-03-07' - content-length: '0' - date: Fri, 30 Apr 2021 16:18:53 GMT - ms-cv: QA1uxSsFAU+cTcx7eE5x+A.0 + content-type: application/json + date: Tue, 22 Jun 2021 20:49:00 GMT + ms-cv: ZHFikJ3L5EitfYqYolw4hw.0 request-context: appId= - x-processing-time: 424ms + transfer-encoding: chunked + x-cache: CONFIG_NOCACHE + x-processing-time: 446ms status: code: 404 message: Not Found - url: https://sanitized.communication.azure.com/phoneNumbers/sanitized/capabilities?api-version=2021-03-07 + url: sanitized version: 1 diff --git a/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py b/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py index b2a0de8d4238..d4197ede0e38 100644 --- a/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py +++ b/sdk/communication/azure-communication-sms/azure/communication/sms/_shared/policy.py @@ -51,7 +51,7 @@ def _sign_request(self, request): if self._decode_url: query_url = urllib.parse.unquote(query_url) - signed_headers = "date;host;x-ms-content-sha256" + signed_headers = "x-ms-date;host;x-ms-content-sha256" utc_now = get_current_utc_time() if request.http_request.body is None: @@ -76,7 +76,7 @@ def _sign_request(self, request): signature = self._compute_hmac(string_to_sign) signature_header = { - "Date": utc_now, + "x-ms-date": utc_now, "x-ms-content-sha256": content_hash, "x-ms-return-client-request-id": "true", "Authorization": "HMAC-SHA256 SignedHeaders=" +\ diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml index b329522d9fe1..7554c0f6830c 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_from_phone_number.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:02 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:27 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -29,15 +29,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:03 GMT + - Tue, 22 Jun 2021 20:30:28 GMT ms-cv: - - K5QlPZ6p/0qNhQ7fRebKJg.0 + - ARQosNcM9EO/b9GJUF1nVg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 11ms + - 69ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml index 1b552a76f2a8..e6c2a030b31b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_fake_to_phone_number.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:03 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:28 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:03 GMT + - Tue, 22 Jun 2021 20:30:28 GMT ms-cv: - - gw4wVjhc2U2L30f0iIDuZg.0 + - ZPA4aT5edkuwX15js2huwg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 316ms + - 344ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml index 0aceff61bf54..c252912f616d 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_from_managed_identity.yaml @@ -11,11 +11,11 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: @@ -28,15 +28,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:05 GMT + - Tue, 22 Jun 2021 20:30:30 GMT ms-cv: - - olGG26idwE+LzaOTnK/I+w.0 + - Lo2mfQ4IEkWMcpxC/Iv2AQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 843ms + - 860ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml index 80d3c413c085..9f744add6c50 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_multiple_with_options.yaml @@ -12,13 +12,13 @@ interactions: Connection: - keep-alive Content-Length: - - '440' + - '446' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:05 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:31 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -35,15 +35,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:06 GMT + - Tue, 22 Jun 2021 20:30:32 GMT ms-cv: - - ovcS8YyU6UauDrfEXMFaqQ.0 + - 3EwH1EGbVkCGNZLLLfIGQQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 629ms + - 1079ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml index 15eeee51ea91..812bb71d73ca 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_single.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:06 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:32 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:07 GMT + - Tue, 22 Jun 2021 20:30:33 GMT ms-cv: - - lf9zHoiaa06EpPwt/ZkcGg.0 + - Wj790wWSzUmOajAGS9uQvA.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 539ms + - 614ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml index d3cec6baea4e..a6737b8ec02f 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unauthorized_from_phone_number.yaml @@ -11,33 +11,38 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Mon, 26 Apr 2021 20:44:56 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:33 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: - 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 - content-length: - - '0' + content-type: + - application/json date: - - Mon, 26 Apr 2021 20:44:56 GMT + - Tue, 22 Jun 2021 20:30:34 GMT ms-cv: - - J4SJhRMiv0iKUhAQqxUttw.0 + - JLPu8nvoPUyp8DcG8QBtSg.0 request-context: - appId= + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 278ms + - 532ms status: code: 401 message: Unauthorized diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml index 518f1638d17a..200eb692420b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e.test_send_sms_unique_message_ids.yaml @@ -11,13 +11,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:07 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:34 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -32,15 +32,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:08 GMT + - Tue, 22 Jun 2021 20:30:34 GMT ms-cv: - - NaeHfjm8vEa2kzQRYtt98w.0 + - g6Xq7ydQ4U64DKXTQdEBeg.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 545ms + - 766ms status: code: 202 message: Accepted @@ -56,13 +58,13 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:08 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:35 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -77,15 +79,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Apr 2021 18:38:08 GMT + - Tue, 22 Jun 2021 20:30:35 GMT ms-cv: - - S/65ens12keVDGV4IohU4g.0 + - TRCxUKw8AkqOOYjaAqd4DQ.0 request-context: - appId= transfer-encoding: - chunked + x-cache: + - CONFIG_NOCACHE x-processing-time: - - 557ms + - 513ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml index 75f4588ee94c..c216177ac4fd 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_from_phone_number_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:09 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:36 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -23,11 +23,12 @@ interactions: string: '{"From": ["Invalid From phone number format"]}' headers: content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:09 GMT - ms-cv: QucM3d0xPEu+KcFVDrOwOw.0 + date: Tue, 22 Jun 2021 20:30:36 GMT + ms-cv: 5YjuVK2z8U+886rY73SotQ.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 11ms + x-cache: CONFIG_NOCACHE + x-processing-time: 43ms status: code: 400 message: Bad Request diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml index 4d66a08fc98d..9300526342c0 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_fake_to_phone_number_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:09 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:36 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:10 GMT - ms-cv: XiBqPF17n0uN6sU/BdaG8A.0 + date: Tue, 22 Jun 2021 20:30:36 GMT + ms-cv: cwjft2WrCE2odK9SR6OpSA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 403ms + x-cache: CONFIG_NOCACHE + x-processing-time: 312ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml index 5e04c65db21a..97e41e3046a7 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_from_managed_identity_async.yaml @@ -7,11 +7,11 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: @@ -21,11 +21,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:13 GMT - ms-cv: KUAqE6zPEkWUxs7nDfgQRQ.0 + date: Tue, 22 Jun 2021 20:30:38 GMT + ms-cv: ekwtXvPV2keeZdu6kzKFfw.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 423ms + x-cache: CONFIG_NOCACHE + x-processing-time: 677ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml index ad678856f5d2..ff15c7e8c84b 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_multiple_with_options_async.yaml @@ -8,13 +8,13 @@ interactions: Accept: - application/json Content-Length: - - '440' + - '446' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:13 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:38 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -28,11 +28,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:14 GMT - ms-cv: x7S22jrJvECxJVGZiDIbHA.0 + date: Tue, 22 Jun 2021 20:30:38 GMT + ms-cv: 2TXhchZkk0KQADFoBoeU6w.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 565ms + x-cache: CONFIG_NOCACHE + x-processing-time: 932ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml index 22305bf06c85..42c0a492955a 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_single_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:14 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:39 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:15 GMT - ms-cv: QuTYQM60jk61jhpAbrjtpQ.0 + date: Tue, 22 Jun 2021 20:30:40 GMT + ms-cv: MQp1OH2E6UeKCBSc0kANRA.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 415ms + x-cache: CONFIG_NOCACHE + x-processing-time: 657ms status: code: 202 message: Accepted diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml index bef48595de5b..0efc487bb8e3 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unauthorized_from_phone_number_async.yaml @@ -7,27 +7,30 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Mon, 26 Apr 2021 20:45:02 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/sms?api-version=2021-03-07 response: body: - string: '' + string: '{"error": {"code": "InternalError", "message": "The server encountered + an internal error."}}' headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 - content-length: '0' - date: Mon, 26 Apr 2021 20:45:02 GMT - ms-cv: G+jHfvCEjECPwEKrIJkC4w.0 + content-type: application/json + date: Tue, 22 Jun 2021 20:30:41 GMT + ms-cv: MZ7Sljypt0eiijzebXl8PA.0 request-context: appId= - x-processing-time: 332ms + transfer-encoding: chunked + x-cache: CONFIG_NOCACHE + x-processing-time: 363ms status: code: 401 message: Unauthorized diff --git a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml index f5a92c8ebfa9..49d4d971ab6c 100644 --- a/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml +++ b/sdk/communication/azure-communication-sms/tests/recordings/test_sms_client_e2e_async.test_send_sms_unique_message_ids_async.yaml @@ -7,13 +7,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:15 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:41 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -25,11 +25,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:16 GMT - ms-cv: ihlwg7nsO0esXTalhuPp4g.0 + date: Tue, 22 Jun 2021 20:30:42 GMT + ms-cv: xGjy4/vRbUiYkqdcDmnDFg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 504ms + x-cache: CONFIG_NOCACHE + x-processing-time: 668ms status: code: 202 message: Accepted @@ -42,13 +43,13 @@ interactions: Accept: - application/json Content-Length: - - '274' + - '277' Content-Type: - application/json - Date: - - Tue, 13 Apr 2021 18:38:16 GMT User-Agent: - - azsdk-python-communication-sms/1.0.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-sms/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + x-ms-date: + - Tue, 22 Jun 2021 20:30:42 GMT x-ms-return-client-request-id: - 'true' method: POST @@ -60,11 +61,12 @@ interactions: headers: api-supported-versions: 2020-07-20-preview1, 2020-08-20-preview, 2021-03-07 content-type: application/json; charset=utf-8 - date: Tue, 13 Apr 2021 18:38:16 GMT - ms-cv: TPMC9LfJX0mL0Z5sa13JNQ.0 + date: Tue, 22 Jun 2021 20:30:42 GMT + ms-cv: yIG8uY7bZkGL4GUPfnA1Yg.0 request-context: appId= transfer-encoding: chunked - x-processing-time: 510ms + x-cache: CONFIG_NOCACHE + x-processing-time: 654ms status: code: 202 message: Accepted From b5f0323b5e4ae0ebb3e351713751a7241a374110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Tue, 22 Jun 2021 15:30:51 -0700 Subject: [PATCH 29/45] Update release date (#19399) --- sdk/keyvault/azure-keyvault-administration/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | 2 +- sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md index 4b92005df615..292792cc6037 100644 --- a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0 (2021-06-21) +## 4.0.0 (2021-06-22) ### Changed - Key Vault API version 7.2 is now the default - `KeyVaultAccessControlClient.delete_role_assignment` and diff --git a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md index ebe0cb5088d5..8ac7eae986a3 100644 --- a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.3.0 (2021-06-21) +## 4.3.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed - Key Vault API version 7.2 is now the default diff --git a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md index 6ce83676202c..7e5f8415aa9b 100644 --- a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.4.0 (2021-06-21) +## 4.4.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed - Key Vault API version 7.2 is now the default diff --git a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md index a6314aa62d19..d13a9d37556e 100644 --- a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.3.0 (2021-06-21) +## 4.3.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Fixed - Correct typing for async paging methods From 2f0afe1967e42074a1adf667b927e9dcf1d2efc3 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 22 Jun 2021 15:52:34 -0700 Subject: [PATCH 30/45] Cloud event should parse smaller ms precisions (#19259) * Cloud event should parse smalled ms precisions * changelog * Update sdk/core/azure-core/tests/test_messaging_cloud_event.py * add tests * Update sdk/core/azure-core/CHANGELOG.md * Apply suggestions from code review --- .../tests/test_messaging_cloud_event.py | 160 +++++++++++++++++- 1 file changed, 157 insertions(+), 3 deletions(-) diff --git a/sdk/core/azure-core/tests/test_messaging_cloud_event.py b/sdk/core/azure-core/tests/test_messaging_cloud_event.py index 9dd8b80a7fbc..c82fa4f55370 100644 --- a/sdk/core/azure-core/tests/test_messaging_cloud_event.py +++ b/sdk/core/azure-core/tests/test_messaging_cloud_event.py @@ -2,14 +2,12 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -import logging -import sys -import os import pytest import json import datetime from azure.core.messaging import CloudEvent +from azure.core._utils import _convert_to_isoformat from azure.core.serialization import NULL # Cloud Event tests @@ -146,6 +144,108 @@ def test_cloud_custom_dict_with_extensions(): assert event.time.microsecond == 539861 assert event.extensions == {"ext1": "example", "ext2": "example2"} +def test_cloud_custom_dict_ms_precision_is_gt_six(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.539861122+00:00", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 539861 + +def test_cloud_custom_dict_ms_precision_is_lt_six(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.123+00:00", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 123000 + +def test_cloud_custom_dict_ms_precision_is_eq_six(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.123456+00:00", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 123456 + +def test_cloud_custom_dict_ms_precision_is_gt_six_z_not(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.539861122Z", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 539861 + +def test_cloud_custom_dict_ms_precision_is_lt_six_z_not(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.123Z", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 123000 + +def test_cloud_custom_dict_ms_precision_is_eq_six_z_not(): + cloud_custom_dict_with_extensions = { + "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e034", + "source":"https://egtest.dev/cloudcustomevent", + "data":{"team": "event grid squad"}, + "type":"Azure.Sdk.Sample", + "time":"2021-02-18T20:18:10.123456Z", + "specversion":"1.0", + } + event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + assert event.data == {"team": "event grid squad"} + assert event.__class__ == CloudEvent + assert event.time.month == 2 + assert event.time.day == 18 + assert event.time.hour == 20 + assert event.time.microsecond == 123456 + def test_cloud_custom_dict_blank_data(): cloud_custom_dict_with_extensions = { "id":"de0fd76c-4ef4-4dfb-ab3a-8f24a307e033", @@ -282,3 +382,57 @@ def test_cloud_from_dict_with_invalid_extensions(): } with pytest.raises(ValueError): event = CloudEvent.from_dict(cloud_custom_dict_with_extensions) + +def test_cloud_custom_dict_ms_precision_is_gt_six(): + time ="2021-02-18T20:18:10.539861122+00:00" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 539861 + +def test_cloud_custom_dict_ms_precision_is_lt_six(): + time ="2021-02-18T20:18:10.123+00:00" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 123000 + +def test_cloud_custom_dict_ms_precision_is_eq_six(): + time ="2021-02-18T20:18:10.123456+00:00" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 123456 + +def test_cloud_custom_dict_ms_precision_is_gt_six_z_not(): + time ="2021-02-18T20:18:10.539861122Z" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 539861 + +def test_cloud_custom_dict_ms_precision_is_lt_six_z_not(): + time ="2021-02-18T20:18:10.123Z" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 123000 + +def test_cloud_custom_dict_ms_precision_is_eq_six_z_not(): + time ="2021-02-18T20:18:10.123456Z" + date_obj = _convert_to_isoformat(time) + + assert date_obj.month == 2 + assert date_obj.day == 18 + assert date_obj.hour == 20 + assert date_obj.microsecond == 123456 From 4834809b403f30de4da66d9ce5933fcfad46c7d3 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 22 Jun 2021 16:21:39 -0700 Subject: [PATCH 31/45] [azure-mgmt-monitor] skip test to unblock ci (#19390) * skip test * Update test_cli_mgmt_monitor_async.py --- .../azure-mgmt-monitor/tests/test_cli_mgmt_monitor_async.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/monitor/azure-mgmt-monitor/tests/test_cli_mgmt_monitor_async.py b/sdk/monitor/azure-mgmt-monitor/tests/test_cli_mgmt_monitor_async.py index b87ab8bca52b..d83700efeb6a 100644 --- a/sdk/monitor/azure-mgmt-monitor/tests/test_cli_mgmt_monitor_async.py +++ b/sdk/monitor/azure-mgmt-monitor/tests/test_cli_mgmt_monitor_async.py @@ -6,6 +6,7 @@ # license information. #-------------------------------------------------------------------------- import time +import pytest import unittest import azure.mgmt.monitor.aio @@ -281,6 +282,7 @@ def create_network_interface(self, group_name, location, nic_name, subnet): result = self.vm_client.virtual_machines.create_or_update(group_name, vm_name, BODY) return result.result() + @pytest.mark.skip("https://github.com/Azure/azure-sdk-for-python/issues/19389") @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_monitor_diagnostic_settings(self, resource_group): SUBSCRIPTION_ID = self.settings.SUBSCRIPTION_ID From 24b79abdf6f713ca2d72f39b72d03545c01f6252 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 22 Jun 2021 17:04:31 -0700 Subject: [PATCH 32/45] Aggregation should be a list (#19381) * Aggregation should be a list * Update sdk/monitor/azure-monitor-query/tests/async/test_metrics_client_async.py * Update sdk/monitor/azure-monitor-query/tests/test_metrics_client.py --- sdk/monitor/azure-monitor-query/CHANGELOG.md | 1 + .../monitor/query/_metrics_query_client.py | 9 ++++++--- .../query/aio/_metrics_query_client_async.py | 7 +++++-- .../samples/sample_metrics_query_client.py | 17 ++++++++++++----- .../tests/async/test_metrics_client_async.py | 16 ++++++++++------ .../tests/test_metrics_client.py | 15 ++++++++++----- 6 files changed, 44 insertions(+), 21 deletions(-) diff --git a/sdk/monitor/azure-monitor-query/CHANGELOG.md b/sdk/monitor/azure-monitor-query/CHANGELOG.md index 79b22797cf66..b509ac76fa83 100644 --- a/sdk/monitor/azure-monitor-query/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-query/CHANGELOG.md @@ -8,6 +8,7 @@ - `workspaces`, `workspace_ids`, `qualified_names` and `azure_resource_ids` are now merged into a single `additional_workspaces` list in the query API. - The `LogQueryRequest` object now takes in a `workspace_id` and `additional_workspaces` instead of `workspace`. +- `aggregation` param is now a list instead of a string in the `query` method. ### Key Bugs Fixed diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_metrics_query_client.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_metrics_query_client.py index af1be3a0c72f..a72d926ab377 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_metrics_query_client.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_metrics_query_client.py @@ -62,7 +62,7 @@ def query(self, resource_uri, metric_names, duration=None, **kwargs): :param resource_uri: The identifier of the resource. :type resource_uri: str :param metric_names: The names of the metrics to retrieve. - :type metric_names: list + :type metric_names: list[str] :param str duration: The duration for which to query the data. This can also be accompanied with either start_time or end_time. If start_time or end_time is not provided, the current time is taken as the end time. This should be provided in a ISO8601 string format like 'PT1H', 'P1Y2M10DT2H30M'. @@ -72,8 +72,8 @@ def query(self, resource_uri, metric_names, duration=None, **kwargs): with either start_time or duration. :keyword interval: The interval (i.e. timegrain) of the query. :paramtype interval: ~datetime.timedelta - :keyword aggregation: The list of aggregation types (comma separated) to retrieve. - :paramtype aggregation: str + :keyword aggregation: The list of aggregation types to retrieve. + :paramtype aggregation: list[str] :keyword top: The maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10. @@ -112,6 +112,9 @@ def query(self, resource_uri, metric_names, duration=None, **kwargs): """ start = kwargs.pop('start_time', None) end = kwargs.pop('end_time', None) + aggregation = kwargs.pop("aggregation", None) + if aggregation: + kwargs.setdefault("aggregation", ",".join(aggregation)) timespan = construct_iso8601(start, end, duration) kwargs.setdefault("metricnames", ",".join(metric_names)) kwargs.setdefault("timespan", timespan) diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py index 462e66a72ce8..7d6d3423d80e 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py @@ -61,8 +61,8 @@ async def query(self, resource_uri: str, metric_names: List, duration: str = Non with either start_time or duration. :keyword interval: The interval (i.e. timegrain) of the query. :paramtype interval: ~datetime.timedelta - :keyword aggregation: The list of aggregation types (comma separated) to retrieve. - :paramtype aggregation: str + :keyword aggregation: The list of aggregation types to retrieve. + :paramtype aggregation: list[str] :keyword top: The maximum number of records to retrieve. Valid only if $filter is specified. Defaults to 10. @@ -95,6 +95,9 @@ async def query(self, resource_uri: str, metric_names: List, duration: str = Non timespan = construct_iso8601(start, end, duration) kwargs.setdefault("metricnames", ",".join(metric_names)) kwargs.setdefault("timespan", timespan) + aggregation = kwargs.pop("aggregation", None) + if aggregation: + kwargs.setdefault("aggregation", ",".join(aggregation)) generated = await self._metrics_op.list(resource_uri, connection_verify=False, **kwargs) return MetricsResult._from_generated(generated) # pylint: disable=protected-access diff --git a/sdk/monitor/azure-monitor-query/samples/sample_metrics_query_client.py b/sdk/monitor/azure-monitor-query/samples/sample_metrics_query_client.py index 4ae374f5f190..2230ee736f1d 100644 --- a/sdk/monitor/azure-monitor-query/samples/sample_metrics_query_client.py +++ b/sdk/monitor/azure-monitor-query/samples/sample_metrics_query_client.py @@ -2,7 +2,7 @@ # Licensed under the MIT License. import os -from datetime import datetime +from datetime import datetime, timedelta import urllib3 from azure.monitor.query import MetricsQueryClient from azure.identity import ClientSecretCredential @@ -23,14 +23,21 @@ metrics_uri = os.environ['METRICS_RESOURCE_URI'] response = client.query( metrics_uri, - metric_names=["PublishSuccessCount"], - start_time=datetime(2021, 5, 25), - duration='P1D' + metric_names=["MatchedEventCount"], + start_time=datetime(2021, 6, 21), + duration='P1D', + aggregation=['Count'] ) for metric in response.metrics: print(metric.name) for time_series_element in metric.timeseries: for metric_value in time_series_element.data: - print(metric_value.time_stamp) + if metric_value.count != 0: + print( + "There are {} matched events at {}".format( + metric_value.count, + metric_value.time_stamp + ) + ) # [END send_metrics_query] diff --git a/sdk/monitor/azure-monitor-query/tests/async/test_metrics_client_async.py b/sdk/monitor/azure-monitor-query/tests/async/test_metrics_client_async.py index f6612500149d..11e08aa4908b 100644 --- a/sdk/monitor/azure-monitor-query/tests/async/test_metrics_client_async.py +++ b/sdk/monitor/azure-monitor-query/tests/async/test_metrics_client_async.py @@ -1,4 +1,4 @@ -import py +from datetime import datetime import pytest import os from azure.identity.aio import ClientSecretCredential @@ -16,11 +16,15 @@ def _credential(): async def test_metrics_auth(): credential = _credential() client = MetricsQueryClient(credential) - # returns LogsQueryResults - response = await client.query(os.environ['METRICS_RESOURCE_URI'], metric_names=["PublishSuccessCount"], timespan='P2D') - - assert response is not None - assert response.metrics is not None + response = await client.query( + os.environ['METRICS_RESOURCE_URI'], + metric_names=["MatchedEventCount"], + start_time=datetime(2021, 6, 21), + duration='P1D', + aggregation=['Count'] + ) + assert response + assert response.metrics @pytest.mark.live_test_only async def test_metrics_namespaces(): diff --git a/sdk/monitor/azure-monitor-query/tests/test_metrics_client.py b/sdk/monitor/azure-monitor-query/tests/test_metrics_client.py index 5370b80a441b..8f5a69ede392 100644 --- a/sdk/monitor/azure-monitor-query/tests/test_metrics_client.py +++ b/sdk/monitor/azure-monitor-query/tests/test_metrics_client.py @@ -1,5 +1,6 @@ import pytest import os +from datetime import datetime from azure.identity import ClientSecretCredential from azure.monitor.query import MetricsQueryClient @@ -15,11 +16,15 @@ def _credential(): def test_metrics_auth(): credential = _credential() client = MetricsQueryClient(credential) - # returns LogsQueryResults - response = client.query(os.environ['METRICS_RESOURCE_URI'], metric_names=["PublishSuccessCount"], timespan='P2D') - - assert response is not None - assert response.metrics is not None + response = client.query( + os.environ['METRICS_RESOURCE_URI'], + metric_names=["MatchedEventCount"], + start_time=datetime(2021, 6, 21), + duration='P1D', + aggregation=['Count'] + ) + assert response + assert response.metrics @pytest.mark.live_test_only def test_metrics_namespaces(): From b8f7a18ec814f19fdad7bc8bac60160d03cb195e Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 22 Jun 2021 17:22:03 -0700 Subject: [PATCH 33/45] Increment version for keyvault releases (#19402) --- .../azure-keyvault-administration/CHANGELOG.md | 11 +++++++++++ .../azure/keyvault/administration/_version.py | 2 +- sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md | 11 +++++++++++ .../azure/keyvault/certificates/_version.py | 2 +- sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | 11 +++++++++++ .../azure/keyvault/keys/_version.py | 2 +- sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md | 11 +++++++++++ .../azure/keyvault/secrets/_version.py | 2 +- 8 files changed, 48 insertions(+), 4 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md index 292792cc6037..ef61adaf58cf 100644 --- a/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-administration/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 4.0.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 4.0.0 (2021-06-22) ### Changed - Key Vault API version 7.2 is now the default diff --git a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_version.py b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_version.py index 40f439ce66bc..3ef7aba02cab 100644 --- a/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_version.py +++ b/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "4.0.0" +VERSION = "4.0.1" diff --git a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md index 8ac7eae986a3..74195d49852a 100644 --- a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 4.3.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 4.3.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_version.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_version.py index 0d3545d5469f..dc47f2d79897 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_version.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "4.3.0" +VERSION = "4.3.1" diff --git a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md index 7e5f8415aa9b..be0d4c934b50 100644 --- a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 4.4.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 4.4.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Changed diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py index 4bd147c4dc27..08b43a9063e2 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "4.4.0" +VERSION = "4.4.1" diff --git a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md index d13a9d37556e..16ac788bd559 100644 --- a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 4.3.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 4.3.0 (2021-06-22) This is the last version to support Python 3.5. The next version will require Python 2.7 or 3.6+. ### Fixed diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py index 0d3545d5469f..dc47f2d79897 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_version.py @@ -3,4 +3,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "4.3.0" +VERSION = "4.3.1" From 676b80ebda1edc424227e50a0d32c029a01cafb7 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 22 Jun 2021 18:22:20 -0700 Subject: [PATCH 34/45] Regenerate monitor code (#19375) * Regenrate code * statistics * Update sdk/monitor/azure-monitor-query/tests/test_logs_client.py * ci fix * Apply suggestions from code review * lint * Update sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py * ci --- .../azure/monitor/query/__init__.py | 2 - .../query/_generated/models/__init__.py | 14 +- .../query/_generated/models/_models.py | 179 ++++++--------- .../query/_generated/models/_models_py3.py | 206 +++++++----------- .../models/_monitor_query_client_enums.py | 12 + .../azure/monitor/query/_log_query_client.py | 4 +- .../azure/monitor/query/_models.py | 80 +++---- .../samples/sample_batch_query.py | 9 +- .../swagger/README.PYTHON.md | 42 +++- .../tests/async/test_logs_client_async.py | 2 + .../tests/test_logs_client.py | 44 +++- 11 files changed, 290 insertions(+), 304 deletions(-) diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/__init__.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/__init__.py index 5d3104f2d801..3339edcdbfb1 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/__init__.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/__init__.py @@ -15,7 +15,6 @@ LogsBatchResultError, LogsQueryRequest, LogsBatchResults, - LogsErrorDetails, MetricNamespace, MetricDefinition, MetricsMetadataValue, @@ -35,7 +34,6 @@ "LogsQueryResultColumn", "LogsQueryResultTable", "LogsQueryRequest", - "LogsErrorDetails", "MetricsQueryClient", "MetricNamespace", "MetricDefinition", diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/__init__.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/__init__.py index 39e7db918318..4f1b1146bd3b 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/__init__.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/__init__.py @@ -9,17 +9,15 @@ try: from ._models_py3 import BatchRequest from ._models_py3 import BatchResponse - from ._models_py3 import BatchResponseError - from ._models_py3 import BatchResponseErrorInnerError from ._models_py3 import Column from ._models_py3 import ErrorDetail - from ._models_py3 import ErrorDetails from ._models_py3 import ErrorInfo from ._models_py3 import ErrorResponse from ._models_py3 import ErrorResponseAutoGenerated from ._models_py3 import LocalizableString from ._models_py3 import LogQueryRequest from ._models_py3 import LogQueryResponse + from ._models_py3 import LogQueryResult from ._models_py3 import MetadataApplication from ._models_py3 import MetadataApplicationRelated from ._models_py3 import MetadataCategory @@ -59,17 +57,15 @@ except (SyntaxError, ImportError): from ._models import BatchRequest # type: ignore from ._models import BatchResponse # type: ignore - from ._models import BatchResponseError # type: ignore - from ._models import BatchResponseErrorInnerError # type: ignore from ._models import Column # type: ignore from ._models import ErrorDetail # type: ignore - from ._models import ErrorDetails # type: ignore from ._models import ErrorInfo # type: ignore from ._models import ErrorResponse # type: ignore from ._models import ErrorResponseAutoGenerated # type: ignore from ._models import LocalizableString # type: ignore from ._models import LogQueryRequest # type: ignore from ._models import LogQueryResponse # type: ignore + from ._models import LogQueryResult # type: ignore from ._models import MetadataApplication # type: ignore from ._models import MetadataApplicationRelated # type: ignore from ._models import MetadataCategory # type: ignore @@ -109,6 +105,7 @@ from ._monitor_query_client_enums import ( AggregationType, + ColumnDataType, MetadataColumnDataType, ResultType, Unit, @@ -117,17 +114,15 @@ __all__ = [ 'BatchRequest', 'BatchResponse', - 'BatchResponseError', - 'BatchResponseErrorInnerError', 'Column', 'ErrorDetail', - 'ErrorDetails', 'ErrorInfo', 'ErrorResponse', 'ErrorResponseAutoGenerated', 'LocalizableString', 'LogQueryRequest', 'LogQueryResponse', + 'LogQueryResult', 'MetadataApplication', 'MetadataApplicationRelated', 'MetadataCategory', @@ -165,6 +160,7 @@ 'Table', 'TimeSeriesElement', 'AggregationType', + 'ColumnDataType', 'MetadataColumnDataType', 'ResultType', 'Unit', diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models.py index fa6f78ce7625..30613f0fc7b2 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models.py @@ -34,13 +34,10 @@ class BatchResponse(msrest.serialization.Model): :param responses: An array of responses corresponding to each individual request in a batch. :type responses: list[~monitor_query_client.models.LogQueryResponse] - :param error: Error response for a batch request. - :type error: ~monitor_query_client.models.BatchResponseError """ _attribute_map = { 'responses': {'key': 'responses', 'type': '[LogQueryResponse]'}, - 'error': {'key': 'error', 'type': 'BatchResponseError'}, } def __init__( @@ -49,72 +46,25 @@ def __init__( ): super(BatchResponse, self).__init__(**kwargs) self.responses = kwargs.get('responses', None) - self.error = kwargs.get('error', None) - - -class BatchResponseError(msrest.serialization.Model): - """Error response for a batch request. - - :param message: The error message describing the cause of the error. - :type message: str - :param code: The error code. - :type code: str - :param inner_error: - :type inner_error: ~monitor_query_client.models.BatchResponseErrorInnerError - """ - - _attribute_map = { - 'message': {'key': 'message', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'inner_error': {'key': 'innerError', 'type': 'BatchResponseErrorInnerError'}, - } - - def __init__( - self, - **kwargs - ): - super(BatchResponseError, self).__init__(**kwargs) - self.message = kwargs.get('message', None) - self.code = kwargs.get('code', None) - self.inner_error = kwargs.get('inner_error', None) - - -class BatchResponseErrorInnerError(msrest.serialization.Model): - """BatchResponseErrorInnerError. - - :param code: - :type code: str - :param message: - :type message: str - :param details: - :type details: list[~monitor_query_client.models.ErrorDetails] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorDetails]'}, - } - - def __init__( - self, - **kwargs - ): - super(BatchResponseErrorInnerError, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.details = kwargs.get('details', None) class Column(msrest.serialization.Model): """A column in a table. - :param name: The name of this column. + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of this column. :type name: str - :param type: The data type of this column. - :type type: str + :param type: Required. The data type of this column. Possible values include: "bool", + "datetime", "dynamic", "int", "long", "real", "string". + :type type: str or ~monitor_query_client.models.ColumnDataType """ + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + } + _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -125,8 +75,8 @@ def __init__( **kwargs ): super(Column, self).__init__(**kwargs) - self.name = kwargs.get('name', None) - self.type = kwargs.get('type', None) + self.name = kwargs['name'] + self.type = kwargs['type'] class ErrorDetail(msrest.serialization.Model): @@ -176,33 +126,6 @@ def __init__( self.additional_properties = kwargs.get('additional_properties', None) -class ErrorDetails(msrest.serialization.Model): - """ErrorDetails. - - :param code: - :type code: str - :param message: - :type message: str - :param target: - :type target: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(ErrorDetails, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.target = kwargs.get('target', None) - - class ErrorInfo(msrest.serialization.Model): """The code and message for an error. @@ -378,14 +301,18 @@ class LogQueryResponse(msrest.serialization.Model): :type id: str :param status: :type status: int - :param body: Contains the tables, columns & rows resulting from a query. - :type body: ~monitor_query_client.models.QueryResults + :param body: Contains the tables, columns & rows resulting from the query or the error details + if the query failed. + :type body: ~monitor_query_client.models.LogQueryResult + :param headers: Dictionary of :code:``. + :type headers: dict[str, str] """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'status': {'key': 'status', 'type': 'int'}, - 'body': {'key': 'body', 'type': 'QueryResults'}, + 'body': {'key': 'body', 'type': 'LogQueryResult'}, + 'headers': {'key': 'headers', 'type': '{str}'}, } def __init__( @@ -396,6 +323,38 @@ def __init__( self.id = kwargs.get('id', None) self.status = kwargs.get('status', None) self.body = kwargs.get('body', None) + self.headers = kwargs.get('headers', None) + + +class LogQueryResult(msrest.serialization.Model): + """Contains the tables, columns & rows resulting from the query or the error details if the query failed. + + :param tables: The list of tables, columns and rows. + :type tables: list[~monitor_query_client.models.Table] + :param error: The code and message for an error. + :type error: ~monitor_query_client.models.ErrorInfo + :param statistics: Any object. + :type statistics: object + :param render: Any object. + :type render: object + """ + + _attribute_map = { + 'tables': {'key': 'tables', 'type': '[Table]'}, + 'error': {'key': 'error', 'type': 'ErrorInfo'}, + 'statistics': {'key': 'statistics', 'type': 'object'}, + 'render': {'key': 'render', 'type': 'object'}, + } + + def __init__( + self, + **kwargs + ): + super(LogQueryResult, self).__init__(**kwargs) + self.tables = kwargs.get('tables', None) + self.error = kwargs.get('error', None) + self.statistics = kwargs.get('statistics', None) + self.render = kwargs.get('render', None) class MetadataApplication(msrest.serialization.Model): @@ -1630,12 +1589,6 @@ class QueryBody(msrest.serialization.Model): :type timespan: str :param workspaces: A list of workspaces that are included in the query. :type workspaces: list[str] - :param qualified_names: A list of qualified workspace names that are included in the query. - :type qualified_names: list[str] - :param workspace_ids: A list of workspace IDs that are included in the query. - :type workspace_ids: list[str] - :param azure_resource_ids: A list of Azure resource IDs that are included in the query. - :type azure_resource_ids: list[str] """ _validation = { @@ -1646,9 +1599,6 @@ class QueryBody(msrest.serialization.Model): 'query': {'key': 'query', 'type': 'str'}, 'timespan': {'key': 'timespan', 'type': 'str'}, 'workspaces': {'key': 'workspaces', 'type': '[str]'}, - 'qualified_names': {'key': 'qualifiedNames', 'type': '[str]'}, - 'workspace_ids': {'key': 'workspaceIds', 'type': '[str]'}, - 'azure_resource_ids': {'key': 'azureResourceIds', 'type': '[str]'}, } def __init__( @@ -1659,23 +1609,29 @@ def __init__( self.query = kwargs['query'] self.timespan = kwargs.get('timespan', None) self.workspaces = kwargs.get('workspaces', None) - self.qualified_names = kwargs.get('qualified_names', None) - self.workspace_ids = kwargs.get('workspace_ids', None) - self.azure_resource_ids = kwargs.get('azure_resource_ids', None) class QueryResults(msrest.serialization.Model): """Contains the tables, columns & rows resulting from a query. - :param tables: The list of tables, columns and rows. + All required parameters must be populated in order to send to Azure. + + :param tables: Required. The list of tables, columns and rows. :type tables: list[~monitor_query_client.models.Table] - :param errors: - :type errors: ~monitor_query_client.models.ErrorDetails + :param statistics: Any object. + :type statistics: object + :param render: Any object. + :type render: object """ + _validation = { + 'tables': {'required': True}, + } + _attribute_map = { 'tables': {'key': 'tables', 'type': '[Table]'}, - 'errors': {'key': 'errors', 'type': 'ErrorDetails'}, + 'statistics': {'key': 'statistics', 'type': 'object'}, + 'render': {'key': 'render', 'type': 'object'}, } def __init__( @@ -1683,8 +1639,9 @@ def __init__( **kwargs ): super(QueryResults, self).__init__(**kwargs) - self.tables = kwargs.get('tables', None) - self.errors = kwargs.get('errors', None) + self.tables = kwargs['tables'] + self.statistics = kwargs.get('statistics', None) + self.render = kwargs.get('render', None) class Response(msrest.serialization.Model): diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models_py3.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models_py3.py index 476ee2cd0cfb..03ee8f331112 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models_py3.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_models_py3.py @@ -41,98 +41,39 @@ class BatchResponse(msrest.serialization.Model): :param responses: An array of responses corresponding to each individual request in a batch. :type responses: list[~monitor_query_client.models.LogQueryResponse] - :param error: Error response for a batch request. - :type error: ~monitor_query_client.models.BatchResponseError """ _attribute_map = { 'responses': {'key': 'responses', 'type': '[LogQueryResponse]'}, - 'error': {'key': 'error', 'type': 'BatchResponseError'}, } def __init__( self, *, responses: Optional[List["LogQueryResponse"]] = None, - error: Optional["BatchResponseError"] = None, **kwargs ): super(BatchResponse, self).__init__(**kwargs) self.responses = responses - self.error = error - - -class BatchResponseError(msrest.serialization.Model): - """Error response for a batch request. - - :param message: The error message describing the cause of the error. - :type message: str - :param code: The error code. - :type code: str - :param inner_error: - :type inner_error: ~monitor_query_client.models.BatchResponseErrorInnerError - """ - - _attribute_map = { - 'message': {'key': 'message', 'type': 'str'}, - 'code': {'key': 'code', 'type': 'str'}, - 'inner_error': {'key': 'innerError', 'type': 'BatchResponseErrorInnerError'}, - } - - def __init__( - self, - *, - message: Optional[str] = None, - code: Optional[str] = None, - inner_error: Optional["BatchResponseErrorInnerError"] = None, - **kwargs - ): - super(BatchResponseError, self).__init__(**kwargs) - self.message = message - self.code = code - self.inner_error = inner_error - - -class BatchResponseErrorInnerError(msrest.serialization.Model): - """BatchResponseErrorInnerError. - - :param code: - :type code: str - :param message: - :type message: str - :param details: - :type details: list[~monitor_query_client.models.ErrorDetails] - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'details': {'key': 'details', 'type': '[ErrorDetails]'}, - } - - def __init__( - self, - *, - code: Optional[str] = None, - message: Optional[str] = None, - details: Optional[List["ErrorDetails"]] = None, - **kwargs - ): - super(BatchResponseErrorInnerError, self).__init__(**kwargs) - self.code = code - self.message = message - self.details = details class Column(msrest.serialization.Model): """A column in a table. - :param name: The name of this column. + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of this column. :type name: str - :param type: The data type of this column. - :type type: str + :param type: Required. The data type of this column. Possible values include: "bool", + "datetime", "dynamic", "int", "long", "real", "string". + :type type: str or ~monitor_query_client.models.ColumnDataType """ + _validation = { + 'name': {'required': True}, + 'type': {'required': True}, + } + _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -141,8 +82,8 @@ class Column(msrest.serialization.Model): def __init__( self, *, - name: Optional[str] = None, - type: Optional[str] = None, + name: str, + type: Union[str, "ColumnDataType"], **kwargs ): super(Column, self).__init__(**kwargs) @@ -204,37 +145,6 @@ def __init__( self.additional_properties = additional_properties -class ErrorDetails(msrest.serialization.Model): - """ErrorDetails. - - :param code: - :type code: str - :param message: - :type message: str - :param target: - :type target: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - } - - def __init__( - self, - *, - code: Optional[str] = None, - message: Optional[str] = None, - target: Optional[str] = None, - **kwargs - ): - super(ErrorDetails, self).__init__(**kwargs) - self.code = code - self.message = message - self.target = target - - class ErrorInfo(msrest.serialization.Model): """The code and message for an error. @@ -429,14 +339,18 @@ class LogQueryResponse(msrest.serialization.Model): :type id: str :param status: :type status: int - :param body: Contains the tables, columns & rows resulting from a query. - :type body: ~monitor_query_client.models.QueryResults + :param body: Contains the tables, columns & rows resulting from the query or the error details + if the query failed. + :type body: ~monitor_query_client.models.LogQueryResult + :param headers: Dictionary of :code:``. + :type headers: dict[str, str] """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'status': {'key': 'status', 'type': 'int'}, - 'body': {'key': 'body', 'type': 'QueryResults'}, + 'body': {'key': 'body', 'type': 'LogQueryResult'}, + 'headers': {'key': 'headers', 'type': '{str}'}, } def __init__( @@ -444,13 +358,51 @@ def __init__( *, id: Optional[str] = None, status: Optional[int] = None, - body: Optional["QueryResults"] = None, + body: Optional["LogQueryResult"] = None, + headers: Optional[Dict[str, str]] = None, **kwargs ): super(LogQueryResponse, self).__init__(**kwargs) self.id = id self.status = status self.body = body + self.headers = headers + + +class LogQueryResult(msrest.serialization.Model): + """Contains the tables, columns & rows resulting from the query or the error details if the query failed. + + :param tables: The list of tables, columns and rows. + :type tables: list[~monitor_query_client.models.Table] + :param error: The code and message for an error. + :type error: ~monitor_query_client.models.ErrorInfo + :param statistics: Any object. + :type statistics: object + :param render: Any object. + :type render: object + """ + + _attribute_map = { + 'tables': {'key': 'tables', 'type': '[Table]'}, + 'error': {'key': 'error', 'type': 'ErrorInfo'}, + 'statistics': {'key': 'statistics', 'type': 'object'}, + 'render': {'key': 'render', 'type': 'object'}, + } + + def __init__( + self, + *, + tables: Optional[List["Table"]] = None, + error: Optional["ErrorInfo"] = None, + statistics: Optional[object] = None, + render: Optional[object] = None, + **kwargs + ): + super(LogQueryResult, self).__init__(**kwargs) + self.tables = tables + self.error = error + self.statistics = statistics + self.render = render class MetadataApplication(msrest.serialization.Model): @@ -1864,12 +1816,6 @@ class QueryBody(msrest.serialization.Model): :type timespan: str :param workspaces: A list of workspaces that are included in the query. :type workspaces: list[str] - :param qualified_names: A list of qualified workspace names that are included in the query. - :type qualified_names: list[str] - :param workspace_ids: A list of workspace IDs that are included in the query. - :type workspace_ids: list[str] - :param azure_resource_ids: A list of Azure resource IDs that are included in the query. - :type azure_resource_ids: list[str] """ _validation = { @@ -1880,9 +1826,6 @@ class QueryBody(msrest.serialization.Model): 'query': {'key': 'query', 'type': 'str'}, 'timespan': {'key': 'timespan', 'type': 'str'}, 'workspaces': {'key': 'workspaces', 'type': '[str]'}, - 'qualified_names': {'key': 'qualifiedNames', 'type': '[str]'}, - 'workspace_ids': {'key': 'workspaceIds', 'type': '[str]'}, - 'azure_resource_ids': {'key': 'azureResourceIds', 'type': '[str]'}, } def __init__( @@ -1891,44 +1834,49 @@ def __init__( query: str, timespan: Optional[str] = None, workspaces: Optional[List[str]] = None, - qualified_names: Optional[List[str]] = None, - workspace_ids: Optional[List[str]] = None, - azure_resource_ids: Optional[List[str]] = None, **kwargs ): super(QueryBody, self).__init__(**kwargs) self.query = query self.timespan = timespan self.workspaces = workspaces - self.qualified_names = qualified_names - self.workspace_ids = workspace_ids - self.azure_resource_ids = azure_resource_ids class QueryResults(msrest.serialization.Model): """Contains the tables, columns & rows resulting from a query. - :param tables: The list of tables, columns and rows. + All required parameters must be populated in order to send to Azure. + + :param tables: Required. The list of tables, columns and rows. :type tables: list[~monitor_query_client.models.Table] - :param errors: - :type errors: ~monitor_query_client.models.ErrorDetails + :param statistics: Any object. + :type statistics: object + :param render: Any object. + :type render: object """ + _validation = { + 'tables': {'required': True}, + } + _attribute_map = { 'tables': {'key': 'tables', 'type': '[Table]'}, - 'errors': {'key': 'errors', 'type': 'ErrorDetails'}, + 'statistics': {'key': 'statistics', 'type': 'object'}, + 'render': {'key': 'render', 'type': 'object'}, } def __init__( self, *, - tables: Optional[List["Table"]] = None, - errors: Optional["ErrorDetails"] = None, + tables: List["Table"], + statistics: Optional[object] = None, + render: Optional[object] = None, **kwargs ): super(QueryResults, self).__init__(**kwargs) self.tables = tables - self.errors = errors + self.statistics = statistics + self.render = render class Response(msrest.serialization.Model): diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_monitor_query_client_enums.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_monitor_query_client_enums.py index 3a0efc9ac6d1..09b2171d2811 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_monitor_query_client_enums.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_generated/models/_monitor_query_client_enums.py @@ -37,6 +37,18 @@ class AggregationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MAXIMUM = "Maximum" TOTAL = "Total" +class ColumnDataType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The data type of this column. + """ + + BOOL = "bool" + DATETIME = "datetime" + DYNAMIC = "dynamic" + INT = "int" + LONG = "long" + REAL = "real" + STRING = "string" + class MetadataColumnDataType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The data type of the column """ diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py index bc3176afb22c..79f14744b53d 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_log_query_client.py @@ -105,11 +105,11 @@ def query(self, workspace_id, query, duration=None, **kwargs): prefer += "wait=" + str(server_timeout) if include_statistics: if len(prefer) > 0: - prefer += ";" + prefer += " " prefer += "include-statistics=true" if include_render: if len(prefer) > 0: - prefer += ";" + prefer += " " prefer += "include-render=true" body = LogsQueryBody( diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py index c0ffc4848879..c477de7909c1 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py @@ -12,7 +12,6 @@ from ._generated.models import ( Column as InternalColumn, LogQueryRequest as InternalLogQueryRequest, - ErrorDetails as InternalErrorDetails ) @@ -69,26 +68,22 @@ class LogsQueryResults(object): :keyword tables: The list of tables, columns and rows. :paramtype tables: list[~azure.monitor.query.LogsQueryResultTable] - :keyword errors: - :paramtype errors: ~azure.monitor.query.LogsErrorDetails + :keyword statistics: Any object. + :paramtype statistics: object + :keyword render: Any object. + :paramtype render: object """ def __init__(self, **kwargs): # type: (Any) -> None self.tables = kwargs.get("tables", None) - self.errors = kwargs.get("errors", None) + self.statistics = kwargs.get("statistics", None) + self.render = kwargs.get("render", None) @classmethod def _from_generated(cls, generated): if not generated: return cls() - error = None tables = None - if generated.errors is not None: - error = LogsErrorDetails( - code=generated.errors.code, - message=generated.errors.message, - target=generated.errors.target - ) if generated.tables is not None: tables = [ LogsQueryResultTable._from_generated( # pylint: disable=protected-access @@ -97,7 +92,8 @@ def _from_generated(cls, generated): ] return cls( tables=tables, - error=error + statistics=generated.statistics, + render=generated.render ) @@ -167,25 +163,48 @@ class LogsQueryRequest(InternalLogQueryRequest): :paramtype additional_workspaces: list[str] :keyword request_id: The error details. :paramtype request_id: str + :keyword int server_timeout: the server timeout. The default timeout is 3 minutes, + and the maximum timeout is 10 minutes. + :keyword bool include_statistics: To get information about query statistics. + :keyword bool include_render: In the query language, it is possible to specify different render options. + By default, the API does not return information regarding the type of visualization to show. :keyword headers: Dictionary of :code:``. :paramtype headers: dict[str, str] """ - def __init__(self, query, workspace_id, duration=None, **kwargs): + def __init__(self, query, workspace_id, duration=None, **kwargs): #pylint: disable=super-init-not-called # type: (str, str, Optional[str], Any) -> None - super(LogsQueryRequest, self).__init__(**kwargs) + include_statistics = kwargs.pop("include_statistics", False) + include_render = kwargs.pop("include_render", False) + server_timeout = kwargs.pop("server_timeout", None) + prefer = "" + if server_timeout: + prefer += "wait=" + str(server_timeout) + if include_statistics: + if len(prefer) > 0: + prefer += " " + prefer += "include-statistics=true" + if include_render: + if len(prefer) > 0: + prefer += " " + prefer += "include-render=true" + + headers = kwargs.get("headers", None) + try: + headers['Prefer'] = prefer + except TypeError: + headers = {'Prefer': prefer} start = kwargs.pop('start_time', None) end = kwargs.pop('end_time', None) timespan = construct_iso8601(start, end, duration) additional_workspaces = kwargs.pop("additional_workspaces", None) self.id = kwargs.get("request_id", str(uuid.uuid4())) - self.headers = kwargs.get("headers", None) self.body = { "query": query, "timespan": timespan, "workspaces": additional_workspaces } + self.headers = headers self.workspace = workspace_id - class LogsQueryResult(object): """The LogsQueryResult. @@ -234,8 +253,7 @@ def _from_generated(cls, generated, request_order): return cls( responses=order_results(request_order, [ LogsQueryResult._from_generated(rsp) for rsp in generated.responses # pylint: disable=protected-access - ]), - error=LogsBatchResultError._from_generated(generated.error) # pylint: disable=protected-access + ]) ) @@ -265,32 +283,6 @@ def _from_generated(cls, generated): details=generated.inner_error.details ) -class LogsErrorDetails(InternalErrorDetails): - """ErrorDetails. - - :param code: - :type code: str - :param message: - :type message: str - :param target: - :type target: str - """ - - _attribute_map = { - 'code': {'key': 'code', 'type': 'str'}, - 'message': {'key': 'message', 'type': 'str'}, - 'target': {'key': 'target', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(LogsErrorDetails, self).__init__(**kwargs) - self.code = kwargs.get('code', None) - self.message = kwargs.get('message', None) - self.target = kwargs.get('target', None) - class MetricNamespace(object): """Metric namespace class specifies the metadata for a metric namespace. diff --git a/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py b/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py index 4018e0d27cc8..eff925ea8a44 100644 --- a/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py +++ b/sdk/monitor/azure-monitor-query/samples/sample_batch_query.py @@ -21,18 +21,19 @@ LogsQueryRequest( query="AzureActivity | summarize count()", duration="PT1H", - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( query= """AppRequests | take 10 | summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""", duration="PT1H", start_time=datetime(2021, 6, 2), - workspace= os.environ['LOG_WORKSPACE_ID'] + workspace_id= os.environ['LOG_WORKSPACE_ID'] ), LogsQueryRequest( - query= "AppRequests | take 2", - workspace= os.environ['LOG_WORKSPACE_ID'] + query= "AppRequests", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + include_statistics=True ), ] response = client.batch_query(requests) diff --git a/sdk/monitor/azure-monitor-query/swagger/README.PYTHON.md b/sdk/monitor/azure-monitor-query/swagger/README.PYTHON.md index ee5ddee3929a..ab2e46ec9443 100644 --- a/sdk/monitor/azure-monitor-query/swagger/README.PYTHON.md +++ b/sdk/monitor/azure-monitor-query/swagger/README.PYTHON.md @@ -14,7 +14,7 @@ no-namespace-folders: true output-folder: ../azure/monitor/query/_generated source-code-folder-path: ./azure/monitor/query/_generated input-file: - - https://github.com/Azure/azure-sdk-for-java/blob/1d14101ba93c6e616899c2ded93fbecb54699f84/sdk/monitor/azure-monitor-query/swagger/log_query_swagger.json + - https://github.com/srnagar/azure-rest-api-specs/blob/a40aabf76646f487ba90350e3e489358d8ab135d/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2021-05-19_Preview/OperationalInsights.json - https://github.com/Azure/azure-sdk-for-java/blob/1d14101ba93c6e616899c2ded93fbecb54699f84/sdk/monitor/azure-monitor-query/swagger/metrics_definitions.json - https://github.com/Azure/azure-sdk-for-java/blob/1d14101ba93c6e616899c2ded93fbecb54699f84/sdk/monitor/azure-monitor-query/swagger/metrics_namespaces.json - https://github.com/Azure/azure-sdk-for-java/blob/1d14101ba93c6e616899c2ded93fbecb54699f84/sdk/monitor/azure-monitor-query/swagger/metrics_swagger.json @@ -23,4 +23,44 @@ modelerfour: python: true v3: true use: "@autorest/python@5.6.4" +``` + +### Remove metadata operations + +``` yaml +directive: +- from: swagger-document + where: $ + transform: > + delete $.securityDefinitions +``` + +### Add statistics and render + +``` yaml +directive: +- from: swagger-document + where: $.definitions.logQueryResult + transform: > + $.properties["statistics"] = { "type": "object" }; + $.properties["render"] = { "type": "object" }; +``` + +``` yaml +directive: +- from: swagger-document + where: $.definitions.queryResults + transform: > + $.properties["statistics"] = { "type": "object" }; + $.properties["render"] = { "type": "object" }; +``` + +### Make properties required + +``` yaml +directive: +- from: swagger-document + where: $.definitions.column + transform: > + $.required = ["name", "type"] ``` \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py b/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py index e0fe0f6241a5..6044cd756e37 100644 --- a/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py +++ b/sdk/monitor/azure-monitor-query/tests/async/test_logs_client_async.py @@ -64,6 +64,7 @@ async def test_logs_batch_query(): assert len(response.responses) == 3 +@pytest.mark.skip('https://github.com/Azure/azure-sdk-for-python/issues/19382') @pytest.mark.live_test_only @pytest.mark.asyncio async def test_logs_single_query_additional_workspaces_async(): @@ -81,6 +82,7 @@ async def test_logs_single_query_additional_workspaces_async(): assert response assert len(response.tables[0].rows) == 2 +@pytest.mark.skip('https://github.com/Azure/azure-sdk-for-python/issues/19382') @pytest.mark.live_test_only @pytest.mark.asyncio async def test_logs_batch_query_additional_workspaces(): diff --git a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py index d3c0ffb8fce6..340a90f7af8f 100644 --- a/sdk/monitor/azure-monitor-query/tests/test_logs_client.py +++ b/sdk/monitor/azure-monitor-query/tests/test_logs_client.py @@ -85,6 +85,47 @@ def test_logs_batch_query(): assert len(response.responses) == 3 +@pytest.mark.live_test_only +def test_logs_single_query_with_statistics(): + credential = _credential() + client = LogsQueryClient(credential) + query = """AppRequests""" + + # returns LogsQueryResults + response = client.query(os.environ['LOG_WORKSPACE_ID'], query, include_statistics=True) + + assert response.statistics is not None + +@pytest.mark.live_test_only +def test_logs_batch_query_with_statistics_in_some(): + client = LogsQueryClient(_credential()) + + requests = [ + LogsQueryRequest( + query="AzureActivity | summarize count()", + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'] + ), + LogsQueryRequest( + query= """AppRequests| + summarize avgRequestDuration=avg(DurationMs) by bin(TimeGenerated, 10m), _ResourceId""", + timespan="PT1H", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + include_statistics=True + ), + LogsQueryRequest( + query= "AppRequests", + workspace_id= os.environ['LOG_WORKSPACE_ID'], + include_statistics=True + ), + ] + response = client.batch_query(requests) + + assert len(response.responses) == 3 + assert response.responses[0].body.statistics is None + assert response.responses[2].body.statistics is not None + +@pytest.mark.skip('https://github.com/Azure/azure-sdk-for-python/issues/19382') @pytest.mark.live_test_only def test_logs_single_query_additional_workspaces(): credential = _credential() @@ -102,6 +143,7 @@ def test_logs_single_query_additional_workspaces(): assert len(response.tables[0].rows) == 2 @pytest.mark.live_test_only +@pytest.mark.skip('https://github.com/Azure/azure-sdk-for-python/issues/19382') def test_logs_batch_query_additional_workspaces(): client = LogsQueryClient(_credential()) query = "union * | where TimeGenerated > ago(100d) | project TenantId | summarize count() by TenantId" @@ -127,7 +169,5 @@ def test_logs_batch_query_additional_workspaces(): ] response = client.batch_query(requests) - assert len(response.responses) == 3 - for resp in response.responses: assert len(resp.body.tables[0].rows) == 2 From 162c31b6ad8e15feff684f66d0476ee4544bb150 Mon Sep 17 00:00:00 2001 From: Sean Kane <68240067+seankane-msft@users.noreply.github.com> Date: Wed, 23 Jun 2021 09:51:47 -0400 Subject: [PATCH 35/45] [AppConfig] Add lock to SyncTokenPolicy (#19395) * creating async policy, adding lock around sync token portion * pylint * fixed import * reducing to two locks * pylint fix --- .../_azure_appconfiguration_client.py | 1 - .../azure/appconfiguration/_sync_token.py | 26 ++--- .../aio/_azure_configuration_client_async.py | 5 +- .../appconfiguration/aio/_sync_token_async.py | 94 +++++++++++++++++++ 4 files changed, 111 insertions(+), 15 deletions(-) create mode 100644 sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_sync_token_async.py diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py index 0790fa617a50..542e4c6d39e7 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_azure_appconfiguration_client.py @@ -86,7 +86,6 @@ def __init__(self, base_url, credential, **kwargs): pipeline = kwargs.get("pipeline") if pipeline is None: - self._sync_token_policy = SyncTokenPolicy() aad_mode = not isinstance(credential, AppConfigConnectionStringCredential) pipeline = self._create_appconfig_pipeline( credential=credential, aad_mode=aad_mode, base_url=base_url, **kwargs diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_sync_token.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_sync_token.py index 23b9c419eeed..f439b57b33c1 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_sync_token.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/_sync_token.py @@ -24,6 +24,7 @@ # # -------------------------------------------------------------------------- from typing import Any, Dict +from threading import Lock from azure.core.pipeline import PipelineRequest, PipelineResponse from azure.core.pipeline.policies import SansIOHTTPPolicy @@ -63,6 +64,7 @@ def __init__(self, **kwargs): # pylint: disable=unused-argument # type: (**Any) -> None self._sync_token_header = "Sync-Token" self._sync_tokens = {} # type: Dict[str, Any] + self._lock = Lock() def on_request(self, request): # type: ignore # pylint: disable=arguments-differ # type: (PipelineRequest) -> None @@ -70,11 +72,12 @@ def on_request(self, request): # type: ignore # pylint: disable=arguments-diffe :param request: The PipelineRequest object. :type request: ~azure.core.pipeline.PipelineRequest """ - sync_token_header = ",".join(str(x) for x in self._sync_tokens.values()) - if sync_token_header: - request.http_request.headers.update( - {self._sync_token_header: sync_token_header} - ) + with self._lock: + sync_token_header = ",".join(str(x) for x in self._sync_tokens.values()) + if sync_token_header: + request.http_request.headers.update( + {self._sync_token_header: sync_token_header} + ) def on_response(self, request, response): # type: ignore # pylint: disable=arguments-differ # type: (PipelineRequest, PipelineResponse) -> None @@ -105,9 +108,10 @@ def _update_sync_token(self, sync_token): # type: (SyncToken) -> None if not sync_token: return - existing_token = self._sync_tokens.get(sync_token.token_id, None) - if not existing_token: - self._sync_tokens[sync_token.token_id] = sync_token - return - if existing_token.sequence_number < sync_token.sequence_number: - self._sync_tokens[sync_token.token_id] = sync_token + with self._lock: + existing_token = self._sync_tokens.get(sync_token.token_id, None) + if not existing_token: + self._sync_tokens[sync_token.token_id] = sync_token + return + if existing_token.sequence_number < sync_token.sequence_number: + self._sync_tokens[sync_token.token_id] = sync_token diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py index a90de362a385..7b9a3c4f76ff 100644 --- a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_azure_configuration_client_async.py @@ -38,8 +38,8 @@ from .._azure_appconfiguration_credential import AppConfigConnectionStringCredential from .._generated.models import KeyValue from .._models import ConfigurationSetting -from .._sync_token import SyncTokenPolicy from .._user_agent import USER_AGENT +from ._sync_token_async import AsyncSyncTokenPolicy try: from typing import TYPE_CHECKING @@ -87,10 +87,9 @@ def __init__(self, base_url, credential, **kwargs): ) pipeline = kwargs.get("pipeline") - self._sync_token_policy = SyncTokenPolicy() + self._sync_token_policy = AsyncSyncTokenPolicy() if pipeline is None: - self._sync_token_policy = SyncTokenPolicy() aad_mode = not isinstance(credential, AppConfigConnectionStringCredential) pipeline = self._create_appconfig_pipeline( credential=credential, aad_mode=aad_mode, base_url=base_url, **kwargs diff --git a/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_sync_token_async.py b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_sync_token_async.py new file mode 100644 index 000000000000..03bce644984b --- /dev/null +++ b/sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/aio/_sync_token_async.py @@ -0,0 +1,94 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- +from typing import Any, Dict +from asyncio import Lock +from azure.core.pipeline import PipelineRequest, PipelineResponse +from azure.core.pipeline.policies import SansIOHTTPPolicy + +from .._sync_token import SyncToken + + +class AsyncSyncTokenPolicy(SansIOHTTPPolicy): + """A simple policy that enable the given callback + with the response. + :keyword callback raw_response_hook: Callback function. Will be invoked on response. + """ + + def __init__(self, **kwargs): # pylint: disable=unused-argument + # type: (**Any) -> None + self._sync_token_header = "Sync-Token" + self._sync_tokens = {} # type: Dict[str, Any] + self._lock = Lock() + + async def on_request(self, request): # type: ignore # pylint: disable=arguments-differ, invalid-overridden-method + # type: (PipelineRequest) -> None + """This is executed before sending the request to the next policy. + :param request: The PipelineRequest object. + :type request: ~azure.core.pipeline.PipelineRequest + """ + async with self._lock: + sync_token_header = ",".join(str(x) for x in self._sync_tokens.values()) + if sync_token_header: + request.http_request.headers.update( + {self._sync_token_header: sync_token_header} + ) + + async def on_response(self, request, response): # type: ignore # pylint: disable=arguments-differ, invalid-overridden-method + # type: (PipelineRequest, PipelineResponse) -> None + """This is executed after the request comes back from the policy. + :param request: The PipelineRequest object. + :type request: ~azure.core.pipeline.PipelineRequest + :param response: The PipelineResponse object. + :type response: ~azure.core.pipeline.PipelineResponse + """ + sync_token_header = response.http_response.headers.get(self._sync_token_header) + if not sync_token_header: + return + sync_token_strings = sync_token_header.split(",") + if not sync_token_strings: + return + for sync_token_string in sync_token_strings: + sync_token = SyncToken.from_sync_token_string(sync_token_string) + await self._update_sync_token(sync_token) + + async def add_token(self, full_raw_tokens): + # type: (str) -> None + raw_tokens = full_raw_tokens.split(",") + for raw_token in raw_tokens: + sync_token = SyncToken.from_sync_token_string(raw_token) + await self._update_sync_token(sync_token) + + async def _update_sync_token(self, sync_token): + # type: (SyncToken) -> None + if not sync_token: + return + async with self._lock: + existing_token = self._sync_tokens.get(sync_token.token_id, None) + if not existing_token: + self._sync_tokens[sync_token.token_id] = sync_token + return + if existing_token.sequence_number < sync_token.sequence_number: + self._sync_tokens[sync_token.token_id] = sync_token From 0502088f0d1b6c132f8bcd72ce5711a0935d91af Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Wed, 23 Jun 2021 10:07:50 -0700 Subject: [PATCH 36/45] Update platform matrix to ubuntu 20 (#19296) --- eng/pipelines/templates/jobs/smoke.tests.yml | 4 ++-- .../templates/stages/platform-matrix-conda-support.json | 2 +- .../stages/platform-matrix-cryptography-dependency.json | 2 +- eng/pipelines/templates/stages/platform-matrix.json | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eng/pipelines/templates/jobs/smoke.tests.yml b/eng/pipelines/templates/jobs/smoke.tests.yml index b74ac5c95e56..5b762eeb3ad1 100644 --- a/eng/pipelines/templates/jobs/smoke.tests.yml +++ b/eng/pipelines/templates/jobs/smoke.tests.yml @@ -13,8 +13,8 @@ jobs: - job: smoke_test_eligibility displayName: Check Smoke Test Eligibility pool: - name: "azsdk-pool-mms-ubuntu-1804-general" - vmImage: "MMSUbuntu18.04" + name: "azsdk-pool-mms-ubuntu-2004-general" + vmImage: "MMSUbuntu20.04" steps: - ${{ each artifact in parameters.Artifacts }}: - ${{ if and(ne(variables['Skip.Release'], 'true'), ne(artifact.skipPublishPackage, 'true')) }}: diff --git a/eng/pipelines/templates/stages/platform-matrix-conda-support.json b/eng/pipelines/templates/stages/platform-matrix-conda-support.json index 718a0c14a35f..5cdd1c664143 100644 --- a/eng/pipelines/templates/stages/platform-matrix-conda-support.json +++ b/eng/pipelines/templates/stages/platform-matrix-conda-support.json @@ -1,7 +1,7 @@ { "matrix": { "Agent": { - "ubuntu-18.04": { "OSVmImage": "MMSUbuntu18.04", "Pool": "azsdk-pool-mms-ubuntu-1804-general" }, + "ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }, "windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" } }, "PythonVersion": [ "3.6", "3.8", "3.9" ] diff --git a/eng/pipelines/templates/stages/platform-matrix-cryptography-dependency.json b/eng/pipelines/templates/stages/platform-matrix-cryptography-dependency.json index 6c61b0415c97..44241f2384fc 100644 --- a/eng/pipelines/templates/stages/platform-matrix-cryptography-dependency.json +++ b/eng/pipelines/templates/stages/platform-matrix-cryptography-dependency.json @@ -4,7 +4,7 @@ }, "matrix": { "Agent": { - "ubuntu-18.04": { "OSVmImage": "MMSUbuntu18.04", "Pool": "azsdk-pool-mms-ubuntu-1804-general" } + "ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" } }, "PythonVersion": [ "pypy3", "3.6", "3.7", "3.8", "3.9" ], "CoverageArg": "--disablecov" diff --git a/eng/pipelines/templates/stages/platform-matrix.json b/eng/pipelines/templates/stages/platform-matrix.json index 8935cea8eb88..b37d6952fb68 100644 --- a/eng/pipelines/templates/stages/platform-matrix.json +++ b/eng/pipelines/templates/stages/platform-matrix.json @@ -6,7 +6,7 @@ }, "matrix": { "Agent": { - "ubuntu-18.04": { "OSVmImage": "MMSUbuntu18.04", "Pool": "azsdk-pool-mms-ubuntu-1804-general" }, + "ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }, "windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" }, "macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" } }, @@ -17,9 +17,9 @@ "include": [ { "CoverageConfig": { - "ubuntu1804_39_coverage": { - "OSVmImage": "MMSUbuntu18.04", - "Pool": "azsdk-pool-mms-ubuntu-1804-general", + "ubuntu2004_39_coverage": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general", "PythonVersion": "3.9", "CoverageArg": "", "TestSamples": "false" From fb5f472960d09ca33ba368ff5ee6b07cb405b0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?McCoy=20Pati=C3=B1o?= <39780829+mccoyp@users.noreply.github.com> Date: Wed, 23 Jun 2021 10:30:15 -0700 Subject: [PATCH 37/45] [Key Vault] Extend pipeline test timeout (#19404) --- sdk/keyvault/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/keyvault/tests.yml b/sdk/keyvault/tests.yml index 1a078dae855a..5c62f4d9eee5 100644 --- a/sdk/keyvault/tests.yml +++ b/sdk/keyvault/tests.yml @@ -17,6 +17,7 @@ stages: JobName: ${{ replace(service, '-', '_') }} DeployArmTemplate: true AllocateResourceGroup: true + TestTimeoutInMinutes: 240 ${{ if eq(service, 'azure-keyvault-keys') }}: AdditionalMatrixConfigs: - Name: keyvault_test_matrix_addons From 185b6369e7665a355555d9e7d7b0db0b38acf7ff Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Wed, 23 Jun 2021 12:06:47 -0700 Subject: [PATCH 38/45] Adapt EG to arm template (#19262) * arm template * cloud event domain name * name domain * storage * Revert "storage" This reverts commit 5e75e1b82ed5415c68d9bfe78adbf626f088ea43. * Update sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_cloud_events_to_domain_topic_sample.py --- ...ish_cloud_events_to_domain_topic_sample.py | 4 +- sdk/eventgrid/test-resources.json | 127 ++++++++++++++++++ sdk/eventgrid/tests.yml | 12 +- 3 files changed, 129 insertions(+), 14 deletions(-) create mode 100644 sdk/eventgrid/test-resources.json diff --git a/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_cloud_events_to_domain_topic_sample.py b/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_cloud_events_to_domain_topic_sample.py index dcca7b3e9743..a1015971df99 100644 --- a/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_cloud_events_to_domain_topic_sample.py +++ b/sdk/eventgrid/azure-eventgrid/samples/publish_samples/publish_cloud_events_to_domain_topic_sample.py @@ -14,7 +14,6 @@ 1) DOMAIN_ACCESS_KEY - The access key of your eventgrid account. 2) DOMAIN_TOPIC_HOSTNAME - The topic hostname. Typically it exists in the format "https://..eventgrid.azure.net/api/events". - 3) DOMAIN_NAME - the name of the topic """ import sys import os @@ -27,7 +26,6 @@ domain_key = os.environ["DOMAIN_ACCESS_KEY"] domain_endpoint = os.environ["DOMAIN_TOPIC_HOSTNAME"] -domain_name = os.environ["DOMAIN_NAME"] # authenticate client @@ -46,7 +44,7 @@ def publish_event(): sample_members = sample(services, k=randint(1, 4)) # select random subset of team members event = CloudEvent( type="Azure.Sdk.Demo", - source=domain_name, + source='/demo/domain_name', data={"team": sample_members} ) event_list.append(event) diff --git a/sdk/eventgrid/test-resources.json b/sdk/eventgrid/test-resources.json new file mode 100644 index 000000000000..e3153ba1245b --- /dev/null +++ b/sdk/eventgrid/test-resources.json @@ -0,0 +1,127 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "baseName": { + "type": "String" + } + }, + "variables": { + "apiVersion": "2020-04-01-preview", + "eventGridTopicName": "[concat(parameters('baseName'), 'topic')]", + "eventGridDomainName": "[concat(parameters('baseName'), 'domain')]", + "cloudeventTopicName": "[concat(parameters('baseName'), 'cloudevent-topic')]", + "customeventTopicName": "[concat(parameters('baseName'), 'customevent-topic')]", + "cloudeventDomainName": "[concat(parameters('baseName'), 'cloudevent-domain')]" + }, + "resources": [ + { + "type": "Microsoft.EventGrid/topics", + "apiVersion": "[variables('apiVersion')]", + "name": "[variables('eventGridTopicName')]", + "location": "[resourceGroup().location]" + }, + { + "name": "[variables('eventGridDomainName')]", + "type": "Microsoft.EventGrid/domains", + "apiVersion": "[variables('apiVersion')]", + "location": "[resourceGroup().location]", + "properties": {} + }, + { + "type": "Microsoft.EventGrid/topics", + "apiVersion": "[variables('apiVersion')]", + "name": "[variables('cloudeventTopicName')]", + "location": "[resourceGroup().location]", + "properties": { + "inputSchema": "CloudEventSchemaV1_0" + } + }, + { + "name": "[variables('cloudeventDomainName')]", + "type": "Microsoft.EventGrid/domains", + "apiVersion": "[variables('apiVersion')]", + "location": "[resourceGroup().location]", + "properties": { + "inputSchema": "CloudEventSchemaV1_0" + } + }, + { + "type": "Microsoft.EventGrid/topics", + "apiVersion": "[variables('apiVersion')]", + "name": "[variables('customeventTopicName')]", + "location": "[resourceGroup().location]", + "properties": { + "inputSchema": "CustomEventSchema", + "inputSchemaMapping": { + "inputSchemaMappingType": "Json", + "properties": { + "dataVersion": { + "defaultValue": "default", + "sourceField": "TestVersion" + }, + "eventTime": { + "sourceField": "TestEventTime" + }, + "eventType": { + "defaultValue": "default", + "sourceField": "TestEventType" + }, + "id": { + "sourceField": "TestID" + }, + "subject": { + "defaultValue": "default", + "sourceField": "TestSubject" + }, + "topic": { + "sourceField": "TestTopic" + } + } + } + } + } + ], + "outputs": { + "EG_TOPIC_HOSTNAME": { + "type": "string", + "value": "[reference(variables('eventGridTopicName')).endpoint]" + }, + "EG_ACCESS_KEY": { + "type": "string", + "value": "[listKeys(resourceId('Microsoft.EventGrid/topics', variables('eventGridTopicName')), variables('apiVersion')).key1]" + }, + "EG_DOMAIN_TOPIC_HOSTNAME": { + "type": "string", + "value": "[reference(variables('eventGridDomainName')).endpoint]" + }, + "EG_DOMAIN_ACCESS_KEY": { + "type": "string", + "value": "[listKeys(resourceId('Microsoft.EventGrid/domains', variables('eventGridDomainName')), variables('apiVersion')).key1]" + }, + "CLOUD_TOPIC_HOSTNAME": { + "type": "string", + "value": "[reference(variables('cloudeventTopicName')).endpoint]" + }, + "CLOUD_ACCESS_KEY": { + "type": "string", + "value": "[listKeys(resourceId('Microsoft.EventGrid/topics', variables('cloudeventTopicName')), variables('apiVersion')).key1]" + }, + "DOMAIN_TOPIC_HOSTNAME": { + "type": "string", + "value": "[reference(variables('cloudeventDomainName')).endpoint]" + }, + "DOMAIN_ACCESS_KEY": { + "type": "string", + "value": "[listKeys(resourceId('Microsoft.EventGrid/domains', variables('cloudeventDomainName')), variables('apiVersion')).key1]" + }, + "CUSTOM_SCHEMA_TOPIC_HOSTNAME": { + "type": "string", + "value": "[reference(variables('customeventTopicName')).endpoint]" + }, + "CUSTOM_SCHEMA_ACCESS_KEY": { + "type": "string", + "value": "[listKeys(resourceId('Microsoft.EventGrid/topics', variables('customeventTopicName')), variables('apiVersion')).key1]" + } + } +} \ No newline at end of file diff --git a/sdk/eventgrid/tests.yml b/sdk/eventgrid/tests.yml index a4144fe17dec..1d4b879f5355 100644 --- a/sdk/eventgrid/tests.yml +++ b/sdk/eventgrid/tests.yml @@ -4,6 +4,7 @@ stages: - template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: ServiceDirectory: eventgrid + DeployArmTemplate: true BuildTargetingString: azure-eventgrid* MatrixReplace: - TestSamples=.*/true @@ -13,16 +14,5 @@ stages: AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id) AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id) AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret) - EG_ACCESS_KEY: $(python-sdk-test-eg-access-key) - EG_TOPIC_HOSTNAME: $(python-sdk-test-eg-topic-hostname) - CLOUD_ACCESS_KEY: $(python-sdk-test-eg-cloud-access-key) - CLOUD_TOPIC_HOSTNAME: $(python-sdk-test-eg-cloud-topic-hostname) - DOMAIN_ACCESS_KEY: $(python-sdk-test-eg-domain-access-key) - DOMAIN_TOPIC_HOSTNAME: $(python-sdk-test-eg-domain-topic-hostname) - EG_DOMAIN_ACCESS_KEY: $(python-sdk-test-domain-access-key-eg) - EG_DOMAIN_TOPIC_HOSTNAME: $(python-sdk-test-domain-topic-hostname-eg) EVENTGRID_SAS: $(python-sdk-test-eg-sas) - DOMAIN_NAME: $(python-sdk-test-eg-domain-name) STORAGE_QUEUE_NAME: $(python-storage-queue-name) - CUSTOM_SCHEMA_ACCESS_KEY: $(python-sdk-test-eg-custom-schema-access-key) - CUSTOM_SCHEMA_TOPIC_HOSTNAME: $(python-sdk-test-custom-schema-topic-hostname) From 991c638badcc856f32d386506c9033a6babac7a9 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 23 Jun 2021 15:58:14 -0700 Subject: [PATCH 39/45] [textanalytics] regen on v3.1 (#19193) * regen on v3.1 * fix v3.1-preview.5 -> v3.1 references * regenerating with swagger transform to override ApiVersion parameterizing * update test references to v3.1 * some more test fixes * [textanalytics] add categories filter to RecognizePiiEntitiesAction (#19223) * add categories_filter to RecognizePiiEntitiesAction * add tests for categories_filter * fix tests and docstring * update changelog * updating categories filter tests to new analyze design * update docs * update changelog to new format * rerecord with v3.1 * bump msrest version for failsafe_deserialize * [textanalytics] add HealthcareEntityCategory + move aliased enums to models (#19266) * add HealthcareEntityCategory * update changelog * moving enums to models so they show up in docs --- .../azure-ai-textanalytics/CHANGELOG.md | 22 +- .../azure-ai-textanalytics/README.md | 24 +- .../azure/ai/textanalytics/__init__.py | 17 +- .../azure/ai/textanalytics/_base_client.py | 4 +- .../_generated/_operations_mixin.py | 201 ++- .../_generated/_text_analytics_client.py | 14 +- .../_generated/aio/_operations_mixin.py | 223 +++- .../_generated/aio/_text_analytics_client.py | 14 +- .../ai/textanalytics/_generated/models.py | 2 +- .../_generated/v3_0/_metadata.json | 10 +- .../_text_analytics_client_operations.py | 10 +- .../{v3_1_preview_5 => v3_1}/__init__.py | 0 .../_configuration.py | 0 .../{v3_1_preview_5 => v3_1}/_metadata.json | 126 +- .../_text_analytics_client.py | 4 +- .../{v3_1_preview_5 => v3_1}/aio/__init__.py | 0 .../aio/_configuration.py | 0 .../aio/_text_analytics_client.py | 4 +- .../aio/operations/__init__.py | 0 .../_text_analytics_client_operations.py | 174 ++- .../models/__init__.py | 53 +- .../models/_models.py | 852 +++++++----- .../models/_models_py3.py | 949 ++++++++------ .../models/_text_analytics_client_enums.py | 32 +- .../operations/__init__.py | 0 .../_text_analytics_client_operations.py | 144 +-- .../{v3_1_preview_5 => v3_1}/py.typed | 0 .../azure/ai/textanalytics/_lro.py | 4 +- .../azure/ai/textanalytics/_models.py | 335 ++++- .../ai/textanalytics/_request_handlers.py | 2 +- .../textanalytics/_text_analytics_client.py | 36 +- .../azure/ai/textanalytics/_version.py | 2 +- .../textanalytics/aio/_base_client_async.py | 2 +- .../azure/ai/textanalytics/aio/_lro_async.py | 4 +- .../aio/_text_analytics_client_async.py | 35 +- .../azure-ai-textanalytics/samples/README.md | 2 +- ...ample_analyze_healthcare_entities_async.py | 4 - ...thcare_entities_with_cancellation_async.py | 4 - .../sample_analyze_healthcare_entities.py | 4 - ...e_healthcare_entities_with_cancellation.py | 3 - .../azure-ai-textanalytics/setup.py | 4 +- .../azure-ai-textanalytics/swagger/README.md | 27 +- ...ccessful_passing_dict_key_phrase_task.yaml | 152 ++- ...uccessful_passing_dict_sentiment_task.yaml | 318 ++++- ...sful_passing_string_pii_entities_task.yaml | 130 +- ...ing_text_document_input_entities_task.yaml | 394 +++++- .../test_analyze.test_bad_credentials.yaml | 14 +- ...est_bad_model_version_error_all_tasks.yaml | 18 +- ...ad_model_version_error_multiple_tasks.yaml | 20 +- ...t_bad_model_version_error_single_task.yaml | 79 -- ...ze.test_bad_request_on_empty_document.yaml | 12 +- ...est_analyze.test_disable_service_logs.yaml | 109 +- ...test_analyze.test_duplicate_ids_error.yaml | 47 - ...t_analyze.test_empty_credential_class.yaml | 14 +- ...yze.test_invalid_language_hint_method.yaml | 447 ++++--- ...ages_of_results_returned_successfully.yaml | 775 ++++++++++- ....test_out_of_order_ids_multiple_tasks.yaml | 194 +-- ...ut_same_order_as_input_multiple_tasks.yaml | 624 --------- .../test_analyze.test_pass_cls.yaml | 104 +- ...yze.test_pii_action_categories_filter.yaml | 187 +++ .../test_analyze.test_poller_metadata.yaml | 80 +- ..._analyze.test_rotate_subscription_key.yaml | 1143 ----------------- ...ent_analysis_task_with_opinion_mining.yaml | 396 +++++- ...tats_and_model_version_multiple_tasks.yaml | 122 +- .../test_analyze.test_too_many_documents.yaml | 14 +- .../test_analyze.test_user_agent.yaml | 895 ------------- ...ccessful_passing_dict_key_phrase_task.yaml | 108 +- ...uccessful_passing_dict_sentiment_task.yaml | 348 ++++- ...sful_passing_string_pii_entities_task.yaml | 96 +- ...ing_text_document_input_entities_task.yaml | 74 +- ...st_analyze_async.test_bad_credentials.yaml | 14 +- ...est_bad_model_version_error_all_tasks.yaml | 22 +- ...ad_model_version_error_multiple_tasks.yaml | 20 +- ...t_bad_model_version_error_single_task.yaml | 57 - ...nc.test_bad_request_on_empty_document.yaml | 14 +- ...alyze_async.test_disable_service_logs.yaml | 342 ++++- ...nalyze_async.test_duplicate_ids_error.yaml | 37 - ...yze_async.test_empty_credential_class.yaml | 14 +- ...ages_of_results_returned_successfully.yaml | 379 ++---- ....test_out_of_order_ids_multiple_tasks.yaml | 318 +++-- ...ut_same_order_as_input_multiple_tasks.yaml | 422 ------ .../test_analyze_async.test_pass_cls.yaml | 90 +- ...ync.test_pii_action_categories_filter.yaml | 129 ++ ...st_analyze_async.test_poller_metadata.yaml | 86 +- ...ze_async.test_rotate_subscription_key.yaml | 714 ---------- ...ent_analysis_task_with_opinion_mining.yaml | 134 +- ...tats_and_model_version_multiple_tasks.yaml | 126 +- ...analyze_async.test_too_many_documents.yaml | 18 +- .../test_analyze_async.test_user_agent.yaml | 343 ----- ...althcare.test_bad_model_version_error.yaml | 128 +- ..._analyze_healthcare.test_cancellation.yaml | 48 +- ...string_index_type_is_UnicodeCodePoint.yaml | 58 +- ..._healthcare.test_disable_service_logs.yaml | 58 +- ...t_attribute_error_no_result_attribute.yaml | 26 +- ...alyze_healthcare.test_document_errors.yaml | 150 ++- ...e_healthcare.test_duplicate_ids_error.yaml | 10 +- ...e.test_explicit_set_string_index_type.yaml | 24 +- ..._healthcare.test_healthcare_assertion.yaml | 60 +- ...ealthcare.test_input_with_some_errors.yaml | 196 ++- ...hcare.test_invalid_language_hint_docs.yaml | 26 +- ...are.test_invalid_language_hint_method.yaml | 26 +- ...alyze_healthcare.test_normalized_text.yaml | 94 +- ...lyze_healthcare.test_out_of_order_ids.yaml | 94 +- ...test_analyze_healthcare.test_pass_cls.yaml | 38 +- ...e_healthcare.test_passing_only_string.yaml | 28 +- ...yze_healthcare.test_payload_too_large.yaml | 10 +- ...est_analyze_healthcare.test_relations.yaml | 26 +- ...are.test_show_stats_and_model_version.yaml | 24 +- ...ze_healthcare.test_too_many_documents.yaml | 10 +- ...st_analyze_healthcare.test_user_agent.yaml | 24 +- ...le_batch_language_hint_and_dict_input.yaml | 24 +- ...re_async.test_bad_model_version_error.yaml | 52 +- ...ze_healthcare_async.test_cancellation.yaml | 56 +- ...string_index_type_is_UnicodeCodePoint.yaml | 28 +- ...hcare_async.test_disable_service_logs.yaml | 116 +- ...healthcare_async.test_document_errors.yaml | 30 +- ...thcare_async.test_duplicate_ids_error.yaml | 12 +- ...c.test_explicit_set_string_index_type.yaml | 28 +- ...hcare_async.test_healthcare_assertion.yaml | 30 +- ...are_async.test_input_with_some_errors.yaml | 30 +- ...async.test_invalid_language_hint_docs.yaml | 30 +- ...ync.test_invalid_language_hint_method.yaml | 30 +- ...healthcare_async.test_normalized_text.yaml | 30 +- ...ealthcare_async.test_out_of_order_ids.yaml | 30 +- ...nalyze_healthcare_async.test_pass_cls.yaml | 30 +- ...thcare_async.test_passing_only_string.yaml | 32 +- ...althcare_async.test_payload_too_large.yaml | 12 +- ...alyze_healthcare_async.test_relations.yaml | 52 +- ...ync.test_show_stats_and_model_version.yaml | 52 +- ...lthcare_async.test_too_many_documents.yaml | 12 +- ...lyze_healthcare_async.test_user_agent.yaml | 28 +- ...le_batch_language_hint_and_dict_input.yaml | 28 +- ...ment.test_all_successful_passing_dict.yaml | 10 +- ...uccessful_passing_text_document_input.yaml | 10 +- ...nalyze_sentiment.test_bad_credentials.yaml | 10 +- ...entiment.test_bad_model_version_error.yaml | 10 +- ..._sentiment.test_batch_size_over_limit.yaml | 8 +- ...ment.test_batch_size_over_limit_error.yaml | 10 +- ...t_client_passed_default_language_hint.yaml | 30 +- ...string_index_type_is_UnicodeCodePoint.yaml | 8 +- ...e_sentiment.test_disable_service_logs.yaml | 10 +- ...t_attribute_error_no_result_attribute.yaml | 10 +- ...attribute_error_nonexistent_attribute.yaml | 10 +- ...nalyze_sentiment.test_document_errors.yaml | 10 +- ...lyze_sentiment.test_document_warnings.yaml | 10 +- ...ze_sentiment.test_duplicate_ids_error.yaml | 10 +- ...sentiment.test_empty_credential_class.yaml | 10 +- ...t.test_explicit_set_string_index_type.yaml | 10 +- ..._sentiment.test_input_with_all_errors.yaml | 10 +- ...sentiment.test_input_with_some_errors.yaml | 10 +- ...iment.test_invalid_language_hint_docs.yaml | 10 +- ...ent.test_invalid_language_hint_method.yaml | 8 +- ...sentiment.test_language_kwarg_spanish.yaml | 10 +- ....test_no_offset_v3_sentence_sentiment.yaml | 8 +- .../test_analyze_sentiment.test_offset.yaml | 10 +- ...analyze_sentiment.test_opinion_mining.yaml | 10 +- ..._opinion_mining_more_than_5_documents.yaml | 10 +- ...test_opinion_mining_no_mined_opinions.yaml | 10 +- ...t_opinion_mining_with_negated_opinion.yaml | 10 +- ...alyze_sentiment.test_out_of_order_ids.yaml | 10 +- ...iment.test_output_same_order_as_input.yaml | 10 +- .../test_analyze_sentiment.test_pass_cls.yaml | 10 +- ...ze_sentiment.test_passing_only_string.yaml | 10 +- ....test_per_item_dont_use_language_hint.yaml | 10 +- ...entiment.test_rotate_subscription_key.yaml | 28 +- ...ent.test_show_stats_and_model_version.yaml | 10 +- ...nt.test_string_index_type_not_fail_v3.yaml | 8 +- ...yze_sentiment.test_too_many_documents.yaml | 10 +- ...est_analyze_sentiment.test_user_agent.yaml | 10 +- ...st_whole_batch_dont_use_language_hint.yaml | 10 +- ...timent.test_whole_batch_language_hint.yaml | 10 +- ...le_batch_language_hint_and_dict_input.yaml | 10 +- ...language_hint_and_dict_per_item_hints.yaml | 10 +- ...ole_batch_language_hint_and_obj_input.yaml | 27 +- ..._language_hint_and_obj_per_item_hints.yaml | 27 +- ...sync.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 12 +- ..._sentiment_async.test_bad_credentials.yaml | 10 +- ...nt_async.test_bad_model_version_error.yaml | 12 +- ...ment_async.test_batch_size_over_limit.yaml | 12 +- ...sync.test_batch_size_over_limit_error.yaml | 12 +- ...t_client_passed_default_language_hint.yaml | 36 +- ...string_index_type_is_UnicodeCodePoint.yaml | 12 +- ...iment_async.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 12 +- ..._sentiment_async.test_document_errors.yaml | 12 +- ...entiment_async.test_document_warnings.yaml | 12 +- ...timent_async.test_duplicate_ids_error.yaml | 12 +- ...ent_async.test_empty_credential_class.yaml | 10 +- ...c.test_explicit_set_string_index_type.yaml | 12 +- ...ment_async.test_input_with_all_errors.yaml | 10 +- ...ent_async.test_input_with_some_errors.yaml | 12 +- ...async.test_invalid_language_hint_docs.yaml | 12 +- ...ync.test_invalid_language_hint_method.yaml | 12 +- ...ent_async.test_language_kwarg_spanish.yaml | 12 +- ....test_no_offset_v3_sentence_sentiment.yaml | 10 +- ...t_analyze_sentiment_async.test_offset.yaml | 12 +- ...e_sentiment_async.test_opinion_mining.yaml | 12 +- ..._opinion_mining_more_than_5_documents.yaml | 12 +- ...test_opinion_mining_no_mined_opinions.yaml | 12 +- ...t_opinion_mining_with_negated_opinion.yaml | 12 +- ...sentiment_async.test_out_of_order_ids.yaml | 12 +- ...async.test_output_same_order_as_input.yaml | 12 +- ...analyze_sentiment_async.test_pass_cls.yaml | 12 +- ...timent_async.test_passing_only_string.yaml | 12 +- ....test_per_item_dont_use_language_hint.yaml | 12 +- ...nt_async.test_rotate_subscription_key.yaml | 34 +- ...ync.test_show_stats_and_model_version.yaml | 12 +- ...nc.test_string_index_type_not_fail_v3.yaml | 10 +- ...ntiment_async.test_too_many_documents.yaml | 12 +- ...alyze_sentiment_async.test_user_agent.yaml | 12 +- ...st_whole_batch_dont_use_language_hint.yaml | 12 +- ..._async.test_whole_batch_language_hint.yaml | 12 +- ...le_batch_language_hint_and_dict_input.yaml | 12 +- ...language_hint_and_dict_per_item_hints.yaml | 12 +- ...ole_batch_language_hint_and_obj_input.yaml | 29 +- ..._language_hint_and_obj_per_item_hints.yaml | 29 +- ...uage.test_all_successful_passing_dict.yaml | 10 +- ...uccessful_passing_text_document_input.yaml | 10 +- ..._detect_language.test_bad_credentials.yaml | 10 +- ...language.test_bad_model_version_error.yaml | 10 +- ...t_language.test_batch_size_over_limit.yaml | 8 +- ...uage.test_batch_size_over_limit_error.yaml | 8 +- ...st_client_passed_default_country_hint.yaml | 30 +- ...tect_language.test_country_hint_kwarg.yaml | 10 +- ...etect_language.test_country_hint_none.yaml | 40 +- ...ct_language.test_disable_service_logs.yaml | 10 +- ...t_attribute_error_no_result_attribute.yaml | 10 +- ...attribute_error_nonexistent_attribute.yaml | 10 +- ..._detect_language.test_document_errors.yaml | 10 +- ...etect_language.test_document_warnings.yaml | 10 +- ...ect_language.test_duplicate_ids_error.yaml | 10 +- ..._language.test_empty_credential_class.yaml | 10 +- ...t_language.test_input_with_all_errors.yaml | 10 +- ..._language.test_input_with_some_errors.yaml | 10 +- ...nguage.test_invalid_country_hint_docs.yaml | 10 +- ...uage.test_invalid_country_hint_method.yaml | 10 +- ...detect_language.test_out_of_order_ids.yaml | 10 +- ...guage.test_output_same_order_as_input.yaml | 10 +- .../test_detect_language.test_pass_cls.yaml | 10 +- ...ect_language.test_passing_only_string.yaml | 10 +- ...e.test_per_item_dont_use_country_hint.yaml | 10 +- ...language.test_rotate_subscription_key.yaml | 30 +- ...age.test_show_stats_and_model_version.yaml | 10 +- ...ge.test_string_index_type_not_fail_v3.yaml | 8 +- .../test_detect_language.test_user_agent.yaml | 8 +- ...anguage.test_whole_batch_country_hint.yaml | 8 +- ...ole_batch_country_hint_and_dict_input.yaml | 10 +- ..._country_hint_and_dict_per_item_hints.yaml | 10 +- ...hole_batch_country_hint_and_obj_input.yaml | 10 +- ...h_country_hint_and_obj_per_item_hints.yaml | 8 +- ...est_whole_batch_dont_use_country_hint.yaml | 10 +- ...sync.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 12 +- ...t_language_async.test_bad_credentials.yaml | 10 +- ...ge_async.test_bad_model_version_error.yaml | 10 +- ...uage_async.test_batch_size_over_limit.yaml | 12 +- ...sync.test_batch_size_over_limit_error.yaml | 10 +- ...st_client_passed_default_country_hint.yaml | 34 +- ...anguage_async.test_country_hint_kwarg.yaml | 10 +- ...language_async.test_country_hint_none.yaml | 46 +- ...guage_async.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 10 +- ...attribute_error_nonexistent_attribute.yaml | 12 +- ...t_language_async.test_document_errors.yaml | 10 +- ...language_async.test_document_warnings.yaml | 12 +- ...nguage_async.test_duplicate_ids_error.yaml | 12 +- ...age_async.test_empty_credential_class.yaml | 10 +- ...uage_async.test_input_with_all_errors.yaml | 12 +- ...age_async.test_input_with_some_errors.yaml | 12 +- ..._async.test_invalid_country_hint_docs.yaml | 12 +- ...sync.test_invalid_country_hint_method.yaml | 12 +- ..._language_async.test_out_of_order_ids.yaml | 12 +- ...async.test_output_same_order_as_input.yaml | 12 +- ...t_detect_language_async.test_pass_cls.yaml | 12 +- ...nguage_async.test_passing_only_string.yaml | 12 +- ...c.test_per_item_dont_use_country_hint.yaml | 12 +- ...ge_async.test_rotate_subscription_key.yaml | 34 +- ...ync.test_show_stats_and_model_version.yaml | 12 +- ...nc.test_string_index_type_not_fail_v3.yaml | 10 +- ...detect_language_async.test_user_agent.yaml | 10 +- ...e_async.test_whole_batch_country_hint.yaml | 12 +- ...ole_batch_country_hint_and_dict_input.yaml | 12 +- ..._country_hint_and_dict_per_item_hints.yaml | 12 +- ...hole_batch_country_hint_and_obj_input.yaml | 12 +- ...h_country_hint_and_obj_per_item_hints.yaml | 12 +- ...est_whole_batch_dont_use_country_hint.yaml | 12 +- .../test_encoding.test_diacritics_nfc.yaml | 15 +- .../test_encoding.test_diacritics_nfd.yaml | 15 +- .../recordings/test_encoding.test_emoji.yaml | 15 +- .../test_encoding.test_emoji_family.yaml | 17 +- ..._emoji_family_with_skin_tone_modifier.yaml | 17 +- ...ng.test_emoji_with_skin_tone_modifier.yaml | 15 +- .../test_encoding.test_korean_nfc.yaml | 15 +- .../test_encoding.test_korean_nfd.yaml | 15 +- .../test_encoding.test_zalgo_text.yaml | 25 +- ...st_encoding_async.test_diacritics_nfc.yaml | 17 +- ...st_encoding_async.test_diacritics_nfd.yaml | 15 +- .../test_encoding_async.test_emoji.yaml | 17 +- ...test_encoding_async.test_emoji_family.yaml | 19 +- ..._emoji_family_with_skin_tone_modifier.yaml | 19 +- ...nc.test_emoji_with_skin_tone_modifier.yaml | 17 +- .../test_encoding_async.test_korean_nfc.yaml | 17 +- .../test_encoding_async.test_korean_nfd.yaml | 17 +- .../test_encoding_async.test_zalgo_text.yaml | 27 +- ...ases.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 12 +- ...ract_key_phrases.test_bad_credentials.yaml | 10 +- ..._phrases.test_bad_model_version_error.yaml | 14 +- ...ey_phrases.test_batch_size_over_limit.yaml | 10 +- ...ases.test_batch_size_over_limit_error.yaml | 8 +- ...t_client_passed_default_language_hint.yaml | 44 +- ...key_phrases.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 12 +- ...ract_key_phrases.test_document_errors.yaml | 14 +- ..._key_phrases.test_duplicate_ids_error.yaml | 8 +- ...y_phrases.test_empty_credential_class.yaml | 10 +- ...ey_phrases.test_input_with_all_errors.yaml | 14 +- ...y_phrases.test_input_with_some_errors.yaml | 14 +- ...rases.test_invalid_language_hint_docs.yaml | 12 +- ...ses.test_invalid_language_hint_method.yaml | 14 +- ...y_phrases.test_language_kwarg_spanish.yaml | 12 +- ...act_key_phrases.test_out_of_order_ids.yaml | 12 +- ...rases.test_output_same_order_as_input.yaml | 12 +- ...est_extract_key_phrases.test_pass_cls.yaml | 12 +- ..._key_phrases.test_passing_only_string.yaml | 16 +- ....test_per_item_dont_use_language_hint.yaml | 14 +- ..._phrases.test_rotate_subscription_key.yaml | 38 +- ...ses.test_show_stats_and_model_version.yaml | 12 +- ...es.test_string_index_type_not_fail_v3.yaml | 10 +- ...t_key_phrases.test_too_many_documents.yaml | 8 +- ...t_extract_key_phrases.test_user_agent.yaml | 14 +- ...st_whole_batch_dont_use_language_hint.yaml | 12 +- ...hrases.test_whole_batch_language_hint.yaml | 14 +- ...language_hint_and_dict_per_item_hints.yaml | 15 +- ...ole_batch_language_hint_and_obj_input.yaml | 17 +- ..._language_hint_and_obj_per_item_hints.yaml | 17 +- ...sync.test_all_successful_passing_dict.yaml | 14 +- ...uccessful_passing_text_document_input.yaml | 14 +- ...ey_phrases_async.test_bad_credentials.yaml | 10 +- ...es_async.test_bad_model_version_error.yaml | 16 +- ...ases_async.test_batch_size_over_limit.yaml | 10 +- ...sync.test_batch_size_over_limit_error.yaml | 12 +- ...t_client_passed_default_language_hint.yaml | 50 +- ...rases_async.test_disable_service_logs.yaml | 14 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 14 +- ...ey_phrases_async.test_document_errors.yaml | 16 +- ...hrases_async.test_duplicate_ids_error.yaml | 12 +- ...ses_async.test_empty_credential_class.yaml | 10 +- ...ases_async.test_input_with_all_errors.yaml | 14 +- ...ses_async.test_input_with_some_errors.yaml | 16 +- ...async.test_invalid_language_hint_docs.yaml | 16 +- ...ync.test_invalid_language_hint_method.yaml | 14 +- ...ses_async.test_language_kwarg_spanish.yaml | 14 +- ...y_phrases_async.test_out_of_order_ids.yaml | 14 +- ...async.test_output_same_order_as_input.yaml | 14 +- ...tract_key_phrases_async.test_pass_cls.yaml | 14 +- ...hrases_async.test_passing_only_string.yaml | 18 +- ....test_per_item_dont_use_language_hint.yaml | 16 +- ...es_async.test_rotate_subscription_key.yaml | 42 +- ...ync.test_show_stats_and_model_version.yaml | 14 +- ...nc.test_string_index_type_not_fail_v3.yaml | 12 +- ...phrases_async.test_too_many_documents.yaml | 10 +- ...act_key_phrases_async.test_user_agent.yaml | 16 +- ...st_whole_batch_dont_use_language_hint.yaml | 14 +- ..._async.test_whole_batch_language_hint.yaml | 16 +- ...language_hint_and_dict_per_item_hints.yaml | 17 +- ...ole_batch_language_hint_and_obj_input.yaml | 19 +- ..._language_hint_and_obj_per_item_hints.yaml | 19 +- ...ties.test_all_successful_passing_dict.yaml | 10 +- ...uccessful_passing_text_document_input.yaml | 10 +- ...cognize_entities.test_bad_credentials.yaml | 10 +- ...entities.test_bad_model_version_error.yaml | 12 +- ...e_entities.test_batch_size_over_limit.yaml | 10 +- ...ties.test_batch_size_over_limit_error.yaml | 10 +- ...t_client_passed_default_language_hint.yaml | 36 +- ...string_index_type_is_UnicodeCodePoint.yaml | 12 +- ...ze_entities.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 12 +- ...cognize_entities.test_document_errors.yaml | 10 +- ...gnize_entities.test_document_warnings.yaml | 12 +- ...ize_entities.test_duplicate_ids_error.yaml | 10 +- ..._entities.test_empty_credential_class.yaml | 10 +- ...s.test_explicit_set_string_index_type.yaml | 12 +- ...e_entities.test_input_with_all_errors.yaml | 12 +- ..._entities.test_input_with_some_errors.yaml | 18 +- ...ities.test_invalid_language_hint_docs.yaml | 12 +- ...ies.test_invalid_language_hint_method.yaml | 10 +- ..._entities.test_language_kwarg_spanish.yaml | 12 +- ...est_no_offset_v3_categorized_entities.yaml | 14 +- .../test_recognize_entities.test_offset.yaml | 16 +- ...ognize_entities.test_out_of_order_ids.yaml | 12 +- ...ities.test_output_same_order_as_input.yaml | 12 +- ...test_recognize_entities.test_pass_cls.yaml | 10 +- ...ize_entities.test_passing_only_string.yaml | 24 +- ....test_per_item_dont_use_language_hint.yaml | 12 +- ...entities.test_rotate_subscription_key.yaml | 34 +- ...ies.test_show_stats_and_model_version.yaml | 12 +- ...es.test_string_index_type_not_fail_v3.yaml | 10 +- ...nize_entities.test_too_many_documents.yaml | 10 +- ...st_recognize_entities.test_user_agent.yaml | 12 +- ...st_whole_batch_dont_use_language_hint.yaml | 12 +- ...tities.test_whole_batch_language_hint.yaml | 12 +- ...language_hint_and_dict_per_item_hints.yaml | 12 +- ...ole_batch_language_hint_and_obj_input.yaml | 17 +- ..._language_hint_and_obj_per_item_hints.yaml | 18 +- ...sync.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 12 +- ...e_entities_async.test_bad_credentials.yaml | 10 +- ...es_async.test_bad_model_version_error.yaml | 14 +- ...ties_async.test_batch_size_over_limit.yaml | 12 +- ...sync.test_batch_size_over_limit_error.yaml | 12 +- ...t_client_passed_default_language_hint.yaml | 42 +- ...string_index_type_is_UnicodeCodePoint.yaml | 14 +- ...ities_async.test_disable_service_logs.yaml | 14 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 14 +- ...e_entities_async.test_document_errors.yaml | 14 +- ...entities_async.test_document_warnings.yaml | 14 +- ...tities_async.test_duplicate_ids_error.yaml | 12 +- ...ies_async.test_empty_credential_class.yaml | 10 +- ...c.test_explicit_set_string_index_type.yaml | 14 +- ...ties_async.test_input_with_all_errors.yaml | 14 +- ...ies_async.test_input_with_some_errors.yaml | 20 +- ...async.test_invalid_language_hint_docs.yaml | 14 +- ...ync.test_invalid_language_hint_method.yaml | 14 +- ...ies_async.test_language_kwarg_spanish.yaml | 12 +- ...est_no_offset_v3_categorized_entities.yaml | 16 +- ..._recognize_entities_async.test_offset.yaml | 18 +- ..._entities_async.test_out_of_order_ids.yaml | 14 +- ...async.test_output_same_order_as_input.yaml | 14 +- ...ecognize_entities_async.test_pass_cls.yaml | 14 +- ...tities_async.test_passing_only_string.yaml | 26 +- ....test_per_item_dont_use_language_hint.yaml | 14 +- ...es_async.test_rotate_subscription_key.yaml | 38 +- ...ync.test_show_stats_and_model_version.yaml | 12 +- ...nc.test_string_index_type_not_fail_v3.yaml | 12 +- ...ntities_async.test_too_many_documents.yaml | 12 +- ...ognize_entities_async.test_user_agent.yaml | 14 +- ...st_whole_batch_dont_use_language_hint.yaml | 14 +- ..._async.test_whole_batch_language_hint.yaml | 14 +- ...language_hint_and_dict_per_item_hints.yaml | 14 +- ...ole_batch_language_hint_and_obj_input.yaml | 19 +- ..._language_hint_and_obj_per_item_hints.yaml | 20 +- ...ties.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 12 +- ..._linked_entities.test_bad_credentials.yaml | 10 +- ...entities.test_bad_model_version_error.yaml | 14 +- ...d_entities.test_batch_size_over_limit.yaml | 10 +- ...ties.test_batch_size_over_limit_error.yaml | 8 +- ...ecognize_linked_entities.test_bing_id.yaml | 12 +- ...t_client_passed_default_language_hint.yaml | 36 +- ...string_index_type_is_UnicodeCodePoint.yaml | 12 +- ...ed_entities.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 10 +- ...attribute_error_nonexistent_attribute.yaml | 10 +- ..._linked_entities.test_document_errors.yaml | 12 +- ...inked_entities.test_document_warnings.yaml | 12 +- ...ked_entities.test_duplicate_ids_error.yaml | 10 +- ..._entities.test_empty_credential_class.yaml | 10 +- ...s.test_explicit_set_string_index_type.yaml | 12 +- ...d_entities.test_input_with_all_errors.yaml | 12 +- ..._entities.test_input_with_some_errors.yaml | 12 +- ...ities.test_invalid_language_hint_docs.yaml | 12 +- ...ies.test_invalid_language_hint_method.yaml | 12 +- ..._entities.test_language_kwarg_spanish.yaml | 12 +- ...test_no_offset_v3_linked_entity_match.yaml | 10 +- ...recognize_linked_entities.test_offset.yaml | 12 +- ...linked_entities.test_out_of_order_ids.yaml | 12 +- ...ities.test_output_same_order_as_input.yaml | 12 +- ...cognize_linked_entities.test_pass_cls.yaml | 12 +- ...ked_entities.test_passing_only_string.yaml | 12 +- ....test_per_item_dont_use_language_hint.yaml | 12 +- ...entities.test_rotate_subscription_key.yaml | 34 +- ...ies.test_show_stats_and_model_version.yaml | 12 +- ...es.test_string_index_type_not_fail_v3.yaml | 10 +- ...nked_entities.test_too_many_documents.yaml | 8 +- ...gnize_linked_entities.test_user_agent.yaml | 12 +- ...st_whole_batch_dont_use_language_hint.yaml | 12 +- ...tities.test_whole_batch_language_hint.yaml | 12 +- ...language_hint_and_dict_per_item_hints.yaml | 12 +- ...ole_batch_language_hint_and_obj_input.yaml | 12 +- ..._language_hint_and_obj_per_item_hints.yaml | 12 +- ...sync.test_all_successful_passing_dict.yaml | 14 +- ...uccessful_passing_text_document_input.yaml | 14 +- ...d_entities_async.test_bad_credentials.yaml | 10 +- ...es_async.test_bad_model_version_error.yaml | 14 +- ...ties_async.test_batch_size_over_limit.yaml | 12 +- ...sync.test_batch_size_over_limit_error.yaml | 12 +- ...ze_linked_entities_async.test_bing_id.yaml | 14 +- ...t_client_passed_default_language_hint.yaml | 42 +- ...string_index_type_is_UnicodeCodePoint.yaml | 14 +- ...ities_async.test_disable_service_logs.yaml | 14 +- ...t_attribute_error_no_result_attribute.yaml | 14 +- ...attribute_error_nonexistent_attribute.yaml | 14 +- ...d_entities_async.test_document_errors.yaml | 14 +- ...entities_async.test_document_warnings.yaml | 14 +- ...tities_async.test_duplicate_ids_error.yaml | 10 +- ...ies_async.test_empty_credential_class.yaml | 10 +- ...c.test_explicit_set_string_index_type.yaml | 14 +- ...ties_async.test_input_with_all_errors.yaml | 12 +- ...ies_async.test_input_with_some_errors.yaml | 14 +- ...async.test_invalid_language_hint_docs.yaml | 14 +- ...ync.test_invalid_language_hint_method.yaml | 14 +- ...ies_async.test_language_kwarg_spanish.yaml | 14 +- ...test_no_offset_v3_linked_entity_match.yaml | 12 +- ...ize_linked_entities_async.test_offset.yaml | 14 +- ..._entities_async.test_out_of_order_ids.yaml | 14 +- ...async.test_output_same_order_as_input.yaml | 14 +- ...e_linked_entities_async.test_pass_cls.yaml | 14 +- ...tities_async.test_passing_only_string.yaml | 14 +- ....test_per_item_dont_use_language_hint.yaml | 14 +- ...es_async.test_rotate_subscription_key.yaml | 38 +- ...ync.test_show_stats_and_model_version.yaml | 14 +- ...nc.test_string_index_type_not_fail_v3.yaml | 12 +- ...ntities_async.test_too_many_documents.yaml | 12 +- ...linked_entities_async.test_user_agent.yaml | 14 +- ...st_whole_batch_dont_use_language_hint.yaml | 14 +- ..._async.test_whole_batch_language_hint.yaml | 12 +- ...language_hint_and_dict_per_item_hints.yaml | 14 +- ...ole_batch_language_hint_and_obj_input.yaml | 12 +- ..._language_hint_and_obj_per_item_hints.yaml | 14 +- ...ties.test_all_successful_passing_dict.yaml | 10 +- ...uccessful_passing_text_document_input.yaml | 10 +- ...ize_pii_entities.test_bad_credentials.yaml | 10 +- ...entities.test_bad_model_version_error.yaml | 10 +- ...i_entities.test_batch_size_over_limit.yaml | 10 +- ...ties.test_batch_size_over_limit_error.yaml | 10 +- ...e_pii_entities.test_categories_filter.yaml | 20 +- ..._categories_filter_with_domain_filter.yaml | 10 +- ...t_client_passed_default_language_hint.yaml | 30 +- ...string_index_type_is_UnicodeCodePoint.yaml | 8 +- ...ii_entities.test_disable_service_logs.yaml | 10 +- ...t_attribute_error_no_result_attribute.yaml | 10 +- ...attribute_error_nonexistent_attribute.yaml | 8 +- ...ize_pii_entities.test_document_errors.yaml | 10 +- ...e_pii_entities.test_document_warnings.yaml | 10 +- ...pii_entities.test_duplicate_ids_error.yaml | 8 +- ..._entities.test_empty_credential_class.yaml | 10 +- ...s.test_explicit_set_string_index_type.yaml | 10 +- ...i_entities.test_input_with_all_errors.yaml | 8 +- ..._entities.test_input_with_some_errors.yaml | 10 +- ...ities.test_invalid_language_hint_docs.yaml | 10 +- ...ies.test_invalid_language_hint_method.yaml | 8 +- ..._entities.test_language_kwarg_english.yaml | 10 +- ...ze_pii_entities.test_out_of_order_ids.yaml | 10 +- ...ities.test_output_same_order_as_input.yaml | 10 +- ..._recognize_pii_entities.test_pass_cls.yaml | 10 +- ...pii_entities.test_passing_only_string.yaml | 8 +- ....test_per_item_dont_use_language_hint.yaml | 10 +- ...e_pii_entities.test_phi_domain_filter.yaml | 10 +- ...gnize_pii_entities.test_redacted_text.yaml | 10 +- ...entities.test_rotate_subscription_key.yaml | 30 +- ...ies.test_show_stats_and_model_version.yaml | 10 +- ..._pii_entities.test_too_many_documents.yaml | 10 +- ...ecognize_pii_entities.test_user_agent.yaml | 10 +- ...st_whole_batch_dont_use_language_hint.yaml | 10 +- ...tities.test_whole_batch_language_hint.yaml | 10 +- ...language_hint_and_dict_per_item_hints.yaml | 10 +- ...ole_batch_language_hint_and_obj_input.yaml | 17 +- ..._language_hint_and_obj_per_item_hints.yaml | 19 +- ...sync.test_all_successful_passing_dict.yaml | 12 +- ...uccessful_passing_text_document_input.yaml | 10 +- ...i_entities_async.test_bad_credentials.yaml | 10 +- ...es_async.test_bad_model_version_error.yaml | 10 +- ...ties_async.test_batch_size_over_limit.yaml | 12 +- ...sync.test_batch_size_over_limit_error.yaml | 12 +- ...entities_async.test_categories_filter.yaml | 24 +- ..._categories_filter_with_domain_filter.yaml | 10 +- ...t_client_passed_default_language_hint.yaml | 36 +- ...string_index_type_is_UnicodeCodePoint.yaml | 12 +- ...ities_async.test_disable_service_logs.yaml | 12 +- ...t_attribute_error_no_result_attribute.yaml | 12 +- ...attribute_error_nonexistent_attribute.yaml | 10 +- ...i_entities_async.test_document_errors.yaml | 10 +- ...entities_async.test_document_warnings.yaml | 12 +- ...tities_async.test_duplicate_ids_error.yaml | 12 +- ...ies_async.test_empty_credential_class.yaml | 10 +- ...c.test_explicit_set_string_index_type.yaml | 12 +- ...ties_async.test_input_with_all_errors.yaml | 12 +- ...ies_async.test_input_with_some_errors.yaml | 10 +- ...async.test_invalid_language_hint_docs.yaml | 10 +- ...ync.test_invalid_language_hint_method.yaml | 10 +- ...ies_async.test_language_kwarg_english.yaml | 12 +- ..._entities_async.test_out_of_order_ids.yaml | 12 +- ...async.test_output_same_order_as_input.yaml | 12 +- ...nize_pii_entities_async.test_pass_cls.yaml | 12 +- ...tities_async.test_passing_only_string.yaml | 12 +- ....test_per_item_dont_use_language_hint.yaml | 12 +- ...entities_async.test_phi_domain_filter.yaml | 12 +- ...pii_entities_async.test_redacted_text.yaml | 12 +- ...es_async.test_rotate_subscription_key.yaml | 34 +- ...ync.test_show_stats_and_model_version.yaml | 12 +- ...ntities_async.test_too_many_documents.yaml | 12 +- ...ze_pii_entities_async.test_user_agent.yaml | 12 +- ...st_whole_batch_dont_use_language_hint.yaml | 12 +- ..._async.test_whole_batch_language_hint.yaml | 12 +- ...language_hint_and_dict_per_item_hints.yaml | 12 +- ...ole_batch_language_hint_and_obj_input.yaml | 21 +- ..._language_hint_and_obj_per_item_hints.yaml | 21 +- .../tests/test_analyze.py | 29 + .../tests/test_analyze_async.py | 42 +- .../tests/test_analyze_sentiment.py | 4 +- .../tests/test_analyze_sentiment_async.py | 4 +- .../tests/test_json_pointer.py | 2 +- .../tests/test_multiapi.py | 8 +- .../tests/test_multiapi_async.py | 8 +- .../tests/test_recognize_entities.py | 2 +- .../tests/test_recognize_entities_async.py | 2 +- .../tests/test_recognize_linked_entities.py | 2 +- .../test_recognize_linked_entities_async.py | 2 +- .../tests/test_recognize_pii_entities.py | 4 +- .../test_recognize_pii_entities_async.py | 4 +- .../azure-ai-textanalytics/tests/test_repr.py | 2 +- shared_requirements.txt | 2 +- 619 files changed, 10949 insertions(+), 11052 deletions(-) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/__init__.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/_configuration.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/_metadata.json (53%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/_text_analytics_client.py (84%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/aio/__init__.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/aio/_configuration.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/aio/_text_analytics_client.py (84%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/aio/operations/__init__.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/aio/operations/_text_analytics_client_operations.py (88%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/models/__init__.py (84%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/models/_models.py (79%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/models/_models_py3.py (79%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/models/_text_analytics_client_enums.py (93%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/operations/__init__.py (100%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/operations/_text_analytics_client_operations.py (89%) rename sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/{v3_1_preview_5 => v3_1}/py.typed (100%) delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_single_task.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_duplicate_ids_error.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_output_same_order_as_input_multiple_tasks.yaml create mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pii_action_categories_filter.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_rotate_subscription_key.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_user_agent.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_single_task.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_duplicate_ids_error.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_output_same_order_as_input_multiple_tasks.yaml create mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pii_action_categories_filter.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_rotate_subscription_key.yaml delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_user_agent.yaml diff --git a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md index fa4e485f5fce..8971eae63816 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md +++ b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md @@ -1,13 +1,23 @@ # Release History -## 5.1.0b8 (Unreleased) +## 5.1.0 (Unreleased) -**Breaking Changes** +This version of the SDK defaults to the latest supported API version, which currently is `v3.1`. +Includes all changes from `5.1.0b1` to `5.1.0b7`. + +Note: this version will be the last to officially support Python 3.5, future versions will require Python 2.7 or Python 3.6+. + +### Features Added + +- Added `catagories_filter` to `RecognizePiiEntitiesAction` +- Added `HealthcareEntityCategory` + +### Breaking Changes -- Changed the response structure of `being_analyze_actions`. Now, we return a list of results, where each result is a list of the action results for the document, in the order the documents and actions were passed -- Removed `AnalyzeActionsType` -- Removed `AnalyzeActionsResult` -- Removed `AnalyzeActionsError` +- Changed: the response structure of `being_analyze_actions`. Now, we return a list of results, where each result is a list of the action results for the document, in the order the documents and actions were passed. +- Removed: `AnalyzeActionsType` +- Removed: `AnalyzeActionsResult` +- Removed: `AnalyzeActionsError` ## 5.1.0b7 (2021-05-18) diff --git a/sdk/textanalytics/azure-ai-textanalytics/README.md b/sdk/textanalytics/azure-ai-textanalytics/README.md index 61596afe22dd..3d8172d14019 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/README.md @@ -9,7 +9,7 @@ Text Analytics is a cloud-based service that provides advanced natural language - Language Detection - Key Phrase Extraction - Multiple Analysis -- Healthcare Entities Analysis (Gated Preview) +- Healthcare Entities Analysis [Source code][source_code] | [Package (PyPI)][ta_pypi] | [API reference documentation][ta_ref_docs]| [Product documentation][ta_product_documentation] | [Samples][ta_samples] @@ -71,17 +71,18 @@ For example, `https://.cognitiveservices.azure.com/`. Install the Azure Text Analytics client library for Python with [pip][pip]: ```bash -pip install azure-ai-textanalytics --pre +pip install azure-ai-textanalytics ``` -> Note: This version of the client library defaults to the v3.1-preview version of the service +> Note: This version of the client library defaults to the v3.1 version of the service This table shows the relationship between SDK versions and supported API versions of the service -| SDK version | Supported API version of service | -| ------------------------------------------------------------------------- | --------------------------------- | -| 5.0.0 - Latest GA release (can be installed by removing the `--pre` flag) | 3.0 | -| 5.1.0b7 - Latest release (beta) | 3.0, 3.1-preview.5 | +| SDK version | Supported API version of service | +| ------------ | --------------------------------- | +| 5.1.0 - Latest GA release | 3.0, 3.1 (default) | +| 5.0.0 | 3.0 | + ### Authenticate the client @@ -489,7 +490,7 @@ for idx, doc in enumerate(docs): print("------------------------------------------") ``` -Note: The Healthcare Entities Analysis service is currently available only in the API v3.1 preview versions and is in gated preview. Since this is a gated preview, AAD is not supported. More information [here](https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-for-health?tabs=ner#request-access-to-the-public-preview). +Note: The Healthcare Entities Analysis service is available only in the v3.1 API version. ### Multiple Analysis @@ -559,7 +560,7 @@ for doc, action_results in zip(documents, document_results): The returned response is an object encapsulating multiple iterables, each representing results of individual analyses. -Note: Multiple analysis is currently available only in the v3.1-preview API version. +Note: Multiple analysis is available only in the v3.1 API version. ## Optional Configuration @@ -567,11 +568,6 @@ Optional keyword arguments can be passed in at the client and per-operation leve The azure-core [reference documentation][azure_core_ref_docs] describes available configurations for retries, logging, transport protocols, and more. -## Known Issues - -- `begin_analyze_healthcare_entities` is currently in gated preview and can not be used with AAD credentials. For more information, see [the Text Analytics for Health documentation](https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-for-health?tabs=ner#request-access-to-the-public-preview). -- At time of this SDK release, the service is not respecting the value passed through `model_version` to `begin_analyze_healthcare_entities`, it only uses the latest model. - ## Troubleshooting ### General diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/__init__.py index 45cdd5d2d375..5ba8901bbfa2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/__init__.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/__init__.py @@ -44,15 +44,15 @@ HealthcareRelation, HealthcareRelationRole, HealthcareEntityAssertion, - AnalyzeSentimentAction -) -from ._generated.v3_1_preview_5.models import ( - PiiCategory as PiiEntityCategoryType, - RelationType as HealthcareEntityRelationType, - Conditionality as EntityConditionality, - Certainty as EntityCertainty, - Association as EntityAssociation + AnalyzeSentimentAction, + PiiEntityCategoryType, + HealthcareEntityRelationType, + EntityConditionality, + EntityCertainty, + EntityAssociation, + HealthcareEntityCategory ) + from ._lro import AnalyzeHealthcareEntitiesLROPoller, AnalyzeActionsLROPoller __all__ = [ @@ -102,6 +102,7 @@ "AnalyzeSentimentAction", "AnalyzeHealthcareEntitiesLROPoller", "AnalyzeActionsLROPoller", + "HealthcareEntityCategory" ] __version__ = VERSION diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_base_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_base_client.py index 63312053317c..091de75b0438 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_base_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_base_client.py @@ -14,7 +14,7 @@ class TextAnalyticsApiVersion(str, Enum): """Text Analytics API versions supported by this package""" #: this is the default version - V3_1_PREVIEW = "v3.1-preview.5" + V3_1 = "v3.1" V3_0 = "v3.0" def _authentication_policy(credential): @@ -36,7 +36,7 @@ def __init__(self, endpoint, credential, **kwargs): self._client = _TextAnalyticsClient( endpoint=endpoint, credential=credential, - api_version=kwargs.pop("api_version", TextAnalyticsApiVersion.V3_1_PREVIEW), + api_version=kwargs.pop("api_version", TextAnalyticsApiVersion.V3_1), sdk_moniker=USER_AGENT, authentication_policy=_authentication_policy(credential), custom_hook_policy=TextAnalyticsResponseHookPolicy(**kwargs), diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py index 02d38c22ea24..4bff798752bd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_operations_mixin.py @@ -54,12 +54,12 @@ def analyze_status( :type skip: int :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('analyze_status') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'analyze_status'".format(api_version)) mixin_instance = OperationClass() @@ -81,7 +81,7 @@ def begin_analyze( executed. :param body: Collection of documents to analyze and tasks to execute. - :type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput + :type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AnalyzeActionsLROPollingMethod. @@ -89,12 +89,12 @@ def begin_analyze( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response) - :rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState] + :rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze'".format(api_version)) mixin_instance = OperationClass() @@ -127,8 +127,8 @@ def begin_cancel_health_job( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_cancel_health_job') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_cancel_health_job'".format(api_version)) mixin_instance = OperationClass() @@ -153,14 +153,14 @@ def begin_health( symptoms, etc) and their relations. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language @@ -176,12 +176,12 @@ def begin_health( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response) - :rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState] + :rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_health') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_health'".format(api_version)) mixin_instance = OperationClass() @@ -197,32 +197,46 @@ def entities_linking( documents, # type: List["_models.MultiLanguageInput"] model_version=None, # type: Optional[str] show_stats=None, # type: Optional[bool] + logging_opt_out=None, # type: Optional[bool] + string_index_type=None, # type: Optional[Union[str, "_models.StringIndexType"]] **kwargs # type: Any ): - """Linked entities from a well-known knowledge base. + """Linked entities from a well known knowledge base. - The API returns a list of recognized entities with links to a well-known knowledge base. See + The API returns a list of recognized entities with links to a well known knowledge base. See the :code:`Supported languages in Text Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntityLinkingResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.EntityLinkingResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_linking') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_linking'".format(api_version)) mixin_instance = OperationClass() @@ -231,13 +245,19 @@ def entities_linking( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return mixin_instance.entities_linking(documents, model_version, show_stats, logging_opt_out, string_index_type, **kwargs) def entities_recognition_general( self, documents, # type: List["_models.MultiLanguageInput"] model_version=None, # type: Optional[str] show_stats=None, # type: Optional[bool] + logging_opt_out=None, # type: Optional[bool] + string_index_type=None, # type: Optional[Union[str, "_models.StringIndexType"]] **kwargs # type: Any ): """Named Entity Recognition. @@ -248,23 +268,35 @@ def entities_recognition_general( Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntitiesResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.EntitiesResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_general') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_recognition_general'".format(api_version)) mixin_instance = OperationClass() @@ -273,7 +305,11 @@ def entities_recognition_general( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return mixin_instance.entities_recognition_general(documents, model_version, show_stats, logging_opt_out, string_index_type, **kwargs) def entities_recognition_pii( self, @@ -295,7 +331,7 @@ def entities_recognition_pii( list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -316,17 +352,17 @@ def entities_recognition_pii( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :keyword callable cls: A custom type or function that will be passed the direct response :return: PiiResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_pii') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_recognition_pii'".format(api_version)) mixin_instance = OperationClass() @@ -362,12 +398,12 @@ def health_status( :type show_stats: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: HealthcareJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('health_status') - if api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'health_status'".format(api_version)) mixin_instance = OperationClass() @@ -383,6 +419,7 @@ def key_phrases( documents, # type: List["_models.MultiLanguageInput"] model_version=None, # type: Optional[str] show_stats=None, # type: Optional[bool] + logging_opt_out=None, # type: Optional[bool] **kwargs # type: Any ): """Key Phrases. @@ -392,23 +429,31 @@ def key_phrases( enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: KeyPhraseResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.KeyPhraseResult + :rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('key_phrases') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'key_phrases'".format(api_version)) mixin_instance = OperationClass() @@ -417,13 +462,18 @@ def key_phrases( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return mixin_instance.key_phrases(documents, model_version, show_stats, logging_opt_out, **kwargs) def languages( self, documents, # type: List["_models.LanguageInput"] model_version=None, # type: Optional[str] show_stats=None, # type: Optional[bool] + logging_opt_out=None, # type: Optional[bool] **kwargs # type: Any ): """Detect Language. @@ -434,23 +484,31 @@ def languages( enabled languages. :param documents: - :type documents: list[~azure.ai.textanalytics.v3_0.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: LanguageResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.LanguageResult + :rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('languages') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'languages'".format(api_version)) mixin_instance = OperationClass() @@ -459,40 +517,61 @@ def languages( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.languages(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return mixin_instance.languages(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return mixin_instance.languages(documents, model_version, show_stats, logging_opt_out, **kwargs) def sentiment( self, documents, # type: List["_models.MultiLanguageInput"] model_version=None, # type: Optional[str] show_stats=None, # type: Optional[bool] + logging_opt_out=None, # type: Optional[bool] + opinion_mining=None, # type: Optional[bool] + string_index_type=None, # type: Optional[Union[str, "_models.StringIndexType"]] **kwargs # type: Any ): """Sentiment. - The API returns a sentiment prediction, as well as sentiment scores for each sentiment class - (Positive, Negative, and Neutral) for the document and each sentence within it. See the - :code:`Supported languages in Text Analytics API` for the - list of enabled languages. + The API returns a detailed sentiment analysis for the input text. The analysis is done in + multiple levels of granularity, start from the a document level, down to sentence and key terms + (targets and assessments). :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param opinion_mining: (Optional) if set to true, response will contain not only sentiment + prediction but also opinion mining (aspect-based sentiment analysis) results. + :type opinion_mining: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: SentimentResponse, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.SentimentResponse + :rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('sentiment') if api_version == 'v3.0': from .v3_0.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from .v3_1.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'sentiment'".format(api_version)) mixin_instance = OperationClass() @@ -501,4 +580,8 @@ def sentiment( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return mixin_instance.sentiment(documents, model_version, show_stats, logging_opt_out, opinion_mining, string_index_type, **kwargs) \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py index c72c335afefc..7e1cb6ab5cb4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/_text_analytics_client.py @@ -34,7 +34,7 @@ def __init__(self, *args, **kwargs): pass class TextAnalyticsClient(TextAnalyticsClientOperationsMixin, MultiApiClientMixin, _SDKClient): - """The Text Analytics API is a suite of text analytics web services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. No training data is needed to use this API; just bring your text data. This API uses advanced natural language processing techniques to deliver best in class predictions. Further documentation can be found in https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview. + """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). @@ -55,7 +55,7 @@ class TextAnalyticsClient(TextAnalyticsClientOperationsMixin, MultiApiClientMixi :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = 'v3.0' + DEFAULT_API_VERSION = 'v3.1' _PROFILE_TAG = "azure.ai.textanalytics.TextAnalyticsClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -74,8 +74,8 @@ def __init__( ): if api_version == 'v3.0': base_url = '{Endpoint}/text/analytics/v3.0' - elif api_version == 'v3.1-preview.5': - base_url = '{Endpoint}/text/analytics/v3.1-preview.5' + elif api_version == 'v3.1': + base_url = '{Endpoint}/text/analytics/v3.1' else: raise ValueError("API version {} is not available".format(api_version)) self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) @@ -94,13 +94,13 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * v3.0: :mod:`v3_0.models` - * v3.1-preview.5: :mod:`v3_1_preview_5.models` + * v3.1: :mod:`v3_1.models` """ if api_version == 'v3.0': from .v3_0 import models return models - elif api_version == 'v3.1-preview.5': - from .v3_1_preview_5 import models + elif api_version == 'v3.1': + from .v3_1 import models return models raise ValueError("API version {} is not available".format(api_version)) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py index 3df38f55a74e..8bf9f413578d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_operations_mixin.py @@ -29,7 +29,7 @@ async def analyze_status( show_stats: Optional[bool] = None, top: Optional[int] = 20, skip: Optional[int] = 0, - **kwargs + **kwargs: Any ) -> "_models.AnalyzeJobState": """Get analysis status and results. @@ -50,12 +50,12 @@ async def analyze_status( :type skip: int :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('analyze_status') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'analyze_status'".format(api_version)) mixin_instance = OperationClass() @@ -69,7 +69,7 @@ async def analyze_status( async def begin_analyze( self, body: Optional["_models.AnalyzeBatchInput"] = None, - **kwargs + **kwargs: Any ) -> AsyncAnalyzeActionsLROPoller["_models.AnalyzeJobState"]: """Submit analysis job. @@ -77,7 +77,7 @@ async def begin_analyze( executed. :param body: Collection of documents to analyze and tasks to execute. - :type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput + :type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncAnalyzeActionsLROPollingMethod. @@ -85,12 +85,12 @@ async def begin_analyze( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncAnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response) - :rtype: ~....._async_lro.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState] + :rtype: ~.....aio._lro_async.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_analyze') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_analyze'".format(api_version)) mixin_instance = OperationClass() @@ -104,7 +104,7 @@ async def begin_analyze( async def begin_cancel_health_job( self, job_id: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Cancel healthcare prediction job. @@ -123,8 +123,8 @@ async def begin_cancel_health_job( :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_cancel_health_job') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_cancel_health_job'".format(api_version)) mixin_instance = OperationClass() @@ -141,7 +141,7 @@ async def begin_health( model_version: Optional[str] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, logging_opt_out: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> AsyncAnalyzeHealthcareEntitiesLROPoller["_models.HealthcareJobState"]: """Submit healthcare analysis job. @@ -149,14 +149,14 @@ async def begin_health( symptoms, etc) and their relations. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language @@ -172,12 +172,12 @@ async def begin_health( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncAnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response) - :rtype: ~....._async_lro.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState] + :rtype: ~.....aio._lro_async.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_health') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_health'".format(api_version)) mixin_instance = OperationClass() @@ -193,32 +193,46 @@ async def entities_linking( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + logging_opt_out: Optional[bool] = None, + string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, + **kwargs: Any ) -> "_models.EntityLinkingResult": - """Linked entities from a well-known knowledge base. + """Linked entities from a well known knowledge base. - The API returns a list of recognized entities with links to a well-known knowledge base. See + The API returns a list of recognized entities with links to a well known knowledge base. See the :code:`Supported languages in Text Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntityLinkingResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.EntityLinkingResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_linking') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_linking'".format(api_version)) mixin_instance = OperationClass() @@ -227,14 +241,20 @@ async def entities_linking( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return await mixin_instance.entities_linking(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return await mixin_instance.entities_linking(documents, model_version, show_stats, logging_opt_out, string_index_type, **kwargs) async def entities_recognition_general( self, documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + logging_opt_out: Optional[bool] = None, + string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, + **kwargs: Any ) -> "_models.EntitiesResult": """Named Entity Recognition. @@ -244,23 +264,35 @@ async def entities_recognition_general( Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntitiesResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.EntitiesResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_general') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_recognition_general'".format(api_version)) mixin_instance = OperationClass() @@ -269,7 +301,11 @@ async def entities_recognition_general( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return await mixin_instance.entities_recognition_general(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return await mixin_instance.entities_recognition_general(documents, model_version, show_stats, logging_opt_out, string_index_type, **kwargs) async def entities_recognition_pii( self, @@ -280,7 +316,7 @@ async def entities_recognition_pii( domain: Optional[str] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, pii_categories: Optional[List[Union[str, "_models.PiiCategory"]]] = None, - **kwargs + **kwargs: Any ) -> "_models.PiiResult": """Entities containing personal information. @@ -291,7 +327,7 @@ async def entities_recognition_pii( list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -312,17 +348,17 @@ async def entities_recognition_pii( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :keyword callable cls: A custom type or function that will be passed the direct response :return: PiiResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('entities_recognition_pii') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'entities_recognition_pii'".format(api_version)) mixin_instance = OperationClass() @@ -339,7 +375,7 @@ async def health_status( top: Optional[int] = 20, skip: Optional[int] = 0, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.HealthcareJobState": """Get healthcare analysis job status and results. @@ -358,12 +394,12 @@ async def health_status( :type show_stats: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: HealthcareJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('health_status') - if api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + if api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'health_status'".format(api_version)) mixin_instance = OperationClass() @@ -379,7 +415,8 @@ async def key_phrases( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + logging_opt_out: Optional[bool] = None, + **kwargs: Any ) -> "_models.KeyPhraseResult": """Key Phrases. @@ -388,23 +425,31 @@ async def key_phrases( enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: KeyPhraseResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.KeyPhraseResult + :rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('key_phrases') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'key_phrases'".format(api_version)) mixin_instance = OperationClass() @@ -413,14 +458,19 @@ async def key_phrases( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return await mixin_instance.key_phrases(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return await mixin_instance.key_phrases(documents, model_version, show_stats, logging_opt_out, **kwargs) async def languages( self, documents: List["_models.LanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + logging_opt_out: Optional[bool] = None, + **kwargs: Any ) -> "_models.LanguageResult": """Detect Language. @@ -430,23 +480,31 @@ async def languages( enabled languages. :param documents: - :type documents: list[~azure.ai.textanalytics.v3_0.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: LanguageResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.LanguageResult + :rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('languages') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'languages'".format(api_version)) mixin_instance = OperationClass() @@ -455,40 +513,61 @@ async def languages( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.languages(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return await mixin_instance.languages(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return await mixin_instance.languages(documents, model_version, show_stats, logging_opt_out, **kwargs) async def sentiment( self, documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + logging_opt_out: Optional[bool] = None, + opinion_mining: Optional[bool] = None, + string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, + **kwargs: Any ) -> "_models.SentimentResponse": """Sentiment. - The API returns a sentiment prediction, as well as sentiment scores for each sentiment class - (Positive, Negative, and Neutral) for the document and each sentence within it. See the - :code:`Supported languages in Text Analytics API` for the - list of enabled languages. + The API returns a detailed sentiment analysis for the input text. The analysis is done in + multiple levels of granularity, start from the a document level, down to sentence and key terms + (targets and assessments). :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str - :param show_stats: (Optional) if set to true, response will contain input and document level + :param show_stats: (Optional) if set to true, response will contain request and document level statistics. :type show_stats: bool + :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged + for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to + allow for troubleshooting issues in providing you with the Text Analytics natural language + processing functions. Setting this parameter to true, disables input logging and may limit our + ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy + notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI + principles at https://www.microsoft.com/en-us/ai/responsible-ai. + :type logging_opt_out: bool + :param opinion_mining: (Optional) if set to true, response will contain not only sentiment + prediction but also opinion mining (aspect-based sentiment analysis) results. + :type opinion_mining: bool + :param string_index_type: (Optional) Specifies the method used to interpret string offsets. + Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information + see https://aka.ms/text-analytics-offsets. + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: SentimentResponse, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_0.models.SentimentResponse + :rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('sentiment') if api_version == 'v3.0': from ..v3_0.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass + elif api_version == 'v3.1': + from ..v3_1.aio.operations import TextAnalyticsClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'sentiment'".format(api_version)) mixin_instance = OperationClass() @@ -497,4 +576,8 @@ async def sentiment( mixin_instance._serialize = Serializer(self._models_dict(api_version)) mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) - return await mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) + # FIXME: this is handwritten + if api_version == 'v3.0': + return await mixin_instance.sentiment(documents, model_version, show_stats, **kwargs) + elif api_version == 'v3.1': + return await mixin_instance.sentiment(documents, model_version, show_stats, logging_opt_out, opinion_mining, string_index_type, **kwargs) \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py index f7c012d39e54..90ceea688b7e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/aio/_text_analytics_client.py @@ -32,7 +32,7 @@ def __init__(self, *args, **kwargs): pass class TextAnalyticsClient(TextAnalyticsClientOperationsMixin, MultiApiClientMixin, _SDKClient): - """The Text Analytics API is a suite of text analytics web services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. No training data is needed to use this API; just bring your text data. This API uses advanced natural language processing techniques to deliver best in class predictions. Further documentation can be found in https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview. + """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. This ready contains multiple API versions, to help you deal with all of the Azure clouds (Azure Stack, Azure Government, Azure China, etc.). @@ -53,7 +53,7 @@ class TextAnalyticsClient(TextAnalyticsClientOperationsMixin, MultiApiClientMixi :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = 'v3.0' + DEFAULT_API_VERSION = 'v3.1' _PROFILE_TAG = "azure.ai.textanalytics.TextAnalyticsClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -72,8 +72,8 @@ def __init__( ) -> None: if api_version == 'v3.0': base_url = '{Endpoint}/text/analytics/v3.0' - elif api_version == 'v3.1-preview.5': - base_url = '{Endpoint}/text/analytics/v3.1-preview.5' + elif api_version == 'v3.1': + base_url = '{Endpoint}/text/analytics/v3.1' else: raise ValueError("API version {} is not available".format(api_version)) self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) @@ -92,13 +92,13 @@ def models(cls, api_version=DEFAULT_API_VERSION): """Module depends on the API version: * v3.0: :mod:`v3_0.models` - * v3.1-preview.5: :mod:`v3_1_preview_5.models` + * v3.1: :mod:`v3_1.models` """ if api_version == 'v3.0': from ..v3_0 import models return models - elif api_version == 'v3.1-preview.5': - from ..v3_1_preview_5 import models + elif api_version == 'v3.1': + from ..v3_1 import models return models raise ValueError("API version {} is not available".format(api_version)) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/models.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/models.py index 2a2491bad85a..4975928b6cd6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/models.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/models.py @@ -4,4 +4,4 @@ # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- -from .v3_0.models import * +from .v3_1.models import * diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json index c9ade25f1f36..76307d2f859c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/_metadata.json @@ -98,7 +98,7 @@ }, "async": { "coroutine": true, - "signature": "async def entities_recognition_general(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.EntitiesResult\":\n", + "signature": "async def entities_recognition_general(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.EntitiesResult\":\n", "doc": "\"\"\"Named Entity Recognition.\n\nThe API returns a list of general named entities in a given document. For the list of supported\nentity types, check :code:`\u003ca href=\"https://aka.ms/taner\"\u003eSupported Entity Types in Text\nAnalytics API\u003c/a\u003e`. See the :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text\nAnalytics API\u003c/a\u003e` for the list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain input and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntitiesResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_0.models.EntitiesResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats" @@ -110,7 +110,7 @@ }, "async": { "coroutine": true, - "signature": "async def entities_linking(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.EntityLinkingResult\":\n", + "signature": "async def entities_linking(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.EntityLinkingResult\":\n", "doc": "\"\"\"Linked entities from a well-known knowledge base.\n\nThe API returns a list of recognized entities with links to a well-known knowledge base. See\nthe :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for\nthe list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain input and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntityLinkingResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_0.models.EntityLinkingResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats" @@ -122,7 +122,7 @@ }, "async": { "coroutine": true, - "signature": "async def key_phrases(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.KeyPhraseResult\":\n", + "signature": "async def key_phrases(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.KeyPhraseResult\":\n", "doc": "\"\"\"Key Phrases.\n\nThe API returns a list of strings denoting the key phrases in the input text. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain input and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: KeyPhraseResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_0.models.KeyPhraseResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats" @@ -134,7 +134,7 @@ }, "async": { "coroutine": true, - "signature": "async def languages(\n self,\n documents: List[\"_models.LanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.LanguageResult\":\n", + "signature": "async def languages(\n self,\n documents: List[\"_models.LanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.LanguageResult\":\n", "doc": "\"\"\"Detect Language.\n\nThe API returns the detected language and a numeric score between 0 and 1. Scores close to 1\nindicate 100% certainty that the identified language is true. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents:\n:type documents: list[~azure.ai.textanalytics.v3_0.models.LanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain input and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: LanguageResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_0.models.LanguageResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats" @@ -146,7 +146,7 @@ }, "async": { "coroutine": true, - "signature": "async def sentiment(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.SentimentResponse\":\n", + "signature": "async def sentiment(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.SentimentResponse\":\n", "doc": "\"\"\"Sentiment.\n\nThe API returns a sentiment prediction, as well as sentiment scores for each sentiment class\n(Positive, Negative, and Neutral) for the document and each sentence within it. See the\n:code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the\nlist of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_0.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain input and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: SentimentResponse, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_0.models.SentimentResponse\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats" diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py index 3d0f1594a98f..34b14601e9af 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_0/aio/operations/_text_analytics_client_operations.py @@ -24,7 +24,7 @@ async def entities_recognition_general( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.EntitiesResult": """Named Entity Recognition. @@ -100,7 +100,7 @@ async def entities_linking( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.EntityLinkingResult": """Linked entities from a well-known knowledge base. @@ -175,7 +175,7 @@ async def key_phrases( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.KeyPhraseResult": """Key Phrases. @@ -250,7 +250,7 @@ async def languages( documents: List["_models.LanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.LanguageResult": """Detect Language. @@ -326,7 +326,7 @@ async def sentiment( documents: List["_models.MultiLanguageInput"], model_version: Optional[str] = None, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.SentimentResponse": """Sentiment. diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/__init__.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/__init__.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/__init__.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_configuration.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_configuration.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_configuration.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_configuration.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_metadata.json b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_metadata.json similarity index 53% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_metadata.json rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_metadata.json index e23c1a9dd8c7..28bb0368c3b1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_metadata.json +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_metadata.json @@ -1,14 +1,12 @@ { - "chosen_version": "v3.1-preview.5", - "total_api_version_list": [ - "v3.1-preview.5" - ], + "chosen_version": "v3.1", + "total_api_version_list": ["v3.1"], "client": { "name": "TextAnalyticsClient", "filename": "_text_analytics_client", - "description": "The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`\u003ca href=\"https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview\"\u003ehttps://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview\u003c/a\u003e`.", + "description": "The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`\u003ca href=\"https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview\"\u003ehttps://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview\u003c/a\u003e`.", "base_url": null, - "custom_base_url": "\u0027{Endpoint}/text/analytics/v3.1-preview.5\u0027", + "custom_base_url": "\u0027{Endpoint}/text/analytics/v3.1\u0027", "azure_arm": false, "has_lro_operations": true, "client_side_validation": false, @@ -44,7 +42,8 @@ "required": true } }, - "constant": {}, + "constant": { + }, "call": "credential, endpoint", "service_client_specific": { "sync": { @@ -79,185 +78,184 @@ }, "config": { "credential": true, - "credential_scopes": [ - "https://cognitiveservices.azure.com/.default" - ], + "credential_scopes": ["https://cognitiveservices.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, "credential_key_header_name": null, "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, - "operation_groups": {}, + "operation_groups": { + }, "operation_mixins": { "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"...._lro\": [\"AnalyzeActionsLROPoller\", \"AnalyzeActionsLROPollingMethod\", \"AnalyzeHealthcareEntitiesLROPoller\", \"AnalyzeHealthcareEntitiesLROPollingMethod\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.core.polling.base_polling\": [\"LROBasePolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"....._async_lro\": [\"AsyncAnalyzeHealthcareEntitiesLROPoller\", \"AsyncAnalyzeHealthcareEntitiesLROPollingMethod\", \"AsyncAnalyzeActionsLROPoller\", \"AsyncAnalyzeActionsLROPollingMethod\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \".....aio._lro_async\": [\"AsyncAnalyzeActionsLROPoller\", \"AsyncAnalyzeActionsLROPollingMethod\", \"AsyncAnalyzeHealthcareEntitiesLROPoller\", \"AsyncAnalyzeHealthcareEntitiesLROPollingMethod\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.core.polling.async_base_polling\": [\"AsyncLROBasePolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"List\", \"Optional\", \"TypeVar\", \"Union\"]}}}", "operations": { - "_analyze_initial": { + "_analyze_initial" : { "sync": { "signature": "def _analyze_initial(\n self,\n body=None, # type: Optional[\"_models.AnalyzeBatchInput\"]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def _analyze_initial(\n self,\n body: Optional[\"_models.AnalyzeBatchInput\"] = None,\n **kwargs\n) -\u003e Optional[\"_models.AnalyzeJobState\"]:\n", - "doc": "\"\"\"\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def _analyze_initial(\n self,\n body: Optional[\"_models.AnalyzeBatchInput\"] = None,\n **kwargs: Any\n) -\u003e Optional[\"_models.AnalyzeJobState\"]:\n", + "doc": "\"\"\"\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "body" }, - "begin_analyze": { + "begin_analyze" : { "sync": { "signature": "def begin_analyze(\n self,\n body=None, # type: Optional[\"_models.AnalyzeBatchInput\"]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Submit analysis job.\n\nSubmit a collection of text documents for analysis. Specify one or more unique tasks to be\nexecuted.\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AnalyzeActionsLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response)\n:rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Submit analysis job.\n\nSubmit a collection of text documents for analysis. Specify one or more unique tasks to be\nexecuted.\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AnalyzeActionsLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response)\n:rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def begin_analyze(\n self,\n body: Optional[\"_models.AnalyzeBatchInput\"] = None,\n **kwargs\n) -\u003e AsyncAnalyzeActionsLROPoller[\"_models.AnalyzeJobState\"]:\n", - "doc": "\"\"\"Submit analysis job.\n\nSubmit a collection of text documents for analysis. Specify one or more unique tasks to be\nexecuted.\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AsyncAnalyzeActionsLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncAnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response)\n:rtype: ~....._async_lro.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "signature": "async def begin_analyze(\n self,\n body: Optional[\"_models.AnalyzeBatchInput\"] = None,\n **kwargs: Any\n) -\u003e AsyncAnalyzeActionsLROPoller[\"_models.AnalyzeJobState\"]:\n", + "doc": "\"\"\"Submit analysis job.\n\nSubmit a collection of text documents for analysis. Specify one or more unique tasks to be\nexecuted.\n\n:param body: Collection of documents to analyze and tasks to execute.\n:type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AsyncAnalyzeActionsLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncAnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response)\n:rtype: ~.....aio._lro_async.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "body" }, - "analyze_status": { + "analyze_status" : { "sync": { "signature": "def analyze_status(\n self,\n job_id, # type: str\n show_stats=None, # type: Optional[bool]\n top=20, # type: Optional[int]\n skip=0, # type: Optional[int]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get analysis status and results.\n\nGet the status of an analysis job. A job may consist of one or more tasks. Once all tasks are\ncompleted, the job will transition to the completed state and results will be available for\neach task.\n\n:param job_id: Job ID for Analyze.\n:type job_id: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Get analysis status and results.\n\nGet the status of an analysis job. A job may consist of one or more tasks. Once all tasks are\ncompleted, the job will transition to the completed state and results will be available for\neach task.\n\n:param job_id: Job ID for Analyze.\n:type job_id: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def analyze_status(\n self,\n job_id: str,\n show_stats: Optional[bool] = None,\n top: Optional[int] = 20,\n skip: Optional[int] = 0,\n **kwargs\n) -\u003e \"_models.AnalyzeJobState\":\n", - "doc": "\"\"\"Get analysis status and results.\n\nGet the status of an analysis job. A job may consist of one or more tasks. Once all tasks are\ncompleted, the job will transition to the completed state and results will be available for\neach task.\n\n:param job_id: Job ID for Analyze.\n:type job_id: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def analyze_status(\n self,\n job_id: str,\n show_stats: Optional[bool] = None,\n top: Optional[int] = 20,\n skip: Optional[int] = 0,\n **kwargs: Any\n) -\u003e \"_models.AnalyzeJobState\":\n", + "doc": "\"\"\"Get analysis status and results.\n\nGet the status of an analysis job. A job may consist of one or more tasks. Once all tasks are\ncompleted, the job will transition to the completed state and results will be available for\neach task.\n\n:param job_id: Job ID for Analyze.\n:type job_id: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: AnalyzeJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "job_id, show_stats, top, skip" }, - "health_status": { + "health_status" : { "sync": { "signature": "def health_status(\n self,\n job_id, # type: str\n top=20, # type: Optional[int]\n skip=0, # type: Optional[int]\n show_stats=None, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Get healthcare analysis job status and results.\n\nGet details of the healthcare prediction job specified by the jobId.\n\n:param job_id: Job ID.\n:type job_id: str\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Get healthcare analysis job status and results.\n\nGet details of the healthcare prediction job specified by the jobId.\n\n:param job_id: Job ID.\n:type job_id: str\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def health_status(\n self,\n job_id: str,\n top: Optional[int] = 20,\n skip: Optional[int] = 0,\n show_stats: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.HealthcareJobState\":\n", - "doc": "\"\"\"Get healthcare analysis job status and results.\n\nGet details of the healthcare prediction job specified by the jobId.\n\n:param job_id: Job ID.\n:type job_id: str\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def health_status(\n self,\n job_id: str,\n top: Optional[int] = 20,\n skip: Optional[int] = 0,\n show_stats: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.HealthcareJobState\":\n", + "doc": "\"\"\"Get healthcare analysis job status and results.\n\nGet details of the healthcare prediction job specified by the jobId.\n\n:param job_id: Job ID.\n:type job_id: str\n:param top: (Optional) Set the maximum number of results per task. When both $top and $skip are\n specified, $skip is applied first.\n:type top: int\n:param skip: (Optional) Set the number of elements to offset in the response. When both $top\n and $skip are specified, $skip is applied first.\n:type skip: int\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "job_id, top, skip, show_stats" }, - "_cancel_health_job_initial": { + "_cancel_health_job_initial" : { "sync": { "signature": "def _cancel_health_job_initial(\n self,\n job_id, # type: str\n **kwargs # type: Any\n):\n", "doc": "\"\"\"\n\n:param job_id: Job ID.\n:type job_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def _cancel_health_job_initial(\n self,\n job_id: str,\n **kwargs\n) -\u003e None:\n", + "signature": "async def _cancel_health_job_initial(\n self,\n job_id: str,\n **kwargs: Any\n) -\u003e None:\n", "doc": "\"\"\"\n\n:param job_id: Job ID.\n:type job_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "job_id" }, - "begin_cancel_health_job": { + "begin_cancel_health_job" : { "sync": { "signature": "def begin_cancel_health_job(\n self,\n job_id, # type: str\n **kwargs # type: Any\n):\n", "doc": "\"\"\"Cancel healthcare prediction job.\n\nCancel healthcare prediction job.\n\n:param job_id: Job ID.\n:type job_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be LROBasePolling.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def begin_cancel_health_job(\n self,\n job_id: str,\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "signature": "async def begin_cancel_health_job(\n self,\n job_id: str,\n **kwargs: Any\n) -\u003e AsyncLROPoller[None]:\n", "doc": "\"\"\"Cancel healthcare prediction job.\n\nCancel healthcare prediction job.\n\n:param job_id: Job ID.\n:type job_id: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AsyncLROBasePolling.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "job_id" }, - "_health_initial": { + "_health_initial" : { "sync": { "signature": "def _health_initial(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n logging_opt_out=None, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def _health_initial(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs\n) -\u003e Optional[\"_models.HealthcareJobState\"]:\n", - "doc": "\"\"\"\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def _health_initial(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs: Any\n) -\u003e Optional[\"_models.HealthcareJobState\"]:\n", + "doc": "\"\"\"\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: HealthcareJobState, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, string_index_type, logging_opt_out" }, - "begin_health": { + "begin_health" : { "sync": { "signature": "def begin_health(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n logging_opt_out=None, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Submit healthcare analysis job.\n\nStart a healthcare analysis job to recognize healthcare related entities (drugs, conditions,\nsymptoms, etc) and their relations.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AnalyzeHealthcareEntitiesLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response)\n:rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "doc": "\"\"\"Submit healthcare analysis job.\n\nStart a healthcare analysis job to recognize healthcare related entities (drugs, conditions,\nsymptoms, etc) and their relations.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AnalyzeHealthcareEntitiesLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response)\n:rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def begin_health(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs\n) -\u003e AsyncAnalyzeHealthcareEntitiesLROPoller[\"_models.HealthcareJobState\"]:\n", - "doc": "\"\"\"Submit healthcare analysis job.\n\nStart a healthcare analysis job to recognize healthcare related entities (drugs, conditions,\nsymptoms, etc) and their relations.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AsyncAnalyzeHealthcareEntitiesLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncAnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response)\n:rtype: ~....._async_lro.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "signature": "async def begin_health(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs: Any\n) -\u003e AsyncAnalyzeHealthcareEntitiesLROPoller[\"_models.HealthcareJobState\"]:\n", + "doc": "\"\"\"Submit healthcare analysis job.\n\nStart a healthcare analysis job to recognize healthcare related entities (drugs, conditions,\nsymptoms, etc) and their relations.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: By default, your polling method will be AsyncAnalyzeHealthcareEntitiesLROPollingMethod.\n Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncAnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response)\n:rtype: ~.....aio._lro_async.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" }, "call": "documents, model_version, string_index_type, logging_opt_out" }, - "entities_recognition_general": { + "entities_recognition_general" : { "sync": { "signature": "def entities_recognition_general(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Named Entity Recognition.\n\nThe API returns a list of general named entities in a given document. For the list of supported\nentity types, check :code:`\u003ca href=\"https://aka.ms/taner\"\u003eSupported Entity Types in Text\nAnalytics API\u003c/a\u003e`. See the :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text\nAnalytics API\u003c/a\u003e` for the list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntitiesResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Named Entity Recognition.\n\nThe API returns a list of general named entities in a given document. For the list of supported\nentity types, check :code:`\u003ca href=\"https://aka.ms/taner\"\u003eSupported Entity Types in Text\nAnalytics API\u003c/a\u003e`. See the :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text\nAnalytics API\u003c/a\u003e` for the list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntitiesResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def entities_recognition_general(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs\n) -\u003e \"_models.EntitiesResult\":\n", - "doc": "\"\"\"Named Entity Recognition.\n\nThe API returns a list of general named entities in a given document. For the list of supported\nentity types, check :code:`\u003ca href=\"https://aka.ms/taner\"\u003eSupported Entity Types in Text\nAnalytics API\u003c/a\u003e`. See the :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text\nAnalytics API\u003c/a\u003e` for the list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntitiesResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def entities_recognition_general(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs: Any\n) -\u003e \"_models.EntitiesResult\":\n", + "doc": "\"\"\"Named Entity Recognition.\n\nThe API returns a list of general named entities in a given document. For the list of supported\nentity types, check :code:`\u003ca href=\"https://aka.ms/taner\"\u003eSupported Entity Types in Text\nAnalytics API\u003c/a\u003e`. See the :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text\nAnalytics API\u003c/a\u003e` for the list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntitiesResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out, string_index_type" }, - "entities_recognition_pii": { + "entities_recognition_pii" : { "sync": { "signature": "def entities_recognition_pii(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n domain=None, # type: Optional[str]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n pii_categories=None, # type: Optional[List[Union[str, \"_models.PiiCategory\"]]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Entities containing personal information.\n\nThe API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in\nthe document. For the list of supported entity types, check :code:`\u003ca\nhref=\"https://aka.ms/tanerpii\"\u003eSupported Entity Types in Text Analytics API\u003c/a\u003e`. See the\n:code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the\nlist of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param domain: (Optional) if specified, will set the PII domain to include only a subset of the\n entity categories. Possible values include: \u0027PHI\u0027, \u0027none\u0027.\n:type domain: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param pii_categories: (Optional) describes the PII categories to return.\n:type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory]\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: PiiResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Entities containing personal information.\n\nThe API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in\nthe document. For the list of supported entity types, check :code:`\u003ca\nhref=\"https://aka.ms/tanerpii\"\u003eSupported Entity Types in Text Analytics API\u003c/a\u003e`. See the\n:code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the\nlist of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param domain: (Optional) if specified, will set the PII domain to include only a subset of the\n entity categories. Possible values include: \u0027PHI\u0027, \u0027none\u0027.\n:type domain: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param pii_categories: (Optional) describes the PII categories to return.\n:type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory]\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: PiiResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def entities_recognition_pii(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n domain: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n pii_categories: Optional[List[Union[str, \"_models.PiiCategory\"]]] = None,\n **kwargs\n) -\u003e \"_models.PiiResult\":\n", - "doc": "\"\"\"Entities containing personal information.\n\nThe API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in\nthe document. For the list of supported entity types, check :code:`\u003ca\nhref=\"https://aka.ms/tanerpii\"\u003eSupported Entity Types in Text Analytics API\u003c/a\u003e`. See the\n:code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the\nlist of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param domain: (Optional) if specified, will set the PII domain to include only a subset of the\n entity categories. Possible values include: \u0027PHI\u0027, \u0027none\u0027.\n:type domain: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:param pii_categories: (Optional) describes the PII categories to return.\n:type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory]\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: PiiResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def entities_recognition_pii(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n domain: Optional[str] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n pii_categories: Optional[List[Union[str, \"_models.PiiCategory\"]]] = None,\n **kwargs: Any\n) -\u003e \"_models.PiiResult\":\n", + "doc": "\"\"\"Entities containing personal information.\n\nThe API returns a list of entities with personal information (\\\"SSN\\\", \\\"Bank Account\\\" etc) in\nthe document. For the list of supported entity types, check :code:`\u003ca\nhref=\"https://aka.ms/tanerpii\"\u003eSupported Entity Types in Text Analytics API\u003c/a\u003e`. See the\n:code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the\nlist of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param domain: (Optional) if specified, will set the PII domain to include only a subset of the\n entity categories. Possible values include: \u0027PHI\u0027, \u0027none\u0027.\n:type domain: str\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:param pii_categories: (Optional) describes the PII categories to return.\n:type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory]\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: PiiResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out, domain, string_index_type, pii_categories" }, - "entities_linking": { + "entities_linking" : { "sync": { "signature": "def entities_linking(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Linked entities from a well known knowledge base.\n\nThe API returns a list of recognized entities with links to a well known knowledge base. See\nthe :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for\nthe list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntityLinkingResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Linked entities from a well known knowledge base.\n\nThe API returns a list of recognized entities with links to a well known knowledge base. See\nthe :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for\nthe list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntityLinkingResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def entities_linking(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs\n) -\u003e \"_models.EntityLinkingResult\":\n", - "doc": "\"\"\"Linked entities from a well known knowledge base.\n\nThe API returns a list of recognized entities with links to a well known knowledge base. See\nthe :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for\nthe list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntityLinkingResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def entities_linking(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs: Any\n) -\u003e \"_models.EntityLinkingResult\":\n", + "doc": "\"\"\"Linked entities from a well known knowledge base.\n\nThe API returns a list of recognized entities with links to a well known knowledge base. See\nthe :code:`\u003ca href=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for\nthe list of enabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: EntityLinkingResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out, string_index_type" }, - "key_phrases": { + "key_phrases" : { "sync": { "signature": "def key_phrases(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Key Phrases.\n\nThe API returns a list of strings denoting the key phrases in the input text. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: KeyPhraseResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Key Phrases.\n\nThe API returns a list of strings denoting the key phrases in the input text. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: KeyPhraseResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def key_phrases(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.KeyPhraseResult\":\n", - "doc": "\"\"\"Key Phrases.\n\nThe API returns a list of strings denoting the key phrases in the input text. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: KeyPhraseResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def key_phrases(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.KeyPhraseResult\":\n", + "doc": "\"\"\"Key Phrases.\n\nThe API returns a list of strings denoting the key phrases in the input text. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: KeyPhraseResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out" }, - "languages": { + "languages" : { "sync": { "signature": "def languages(\n self,\n documents, # type: List[\"_models.LanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Detect Language.\n\nThe API returns the detected language and a numeric score between 0 and 1. Scores close to 1\nindicate 100% certainty that the identified language is true. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents:\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: LanguageResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.LanguageResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Detect Language.\n\nThe API returns the detected language and a numeric score between 0 and 1. Scores close to 1\nindicate 100% certainty that the identified language is true. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents:\n:type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: LanguageResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def languages(\n self,\n documents: List[\"_models.LanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs\n) -\u003e \"_models.LanguageResult\":\n", - "doc": "\"\"\"Detect Language.\n\nThe API returns the detected language and a numeric score between 0 and 1. Scores close to 1\nindicate 100% certainty that the identified language is true. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents:\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: LanguageResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.LanguageResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def languages(\n self,\n documents: List[\"_models.LanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n **kwargs: Any\n) -\u003e \"_models.LanguageResult\":\n", + "doc": "\"\"\"Detect Language.\n\nThe API returns the detected language and a numeric score between 0 and 1. Scores close to 1\nindicate 100% certainty that the identified language is true. See the :code:`\u003ca\nhref=\"https://aka.ms/talangs\"\u003eSupported languages in Text Analytics API\u003c/a\u003e` for the list of\nenabled languages.\n\n:param documents:\n:type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: LanguageResult, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out" }, - "sentiment": { + "sentiment" : { "sync": { "signature": "def sentiment(\n self,\n documents, # type: List[\"_models.MultiLanguageInput\"]\n model_version=None, # type: Optional[str]\n show_stats=None, # type: Optional[bool]\n logging_opt_out=None, # type: Optional[bool]\n opinion_mining=None, # type: Optional[bool]\n string_index_type=None, # type: Optional[Union[str, \"_models.StringIndexType\"]]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Sentiment.\n\nThe API returns a detailed sentiment analysis for the input text. The analysis is done in\nmultiple levels of granularity, start from the a document level, down to sentence and key terms\n(targets and assessments).\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param opinion_mining: (Optional) if set to true, response will contain not only sentiment\n prediction but also opinion mining (aspect-based sentiment analysis) results.\n:type opinion_mining: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: SentimentResponse, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "doc": "\"\"\"Sentiment.\n\nThe API returns a detailed sentiment analysis for the input text. The analysis is done in\nmultiple levels of granularity, start from the a document level, down to sentence and key terms\n(targets and assessments).\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param opinion_mining: (Optional) if set to true, response will contain not only sentiment\n prediction but also opinion mining (aspect-based sentiment analysis) results.\n:type opinion_mining: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: SentimentResponse, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "async": { "coroutine": true, - "signature": "async def sentiment(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n opinion_mining: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs\n) -\u003e \"_models.SentimentResponse\":\n", - "doc": "\"\"\"Sentiment.\n\nThe API returns a detailed sentiment analysis for the input text. The analysis is done in\nmultiple levels of granularity, start from the a document level, down to sentence and key terms\n(targets and assessments).\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param opinion_mining: (Optional) if set to true, response will contain not only sentiment\n prediction but also opinion mining (aspect-based sentiment analysis) results.\n:type opinion_mining: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: SentimentResponse, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "signature": "async def sentiment(\n self,\n documents: List[\"_models.MultiLanguageInput\"],\n model_version: Optional[str] = None,\n show_stats: Optional[bool] = None,\n logging_opt_out: Optional[bool] = None,\n opinion_mining: Optional[bool] = None,\n string_index_type: Optional[Union[str, \"_models.StringIndexType\"]] = None,\n **kwargs: Any\n) -\u003e \"_models.SentimentResponse\":\n", + "doc": "\"\"\"Sentiment.\n\nThe API returns a detailed sentiment analysis for the input text. The analysis is done in\nmultiple levels of granularity, start from the a document level, down to sentence and key terms\n(targets and assessments).\n\n:param documents: The set of documents to process as part of this batch.\n:type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput]\n:param model_version: (Optional) This value indicates which model will be used for scoring. If\n a model-version is not specified, the API should default to the latest, non-preview version.\n:type model_version: str\n:param show_stats: (Optional) if set to true, response will contain request and document level\n statistics.\n:type show_stats: bool\n:param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged\n for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to\n allow for troubleshooting issues in providing you with the Text Analytics natural language\n processing functions. Setting this parameter to true, disables input logging and may limit our\n ability to remediate issues that occur. Please see Cognitive Services Compliance and Privacy\n notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI\n principles at https://www.microsoft.com/en-us/ai/responsible-ai.\n:type logging_opt_out: bool\n:param opinion_mining: (Optional) if set to true, response will contain not only sentiment\n prediction but also opinion mining (aspect-based sentiment analysis) results.\n:type opinion_mining: bool\n:param string_index_type: (Optional) Specifies the method used to interpret string offsets.\n Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information\n see https://aka.ms/text-analytics-offsets.\n:type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: SentimentResponse, or the result of cls(response)\n:rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" }, "call": "documents, model_version, show_stats, logging_opt_out, opinion_mining, string_index_type" } diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_text_analytics_client.py similarity index 84% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_text_analytics_client.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_text_analytics_client.py index bb7bc469cf88..3ddfe5c33c8d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/_text_analytics_client.py @@ -24,7 +24,7 @@ class TextAnalyticsClient(TextAnalyticsClientOperationsMixin): - """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. + """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential @@ -40,7 +40,7 @@ def __init__( **kwargs # type: Any ): # type: (...) -> None - base_url = '{Endpoint}/text/analytics/v3.1-preview.5' + base_url = '{Endpoint}/text/analytics/v3.1' self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/__init__.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/__init__.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/__init__.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/_configuration.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/_configuration.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/_configuration.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/_configuration.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/_text_analytics_client.py similarity index 84% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/_text_analytics_client.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/_text_analytics_client.py index c89b8aa6b0d1..32f4bb4051e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/_text_analytics_client.py @@ -22,7 +22,7 @@ class TextAnalyticsClient(TextAnalyticsClientOperationsMixin): - """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. + """The Text Analytics API is a suite of natural language processing (NLP) services built with best-in-class Microsoft machine learning algorithms. The API can be used to analyze unstructured text for tasks such as sentiment analysis, key phrase extraction and language detection. Functionality for analysis of text specific to the healthcare domain and personal information are also available in the API. Further documentation can be found in :code:`https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview`. :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials_async.AsyncTokenCredential @@ -37,7 +37,7 @@ def __init__( endpoint: str, **kwargs: Any ) -> None: - base_url = '{Endpoint}/text/analytics/v3.1-preview.5' + base_url = '{Endpoint}/text/analytics/v3.1' self._config = TextAnalyticsClientConfiguration(credential, endpoint, **kwargs) self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/operations/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/operations/__init__.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/operations/__init__.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/operations/__init__.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/operations/_text_analytics_client_operations.py similarity index 88% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/operations/_text_analytics_client_operations.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/operations/_text_analytics_client_operations.py index a1c7018d9f8a..d8dd4b5e851a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/aio/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/aio/operations/_text_analytics_client_operations.py @@ -8,7 +8,7 @@ from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union import warnings -from .....aio._lro_async import AsyncAnalyzeHealthcareEntitiesLROPoller, AsyncAnalyzeHealthcareEntitiesLROPollingMethod, AsyncAnalyzeActionsLROPoller, AsyncAnalyzeActionsLROPollingMethod +from .....aio._lro_async import AsyncAnalyzeActionsLROPoller, AsyncAnalyzeActionsLROPollingMethod, AsyncAnalyzeHealthcareEntitiesLROPoller, AsyncAnalyzeHealthcareEntitiesLROPollingMethod from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error from azure.core.pipeline import PipelineResponse from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest @@ -25,15 +25,11 @@ class TextAnalyticsClientOperationsMixin: async def _analyze_initial( self, body: Optional["_models.AnalyzeBatchInput"] = None, - **kwargs + **kwargs: Any ) -> Optional["_models.AnalyzeJobState"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AnalyzeJobState"]] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) content_type = kwargs.pop("content_type", "application/json") @@ -66,7 +62,8 @@ async def _analyze_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} deserialized = None @@ -85,7 +82,7 @@ async def _analyze_initial( async def begin_analyze( self, body: Optional["_models.AnalyzeBatchInput"] = None, - **kwargs + **kwargs: Any ) -> AsyncAnalyzeActionsLROPoller["_models.AnalyzeJobState"]: """Submit analysis job. @@ -93,7 +90,7 @@ async def begin_analyze( executed. :param body: Collection of documents to analyze and tasks to execute. - :type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput + :type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AsyncAnalyzeActionsLROPollingMethod. @@ -101,7 +98,7 @@ async def begin_analyze( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncAnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response) - :rtype: ~....._async_lro.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState] + :rtype: ~.....aio._lro_async.AsyncAnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -152,7 +149,7 @@ async def analyze_status( show_stats: Optional[bool] = None, top: Optional[int] = 20, skip: Optional[int] = 0, - **kwargs + **kwargs: Any ) -> "_models.AnalyzeJobState": """Get analysis status and results. @@ -173,15 +170,12 @@ async def analyze_status( :type skip: int :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeJobState"] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -213,7 +207,8 @@ async def analyze_status( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeJobState', pipeline_response) @@ -229,7 +224,7 @@ async def health_status( top: Optional[int] = 20, skip: Optional[int] = 0, show_stats: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.HealthcareJobState": """Get healthcare analysis job status and results. @@ -248,15 +243,12 @@ async def health_status( :type show_stats: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: HealthcareJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.HealthcareJobState"] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -288,7 +280,8 @@ async def health_status( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('HealthcareJobState', pipeline_response) @@ -301,14 +294,11 @@ async def health_status( async def _cancel_health_job_initial( self, job_id: str, - **kwargs + **kwargs: Any ) -> None: cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -334,7 +324,8 @@ async def _cancel_health_job_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} response_headers['Operation-Location']=self._deserialize('str', response.headers.get('Operation-Location')) @@ -347,7 +338,7 @@ async def _cancel_health_job_initial( async def begin_cancel_health_job( self, job_id: str, - **kwargs + **kwargs: Any ) -> AsyncLROPoller[None]: """Cancel healthcare prediction job. @@ -411,15 +402,11 @@ async def _health_initial( model_version: Optional[str] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, logging_opt_out: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> Optional["_models.HealthcareJobState"]: cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.HealthcareJobState"]] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -457,7 +444,8 @@ async def _health_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} deserialized = None @@ -479,7 +467,7 @@ async def begin_health( model_version: Optional[str] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, logging_opt_out: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> AsyncAnalyzeHealthcareEntitiesLROPoller["_models.HealthcareJobState"]: """Submit healthcare analysis job. @@ -487,14 +475,14 @@ async def begin_health( symptoms, etc) and their relations. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language @@ -510,7 +498,7 @@ async def begin_health( :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncAnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response) - :rtype: ~....._async_lro.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState] + :rtype: ~.....aio._lro_async.AsyncAnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -565,7 +553,7 @@ async def entities_recognition_general( show_stats: Optional[bool] = None, logging_opt_out: Optional[bool] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, - **kwargs + **kwargs: Any ) -> "_models.EntitiesResult": """Named Entity Recognition. @@ -575,7 +563,7 @@ async def entities_recognition_general( Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -593,19 +581,15 @@ async def entities_recognition_general( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntitiesResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.EntitiesResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -645,7 +629,8 @@ async def entities_recognition_general( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('EntitiesResult', pipeline_response) @@ -664,7 +649,7 @@ async def entities_recognition_pii( domain: Optional[str] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, pii_categories: Optional[List[Union[str, "_models.PiiCategory"]]] = None, - **kwargs + **kwargs: Any ) -> "_models.PiiResult": """Entities containing personal information. @@ -675,7 +660,7 @@ async def entities_recognition_pii( list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -696,21 +681,17 @@ async def entities_recognition_pii( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :keyword callable cls: A custom type or function that will be passed the direct response :return: PiiResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PiiResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -754,7 +735,8 @@ async def entities_recognition_pii( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('PiiResult', pipeline_response) @@ -771,7 +753,7 @@ async def entities_linking( show_stats: Optional[bool] = None, logging_opt_out: Optional[bool] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, - **kwargs + **kwargs: Any ) -> "_models.EntityLinkingResult": """Linked entities from a well known knowledge base. @@ -780,7 +762,7 @@ async def entities_linking( the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -798,19 +780,15 @@ async def entities_linking( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntityLinkingResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.EntityLinkingResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -850,7 +828,8 @@ async def entities_linking( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('EntityLinkingResult', pipeline_response) @@ -866,7 +845,7 @@ async def key_phrases( model_version: Optional[str] = None, show_stats: Optional[bool] = None, logging_opt_out: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.KeyPhraseResult": """Key Phrases. @@ -875,7 +854,7 @@ async def key_phrases( enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -892,16 +871,12 @@ async def key_phrases( :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: KeyPhraseResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult + :rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyPhraseResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -939,7 +914,8 @@ async def key_phrases( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('KeyPhraseResult', pipeline_response) @@ -955,7 +931,7 @@ async def languages( model_version: Optional[str] = None, show_stats: Optional[bool] = None, logging_opt_out: Optional[bool] = None, - **kwargs + **kwargs: Any ) -> "_models.LanguageResult": """Detect Language. @@ -965,7 +941,7 @@ async def languages( enabled languages. :param documents: - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -982,16 +958,12 @@ async def languages( :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: LanguageResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.LanguageResult + :rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.LanguageResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -1029,7 +1001,8 @@ async def languages( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('LanguageResult', pipeline_response) @@ -1047,7 +1020,7 @@ async def sentiment( logging_opt_out: Optional[bool] = None, opinion_mining: Optional[bool] = None, string_index_type: Optional[Union[str, "_models.StringIndexType"]] = None, - **kwargs + **kwargs: Any ) -> "_models.SentimentResponse": """Sentiment. @@ -1056,7 +1029,7 @@ async def sentiment( (targets and assessments). :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -1077,19 +1050,15 @@ async def sentiment( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: SentimentResponse, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse + :rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SentimentResponse"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -1131,7 +1100,8 @@ async def sentiment( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('SentimentResponse', pipeline_response) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/__init__.py similarity index 84% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/__init__.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/__init__.py index aaeb68dddf18..35980a6b9846 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/__init__.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/__init__.py @@ -7,14 +7,12 @@ # -------------------------------------------------------------------------- try: + from ._models_py3 import AnalysisInput from ._models_py3 import AnalyzeBatchInput + from ._models_py3 import AnalyzeJobDisplayName + from ._models_py3 import AnalyzeJobErrorsAndStatistics from ._models_py3 import AnalyzeJobMetadata from ._models_py3 import AnalyzeJobState - from ._models_py3 import Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 - from ._models_py3 import Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 - from ._models_py3 import Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1 - from ._models_py3 import Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 - from ._models_py3 import ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 from ._models_py3 import DetectedLanguage from ._models_py3 import DocumentEntities from ._models_py3 import DocumentError @@ -27,24 +25,30 @@ from ._models_py3 import EntitiesResult from ._models_py3 import EntitiesTask from ._models_py3 import EntitiesTaskParameters + from ._models_py3 import EntitiesTaskResult from ._models_py3 import Entity from ._models_py3 import EntityLinkingResult from ._models_py3 import EntityLinkingTask from ._models_py3 import EntityLinkingTaskParameters + from ._models_py3 import EntityLinkingTaskResult from ._models_py3 import ErrorResponse from ._models_py3 import HealthcareAssertion from ._models_py3 import HealthcareEntity from ._models_py3 import HealthcareEntityLink + from ._models_py3 import HealthcareEntityProperties from ._models_py3 import HealthcareJobState + from ._models_py3 import HealthcareLinkingProperties from ._models_py3 import HealthcareRelation from ._models_py3 import HealthcareRelationEntity from ._models_py3 import HealthcareResult + from ._models_py3 import HealthcareTaskResult from ._models_py3 import InnerError from ._models_py3 import JobDescriptor from ._models_py3 import JobManifest from ._models_py3 import JobManifestTasks from ._models_py3 import JobMetadata from ._models_py3 import KeyPhraseResult + from ._models_py3 import KeyPhraseTaskResult from ._models_py3 import KeyPhrasesTask from ._models_py3 import KeyPhrasesTaskParameters from ._models_py3 import LanguageBatchInput @@ -59,6 +63,7 @@ from ._models_py3 import PiiResult from ._models_py3 import PiiTask from ._models_py3 import PiiTaskParameters + from ._models_py3 import PiiTaskResult from ._models_py3 import RequestStatistics from ._models_py3 import SentenceAssessment from ._models_py3 import SentenceSentiment @@ -67,12 +72,12 @@ from ._models_py3 import SentimentAnalysisTaskParameters from ._models_py3 import SentimentConfidenceScorePerLabel from ._models_py3 import SentimentResponse + from ._models_py3 import SentimentTaskResult from ._models_py3 import TargetConfidenceScoreLabel from ._models_py3 import TargetRelation from ._models_py3 import TaskState from ._models_py3 import TasksState from ._models_py3 import TasksStateTasks - from ._models_py3 import TasksStateTasksDetails from ._models_py3 import TasksStateTasksEntityLinkingTasksItem from ._models_py3 import TasksStateTasksEntityRecognitionPiiTasksItem from ._models_py3 import TasksStateTasksEntityRecognitionTasksItem @@ -81,14 +86,12 @@ from ._models_py3 import TextAnalyticsError from ._models_py3 import TextAnalyticsWarning except (SyntaxError, ImportError): + from ._models import AnalysisInput # type: ignore from ._models import AnalyzeBatchInput # type: ignore + from ._models import AnalyzeJobDisplayName # type: ignore + from ._models import AnalyzeJobErrorsAndStatistics # type: ignore from ._models import AnalyzeJobMetadata # type: ignore from ._models import AnalyzeJobState # type: ignore - from ._models import Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 # type: ignore - from ._models import Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 # type: ignore - from ._models import Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1 # type: ignore - from ._models import Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 # type: ignore - from ._models import ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 # type: ignore from ._models import DetectedLanguage # type: ignore from ._models import DocumentEntities # type: ignore from ._models import DocumentError # type: ignore @@ -101,24 +104,30 @@ from ._models import EntitiesResult # type: ignore from ._models import EntitiesTask # type: ignore from ._models import EntitiesTaskParameters # type: ignore + from ._models import EntitiesTaskResult # type: ignore from ._models import Entity # type: ignore from ._models import EntityLinkingResult # type: ignore from ._models import EntityLinkingTask # type: ignore from ._models import EntityLinkingTaskParameters # type: ignore + from ._models import EntityLinkingTaskResult # type: ignore from ._models import ErrorResponse # type: ignore from ._models import HealthcareAssertion # type: ignore from ._models import HealthcareEntity # type: ignore from ._models import HealthcareEntityLink # type: ignore + from ._models import HealthcareEntityProperties # type: ignore from ._models import HealthcareJobState # type: ignore + from ._models import HealthcareLinkingProperties # type: ignore from ._models import HealthcareRelation # type: ignore from ._models import HealthcareRelationEntity # type: ignore from ._models import HealthcareResult # type: ignore + from ._models import HealthcareTaskResult # type: ignore from ._models import InnerError # type: ignore from ._models import JobDescriptor # type: ignore from ._models import JobManifest # type: ignore from ._models import JobManifestTasks # type: ignore from ._models import JobMetadata # type: ignore from ._models import KeyPhraseResult # type: ignore + from ._models import KeyPhraseTaskResult # type: ignore from ._models import KeyPhrasesTask # type: ignore from ._models import KeyPhrasesTaskParameters # type: ignore from ._models import LanguageBatchInput # type: ignore @@ -133,6 +142,7 @@ from ._models import PiiResult # type: ignore from ._models import PiiTask # type: ignore from ._models import PiiTaskParameters # type: ignore + from ._models import PiiTaskResult # type: ignore from ._models import RequestStatistics # type: ignore from ._models import SentenceAssessment # type: ignore from ._models import SentenceSentiment # type: ignore @@ -141,12 +151,12 @@ from ._models import SentimentAnalysisTaskParameters # type: ignore from ._models import SentimentConfidenceScorePerLabel # type: ignore from ._models import SentimentResponse # type: ignore + from ._models import SentimentTaskResult # type: ignore from ._models import TargetConfidenceScoreLabel # type: ignore from ._models import TargetRelation # type: ignore from ._models import TaskState # type: ignore from ._models import TasksState # type: ignore from ._models import TasksStateTasks # type: ignore - from ._models import TasksStateTasksDetails # type: ignore from ._models import TasksStateTasksEntityLinkingTasksItem # type: ignore from ._models import TasksStateTasksEntityRecognitionPiiTasksItem # type: ignore from ._models import TasksStateTasksEntityRecognitionTasksItem # type: ignore @@ -161,6 +171,7 @@ Conditionality, DocumentSentimentValue, ErrorCodeValue, + HealthcareEntityCategory, InnerErrorCodeValue, PiiCategory, PiiTaskParametersDomain, @@ -174,14 +185,12 @@ ) __all__ = [ + 'AnalysisInput', 'AnalyzeBatchInput', + 'AnalyzeJobDisplayName', + 'AnalyzeJobErrorsAndStatistics', 'AnalyzeJobMetadata', 'AnalyzeJobState', - 'Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1', - 'Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1', - 'Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1', - 'Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1', - 'ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1', 'DetectedLanguage', 'DocumentEntities', 'DocumentError', @@ -194,24 +203,30 @@ 'EntitiesResult', 'EntitiesTask', 'EntitiesTaskParameters', + 'EntitiesTaskResult', 'Entity', 'EntityLinkingResult', 'EntityLinkingTask', 'EntityLinkingTaskParameters', + 'EntityLinkingTaskResult', 'ErrorResponse', 'HealthcareAssertion', 'HealthcareEntity', 'HealthcareEntityLink', + 'HealthcareEntityProperties', 'HealthcareJobState', + 'HealthcareLinkingProperties', 'HealthcareRelation', 'HealthcareRelationEntity', 'HealthcareResult', + 'HealthcareTaskResult', 'InnerError', 'JobDescriptor', 'JobManifest', 'JobManifestTasks', 'JobMetadata', 'KeyPhraseResult', + 'KeyPhraseTaskResult', 'KeyPhrasesTask', 'KeyPhrasesTaskParameters', 'LanguageBatchInput', @@ -226,6 +241,7 @@ 'PiiResult', 'PiiTask', 'PiiTaskParameters', + 'PiiTaskResult', 'RequestStatistics', 'SentenceAssessment', 'SentenceSentiment', @@ -234,12 +250,12 @@ 'SentimentAnalysisTaskParameters', 'SentimentConfidenceScorePerLabel', 'SentimentResponse', + 'SentimentTaskResult', 'TargetConfidenceScoreLabel', 'TargetRelation', 'TaskState', 'TasksState', 'TasksStateTasks', - 'TasksStateTasksDetails', 'TasksStateTasksEntityLinkingTasksItem', 'TasksStateTasksEntityRecognitionPiiTasksItem', 'TasksStateTasksEntityRecognitionTasksItem', @@ -252,6 +268,7 @@ 'Conditionality', 'DocumentSentimentValue', 'ErrorCodeValue', + 'HealthcareEntityCategory', 'InnerErrorCodeValue', 'PiiCategory', 'PiiTaskParametersDomain', diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models.py similarity index 79% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models.py index 4e6553a6611b..69764c937670 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models.py @@ -10,6 +10,32 @@ import msrest.serialization +class AnalysisInput(msrest.serialization.Model): + """AnalysisInput. + + All required parameters must be populated in order to send to Azure. + + :param analysis_input: Required. Contains a set of input documents to be analyzed by the + service. + :type analysis_input: ~azure.ai.textanalytics.v3_1.models.MultiLanguageBatchInput + """ + + _validation = { + 'analysis_input': {'required': True}, + } + + _attribute_map = { + 'analysis_input': {'key': 'analysisInput', 'type': 'MultiLanguageBatchInput'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalysisInput, self).__init__(**kwargs) + self.analysis_input = kwargs['analysis_input'] + + class JobManifest(msrest.serialization.Model): """JobManifest. @@ -17,7 +43,7 @@ class JobManifest(msrest.serialization.Model): :param tasks: Required. The set of tasks to execute on the input documents. Cannot specify the same task more than once. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.JobManifestTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.JobManifestTasks """ _validation = { @@ -55,19 +81,19 @@ def __init__( self.display_name = kwargs.get('display_name', None) -class AnalyzeBatchInput(JobDescriptor, JobManifest): +class AnalyzeBatchInput(JobDescriptor, AnalysisInput, JobManifest): """AnalyzeBatchInput. All required parameters must be populated in order to send to Azure. :param tasks: Required. The set of tasks to execute on the input documents. Cannot specify the same task more than once. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.JobManifestTasks - :param display_name: Optional display name for the analysis job. - :type display_name: str + :type tasks: ~azure.ai.textanalytics.v3_1.models.JobManifestTasks :param analysis_input: Required. Contains a set of input documents to be analyzed by the service. - :type analysis_input: ~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageBatchInput + :type analysis_input: ~azure.ai.textanalytics.v3_1.models.MultiLanguageBatchInput + :param display_name: Optional display name for the analysis job. + :type display_name: str """ _validation = { @@ -77,8 +103,8 @@ class AnalyzeBatchInput(JobDescriptor, JobManifest): _attribute_map = { 'tasks': {'key': 'tasks', 'type': 'JobManifestTasks'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, 'analysis_input': {'key': 'analysisInput', 'type': 'MultiLanguageBatchInput'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -88,8 +114,53 @@ def __init__( super(AnalyzeBatchInput, self).__init__(**kwargs) self.tasks = kwargs['tasks'] self.analysis_input = kwargs['analysis_input'] + self.tasks = kwargs['tasks'] self.display_name = kwargs.get('display_name', None) self.analysis_input = kwargs['analysis_input'] + self.display_name = kwargs.get('display_name', None) + + +class AnalyzeJobDisplayName(msrest.serialization.Model): + """AnalyzeJobDisplayName. + + :param display_name: + :type display_name: str + """ + + _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalyzeJobDisplayName, self).__init__(**kwargs) + self.display_name = kwargs.get('display_name', None) + + +class AnalyzeJobErrorsAndStatistics(msrest.serialization.Model): + """AnalyzeJobErrorsAndStatistics. + + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + :param statistics: if showStats=true was specified in the request this field will contain + information about the request payload. + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics + """ + + _attribute_map = { + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, + } + + def __init__( + self, + **kwargs + ): + super(AnalyzeJobErrorsAndStatistics, self).__init__(**kwargs) + self.errors = kwargs.get('errors', None) + self.statistics = kwargs.get('statistics', None) class JobMetadata(msrest.serialization.Model): @@ -106,8 +177,8 @@ class JobMetadata(msrest.serialization.Model): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -137,11 +208,13 @@ def __init__( self.status = kwargs['status'] -class AnalyzeJobMetadata(JobMetadata): +class AnalyzeJobMetadata(JobMetadata, AnalyzeJobDisplayName): """AnalyzeJobMetadata. All required parameters must be populated in order to send to Azure. + :param display_name: + :type display_name: str :param created_date_time: Required. :type created_date_time: ~datetime.datetime :param expiration_date_time: @@ -151,10 +224,8 @@ class AnalyzeJobMetadata(JobMetadata): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param display_name: - :type display_name: str + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -165,12 +236,12 @@ class AnalyzeJobMetadata(JobMetadata): } _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -179,6 +250,11 @@ def __init__( ): super(AnalyzeJobMetadata, self).__init__(**kwargs) self.display_name = kwargs.get('display_name', None) + self.created_date_time = kwargs['created_date_time'] + self.expiration_date_time = kwargs.get('expiration_date_time', None) + self.job_id = kwargs['job_id'] + self.last_update_date_time = kwargs['last_update_date_time'] + self.status = kwargs['status'] class Pagination(msrest.serialization.Model): @@ -206,7 +282,7 @@ class TasksState(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param tasks: Required. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.TasksStateTasks """ _validation = { @@ -225,15 +301,22 @@ def __init__( self.tasks = kwargs['tasks'] -class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): +class AnalyzeJobState(AnalyzeJobMetadata, TasksState, AnalyzeJobErrorsAndStatistics, Pagination): """AnalyzeJobState. All required parameters must be populated in order to send to Azure. :param next_link: :type next_link: str + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + :param statistics: if showStats=true was specified in the request this field will contain + information about the request payload. + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param tasks: Required. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.TasksStateTasks + :param display_name: + :type display_name: str :param created_date_time: Required. :type created_date_time: ~datetime.datetime :param expiration_date_time: @@ -243,15 +326,8 @@ class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param display_name: - :type display_name: str - :param errors: - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] - :param statistics: if showStats=true was specified in the request this field will contain - information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -264,15 +340,15 @@ class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): _attribute_map = { 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, 'tasks': {'key': 'tasks', 'type': 'TasksStateTasks'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, - 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, } def __init__( @@ -281,122 +357,35 @@ def __init__( ): super(AnalyzeJobState, self).__init__(**kwargs) self.next_link = kwargs.get('next_link', None) - self.tasks = kwargs['tasks'] self.errors = kwargs.get('errors', None) self.statistics = kwargs.get('statistics', None) + self.tasks = kwargs['tasks'] self.next_link = kwargs.get('next_link', None) + self.errors = kwargs.get('errors', None) + self.statistics = kwargs.get('statistics', None) + self.display_name = kwargs.get('display_name', None) self.created_date_time = kwargs['created_date_time'] self.expiration_date_time = kwargs.get('expiration_date_time', None) self.job_id = kwargs['job_id'] self.last_update_date_time = kwargs['last_update_date_time'] self.status = kwargs['status'] + self.next_link = kwargs.get('next_link', None) + self.tasks = kwargs['tasks'] self.display_name = kwargs.get('display_name', None) + self.created_date_time = kwargs['created_date_time'] + self.expiration_date_time = kwargs.get('expiration_date_time', None) + self.job_id = kwargs['job_id'] + self.last_update_date_time = kwargs['last_update_date_time'] + self.status = kwargs['status'] self.errors = kwargs.get('errors', None) self.statistics = kwargs.get('statistics', None) self.tasks = kwargs['tasks'] + self.display_name = kwargs.get('display_name', None) self.created_date_time = kwargs['created_date_time'] self.expiration_date_time = kwargs.get('expiration_date_time', None) self.job_id = kwargs['job_id'] self.last_update_date_time = kwargs['last_update_date_time'] self.status = kwargs['status'] - self.display_name = kwargs.get('display_name', None) - self.errors = kwargs.get('errors', None) - self.statistics = kwargs.get('statistics', None) - - -class Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1(msrest.serialization.Model): - """Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'EntitiesResult'}, - } - - def __init__( - self, - **kwargs - ): - super(Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1, self).__init__(**kwargs) - self.results = kwargs.get('results', None) - - -class Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1(msrest.serialization.Model): - """Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'PiiResult'}, - } - - def __init__( - self, - **kwargs - ): - super(Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1, self).__init__(**kwargs) - self.results = kwargs.get('results', None) - - -class Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1(msrest.serialization.Model): - """Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'SentimentResponse'}, - } - - def __init__( - self, - **kwargs - ): - super(Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1, self).__init__(**kwargs) - self.results = kwargs.get('results', None) - - -class Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1(msrest.serialization.Model): - """Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, - } - - def __init__( - self, - **kwargs - ): - super(Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1, self).__init__(**kwargs) - self.results = kwargs.get('results', None) - - -class ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1(msrest.serialization.Model): - """ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, - } - - def __init__( - self, - **kwargs - ): - super(ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1, self).__init__(**kwargs) - self.results = kwargs.get('results', None) class DetectedLanguage(msrest.serialization.Model): @@ -444,12 +433,12 @@ class DocumentEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Recognized entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.Entity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.Entity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -484,7 +473,7 @@ class DocumentError(msrest.serialization.Model): :param id: Required. Document Id. :type id: str :param error: Required. Document Error. - :type error: ~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError + :type error: ~azure.ai.textanalytics.v3_1.models.TextAnalyticsError """ _validation = { @@ -514,14 +503,14 @@ class DocumentHealthcareEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Healthcare entities. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntity] :param relations: Required. Healthcare entity relations. - :type relations: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareRelation] + :type relations: list[~azure.ai.textanalytics.v3_1.models.HealthcareRelation] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -562,10 +551,10 @@ class DocumentKeyPhrases(msrest.serialization.Model): phrases returned is proportional to the number of words in the input document. :type key_phrases: list[str] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -600,12 +589,12 @@ class DocumentLanguage(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param detected_language: Required. Detected Language. - :type detected_language: ~azure.ai.textanalytics.v3_1_preview_5.models.DetectedLanguage + :type detected_language: ~azure.ai.textanalytics.v3_1.models.DetectedLanguage :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -640,12 +629,12 @@ class DocumentLinkedEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Recognized well known entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.LinkedEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.LinkedEntity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -681,18 +670,17 @@ class DocumentSentiment(msrest.serialization.Model): :type id: str :param sentiment: Required. Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). Possible values include: "positive", "neutral", "negative", "mixed". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.DocumentSentimentValue :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics :param confidence_scores: Required. Document level sentiment confidence scores between 0 and 1 for each sentiment class. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentConfidenceScorePerLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.SentimentConfidenceScorePerLabel :param sentences: Required. Sentence level sentiment analysis. - :type sentences: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceSentiment] + :type sentences: list[~azure.ai.textanalytics.v3_1.models.SentenceSentiment] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] """ _validation = { @@ -761,12 +749,12 @@ class EntitiesResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -799,11 +787,14 @@ class EntitiesTask(msrest.serialization.Model): """EntitiesTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.EntitiesTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'EntitiesTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( @@ -812,6 +803,7 @@ def __init__( ): super(EntitiesTask, self).__init__(**kwargs) self.parameters = kwargs.get('parameters', None) + self.task_name = kwargs.get('task_name', None) class EntitiesTaskParameters(msrest.serialization.Model): @@ -823,7 +815,7 @@ class EntitiesTaskParameters(msrest.serialization.Model): :type logging_opt_out: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -842,6 +834,25 @@ def __init__( self.string_index_type = kwargs.get('string_index_type', None) +class EntitiesTaskResult(msrest.serialization.Model): + """EntitiesTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.EntitiesResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'EntitiesResult'}, + } + + def __init__( + self, + **kwargs + ): + super(EntitiesTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + + class Entity(msrest.serialization.Model): """Entity. @@ -899,12 +910,12 @@ class EntityLinkingResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentLinkedEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentLinkedEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -937,11 +948,14 @@ class EntityLinkingTask(msrest.serialization.Model): """EntityLinkingTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.EntityLinkingTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'EntityLinkingTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( @@ -950,6 +964,7 @@ def __init__( ): super(EntityLinkingTask, self).__init__(**kwargs) self.parameters = kwargs.get('parameters', None) + self.task_name = kwargs.get('task_name', None) class EntityLinkingTaskParameters(msrest.serialization.Model): @@ -961,7 +976,7 @@ class EntityLinkingTaskParameters(msrest.serialization.Model): :type logging_opt_out: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -980,13 +995,32 @@ def __init__( self.string_index_type = kwargs.get('string_index_type', None) +class EntityLinkingTaskResult(msrest.serialization.Model): + """EntityLinkingTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, + } + + def __init__( + self, + **kwargs + ): + super(EntityLinkingTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + + class ErrorResponse(msrest.serialization.Model): """ErrorResponse. All required parameters must be populated in order to send to Azure. :param error: Required. Document Error. - :type error: ~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError + :type error: ~azure.ai.textanalytics.v3_1.models.TextAnalyticsError """ _validation = { @@ -1010,13 +1044,13 @@ class HealthcareAssertion(msrest.serialization.Model): :param conditionality: Describes any conditionality on the entity. Possible values include: "hypothetical", "conditional". - :type conditionality: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Conditionality + :type conditionality: str or ~azure.ai.textanalytics.v3_1.models.Conditionality :param certainty: Describes the entities certainty and polarity. Possible values include: "positive", "positivePossible", "neutralPossible", "negativePossible", "negative". - :type certainty: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Certainty + :type certainty: str or ~azure.ai.textanalytics.v3_1.models.Certainty :param association: Describes if the entity is the subject of the text or if it describes someone else. Possible values include: "subject", "other". - :type association: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Association + :type association: str or ~azure.ai.textanalytics.v3_1.models.Association """ _attribute_map = { @@ -1035,15 +1069,48 @@ def __init__( self.association = kwargs.get('association', None) -class HealthcareEntity(Entity): - """HealthcareEntity. +class HealthcareLinkingProperties(msrest.serialization.Model): + """HealthcareLinkingProperties. + + :param assertion: + :type assertion: ~azure.ai.textanalytics.v3_1.models.HealthcareAssertion + :param name: Preferred name for the entity. Example: 'histologically' would have a 'name' of + 'histologic'. + :type name: str + :param links: Entity references in known data sources. + :type links: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntityLink] + """ + + _attribute_map = { + 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, + 'name': {'key': 'name', 'type': 'str'}, + 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, + } + + def __init__( + self, + **kwargs + ): + super(HealthcareLinkingProperties, self).__init__(**kwargs) + self.assertion = kwargs.get('assertion', None) + self.name = kwargs.get('name', None) + self.links = kwargs.get('links', None) + + +class HealthcareEntityProperties(msrest.serialization.Model): + """HealthcareEntityProperties. All required parameters must be populated in order to send to Azure. :param text: Required. Entity text as appears in the request. :type text: str - :param category: Required. Entity type. - :type category: str + :param category: Required. Healthcare Entity Category. Possible values include: + "BODY_STRUCTURE", "AGE", "GENDER", "EXAMINATION_NAME", "DATE", "DIRECTION", "FREQUENCY", + "MEASUREMENT_VALUE", "MEASUREMENT_UNIT", "RELATIONAL_OPERATOR", "TIME", "GENE_OR_PROTEIN", + "VARIANT", "ADMINISTRATIVE_EVENT", "CARE_ENVIRONMENT", "HEALTHCARE_PROFESSION", "DIAGNOSIS", + "SYMPTOM_OR_SIGN", "CONDITION_QUALIFIER", "MEDICATION_CLASS", "MEDICATION_NAME", "DOSAGE", + "MEDICATION_FORM", "MEDICATION_ROUTE", "FAMILY_RELATION", "TREATMENT_NAME". + :type category: str or ~azure.ai.textanalytics.v3_1.models.HealthcareEntityCategory :param subcategory: (Optional) Entity sub type. :type subcategory: str :param offset: Required. Start position for the entity text. Use of different 'stringIndexType' @@ -1054,13 +1121,69 @@ class HealthcareEntity(Entity): :type length: int :param confidence_score: Required. Confidence score between 0 and 1 of the extracted entity. :type confidence_score: float + """ + + _validation = { + 'text': {'required': True}, + 'category': {'required': True}, + 'offset': {'required': True}, + 'length': {'required': True}, + 'confidence_score': {'required': True}, + } + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'subcategory': {'key': 'subcategory', 'type': 'str'}, + 'offset': {'key': 'offset', 'type': 'int'}, + 'length': {'key': 'length', 'type': 'int'}, + 'confidence_score': {'key': 'confidenceScore', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(HealthcareEntityProperties, self).__init__(**kwargs) + self.text = kwargs['text'] + self.category = kwargs['category'] + self.subcategory = kwargs.get('subcategory', None) + self.offset = kwargs['offset'] + self.length = kwargs['length'] + self.confidence_score = kwargs['confidence_score'] + + +class HealthcareEntity(HealthcareEntityProperties, HealthcareLinkingProperties): + """HealthcareEntity. + + All required parameters must be populated in order to send to Azure. + :param assertion: - :type assertion: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareAssertion + :type assertion: ~azure.ai.textanalytics.v3_1.models.HealthcareAssertion :param name: Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. :type name: str :param links: Entity references in known data sources. - :type links: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareEntityLink] + :type links: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntityLink] + :param text: Required. Entity text as appears in the request. + :type text: str + :param category: Required. Healthcare Entity Category. Possible values include: + "BODY_STRUCTURE", "AGE", "GENDER", "EXAMINATION_NAME", "DATE", "DIRECTION", "FREQUENCY", + "MEASUREMENT_VALUE", "MEASUREMENT_UNIT", "RELATIONAL_OPERATOR", "TIME", "GENE_OR_PROTEIN", + "VARIANT", "ADMINISTRATIVE_EVENT", "CARE_ENVIRONMENT", "HEALTHCARE_PROFESSION", "DIAGNOSIS", + "SYMPTOM_OR_SIGN", "CONDITION_QUALIFIER", "MEDICATION_CLASS", "MEDICATION_NAME", "DOSAGE", + "MEDICATION_FORM", "MEDICATION_ROUTE", "FAMILY_RELATION", "TREATMENT_NAME". + :type category: str or ~azure.ai.textanalytics.v3_1.models.HealthcareEntityCategory + :param subcategory: (Optional) Entity sub type. + :type subcategory: str + :param offset: Required. Start position for the entity text. Use of different 'stringIndexType' + values can affect the offset returned. + :type offset: int + :param length: Required. Length for the entity text. Use of different 'stringIndexType' values + can affect the length returned. + :type length: int + :param confidence_score: Required. Confidence score between 0 and 1 of the extracted entity. + :type confidence_score: float """ _validation = { @@ -1072,15 +1195,15 @@ class HealthcareEntity(Entity): } _attribute_map = { + 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, + 'name': {'key': 'name', 'type': 'str'}, + 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, 'text': {'key': 'text', 'type': 'str'}, 'category': {'key': 'category', 'type': 'str'}, 'subcategory': {'key': 'subcategory', 'type': 'str'}, 'offset': {'key': 'offset', 'type': 'int'}, 'length': {'key': 'length', 'type': 'int'}, 'confidence_score': {'key': 'confidenceScore', 'type': 'float'}, - 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, - 'name': {'key': 'name', 'type': 'str'}, - 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, } def __init__( @@ -1091,6 +1214,12 @@ def __init__( self.assertion = kwargs.get('assertion', None) self.name = kwargs.get('name', None) self.links = kwargs.get('links', None) + self.text = kwargs['text'] + self.category = kwargs['category'] + self.subcategory = kwargs.get('subcategory', None) + self.offset = kwargs['offset'] + self.length = kwargs['length'] + self.confidence_score = kwargs['confidence_score'] class HealthcareEntityLink(msrest.serialization.Model): @@ -1123,11 +1252,38 @@ def __init__( self.id = kwargs['id'] -class HealthcareJobState(JobMetadata, Pagination): +class HealthcareTaskResult(msrest.serialization.Model): + """HealthcareTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.HealthcareResult + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'HealthcareResult'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + } + + def __init__( + self, + **kwargs + ): + super(HealthcareTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + self.errors = kwargs.get('errors', None) + + +class HealthcareJobState(JobMetadata, Pagination, HealthcareTaskResult): """HealthcareJobState. All required parameters must be populated in order to send to Azure. + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.HealthcareResult + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] :param next_link: :type next_link: str :param created_date_time: Required. @@ -1139,12 +1295,8 @@ class HealthcareJobState(JobMetadata, Pagination): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareResult - :param errors: - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -1155,14 +1307,14 @@ class HealthcareJobState(JobMetadata, Pagination): } _attribute_map = { + 'results': {'key': 'results', 'type': 'HealthcareResult'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, 'next_link': {'key': '@nextLink', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'results': {'key': 'results', 'type': 'HealthcareResult'}, - 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, } def __init__( @@ -1170,6 +1322,8 @@ def __init__( **kwargs ): super(HealthcareJobState, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + self.errors = kwargs.get('errors', None) self.next_link = kwargs.get('next_link', None) self.results = kwargs.get('results', None) self.errors = kwargs.get('errors', None) @@ -1178,8 +1332,12 @@ def __init__( self.job_id = kwargs['job_id'] self.last_update_date_time = kwargs['last_update_date_time'] self.status = kwargs['status'] - self.results = kwargs.get('results', None) - self.errors = kwargs.get('errors', None) + self.next_link = kwargs.get('next_link', None) + self.created_date_time = kwargs['created_date_time'] + self.expiration_date_time = kwargs.get('expiration_date_time', None) + self.job_id = kwargs['job_id'] + self.last_update_date_time = kwargs['last_update_date_time'] + self.status = kwargs['status'] class HealthcareRelation(msrest.serialization.Model): @@ -1194,9 +1352,9 @@ class HealthcareRelation(msrest.serialization.Model): "FrequencyOfTreatment", "QualifierOfCondition", "RelationOfExamination", "RouteOfMedication", "TimeOfCondition", "TimeOfEvent", "TimeOfExamination", "TimeOfMedication", "TimeOfTreatment", "UnitOfCondition", "UnitOfExamination", "ValueOfCondition", "ValueOfExamination". - :type relation_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.RelationType + :type relation_type: str or ~azure.ai.textanalytics.v3_1.models.RelationType :param entities: Required. The entities in the relation. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareRelationEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.HealthcareRelationEntity] """ _validation = { @@ -1257,12 +1415,12 @@ class HealthcareResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentHealthcareEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentHealthcareEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1300,7 +1458,7 @@ class InnerError(msrest.serialization.Model): "InvalidRequestBodyFormat", "EmptyRequest", "MissingInputRecords", "InvalidDocument", "ModelVersionIncorrect", "InvalidDocumentBatch", "UnsupportedLanguageCode", "InvalidCountryHint". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.InnerErrorCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.InnerErrorCodeValue :param message: Required. Error message. :type message: str :param details: Error details. @@ -1308,7 +1466,7 @@ class InnerError(msrest.serialization.Model): :param target: Error target. :type target: str :param innererror: Inner error contains more specific information. - :type innererror: ~azure.ai.textanalytics.v3_1_preview_5.models.InnerError + :type innererror: ~azure.ai.textanalytics.v3_1.models.InnerError """ _validation = { @@ -1340,19 +1498,15 @@ class JobManifestTasks(msrest.serialization.Model): """The set of tasks to execute on the input documents. Cannot specify the same task more than once. :param entity_recognition_tasks: - :type entity_recognition_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesTask] + :type entity_recognition_tasks: list[~azure.ai.textanalytics.v3_1.models.EntitiesTask] :param entity_recognition_pii_tasks: - :type entity_recognition_pii_tasks: list[~azure.ai.textanalytics.v3_1_preview_5.models.PiiTask] + :type entity_recognition_pii_tasks: list[~azure.ai.textanalytics.v3_1.models.PiiTask] :param key_phrase_extraction_tasks: - :type key_phrase_extraction_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhrasesTask] + :type key_phrase_extraction_tasks: list[~azure.ai.textanalytics.v3_1.models.KeyPhrasesTask] :param entity_linking_tasks: - :type entity_linking_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingTask] + :type entity_linking_tasks: list[~azure.ai.textanalytics.v3_1.models.EntityLinkingTask] :param sentiment_analysis_tasks: - :type sentiment_analysis_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.SentimentAnalysisTask] + :type sentiment_analysis_tasks: list[~azure.ai.textanalytics.v3_1.models.SentimentAnalysisTask] """ _attribute_map = { @@ -1381,12 +1535,12 @@ class KeyPhraseResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentKeyPhrases] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentKeyPhrases] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1419,11 +1573,14 @@ class KeyPhrasesTask(msrest.serialization.Model): """KeyPhrasesTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhrasesTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.KeyPhrasesTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'KeyPhrasesTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( @@ -1432,6 +1589,7 @@ def __init__( ): super(KeyPhrasesTask, self).__init__(**kwargs) self.parameters = kwargs.get('parameters', None) + self.task_name = kwargs.get('task_name', None) class KeyPhrasesTaskParameters(msrest.serialization.Model): @@ -1457,13 +1615,32 @@ def __init__( self.logging_opt_out = kwargs.get('logging_opt_out', False) +class KeyPhraseTaskResult(msrest.serialization.Model): + """KeyPhraseTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, + } + + def __init__( + self, + **kwargs + ): + super(KeyPhraseTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + + class LanguageBatchInput(msrest.serialization.Model): """LanguageBatchInput. All required parameters must be populated in order to send to Azure. :param documents: Required. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] """ _validation = { @@ -1522,12 +1699,12 @@ class LanguageResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentLanguage] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentLanguage] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1564,7 +1741,7 @@ class LinkedEntity(msrest.serialization.Model): :param name: Required. Entity Linking formal name. :type name: str :param matches: Required. List of instances this entity appears in the text. - :type matches: list[~azure.ai.textanalytics.v3_1_preview_5.models.Match] + :type matches: list[~azure.ai.textanalytics.v3_1.models.Match] :param language: Required. Language used in the data source. :type language: str :param id: Unique identifier of the recognized entity from the data source. @@ -1657,7 +1834,7 @@ class MultiLanguageBatchInput(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] """ _validation = { @@ -1722,12 +1899,12 @@ class PiiDocumentEntities(msrest.serialization.Model): :param redacted_text: Required. Returns redacted text. :type redacted_text: str :param entities: Required. Recognized entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.Entity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.Entity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -1763,12 +1940,12 @@ class PiiResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.PiiDocumentEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.PiiDocumentEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1801,11 +1978,14 @@ class PiiTask(msrest.serialization.Model): """PiiTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.PiiTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'PiiTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( @@ -1814,22 +1994,23 @@ def __init__( ): super(PiiTask, self).__init__(**kwargs) self.parameters = kwargs.get('parameters', None) + self.task_name = kwargs.get('task_name', None) class PiiTaskParameters(msrest.serialization.Model): """PiiTaskParameters. :param domain: Possible values include: "phi", "none". Default value: "none". - :type domain: str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiTaskParametersDomain + :type domain: str or ~azure.ai.textanalytics.v3_1.models.PiiTaskParametersDomain :param model_version: :type model_version: str :param logging_opt_out: :type logging_opt_out: bool :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _validation = { @@ -1840,7 +2021,7 @@ class PiiTaskParameters(msrest.serialization.Model): 'domain': {'key': 'domain', 'type': 'str'}, 'model_version': {'key': 'model-version', 'type': 'str'}, 'logging_opt_out': {'key': 'loggingOptOut', 'type': 'bool'}, - 'pii_categories': {'key': 'pii-categories', 'type': '[str]'}, + 'pii_categories': {'key': 'piiCategories', 'type': '[str]'}, 'string_index_type': {'key': 'stringIndexType', 'type': 'str'}, } @@ -1856,6 +2037,25 @@ def __init__( self.string_index_type = kwargs.get('string_index_type', None) +class PiiTaskResult(msrest.serialization.Model): + """PiiTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.PiiResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'PiiResult'}, + } + + def __init__( + self, + **kwargs + ): + super(PiiTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + + class RequestStatistics(msrest.serialization.Model): """if showStats=true was specified in the request this field will contain information about the request payload. @@ -1905,10 +2105,9 @@ class SentenceAssessment(msrest.serialization.Model): :param sentiment: Required. Assessment sentiment in the sentence. Possible values include: "positive", "mixed", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TokenSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.TokenSentimentValue :param confidence_scores: Required. Assessment sentiment confidence scores in the sentence. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.TargetConfidenceScoreLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.TargetConfidenceScoreLabel :param offset: Required. The assessment offset from the start of the sentence. :type offset: int :param length: Required. The length of the assessment. @@ -1959,19 +2158,18 @@ class SentenceSentiment(msrest.serialization.Model): :type text: str :param sentiment: Required. The predicted Sentiment for the sentence. Possible values include: "positive", "neutral", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.SentenceSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.SentenceSentimentValue :param confidence_scores: Required. The sentiment confidence score between 0 and 1 for the sentence for all classes. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentConfidenceScorePerLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.SentimentConfidenceScorePerLabel :param offset: Required. The sentence offset from the start of the document. :type offset: int :param length: Required. The length of the sentence. :type length: int :param targets: The array of sentence targets for the sentence. - :type targets: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceTarget] + :type targets: list[~azure.ai.textanalytics.v3_1.models.SentenceTarget] :param assessments: The array of assessments for the sentence. - :type assessments: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceAssessment] + :type assessments: list[~azure.ai.textanalytics.v3_1.models.SentenceAssessment] """ _validation = { @@ -2013,11 +2211,10 @@ class SentenceTarget(msrest.serialization.Model): :param sentiment: Required. Targeted sentiment in the sentence. Possible values include: "positive", "mixed", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TokenSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.TokenSentimentValue :param confidence_scores: Required. Target sentiment confidence scores for the target in the sentence. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.TargetConfidenceScoreLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.TargetConfidenceScoreLabel :param offset: Required. The target offset from the start of the sentence. :type offset: int :param length: Required. The length of the target. @@ -2026,7 +2223,7 @@ class SentenceTarget(msrest.serialization.Model): :type text: str :param relations: Required. The array of either assessment or target objects which is related to the target. - :type relations: list[~azure.ai.textanalytics.v3_1_preview_5.models.TargetRelation] + :type relations: list[~azure.ai.textanalytics.v3_1.models.TargetRelation] """ _validation = { @@ -2064,11 +2261,14 @@ class SentimentAnalysisTask(msrest.serialization.Model): """SentimentAnalysisTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentAnalysisTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.SentimentAnalysisTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'SentimentAnalysisTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( @@ -2077,6 +2277,7 @@ def __init__( ): super(SentimentAnalysisTask, self).__init__(**kwargs) self.parameters = kwargs.get('parameters', None) + self.task_name = kwargs.get('task_name', None) class SentimentAnalysisTaskParameters(msrest.serialization.Model): @@ -2090,7 +2291,7 @@ class SentimentAnalysisTaskParameters(msrest.serialization.Model): :type opinion_mining: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -2152,12 +2353,12 @@ class SentimentResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Sentiment analysis per document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentSentiment] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentSentiment] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -2186,6 +2387,25 @@ def __init__( self.model_version = kwargs['model_version'] +class SentimentTaskResult(msrest.serialization.Model): + """SentimentTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.SentimentResponse + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'SentimentResponse'}, + } + + def __init__( + self, + **kwargs + ): + super(SentimentTaskResult, self).__init__(**kwargs) + self.results = kwargs.get('results', None) + + class TargetConfidenceScoreLabel(msrest.serialization.Model): """Represents the confidence scores across all sentiment classes: positive, neutral, negative. @@ -2223,7 +2443,7 @@ class TargetRelation(msrest.serialization.Model): :param relation_type: Required. The type related to the target. Possible values include: "assessment", "target". - :type relation_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TargetRelationType + :type relation_type: str or ~azure.ai.textanalytics.v3_1.models.TargetRelationType :param ref: Required. The JSON pointer indicating the linked object. :type ref: str """ @@ -2252,8 +2472,6 @@ class TasksStateTasks(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param details: - :type details: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksDetails :param completed: Required. :type completed: int :param failed: Required. @@ -2264,19 +2482,19 @@ class TasksStateTasks(msrest.serialization.Model): :type total: int :param entity_recognition_tasks: :type entity_recognition_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityRecognitionTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityRecognitionTasksItem] :param entity_recognition_pii_tasks: :type entity_recognition_pii_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityRecognitionPiiTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityRecognitionPiiTasksItem] :param key_phrase_extraction_tasks: :type key_phrase_extraction_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksKeyPhraseExtractionTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksKeyPhraseExtractionTasksItem] :param entity_linking_tasks: :type entity_linking_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityLinkingTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityLinkingTasksItem] :param sentiment_analysis_tasks: :type sentiment_analysis_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksSentimentAnalysisTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksSentimentAnalysisTasksItem] """ _validation = { @@ -2287,7 +2505,6 @@ class TasksStateTasks(msrest.serialization.Model): } _attribute_map = { - 'details': {'key': 'details', 'type': 'TasksStateTasksDetails'}, 'completed': {'key': 'completed', 'type': 'int'}, 'failed': {'key': 'failed', 'type': 'int'}, 'in_progress': {'key': 'inProgress', 'type': 'int'}, @@ -2304,7 +2521,6 @@ def __init__( **kwargs ): super(TasksStateTasks, self).__init__(**kwargs) - self.details = kwargs.get('details', None) self.completed = kwargs['completed'] self.failed = kwargs['failed'] self.in_progress = kwargs['in_progress'] @@ -2323,21 +2539,22 @@ class TaskState(msrest.serialization.Model): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2347,67 +2564,36 @@ def __init__( ): super(TaskState, self).__init__(**kwargs) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] -class TasksStateTasksDetails(TaskState): - """TasksStateTasksDetails. - - All required parameters must be populated in order to send to Azure. - - :param last_update_date_time: Required. - :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str - :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - """ - - _validation = { - 'last_update_date_time': {'required': True}, - 'status': {'required': True}, - } - - _attribute_map = { - 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__( - self, - **kwargs - ): - super(TasksStateTasksDetails, self).__init__(**kwargs) - - -class TasksStateTasksEntityLinkingTasksItem(TaskState, ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1): +class TasksStateTasksEntityLinkingTasksItem(TaskState, EntityLinkingTaskResult): """TasksStateTasksEntityLinkingTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult + :type results: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2418,35 +2604,36 @@ def __init__( super(TasksStateTasksEntityLinkingTasksItem, self).__init__(**kwargs) self.results = kwargs.get('results', None) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] -class TasksStateTasksEntityRecognitionPiiTasksItem(TaskState, Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1): +class TasksStateTasksEntityRecognitionPiiTasksItem(TaskState, PiiTaskResult): """TasksStateTasksEntityRecognitionPiiTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :type results: ~azure.ai.textanalytics.v3_1.models.PiiResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'PiiResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2457,35 +2644,36 @@ def __init__( super(TasksStateTasksEntityRecognitionPiiTasksItem, self).__init__(**kwargs) self.results = kwargs.get('results', None) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] -class TasksStateTasksEntityRecognitionTasksItem(TaskState, Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1): +class TasksStateTasksEntityRecognitionTasksItem(TaskState, EntitiesTaskResult): """TasksStateTasksEntityRecognitionTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult + :type results: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'EntitiesResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2496,35 +2684,36 @@ def __init__( super(TasksStateTasksEntityRecognitionTasksItem, self).__init__(**kwargs) self.results = kwargs.get('results', None) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] -class TasksStateTasksKeyPhraseExtractionTasksItem(TaskState, Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1): +class TasksStateTasksKeyPhraseExtractionTasksItem(TaskState, KeyPhraseTaskResult): """TasksStateTasksKeyPhraseExtractionTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult + :type results: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2535,35 +2724,36 @@ def __init__( super(TasksStateTasksKeyPhraseExtractionTasksItem, self).__init__(**kwargs) self.results = kwargs.get('results', None) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] -class TasksStateTasksSentimentAnalysisTasksItem(TaskState, Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1): +class TasksStateTasksSentimentAnalysisTasksItem(TaskState, SentimentTaskResult): """TasksStateTasksSentimentAnalysisTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse + :type results: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'SentimentResponse'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2574,7 +2764,7 @@ def __init__( super(TasksStateTasksSentimentAnalysisTasksItem, self).__init__(**kwargs) self.results = kwargs.get('results', None) self.last_update_date_time = kwargs['last_update_date_time'] - self.name = kwargs.get('name', None) + self.task_name = kwargs['task_name'] self.status = kwargs['status'] @@ -2585,15 +2775,15 @@ class TextAnalyticsError(msrest.serialization.Model): :param code: Required. Error code. Possible values include: "InvalidRequest", "InvalidArgument", "InternalServerError", "ServiceUnavailable", "NotFound". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.ErrorCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.ErrorCodeValue :param message: Required. Error message. :type message: str :param target: Error target. :type target: str :param innererror: Inner error contains more specific information. - :type innererror: ~azure.ai.textanalytics.v3_1_preview_5.models.InnerError + :type innererror: ~azure.ai.textanalytics.v3_1.models.InnerError :param details: Details about specific errors that led to this reported error. - :type details: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] + :type details: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] """ _validation = { @@ -2628,7 +2818,7 @@ class TextAnalyticsWarning(msrest.serialization.Model): :param code: Required. Error code. Possible values include: "LongWordsInDocument", "DocumentTruncated". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.WarningCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.WarningCodeValue :param message: Required. Warning message. :type message: str :param target_ref: A JSON pointer reference indicating the target object. diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models_py3.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models_py3.py similarity index 79% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models_py3.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models_py3.py index 47fa9381e50b..956013a60c86 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_models_py3.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_models_py3.py @@ -15,6 +15,34 @@ from ._text_analytics_client_enums import * +class AnalysisInput(msrest.serialization.Model): + """AnalysisInput. + + All required parameters must be populated in order to send to Azure. + + :param analysis_input: Required. Contains a set of input documents to be analyzed by the + service. + :type analysis_input: ~azure.ai.textanalytics.v3_1.models.MultiLanguageBatchInput + """ + + _validation = { + 'analysis_input': {'required': True}, + } + + _attribute_map = { + 'analysis_input': {'key': 'analysisInput', 'type': 'MultiLanguageBatchInput'}, + } + + def __init__( + self, + *, + analysis_input: "MultiLanguageBatchInput", + **kwargs + ): + super(AnalysisInput, self).__init__(**kwargs) + self.analysis_input = analysis_input + + class JobManifest(msrest.serialization.Model): """JobManifest. @@ -22,7 +50,7 @@ class JobManifest(msrest.serialization.Model): :param tasks: Required. The set of tasks to execute on the input documents. Cannot specify the same task more than once. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.JobManifestTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.JobManifestTasks """ _validation = { @@ -64,19 +92,19 @@ def __init__( self.display_name = display_name -class AnalyzeBatchInput(JobDescriptor, JobManifest): +class AnalyzeBatchInput(JobDescriptor, AnalysisInput, JobManifest): """AnalyzeBatchInput. All required parameters must be populated in order to send to Azure. :param tasks: Required. The set of tasks to execute on the input documents. Cannot specify the same task more than once. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.JobManifestTasks - :param display_name: Optional display name for the analysis job. - :type display_name: str + :type tasks: ~azure.ai.textanalytics.v3_1.models.JobManifestTasks :param analysis_input: Required. Contains a set of input documents to be analyzed by the service. - :type analysis_input: ~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageBatchInput + :type analysis_input: ~azure.ai.textanalytics.v3_1.models.MultiLanguageBatchInput + :param display_name: Optional display name for the analysis job. + :type display_name: str """ _validation = { @@ -86,8 +114,8 @@ class AnalyzeBatchInput(JobDescriptor, JobManifest): _attribute_map = { 'tasks': {'key': 'tasks', 'type': 'JobManifestTasks'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, 'analysis_input': {'key': 'analysisInput', 'type': 'MultiLanguageBatchInput'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -98,11 +126,61 @@ def __init__( display_name: Optional[str] = None, **kwargs ): - super(AnalyzeBatchInput, self).__init__(display_name=display_name, tasks=tasks, **kwargs) + super(AnalyzeBatchInput, self).__init__(display_name=display_name, analysis_input=analysis_input, tasks=tasks, **kwargs) self.tasks = tasks self.analysis_input = analysis_input + self.tasks = tasks self.display_name = display_name self.analysis_input = analysis_input + self.display_name = display_name + + +class AnalyzeJobDisplayName(msrest.serialization.Model): + """AnalyzeJobDisplayName. + + :param display_name: + :type display_name: str + """ + + _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__( + self, + *, + display_name: Optional[str] = None, + **kwargs + ): + super(AnalyzeJobDisplayName, self).__init__(**kwargs) + self.display_name = display_name + + +class AnalyzeJobErrorsAndStatistics(msrest.serialization.Model): + """AnalyzeJobErrorsAndStatistics. + + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + :param statistics: if showStats=true was specified in the request this field will contain + information about the request payload. + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics + """ + + _attribute_map = { + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, + } + + def __init__( + self, + *, + errors: Optional[List["TextAnalyticsError"]] = None, + statistics: Optional["RequestStatistics"] = None, + **kwargs + ): + super(AnalyzeJobErrorsAndStatistics, self).__init__(**kwargs) + self.errors = errors + self.statistics = statistics class JobMetadata(msrest.serialization.Model): @@ -119,8 +197,8 @@ class JobMetadata(msrest.serialization.Model): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -156,11 +234,13 @@ def __init__( self.status = status -class AnalyzeJobMetadata(JobMetadata): +class AnalyzeJobMetadata(JobMetadata, AnalyzeJobDisplayName): """AnalyzeJobMetadata. All required parameters must be populated in order to send to Azure. + :param display_name: + :type display_name: str :param created_date_time: Required. :type created_date_time: ~datetime.datetime :param expiration_date_time: @@ -170,10 +250,8 @@ class AnalyzeJobMetadata(JobMetadata): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param display_name: - :type display_name: str + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -184,12 +262,12 @@ class AnalyzeJobMetadata(JobMetadata): } _attribute_map = { + 'display_name': {'key': 'displayName', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -199,12 +277,17 @@ def __init__( job_id: str, last_update_date_time: datetime.datetime, status: Union[str, "State"], - expiration_date_time: Optional[datetime.datetime] = None, display_name: Optional[str] = None, + expiration_date_time: Optional[datetime.datetime] = None, **kwargs ): - super(AnalyzeJobMetadata, self).__init__(created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, **kwargs) + super(AnalyzeJobMetadata, self).__init__(created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, display_name=display_name, **kwargs) self.display_name = display_name + self.created_date_time = created_date_time + self.expiration_date_time = expiration_date_time + self.job_id = job_id + self.last_update_date_time = last_update_date_time + self.status = status class Pagination(msrest.serialization.Model): @@ -234,7 +317,7 @@ class TasksState(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param tasks: Required. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.TasksStateTasks """ _validation = { @@ -255,15 +338,22 @@ def __init__( self.tasks = tasks -class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): +class AnalyzeJobState(AnalyzeJobMetadata, TasksState, AnalyzeJobErrorsAndStatistics, Pagination): """AnalyzeJobState. All required parameters must be populated in order to send to Azure. :param next_link: :type next_link: str + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + :param statistics: if showStats=true was specified in the request this field will contain + information about the request payload. + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param tasks: Required. - :type tasks: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasks + :type tasks: ~azure.ai.textanalytics.v3_1.models.TasksStateTasks + :param display_name: + :type display_name: str :param created_date_time: Required. :type created_date_time: ~datetime.datetime :param expiration_date_time: @@ -273,15 +363,8 @@ class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param display_name: - :type display_name: str - :param errors: - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] - :param statistics: if showStats=true was specified in the request this field will contain - information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -294,15 +377,15 @@ class AnalyzeJobState(AnalyzeJobMetadata, TasksState, Pagination): _attribute_map = { 'next_link': {'key': '@nextLink', 'type': 'str'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, 'tasks': {'key': 'tasks', 'type': 'TasksStateTasks'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'display_name': {'key': 'displayName', 'type': 'str'}, - 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, - 'statistics': {'key': 'statistics', 'type': 'RequestStatistics'}, } def __init__( @@ -314,140 +397,43 @@ def __init__( last_update_date_time: datetime.datetime, status: Union[str, "State"], next_link: Optional[str] = None, - expiration_date_time: Optional[datetime.datetime] = None, - display_name: Optional[str] = None, errors: Optional[List["TextAnalyticsError"]] = None, statistics: Optional["RequestStatistics"] = None, + display_name: Optional[str] = None, + expiration_date_time: Optional[datetime.datetime] = None, **kwargs ): - super(AnalyzeJobState, self).__init__(created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, display_name=display_name, tasks=tasks, next_link=next_link, **kwargs) + super(AnalyzeJobState, self).__init__(display_name=display_name, created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, tasks=tasks, errors=errors, statistics=statistics, next_link=next_link, **kwargs) self.next_link = next_link - self.tasks = tasks self.errors = errors self.statistics = statistics + self.tasks = tasks self.next_link = next_link + self.errors = errors + self.statistics = statistics + self.display_name = display_name self.created_date_time = created_date_time self.expiration_date_time = expiration_date_time self.job_id = job_id self.last_update_date_time = last_update_date_time self.status = status + self.next_link = next_link + self.tasks = tasks self.display_name = display_name + self.created_date_time = created_date_time + self.expiration_date_time = expiration_date_time + self.job_id = job_id + self.last_update_date_time = last_update_date_time + self.status = status self.errors = errors self.statistics = statistics self.tasks = tasks + self.display_name = display_name self.created_date_time = created_date_time self.expiration_date_time = expiration_date_time self.job_id = job_id self.last_update_date_time = last_update_date_time self.status = status - self.display_name = display_name - self.errors = errors - self.statistics = statistics - - -class Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1(msrest.serialization.Model): - """Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'EntitiesResult'}, - } - - def __init__( - self, - *, - results: Optional["EntitiesResult"] = None, - **kwargs - ): - super(Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1, self).__init__(**kwargs) - self.results = results - - -class Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1(msrest.serialization.Model): - """Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'PiiResult'}, - } - - def __init__( - self, - *, - results: Optional["PiiResult"] = None, - **kwargs - ): - super(Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1, self).__init__(**kwargs) - self.results = results - - -class Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1(msrest.serialization.Model): - """Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'SentimentResponse'}, - } - - def __init__( - self, - *, - results: Optional["SentimentResponse"] = None, - **kwargs - ): - super(Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1, self).__init__(**kwargs) - self.results = results - - -class Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1(msrest.serialization.Model): - """Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, - } - - def __init__( - self, - *, - results: Optional["KeyPhraseResult"] = None, - **kwargs - ): - super(Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1, self).__init__(**kwargs) - self.results = results - - -class ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1(msrest.serialization.Model): - """ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1. - - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult - """ - - _attribute_map = { - 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, - } - - def __init__( - self, - *, - results: Optional["EntityLinkingResult"] = None, - **kwargs - ): - super(ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1, self).__init__(**kwargs) - self.results = results class DetectedLanguage(msrest.serialization.Model): @@ -499,12 +485,12 @@ class DocumentEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Recognized entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.Entity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.Entity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -544,7 +530,7 @@ class DocumentError(msrest.serialization.Model): :param id: Required. Document Id. :type id: str :param error: Required. Document Error. - :type error: ~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError + :type error: ~azure.ai.textanalytics.v3_1.models.TextAnalyticsError """ _validation = { @@ -577,14 +563,14 @@ class DocumentHealthcareEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Healthcare entities. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntity] :param relations: Required. Healthcare entity relations. - :type relations: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareRelation] + :type relations: list[~azure.ai.textanalytics.v3_1.models.HealthcareRelation] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -631,10 +617,10 @@ class DocumentKeyPhrases(msrest.serialization.Model): phrases returned is proportional to the number of words in the input document. :type key_phrases: list[str] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -674,12 +660,12 @@ class DocumentLanguage(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param detected_language: Required. Detected Language. - :type detected_language: ~azure.ai.textanalytics.v3_1_preview_5.models.DetectedLanguage + :type detected_language: ~azure.ai.textanalytics.v3_1.models.DetectedLanguage :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -719,12 +705,12 @@ class DocumentLinkedEntities(msrest.serialization.Model): :param id: Required. Unique, non-empty document identifier. :type id: str :param entities: Required. Recognized well known entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.LinkedEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.LinkedEntity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -765,18 +751,17 @@ class DocumentSentiment(msrest.serialization.Model): :type id: str :param sentiment: Required. Predicted sentiment for document (Negative, Neutral, Positive, or Mixed). Possible values include: "positive", "neutral", "negative", "mixed". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.DocumentSentimentValue :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics :param confidence_scores: Required. Document level sentiment confidence scores between 0 and 1 for each sentiment class. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentConfidenceScorePerLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.SentimentConfidenceScorePerLabel :param sentences: Required. Sentence level sentiment analysis. - :type sentences: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceSentiment] + :type sentences: list[~azure.ai.textanalytics.v3_1.models.SentenceSentiment] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] """ _validation = { @@ -855,12 +840,12 @@ class EntitiesResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -898,21 +883,26 @@ class EntitiesTask(msrest.serialization.Model): """EntitiesTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.EntitiesTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'EntitiesTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( self, *, parameters: Optional["EntitiesTaskParameters"] = None, + task_name: Optional[str] = None, **kwargs ): super(EntitiesTask, self).__init__(**kwargs) self.parameters = parameters + self.task_name = task_name class EntitiesTaskParameters(msrest.serialization.Model): @@ -924,7 +914,7 @@ class EntitiesTaskParameters(msrest.serialization.Model): :type logging_opt_out: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -947,6 +937,27 @@ def __init__( self.string_index_type = string_index_type +class EntitiesTaskResult(msrest.serialization.Model): + """EntitiesTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.EntitiesResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'EntitiesResult'}, + } + + def __init__( + self, + *, + results: Optional["EntitiesResult"] = None, + **kwargs + ): + super(EntitiesTaskResult, self).__init__(**kwargs) + self.results = results + + class Entity(msrest.serialization.Model): """Entity. @@ -1011,12 +1022,12 @@ class EntityLinkingResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentLinkedEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentLinkedEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1054,21 +1065,26 @@ class EntityLinkingTask(msrest.serialization.Model): """EntityLinkingTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.EntityLinkingTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'EntityLinkingTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( self, *, parameters: Optional["EntityLinkingTaskParameters"] = None, + task_name: Optional[str] = None, **kwargs ): super(EntityLinkingTask, self).__init__(**kwargs) self.parameters = parameters + self.task_name = task_name class EntityLinkingTaskParameters(msrest.serialization.Model): @@ -1080,7 +1096,7 @@ class EntityLinkingTaskParameters(msrest.serialization.Model): :type logging_opt_out: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -1103,13 +1119,34 @@ def __init__( self.string_index_type = string_index_type +class EntityLinkingTaskResult(msrest.serialization.Model): + """EntityLinkingTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, + } + + def __init__( + self, + *, + results: Optional["EntityLinkingResult"] = None, + **kwargs + ): + super(EntityLinkingTaskResult, self).__init__(**kwargs) + self.results = results + + class ErrorResponse(msrest.serialization.Model): """ErrorResponse. All required parameters must be populated in order to send to Azure. :param error: Required. Document Error. - :type error: ~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError + :type error: ~azure.ai.textanalytics.v3_1.models.TextAnalyticsError """ _validation = { @@ -1135,13 +1172,13 @@ class HealthcareAssertion(msrest.serialization.Model): :param conditionality: Describes any conditionality on the entity. Possible values include: "hypothetical", "conditional". - :type conditionality: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Conditionality + :type conditionality: str or ~azure.ai.textanalytics.v3_1.models.Conditionality :param certainty: Describes the entities certainty and polarity. Possible values include: "positive", "positivePossible", "neutralPossible", "negativePossible", "negative". - :type certainty: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Certainty + :type certainty: str or ~azure.ai.textanalytics.v3_1.models.Certainty :param association: Describes if the entity is the subject of the text or if it describes someone else. Possible values include: "subject", "other". - :type association: str or ~azure.ai.textanalytics.v3_1_preview_5.models.Association + :type association: str or ~azure.ai.textanalytics.v3_1.models.Association """ _attribute_map = { @@ -1164,15 +1201,52 @@ def __init__( self.association = association -class HealthcareEntity(Entity): - """HealthcareEntity. +class HealthcareLinkingProperties(msrest.serialization.Model): + """HealthcareLinkingProperties. + + :param assertion: + :type assertion: ~azure.ai.textanalytics.v3_1.models.HealthcareAssertion + :param name: Preferred name for the entity. Example: 'histologically' would have a 'name' of + 'histologic'. + :type name: str + :param links: Entity references in known data sources. + :type links: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntityLink] + """ + + _attribute_map = { + 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, + 'name': {'key': 'name', 'type': 'str'}, + 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, + } + + def __init__( + self, + *, + assertion: Optional["HealthcareAssertion"] = None, + name: Optional[str] = None, + links: Optional[List["HealthcareEntityLink"]] = None, + **kwargs + ): + super(HealthcareLinkingProperties, self).__init__(**kwargs) + self.assertion = assertion + self.name = name + self.links = links + + +class HealthcareEntityProperties(msrest.serialization.Model): + """HealthcareEntityProperties. All required parameters must be populated in order to send to Azure. :param text: Required. Entity text as appears in the request. :type text: str - :param category: Required. Entity type. - :type category: str + :param category: Required. Healthcare Entity Category. Possible values include: + "BODY_STRUCTURE", "AGE", "GENDER", "EXAMINATION_NAME", "DATE", "DIRECTION", "FREQUENCY", + "MEASUREMENT_VALUE", "MEASUREMENT_UNIT", "RELATIONAL_OPERATOR", "TIME", "GENE_OR_PROTEIN", + "VARIANT", "ADMINISTRATIVE_EVENT", "CARE_ENVIRONMENT", "HEALTHCARE_PROFESSION", "DIAGNOSIS", + "SYMPTOM_OR_SIGN", "CONDITION_QUALIFIER", "MEDICATION_CLASS", "MEDICATION_NAME", "DOSAGE", + "MEDICATION_FORM", "MEDICATION_ROUTE", "FAMILY_RELATION", "TREATMENT_NAME". + :type category: str or ~azure.ai.textanalytics.v3_1.models.HealthcareEntityCategory :param subcategory: (Optional) Entity sub type. :type subcategory: str :param offset: Required. Start position for the entity text. Use of different 'stringIndexType' @@ -1183,13 +1257,76 @@ class HealthcareEntity(Entity): :type length: int :param confidence_score: Required. Confidence score between 0 and 1 of the extracted entity. :type confidence_score: float + """ + + _validation = { + 'text': {'required': True}, + 'category': {'required': True}, + 'offset': {'required': True}, + 'length': {'required': True}, + 'confidence_score': {'required': True}, + } + + _attribute_map = { + 'text': {'key': 'text', 'type': 'str'}, + 'category': {'key': 'category', 'type': 'str'}, + 'subcategory': {'key': 'subcategory', 'type': 'str'}, + 'offset': {'key': 'offset', 'type': 'int'}, + 'length': {'key': 'length', 'type': 'int'}, + 'confidence_score': {'key': 'confidenceScore', 'type': 'float'}, + } + + def __init__( + self, + *, + text: str, + category: Union[str, "HealthcareEntityCategory"], + offset: int, + length: int, + confidence_score: float, + subcategory: Optional[str] = None, + **kwargs + ): + super(HealthcareEntityProperties, self).__init__(**kwargs) + self.text = text + self.category = category + self.subcategory = subcategory + self.offset = offset + self.length = length + self.confidence_score = confidence_score + + +class HealthcareEntity(HealthcareEntityProperties, HealthcareLinkingProperties): + """HealthcareEntity. + + All required parameters must be populated in order to send to Azure. + :param assertion: - :type assertion: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareAssertion + :type assertion: ~azure.ai.textanalytics.v3_1.models.HealthcareAssertion :param name: Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. :type name: str :param links: Entity references in known data sources. - :type links: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareEntityLink] + :type links: list[~azure.ai.textanalytics.v3_1.models.HealthcareEntityLink] + :param text: Required. Entity text as appears in the request. + :type text: str + :param category: Required. Healthcare Entity Category. Possible values include: + "BODY_STRUCTURE", "AGE", "GENDER", "EXAMINATION_NAME", "DATE", "DIRECTION", "FREQUENCY", + "MEASUREMENT_VALUE", "MEASUREMENT_UNIT", "RELATIONAL_OPERATOR", "TIME", "GENE_OR_PROTEIN", + "VARIANT", "ADMINISTRATIVE_EVENT", "CARE_ENVIRONMENT", "HEALTHCARE_PROFESSION", "DIAGNOSIS", + "SYMPTOM_OR_SIGN", "CONDITION_QUALIFIER", "MEDICATION_CLASS", "MEDICATION_NAME", "DOSAGE", + "MEDICATION_FORM", "MEDICATION_ROUTE", "FAMILY_RELATION", "TREATMENT_NAME". + :type category: str or ~azure.ai.textanalytics.v3_1.models.HealthcareEntityCategory + :param subcategory: (Optional) Entity sub type. + :type subcategory: str + :param offset: Required. Start position for the entity text. Use of different 'stringIndexType' + values can affect the offset returned. + :type offset: int + :param length: Required. Length for the entity text. Use of different 'stringIndexType' values + can affect the length returned. + :type length: int + :param confidence_score: Required. Confidence score between 0 and 1 of the extracted entity. + :type confidence_score: float """ _validation = { @@ -1201,35 +1338,41 @@ class HealthcareEntity(Entity): } _attribute_map = { + 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, + 'name': {'key': 'name', 'type': 'str'}, + 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, 'text': {'key': 'text', 'type': 'str'}, 'category': {'key': 'category', 'type': 'str'}, 'subcategory': {'key': 'subcategory', 'type': 'str'}, 'offset': {'key': 'offset', 'type': 'int'}, 'length': {'key': 'length', 'type': 'int'}, 'confidence_score': {'key': 'confidenceScore', 'type': 'float'}, - 'assertion': {'key': 'assertion', 'type': 'HealthcareAssertion'}, - 'name': {'key': 'name', 'type': 'str'}, - 'links': {'key': 'links', 'type': '[HealthcareEntityLink]'}, } def __init__( self, *, text: str, - category: str, + category: Union[str, "HealthcareEntityCategory"], offset: int, length: int, confidence_score: float, - subcategory: Optional[str] = None, assertion: Optional["HealthcareAssertion"] = None, name: Optional[str] = None, links: Optional[List["HealthcareEntityLink"]] = None, + subcategory: Optional[str] = None, **kwargs ): - super(HealthcareEntity, self).__init__(text=text, category=category, subcategory=subcategory, offset=offset, length=length, confidence_score=confidence_score, **kwargs) + super(HealthcareEntity, self).__init__(text=text, category=category, subcategory=subcategory, offset=offset, length=length, confidence_score=confidence_score, assertion=assertion, name=name, links=links, **kwargs) self.assertion = assertion self.name = name self.links = links + self.text = text + self.category = category + self.subcategory = subcategory + self.offset = offset + self.length = length + self.confidence_score = confidence_score class HealthcareEntityLink(msrest.serialization.Model): @@ -1265,11 +1408,41 @@ def __init__( self.id = id -class HealthcareJobState(JobMetadata, Pagination): +class HealthcareTaskResult(msrest.serialization.Model): + """HealthcareTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.HealthcareResult + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'HealthcareResult'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, + } + + def __init__( + self, + *, + results: Optional["HealthcareResult"] = None, + errors: Optional[List["TextAnalyticsError"]] = None, + **kwargs + ): + super(HealthcareTaskResult, self).__init__(**kwargs) + self.results = results + self.errors = errors + + +class HealthcareJobState(JobMetadata, Pagination, HealthcareTaskResult): """HealthcareJobState. All required parameters must be populated in order to send to Azure. + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.HealthcareResult + :param errors: + :type errors: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] :param next_link: :type next_link: str :param created_date_time: Required. @@ -1281,12 +1454,8 @@ class HealthcareJobState(JobMetadata, Pagination): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareResult - :param errors: - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { @@ -1297,14 +1466,14 @@ class HealthcareJobState(JobMetadata, Pagination): } _attribute_map = { + 'results': {'key': 'results', 'type': 'HealthcareResult'}, + 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, 'next_link': {'key': '@nextLink', 'type': 'str'}, 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, 'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'}, 'job_id': {'key': 'jobId', 'type': 'str'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, 'status': {'key': 'status', 'type': 'str'}, - 'results': {'key': 'results', 'type': 'HealthcareResult'}, - 'errors': {'key': 'errors', 'type': '[TextAnalyticsError]'}, } def __init__( @@ -1314,13 +1483,15 @@ def __init__( job_id: str, last_update_date_time: datetime.datetime, status: Union[str, "State"], - next_link: Optional[str] = None, - expiration_date_time: Optional[datetime.datetime] = None, results: Optional["HealthcareResult"] = None, errors: Optional[List["TextAnalyticsError"]] = None, + next_link: Optional[str] = None, + expiration_date_time: Optional[datetime.datetime] = None, **kwargs ): - super(HealthcareJobState, self).__init__(created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, next_link=next_link, **kwargs) + super(HealthcareJobState, self).__init__(created_date_time=created_date_time, expiration_date_time=expiration_date_time, job_id=job_id, last_update_date_time=last_update_date_time, status=status, next_link=next_link, results=results, errors=errors, **kwargs) + self.results = results + self.errors = errors self.next_link = next_link self.results = results self.errors = errors @@ -1329,8 +1500,12 @@ def __init__( self.job_id = job_id self.last_update_date_time = last_update_date_time self.status = status - self.results = results - self.errors = errors + self.next_link = next_link + self.created_date_time = created_date_time + self.expiration_date_time = expiration_date_time + self.job_id = job_id + self.last_update_date_time = last_update_date_time + self.status = status class HealthcareRelation(msrest.serialization.Model): @@ -1345,9 +1520,9 @@ class HealthcareRelation(msrest.serialization.Model): "FrequencyOfTreatment", "QualifierOfCondition", "RelationOfExamination", "RouteOfMedication", "TimeOfCondition", "TimeOfEvent", "TimeOfExamination", "TimeOfMedication", "TimeOfTreatment", "UnitOfCondition", "UnitOfExamination", "ValueOfCondition", "ValueOfExamination". - :type relation_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.RelationType + :type relation_type: str or ~azure.ai.textanalytics.v3_1.models.RelationType :param entities: Required. The entities in the relation. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareRelationEntity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.HealthcareRelationEntity] """ _validation = { @@ -1414,12 +1589,12 @@ class HealthcareResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentHealthcareEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentHealthcareEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1462,7 +1637,7 @@ class InnerError(msrest.serialization.Model): "InvalidRequestBodyFormat", "EmptyRequest", "MissingInputRecords", "InvalidDocument", "ModelVersionIncorrect", "InvalidDocumentBatch", "UnsupportedLanguageCode", "InvalidCountryHint". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.InnerErrorCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.InnerErrorCodeValue :param message: Required. Error message. :type message: str :param details: Error details. @@ -1470,7 +1645,7 @@ class InnerError(msrest.serialization.Model): :param target: Error target. :type target: str :param innererror: Inner error contains more specific information. - :type innererror: ~azure.ai.textanalytics.v3_1_preview_5.models.InnerError + :type innererror: ~azure.ai.textanalytics.v3_1.models.InnerError """ _validation = { @@ -1508,19 +1683,15 @@ class JobManifestTasks(msrest.serialization.Model): """The set of tasks to execute on the input documents. Cannot specify the same task more than once. :param entity_recognition_tasks: - :type entity_recognition_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesTask] + :type entity_recognition_tasks: list[~azure.ai.textanalytics.v3_1.models.EntitiesTask] :param entity_recognition_pii_tasks: - :type entity_recognition_pii_tasks: list[~azure.ai.textanalytics.v3_1_preview_5.models.PiiTask] + :type entity_recognition_pii_tasks: list[~azure.ai.textanalytics.v3_1.models.PiiTask] :param key_phrase_extraction_tasks: - :type key_phrase_extraction_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhrasesTask] + :type key_phrase_extraction_tasks: list[~azure.ai.textanalytics.v3_1.models.KeyPhrasesTask] :param entity_linking_tasks: - :type entity_linking_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingTask] + :type entity_linking_tasks: list[~azure.ai.textanalytics.v3_1.models.EntityLinkingTask] :param sentiment_analysis_tasks: - :type sentiment_analysis_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.SentimentAnalysisTask] + :type sentiment_analysis_tasks: list[~azure.ai.textanalytics.v3_1.models.SentimentAnalysisTask] """ _attribute_map = { @@ -1555,12 +1726,12 @@ class KeyPhraseResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentKeyPhrases] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentKeyPhrases] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1598,21 +1769,26 @@ class KeyPhrasesTask(msrest.serialization.Model): """KeyPhrasesTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhrasesTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.KeyPhrasesTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'KeyPhrasesTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( self, *, parameters: Optional["KeyPhrasesTaskParameters"] = None, + task_name: Optional[str] = None, **kwargs ): super(KeyPhrasesTask, self).__init__(**kwargs) self.parameters = parameters + self.task_name = task_name class KeyPhrasesTaskParameters(msrest.serialization.Model): @@ -1641,13 +1817,34 @@ def __init__( self.logging_opt_out = logging_opt_out +class KeyPhraseTaskResult(msrest.serialization.Model): + """KeyPhraseTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, + } + + def __init__( + self, + *, + results: Optional["KeyPhraseResult"] = None, + **kwargs + ): + super(KeyPhraseTaskResult, self).__init__(**kwargs) + self.results = results + + class LanguageBatchInput(msrest.serialization.Model): """LanguageBatchInput. All required parameters must be populated in order to send to Azure. :param documents: Required. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] """ _validation = { @@ -1712,12 +1909,12 @@ class LanguageResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentLanguage] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentLanguage] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -1759,7 +1956,7 @@ class LinkedEntity(msrest.serialization.Model): :param name: Required. Entity Linking formal name. :type name: str :param matches: Required. List of instances this entity appears in the text. - :type matches: list[~azure.ai.textanalytics.v3_1_preview_5.models.Match] + :type matches: list[~azure.ai.textanalytics.v3_1.models.Match] :param language: Required. Language used in the data source. :type language: str :param id: Unique identifier of the recognized entity from the data source. @@ -1865,7 +2062,7 @@ class MultiLanguageBatchInput(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] """ _validation = { @@ -1936,12 +2133,12 @@ class PiiDocumentEntities(msrest.serialization.Model): :param redacted_text: Required. Returns redacted text. :type redacted_text: str :param entities: Required. Recognized entities in the document. - :type entities: list[~azure.ai.textanalytics.v3_1_preview_5.models.Entity] + :type entities: list[~azure.ai.textanalytics.v3_1.models.Entity] :param warnings: Required. Warnings encountered while processing document. - :type warnings: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsWarning] + :type warnings: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsWarning] :param statistics: if showStats=true was specified in the request this field will contain information about the document payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.DocumentStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.DocumentStatistics """ _validation = { @@ -1983,12 +2180,12 @@ class PiiResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Response by document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.PiiDocumentEntities] + :type documents: list[~azure.ai.textanalytics.v3_1.models.PiiDocumentEntities] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -2026,37 +2223,42 @@ class PiiTask(msrest.serialization.Model): """PiiTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.PiiTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'PiiTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( self, *, parameters: Optional["PiiTaskParameters"] = None, + task_name: Optional[str] = None, **kwargs ): super(PiiTask, self).__init__(**kwargs) self.parameters = parameters + self.task_name = task_name class PiiTaskParameters(msrest.serialization.Model): """PiiTaskParameters. :param domain: Possible values include: "phi", "none". Default value: "none". - :type domain: str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiTaskParametersDomain + :type domain: str or ~azure.ai.textanalytics.v3_1.models.PiiTaskParametersDomain :param model_version: :type model_version: str :param logging_opt_out: :type logging_opt_out: bool :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _validation = { @@ -2067,7 +2269,7 @@ class PiiTaskParameters(msrest.serialization.Model): 'domain': {'key': 'domain', 'type': 'str'}, 'model_version': {'key': 'model-version', 'type': 'str'}, 'logging_opt_out': {'key': 'loggingOptOut', 'type': 'bool'}, - 'pii_categories': {'key': 'pii-categories', 'type': '[str]'}, + 'pii_categories': {'key': 'piiCategories', 'type': '[str]'}, 'string_index_type': {'key': 'stringIndexType', 'type': 'str'}, } @@ -2089,6 +2291,27 @@ def __init__( self.string_index_type = string_index_type +class PiiTaskResult(msrest.serialization.Model): + """PiiTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.PiiResult + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'PiiResult'}, + } + + def __init__( + self, + *, + results: Optional["PiiResult"] = None, + **kwargs + ): + super(PiiTaskResult, self).__init__(**kwargs) + self.results = results + + class RequestStatistics(msrest.serialization.Model): """if showStats=true was specified in the request this field will contain information about the request payload. @@ -2143,10 +2366,9 @@ class SentenceAssessment(msrest.serialization.Model): :param sentiment: Required. Assessment sentiment in the sentence. Possible values include: "positive", "mixed", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TokenSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.TokenSentimentValue :param confidence_scores: Required. Assessment sentiment confidence scores in the sentence. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.TargetConfidenceScoreLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.TargetConfidenceScoreLabel :param offset: Required. The assessment offset from the start of the sentence. :type offset: int :param length: Required. The length of the assessment. @@ -2204,19 +2426,18 @@ class SentenceSentiment(msrest.serialization.Model): :type text: str :param sentiment: Required. The predicted Sentiment for the sentence. Possible values include: "positive", "neutral", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.SentenceSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.SentenceSentimentValue :param confidence_scores: Required. The sentiment confidence score between 0 and 1 for the sentence for all classes. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentConfidenceScorePerLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.SentimentConfidenceScorePerLabel :param offset: Required. The sentence offset from the start of the document. :type offset: int :param length: Required. The length of the sentence. :type length: int :param targets: The array of sentence targets for the sentence. - :type targets: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceTarget] + :type targets: list[~azure.ai.textanalytics.v3_1.models.SentenceTarget] :param assessments: The array of assessments for the sentence. - :type assessments: list[~azure.ai.textanalytics.v3_1_preview_5.models.SentenceAssessment] + :type assessments: list[~azure.ai.textanalytics.v3_1.models.SentenceAssessment] """ _validation = { @@ -2266,11 +2487,10 @@ class SentenceTarget(msrest.serialization.Model): :param sentiment: Required. Targeted sentiment in the sentence. Possible values include: "positive", "mixed", "negative". - :type sentiment: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TokenSentimentValue + :type sentiment: str or ~azure.ai.textanalytics.v3_1.models.TokenSentimentValue :param confidence_scores: Required. Target sentiment confidence scores for the target in the sentence. - :type confidence_scores: - ~azure.ai.textanalytics.v3_1_preview_5.models.TargetConfidenceScoreLabel + :type confidence_scores: ~azure.ai.textanalytics.v3_1.models.TargetConfidenceScoreLabel :param offset: Required. The target offset from the start of the sentence. :type offset: int :param length: Required. The length of the target. @@ -2279,7 +2499,7 @@ class SentenceTarget(msrest.serialization.Model): :type text: str :param relations: Required. The array of either assessment or target objects which is related to the target. - :type relations: list[~azure.ai.textanalytics.v3_1_preview_5.models.TargetRelation] + :type relations: list[~azure.ai.textanalytics.v3_1.models.TargetRelation] """ _validation = { @@ -2324,21 +2544,26 @@ class SentimentAnalysisTask(msrest.serialization.Model): """SentimentAnalysisTask. :param parameters: - :type parameters: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentAnalysisTaskParameters + :type parameters: ~azure.ai.textanalytics.v3_1.models.SentimentAnalysisTaskParameters + :param task_name: + :type task_name: str """ _attribute_map = { 'parameters': {'key': 'parameters', 'type': 'SentimentAnalysisTaskParameters'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, } def __init__( self, *, parameters: Optional["SentimentAnalysisTaskParameters"] = None, + task_name: Optional[str] = None, **kwargs ): super(SentimentAnalysisTask, self).__init__(**kwargs) self.parameters = parameters + self.task_name = task_name class SentimentAnalysisTaskParameters(msrest.serialization.Model): @@ -2352,7 +2577,7 @@ class SentimentAnalysisTaskParameters(msrest.serialization.Model): :type opinion_mining: bool :param string_index_type: Possible values include: "TextElement_v8", "UnicodeCodePoint", "Utf16CodeUnit". - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType """ _attribute_map = { @@ -2423,12 +2648,12 @@ class SentimentResponse(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param documents: Required. Sentiment analysis per document. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentSentiment] + :type documents: list[~azure.ai.textanalytics.v3_1.models.DocumentSentiment] :param errors: Required. Errors by document id. - :type errors: list[~azure.ai.textanalytics.v3_1_preview_5.models.DocumentError] + :type errors: list[~azure.ai.textanalytics.v3_1.models.DocumentError] :param statistics: if showStats=true was specified in the request this field will contain information about the request payload. - :type statistics: ~azure.ai.textanalytics.v3_1_preview_5.models.RequestStatistics + :type statistics: ~azure.ai.textanalytics.v3_1.models.RequestStatistics :param model_version: Required. This field indicates which model is used for scoring. :type model_version: str """ @@ -2462,6 +2687,27 @@ def __init__( self.model_version = model_version +class SentimentTaskResult(msrest.serialization.Model): + """SentimentTaskResult. + + :param results: + :type results: ~azure.ai.textanalytics.v3_1.models.SentimentResponse + """ + + _attribute_map = { + 'results': {'key': 'results', 'type': 'SentimentResponse'}, + } + + def __init__( + self, + *, + results: Optional["SentimentResponse"] = None, + **kwargs + ): + super(SentimentTaskResult, self).__init__(**kwargs) + self.results = results + + class TargetConfidenceScoreLabel(msrest.serialization.Model): """Represents the confidence scores across all sentiment classes: positive, neutral, negative. @@ -2502,7 +2748,7 @@ class TargetRelation(msrest.serialization.Model): :param relation_type: Required. The type related to the target. Possible values include: "assessment", "target". - :type relation_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.TargetRelationType + :type relation_type: str or ~azure.ai.textanalytics.v3_1.models.TargetRelationType :param ref: Required. The JSON pointer indicating the linked object. :type ref: str """ @@ -2534,8 +2780,6 @@ class TasksStateTasks(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. - :param details: - :type details: ~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksDetails :param completed: Required. :type completed: int :param failed: Required. @@ -2546,19 +2790,19 @@ class TasksStateTasks(msrest.serialization.Model): :type total: int :param entity_recognition_tasks: :type entity_recognition_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityRecognitionTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityRecognitionTasksItem] :param entity_recognition_pii_tasks: :type entity_recognition_pii_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityRecognitionPiiTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityRecognitionPiiTasksItem] :param key_phrase_extraction_tasks: :type key_phrase_extraction_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksKeyPhraseExtractionTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksKeyPhraseExtractionTasksItem] :param entity_linking_tasks: :type entity_linking_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksEntityLinkingTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksEntityLinkingTasksItem] :param sentiment_analysis_tasks: :type sentiment_analysis_tasks: - list[~azure.ai.textanalytics.v3_1_preview_5.models.TasksStateTasksSentimentAnalysisTasksItem] + list[~azure.ai.textanalytics.v3_1.models.TasksStateTasksSentimentAnalysisTasksItem] """ _validation = { @@ -2569,7 +2813,6 @@ class TasksStateTasks(msrest.serialization.Model): } _attribute_map = { - 'details': {'key': 'details', 'type': 'TasksStateTasksDetails'}, 'completed': {'key': 'completed', 'type': 'int'}, 'failed': {'key': 'failed', 'type': 'int'}, 'in_progress': {'key': 'inProgress', 'type': 'int'}, @@ -2588,7 +2831,6 @@ def __init__( failed: int, in_progress: int, total: int, - details: Optional["TasksStateTasksDetails"] = None, entity_recognition_tasks: Optional[List["TasksStateTasksEntityRecognitionTasksItem"]] = None, entity_recognition_pii_tasks: Optional[List["TasksStateTasksEntityRecognitionPiiTasksItem"]] = None, key_phrase_extraction_tasks: Optional[List["TasksStateTasksKeyPhraseExtractionTasksItem"]] = None, @@ -2597,7 +2839,6 @@ def __init__( **kwargs ): super(TasksStateTasks, self).__init__(**kwargs) - self.details = details self.completed = completed self.failed = failed self.in_progress = in_progress @@ -2616,21 +2857,22 @@ class TaskState(msrest.serialization.Model): :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2638,77 +2880,42 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], - name: Optional[str] = None, **kwargs ): super(TaskState, self).__init__(**kwargs) self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status -class TasksStateTasksDetails(TaskState): - """TasksStateTasksDetails. - - All required parameters must be populated in order to send to Azure. - - :param last_update_date_time: Required. - :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str - :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State - """ - - _validation = { - 'last_update_date_time': {'required': True}, - 'status': {'required': True}, - } - - _attribute_map = { - 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, - 'status': {'key': 'status', 'type': 'str'}, - } - - def __init__( - self, - *, - last_update_date_time: datetime.datetime, - status: Union[str, "State"], - name: Optional[str] = None, - **kwargs - ): - super(TasksStateTasksDetails, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, **kwargs) - - -class TasksStateTasksEntityLinkingTasksItem(TaskState, ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1): +class TasksStateTasksEntityLinkingTasksItem(TaskState, EntityLinkingTaskResult): """TasksStateTasksEntityLinkingTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult + :type results: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'EntityLinkingResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2716,43 +2923,44 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], results: Optional["EntityLinkingResult"] = None, - name: Optional[str] = None, **kwargs ): - super(TasksStateTasksEntityLinkingTasksItem, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, results=results, **kwargs) + super(TasksStateTasksEntityLinkingTasksItem, self).__init__(last_update_date_time=last_update_date_time, task_name=task_name, status=status, results=results, **kwargs) self.results = results self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status -class TasksStateTasksEntityRecognitionPiiTasksItem(TaskState, Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1): +class TasksStateTasksEntityRecognitionPiiTasksItem(TaskState, PiiTaskResult): """TasksStateTasksEntityRecognitionPiiTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :type results: ~azure.ai.textanalytics.v3_1.models.PiiResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'PiiResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2760,43 +2968,44 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], results: Optional["PiiResult"] = None, - name: Optional[str] = None, **kwargs ): - super(TasksStateTasksEntityRecognitionPiiTasksItem, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, results=results, **kwargs) + super(TasksStateTasksEntityRecognitionPiiTasksItem, self).__init__(last_update_date_time=last_update_date_time, task_name=task_name, status=status, results=results, **kwargs) self.results = results self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status -class TasksStateTasksEntityRecognitionTasksItem(TaskState, Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1): +class TasksStateTasksEntityRecognitionTasksItem(TaskState, EntitiesTaskResult): """TasksStateTasksEntityRecognitionTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult + :type results: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'EntitiesResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2804,43 +3013,44 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], results: Optional["EntitiesResult"] = None, - name: Optional[str] = None, **kwargs ): - super(TasksStateTasksEntityRecognitionTasksItem, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, results=results, **kwargs) + super(TasksStateTasksEntityRecognitionTasksItem, self).__init__(last_update_date_time=last_update_date_time, task_name=task_name, status=status, results=results, **kwargs) self.results = results self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status -class TasksStateTasksKeyPhraseExtractionTasksItem(TaskState, Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1): +class TasksStateTasksKeyPhraseExtractionTasksItem(TaskState, KeyPhraseTaskResult): """TasksStateTasksKeyPhraseExtractionTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult + :type results: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'KeyPhraseResult'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2848,43 +3058,44 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], results: Optional["KeyPhraseResult"] = None, - name: Optional[str] = None, **kwargs ): - super(TasksStateTasksKeyPhraseExtractionTasksItem, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, results=results, **kwargs) + super(TasksStateTasksKeyPhraseExtractionTasksItem, self).__init__(last_update_date_time=last_update_date_time, task_name=task_name, status=status, results=results, **kwargs) self.results = results self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status -class TasksStateTasksSentimentAnalysisTasksItem(TaskState, Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1): +class TasksStateTasksSentimentAnalysisTasksItem(TaskState, SentimentTaskResult): """TasksStateTasksSentimentAnalysisTasksItem. All required parameters must be populated in order to send to Azure. :param results: - :type results: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse + :type results: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :param last_update_date_time: Required. :type last_update_date_time: ~datetime.datetime - :param name: - :type name: str + :param task_name: Required. + :type task_name: str :param status: Required. Possible values include: "notStarted", "running", "succeeded", - "failed", "rejected", "cancelled", "cancelling", "partiallyCompleted". - :type status: str or ~azure.ai.textanalytics.v3_1_preview_5.models.State + "failed", "rejected", "cancelled", "cancelling". + :type status: str or ~azure.ai.textanalytics.v3_1.models.State """ _validation = { 'last_update_date_time': {'required': True}, + 'task_name': {'required': True}, 'status': {'required': True}, } _attribute_map = { 'results': {'key': 'results', 'type': 'SentimentResponse'}, 'last_update_date_time': {'key': 'lastUpdateDateTime', 'type': 'iso-8601'}, - 'name': {'key': 'name', 'type': 'str'}, + 'task_name': {'key': 'taskName', 'type': 'str'}, 'status': {'key': 'status', 'type': 'str'}, } @@ -2892,15 +3103,15 @@ def __init__( self, *, last_update_date_time: datetime.datetime, + task_name: str, status: Union[str, "State"], results: Optional["SentimentResponse"] = None, - name: Optional[str] = None, **kwargs ): - super(TasksStateTasksSentimentAnalysisTasksItem, self).__init__(last_update_date_time=last_update_date_time, name=name, status=status, results=results, **kwargs) + super(TasksStateTasksSentimentAnalysisTasksItem, self).__init__(last_update_date_time=last_update_date_time, task_name=task_name, status=status, results=results, **kwargs) self.results = results self.last_update_date_time = last_update_date_time - self.name = name + self.task_name = task_name self.status = status @@ -2911,15 +3122,15 @@ class TextAnalyticsError(msrest.serialization.Model): :param code: Required. Error code. Possible values include: "InvalidRequest", "InvalidArgument", "InternalServerError", "ServiceUnavailable", "NotFound". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.ErrorCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.ErrorCodeValue :param message: Required. Error message. :type message: str :param target: Error target. :type target: str :param innererror: Inner error contains more specific information. - :type innererror: ~azure.ai.textanalytics.v3_1_preview_5.models.InnerError + :type innererror: ~azure.ai.textanalytics.v3_1.models.InnerError :param details: Details about specific errors that led to this reported error. - :type details: list[~azure.ai.textanalytics.v3_1_preview_5.models.TextAnalyticsError] + :type details: list[~azure.ai.textanalytics.v3_1.models.TextAnalyticsError] """ _validation = { @@ -2960,7 +3171,7 @@ class TextAnalyticsWarning(msrest.serialization.Model): :param code: Required. Error code. Possible values include: "LongWordsInDocument", "DocumentTruncated". - :type code: str or ~azure.ai.textanalytics.v3_1_preview_5.models.WarningCodeValue + :type code: str or ~azure.ai.textanalytics.v3_1.models.WarningCodeValue :param message: Required. Warning message. :type message: str :param target_ref: A JSON pointer reference indicating the target object. diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_text_analytics_client_enums.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_text_analytics_client_enums.py similarity index 93% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_text_analytics_client_enums.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_text_analytics_client_enums.py index 6b49f666088e..615a94221ab2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/models/_text_analytics_client_enums.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/models/_text_analytics_client_enums.py @@ -69,6 +69,37 @@ class ErrorCodeValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SERVICE_UNAVAILABLE = "ServiceUnavailable" NOT_FOUND = "NotFound" +class HealthcareEntityCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Healthcare Entity Category. + """ + + BODY_STRUCTURE = "BODY_STRUCTURE" + AGE = "AGE" + GENDER = "GENDER" + EXAMINATION_NAME = "EXAMINATION_NAME" + DATE = "DATE" + DIRECTION = "DIRECTION" + FREQUENCY = "FREQUENCY" + MEASUREMENT_VALUE = "MEASUREMENT_VALUE" + MEASUREMENT_UNIT = "MEASUREMENT_UNIT" + RELATIONAL_OPERATOR = "RELATIONAL_OPERATOR" + TIME = "TIME" + GENE_OR_PROTEIN = "GENE_OR_PROTEIN" + VARIANT = "VARIANT" + ADMINISTRATIVE_EVENT = "ADMINISTRATIVE_EVENT" + CARE_ENVIRONMENT = "CARE_ENVIRONMENT" + HEALTHCARE_PROFESSION = "HEALTHCARE_PROFESSION" + DIAGNOSIS = "DIAGNOSIS" + SYMPTOM_OR_SIGN = "SYMPTOM_OR_SIGN" + CONDITION_QUALIFIER = "CONDITION_QUALIFIER" + MEDICATION_CLASS = "MEDICATION_CLASS" + MEDICATION_NAME = "MEDICATION_NAME" + DOSAGE = "DOSAGE" + MEDICATION_FORM = "MEDICATION_FORM" + MEDICATION_ROUTE = "MEDICATION_ROUTE" + FAMILY_RELATION = "FAMILY_RELATION" + TREATMENT_NAME = "TREATMENT_NAME" + class InnerErrorCodeValue(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Error code. """ @@ -307,7 +338,6 @@ class State(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): REJECTED = "rejected" CANCELLED = "cancelled" CANCELLING = "cancelling" - PARTIALLY_COMPLETED = "partiallyCompleted" class StringIndexType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/operations/__init__.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/operations/__init__.py similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/operations/__init__.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/operations/__init__.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/operations/_text_analytics_client_operations.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/operations/_text_analytics_client_operations.py similarity index 89% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/operations/_text_analytics_client_operations.py rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/operations/_text_analytics_client_operations.py index e54d9dfbecf4..4ce4a4ccb437 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/operations/_text_analytics_client_operations.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/operations/_text_analytics_client_operations.py @@ -34,11 +34,7 @@ def _analyze_initial( # type: (...) -> Optional["_models.AnalyzeJobState"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AnalyzeJobState"]] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) content_type = kwargs.pop("content_type", "application/json") @@ -71,7 +67,8 @@ def _analyze_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} deserialized = None @@ -99,7 +96,7 @@ def begin_analyze( executed. :param body: Collection of documents to analyze and tasks to execute. - :type body: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeBatchInput + :type body: ~azure.ai.textanalytics.v3_1.models.AnalyzeBatchInput :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. :keyword polling: By default, your polling method will be AnalyzeActionsLROPollingMethod. @@ -107,7 +104,7 @@ def begin_analyze( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AnalyzeActionsLROPoller that returns either AnalyzeJobState or the result of cls(response) - :rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState] + :rtype: ~...._lro.AnalyzeActionsLROPoller[~azure.ai.textanalytics.v3_1.models.AnalyzeJobState] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -180,15 +177,12 @@ def analyze_status( :type skip: int :keyword callable cls: A custom type or function that will be passed the direct response :return: AnalyzeJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.AnalyzeJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.AnalyzeJobState :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.AnalyzeJobState"] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -220,7 +214,8 @@ def analyze_status( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('AnalyzeJobState', pipeline_response) @@ -256,15 +251,12 @@ def health_status( :type show_stats: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: HealthcareJobState, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState + :rtype: ~azure.ai.textanalytics.v3_1.models.HealthcareJobState :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.HealthcareJobState"] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -296,7 +288,8 @@ def health_status( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('HealthcareJobState', pipeline_response) @@ -314,10 +307,7 @@ def _cancel_health_job_initial( # type: (...) -> None cls = kwargs.pop('cls', None) # type: ClsType[None] error_map = { - 401: ClientAuthenticationError, - 409: ResourceExistsError, - 404: lambda response: ResourceNotFoundError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) accept = "application/json, text/json" @@ -343,7 +333,8 @@ def _cancel_health_job_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} response_headers['Operation-Location']=self._deserialize('str', response.headers.get('Operation-Location')) @@ -426,11 +417,7 @@ def _health_initial( # type: (...) -> Optional["_models.HealthcareJobState"] cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.HealthcareJobState"]] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -468,7 +455,8 @@ def _health_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) response_headers = {} deserialized = None @@ -499,14 +487,14 @@ def begin_health( symptoms, etc) and their relations. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param logging_opt_out: (Optional) If set to true, you opt-out of having your text input logged for troubleshooting. By default, Text Analytics logs your input text for 48 hours, solely to allow for troubleshooting issues in providing you with the Text Analytics natural language @@ -522,7 +510,7 @@ def begin_health( :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AnalyzeHealthcareEntitiesLROPoller that returns either HealthcareJobState or the result of cls(response) - :rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1_preview_5.models.HealthcareJobState] + :rtype: ~...._lro.AnalyzeHealthcareEntitiesLROPoller[~azure.ai.textanalytics.v3_1.models.HealthcareJobState] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] @@ -588,7 +576,7 @@ def entities_recognition_general( Analytics API` for the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -606,19 +594,15 @@ def entities_recognition_general( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntitiesResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntitiesResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntitiesResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.EntitiesResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -658,7 +642,8 @@ def entities_recognition_general( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('EntitiesResult', pipeline_response) @@ -689,7 +674,7 @@ def entities_recognition_pii( list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -710,21 +695,17 @@ def entities_recognition_pii( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :param pii_categories: (Optional) describes the PII categories to return. - :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1_preview_5.models.PiiCategory] + :type pii_categories: list[str or ~azure.ai.textanalytics.v3_1.models.PiiCategory] :keyword callable cls: A custom type or function that will be passed the direct response :return: PiiResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.PiiResult + :rtype: ~azure.ai.textanalytics.v3_1.models.PiiResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.PiiResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -768,7 +749,8 @@ def entities_recognition_pii( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('PiiResult', pipeline_response) @@ -795,7 +777,7 @@ def entities_linking( the list of enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -813,19 +795,15 @@ def entities_linking( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: EntityLinkingResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.EntityLinkingResult + :rtype: ~azure.ai.textanalytics.v3_1.models.EntityLinkingResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.EntityLinkingResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -865,7 +843,8 @@ def entities_linking( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('EntityLinkingResult', pipeline_response) @@ -891,7 +870,7 @@ def key_phrases( enabled languages. :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -908,16 +887,12 @@ def key_phrases( :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: KeyPhraseResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.KeyPhraseResult + :rtype: ~azure.ai.textanalytics.v3_1.models.KeyPhraseResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.KeyPhraseResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -955,7 +930,8 @@ def key_phrases( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('KeyPhraseResult', pipeline_response) @@ -982,7 +958,7 @@ def languages( enabled languages. :param documents: - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.LanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.LanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -999,16 +975,12 @@ def languages( :type logging_opt_out: bool :keyword callable cls: A custom type or function that will be passed the direct response :return: LanguageResult, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.LanguageResult + :rtype: ~azure.ai.textanalytics.v3_1.models.LanguageResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.LanguageResult"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -1046,7 +1018,8 @@ def languages( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('LanguageResult', pipeline_response) @@ -1074,7 +1047,7 @@ def sentiment( (targets and assessments). :param documents: The set of documents to process as part of this batch. - :type documents: list[~azure.ai.textanalytics.v3_1_preview_5.models.MultiLanguageInput] + :type documents: list[~azure.ai.textanalytics.v3_1.models.MultiLanguageInput] :param model_version: (Optional) This value indicates which model will be used for scoring. If a model-version is not specified, the API should default to the latest, non-preview version. :type model_version: str @@ -1095,19 +1068,15 @@ def sentiment( :param string_index_type: (Optional) Specifies the method used to interpret string offsets. Defaults to Text Elements (Graphemes) according to Unicode v8.0.0. For additional information see https://aka.ms/text-analytics-offsets. - :type string_index_type: str or ~azure.ai.textanalytics.v3_1_preview_5.models.StringIndexType + :type string_index_type: str or ~azure.ai.textanalytics.v3_1.models.StringIndexType :keyword callable cls: A custom type or function that will be passed the direct response :return: SentimentResponse, or the result of cls(response) - :rtype: ~azure.ai.textanalytics.v3_1_preview_5.models.SentimentResponse + :rtype: ~azure.ai.textanalytics.v3_1.models.SentimentResponse :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["_models.SentimentResponse"] error_map = { - 401: ClientAuthenticationError, - 404: ResourceNotFoundError, - 409: ResourceExistsError, - 400: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), - 500: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.ErrorResponse, response)), + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) @@ -1149,7 +1118,8 @@ def sentiment( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error) deserialized = self._deserialize('SentimentResponse', pipeline_response) diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/py.typed b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/py.typed similarity index 100% rename from sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1_preview_5/py.typed rename to sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_generated/v3_1/py.typed diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_lro.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_lro.py index 75541e8ad964..e03f06241786 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_lro.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_lro.py @@ -104,7 +104,7 @@ def __init__(self, *args, **kwargs): @property def _current_body(self): - from ._generated.v3_1_preview_5.models import JobMetadata + from ._generated.v3_1.models import JobMetadata return JobMetadata.deserialize(self._pipeline_response) @property @@ -221,7 +221,7 @@ class AnalyzeActionsLROPollingMethod(TextAnalyticsLROPollingMethod): @property def _current_body(self): - from ._generated.v3_1_preview_5.models import AnalyzeJobMetadata + from ._generated.v3_1.models import AnalyzeJobMetadata return AnalyzeJobMetadata.deserialize(self._pipeline_response) @property diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py index 8566ea326c1e..c1ffe70dc3b5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py @@ -11,7 +11,7 @@ ) from ._generated.v3_0 import models as _v3_0_models -from ._generated.v3_1_preview_5 import models as _latest_preview_models +from ._generated.v3_1 import models as _v3_1_models def _get_indices(relation): return [int(s) for s in re.findall(r"\d+", relation)] @@ -69,6 +69,270 @@ def get(self, key, default=None): return self.__dict__[key] return default + +class EntityAssociation(str, Enum): + """Describes if the entity is the subject of the text or if it describes someone else. + """ + + SUBJECT = "subject" + OTHER = "other" + + +class EntityCertainty(str, Enum): + """Describes the entities certainty and polarity. + """ + + POSITIVE = "positive" + POSITIVE_POSSIBLE = "positivePossible" + NEUTRAL_POSSIBLE = "neutralPossible" + NEGATIVE_POSSIBLE = "negativePossible" + NEGATIVE = "negative" + + +class EntityConditionality(str, Enum): + """Describes any conditionality on the entity. + """ + + HYPOTHETICAL = "hypothetical" + CONDITIONAL = "conditional" + + +class HealthcareEntityRelationType(str, Enum): + """Type of relation. Examples include: ``DosageOfMedication`` or 'FrequencyOfMedication', etc. + """ + + ABBREVIATION = "Abbreviation" + DIRECTION_OF_BODY_STRUCTURE = "DirectionOfBodyStructure" + DIRECTION_OF_CONDITION = "DirectionOfCondition" + DIRECTION_OF_EXAMINATION = "DirectionOfExamination" + DIRECTION_OF_TREATMENT = "DirectionOfTreatment" + DOSAGE_OF_MEDICATION = "DosageOfMedication" + FORM_OF_MEDICATION = "FormOfMedication" + FREQUENCY_OF_MEDICATION = "FrequencyOfMedication" + FREQUENCY_OF_TREATMENT = "FrequencyOfTreatment" + QUALIFIER_OF_CONDITION = "QualifierOfCondition" + RELATION_OF_EXAMINATION = "RelationOfExamination" + ROUTE_OF_MEDICATION = "RouteOfMedication" + TIME_OF_CONDITION = "TimeOfCondition" + TIME_OF_EVENT = "TimeOfEvent" + TIME_OF_EXAMINATION = "TimeOfExamination" + TIME_OF_MEDICATION = "TimeOfMedication" + TIME_OF_TREATMENT = "TimeOfTreatment" + UNIT_OF_CONDITION = "UnitOfCondition" + UNIT_OF_EXAMINATION = "UnitOfExamination" + VALUE_OF_CONDITION = "ValueOfCondition" + VALUE_OF_EXAMINATION = "ValueOfExamination" + + +class PiiEntityCategoryType(str, Enum): + + ABA_ROUTING_NUMBER = "ABARoutingNumber" + AR_NATIONAL_IDENTITY_NUMBER = "ARNationalIdentityNumber" + AU_BANK_ACCOUNT_NUMBER = "AUBankAccountNumber" + AU_DRIVERS_LICENSE_NUMBER = "AUDriversLicenseNumber" + AU_MEDICAL_ACCOUNT_NUMBER = "AUMedicalAccountNumber" + AU_PASSPORT_NUMBER = "AUPassportNumber" + AU_TAX_FILE_NUMBER = "AUTaxFileNumber" + AU_BUSINESS_NUMBER = "AUBusinessNumber" + AU_COMPANY_NUMBER = "AUCompanyNumber" + AT_IDENTITY_CARD = "ATIdentityCard" + AT_TAX_IDENTIFICATION_NUMBER = "ATTaxIdentificationNumber" + AT_VALUE_ADDED_TAX_NUMBER = "ATValueAddedTaxNumber" + AZURE_DOCUMENT_DB_AUTH_KEY = "AzureDocumentDBAuthKey" + AZURE_IAAS_DATABASE_CONNECTION_AND_SQL_STRING = "AzureIAASDatabaseConnectionAndSQLString" + AZURE_IO_T_CONNECTION_STRING = "AzureIoTConnectionString" + AZURE_PUBLISH_SETTING_PASSWORD = "AzurePublishSettingPassword" + AZURE_REDIS_CACHE_STRING = "AzureRedisCacheString" + AZURE_SAS = "AzureSAS" + AZURE_SERVICE_BUS_STRING = "AzureServiceBusString" + AZURE_STORAGE_ACCOUNT_KEY = "AzureStorageAccountKey" + AZURE_STORAGE_ACCOUNT_GENERIC = "AzureStorageAccountGeneric" + BE_NATIONAL_NUMBER = "BENationalNumber" + BE_NATIONAL_NUMBER_V2 = "BENationalNumberV2" + BE_VALUE_ADDED_TAX_NUMBER = "BEValueAddedTaxNumber" + BRCPF_NUMBER = "BRCPFNumber" + BR_LEGAL_ENTITY_NUMBER = "BRLegalEntityNumber" + BR_NATIONAL_IDRG = "BRNationalIDRG" + BG_UNIFORM_CIVIL_NUMBER = "BGUniformCivilNumber" + CA_BANK_ACCOUNT_NUMBER = "CABankAccountNumber" + CA_DRIVERS_LICENSE_NUMBER = "CADriversLicenseNumber" + CA_HEALTH_SERVICE_NUMBER = "CAHealthServiceNumber" + CA_PASSPORT_NUMBER = "CAPassportNumber" + CA_PERSONAL_HEALTH_IDENTIFICATION = "CAPersonalHealthIdentification" + CA_SOCIAL_INSURANCE_NUMBER = "CASocialInsuranceNumber" + CL_IDENTITY_CARD_NUMBER = "CLIdentityCardNumber" + CN_RESIDENT_IDENTITY_CARD_NUMBER = "CNResidentIdentityCardNumber" + CREDIT_CARD_NUMBER = "CreditCardNumber" + HR_IDENTITY_CARD_NUMBER = "HRIdentityCardNumber" + HR_NATIONAL_ID_NUMBER = "HRNationalIDNumber" + HR_PERSONAL_IDENTIFICATION_NUMBER = "HRPersonalIdentificationNumber" + HR_PERSONAL_IDENTIFICATION_OIB_NUMBER_V2 = "HRPersonalIdentificationOIBNumberV2" + CY_IDENTITY_CARD = "CYIdentityCard" + CY_TAX_IDENTIFICATION_NUMBER = "CYTaxIdentificationNumber" + CZ_PERSONAL_IDENTITY_NUMBER = "CZPersonalIdentityNumber" + CZ_PERSONAL_IDENTITY_V2 = "CZPersonalIdentityV2" + DK_PERSONAL_IDENTIFICATION_NUMBER = "DKPersonalIdentificationNumber" + DK_PERSONAL_IDENTIFICATION_V2 = "DKPersonalIdentificationV2" + DRUG_ENFORCEMENT_AGENCY_NUMBER = "DrugEnforcementAgencyNumber" + EE_PERSONAL_IDENTIFICATION_CODE = "EEPersonalIdentificationCode" + EU_DEBIT_CARD_NUMBER = "EUDebitCardNumber" + EU_DRIVERS_LICENSE_NUMBER = "EUDriversLicenseNumber" + EUGPS_COORDINATES = "EUGPSCoordinates" + EU_NATIONAL_IDENTIFICATION_NUMBER = "EUNationalIdentificationNumber" + EU_PASSPORT_NUMBER = "EUPassportNumber" + EU_SOCIAL_SECURITY_NUMBER = "EUSocialSecurityNumber" + EU_TAX_IDENTIFICATION_NUMBER = "EUTaxIdentificationNumber" + FI_EUROPEAN_HEALTH_NUMBER = "FIEuropeanHealthNumber" + FI_NATIONAL_ID = "FINationalID" + FI_NATIONAL_IDV2 = "FINationalIDV2" + FI_PASSPORT_NUMBER = "FIPassportNumber" + FR_DRIVERS_LICENSE_NUMBER = "FRDriversLicenseNumber" + FR_HEALTH_INSURANCE_NUMBER = "FRHealthInsuranceNumber" + FR_NATIONAL_ID = "FRNationalID" + FR_PASSPORT_NUMBER = "FRPassportNumber" + FR_SOCIAL_SECURITY_NUMBER = "FRSocialSecurityNumber" + FR_TAX_IDENTIFICATION_NUMBER = "FRTaxIdentificationNumber" + FR_VALUE_ADDED_TAX_NUMBER = "FRValueAddedTaxNumber" + DE_DRIVERS_LICENSE_NUMBER = "DEDriversLicenseNumber" + DE_PASSPORT_NUMBER = "DEPassportNumber" + DE_IDENTITY_CARD_NUMBER = "DEIdentityCardNumber" + DE_TAX_IDENTIFICATION_NUMBER = "DETaxIdentificationNumber" + DE_VALUE_ADDED_NUMBER = "DEValueAddedNumber" + GR_NATIONAL_ID_CARD = "GRNationalIDCard" + GR_NATIONAL_IDV2 = "GRNationalIDV2" + GR_TAX_IDENTIFICATION_NUMBER = "GRTaxIdentificationNumber" + HK_IDENTITY_CARD_NUMBER = "HKIdentityCardNumber" + HU_VALUE_ADDED_NUMBER = "HUValueAddedNumber" + HU_PERSONAL_IDENTIFICATION_NUMBER = "HUPersonalIdentificationNumber" + HU_TAX_IDENTIFICATION_NUMBER = "HUTaxIdentificationNumber" + IN_PERMANENT_ACCOUNT = "INPermanentAccount" + IN_UNIQUE_IDENTIFICATION_NUMBER = "INUniqueIdentificationNumber" + ID_IDENTITY_CARD_NUMBER = "IDIdentityCardNumber" + INTERNATIONAL_BANKING_ACCOUNT_NUMBER = "InternationalBankingAccountNumber" + IE_PERSONAL_PUBLIC_SERVICE_NUMBER = "IEPersonalPublicServiceNumber" + IE_PERSONAL_PUBLIC_SERVICE_NUMBER_V2 = "IEPersonalPublicServiceNumberV2" + IL_BANK_ACCOUNT_NUMBER = "ILBankAccountNumber" + IL_NATIONAL_ID = "ILNationalID" + IT_DRIVERS_LICENSE_NUMBER = "ITDriversLicenseNumber" + IT_FISCAL_CODE = "ITFiscalCode" + IT_VALUE_ADDED_TAX_NUMBER = "ITValueAddedTaxNumber" + JP_BANK_ACCOUNT_NUMBER = "JPBankAccountNumber" + JP_DRIVERS_LICENSE_NUMBER = "JPDriversLicenseNumber" + JP_PASSPORT_NUMBER = "JPPassportNumber" + JP_RESIDENT_REGISTRATION_NUMBER = "JPResidentRegistrationNumber" + JP_SOCIAL_INSURANCE_NUMBER = "JPSocialInsuranceNumber" + JP_MY_NUMBER_CORPORATE = "JPMyNumberCorporate" + JP_MY_NUMBER_PERSONAL = "JPMyNumberPersonal" + JP_RESIDENCE_CARD_NUMBER = "JPResidenceCardNumber" + LV_PERSONAL_CODE = "LVPersonalCode" + LT_PERSONAL_CODE = "LTPersonalCode" + LU_NATIONAL_IDENTIFICATION_NUMBER_NATURAL = "LUNationalIdentificationNumberNatural" + LU_NATIONAL_IDENTIFICATION_NUMBER_NON_NATURAL = "LUNationalIdentificationNumberNonNatural" + MY_IDENTITY_CARD_NUMBER = "MYIdentityCardNumber" + MT_IDENTITY_CARD_NUMBER = "MTIdentityCardNumber" + MT_TAX_ID_NUMBER = "MTTaxIDNumber" + NL_CITIZENS_SERVICE_NUMBER = "NLCitizensServiceNumber" + NL_CITIZENS_SERVICE_NUMBER_V2 = "NLCitizensServiceNumberV2" + NL_TAX_IDENTIFICATION_NUMBER = "NLTaxIdentificationNumber" + NL_VALUE_ADDED_TAX_NUMBER = "NLValueAddedTaxNumber" + NZ_BANK_ACCOUNT_NUMBER = "NZBankAccountNumber" + NZ_DRIVERS_LICENSE_NUMBER = "NZDriversLicenseNumber" + NZ_INLAND_REVENUE_NUMBER = "NZInlandRevenueNumber" + NZ_MINISTRY_OF_HEALTH_NUMBER = "NZMinistryOfHealthNumber" + NZ_SOCIAL_WELFARE_NUMBER = "NZSocialWelfareNumber" + NO_IDENTITY_NUMBER = "NOIdentityNumber" + PH_UNIFIED_MULTI_PURPOSE_ID_NUMBER = "PHUnifiedMultiPurposeIDNumber" + PL_IDENTITY_CARD = "PLIdentityCard" + PL_NATIONAL_ID = "PLNationalID" + PL_NATIONAL_IDV2 = "PLNationalIDV2" + PL_PASSPORT_NUMBER = "PLPassportNumber" + PL_TAX_IDENTIFICATION_NUMBER = "PLTaxIdentificationNumber" + PLREGON_NUMBER = "PLREGONNumber" + PT_CITIZEN_CARD_NUMBER = "PTCitizenCardNumber" + PT_CITIZEN_CARD_NUMBER_V2 = "PTCitizenCardNumberV2" + PT_TAX_IDENTIFICATION_NUMBER = "PTTaxIdentificationNumber" + RO_PERSONAL_NUMERICAL_CODE = "ROPersonalNumericalCode" + RU_PASSPORT_NUMBER_DOMESTIC = "RUPassportNumberDomestic" + RU_PASSPORT_NUMBER_INTERNATIONAL = "RUPassportNumberInternational" + SA_NATIONAL_ID = "SANationalID" + SG_NATIONAL_REGISTRATION_IDENTITY_CARD_NUMBER = "SGNationalRegistrationIdentityCardNumber" + SK_PERSONAL_NUMBER = "SKPersonalNumber" + SI_TAX_IDENTIFICATION_NUMBER = "SITaxIdentificationNumber" + SI_UNIQUE_MASTER_CITIZEN_NUMBER = "SIUniqueMasterCitizenNumber" + ZA_IDENTIFICATION_NUMBER = "ZAIdentificationNumber" + KR_RESIDENT_REGISTRATION_NUMBER = "KRResidentRegistrationNumber" + ESDNI = "ESDNI" + ES_SOCIAL_SECURITY_NUMBER = "ESSocialSecurityNumber" + ES_TAX_IDENTIFICATION_NUMBER = "ESTaxIdentificationNumber" + SQL_SERVER_CONNECTION_STRING = "SQLServerConnectionString" + SE_NATIONAL_ID = "SENationalID" + SE_NATIONAL_IDV2 = "SENationalIDV2" + SE_PASSPORT_NUMBER = "SEPassportNumber" + SE_TAX_IDENTIFICATION_NUMBER = "SETaxIdentificationNumber" + SWIFT_CODE = "SWIFTCode" + CH_SOCIAL_SECURITY_NUMBER = "CHSocialSecurityNumber" + TW_NATIONAL_ID = "TWNationalID" + TW_PASSPORT_NUMBER = "TWPassportNumber" + TW_RESIDENT_CERTIFICATE = "TWResidentCertificate" + TH_POPULATION_IDENTIFICATION_CODE = "THPopulationIdentificationCode" + TR_NATIONAL_IDENTIFICATION_NUMBER = "TRNationalIdentificationNumber" + UK_DRIVERS_LICENSE_NUMBER = "UKDriversLicenseNumber" + UK_ELECTORAL_ROLL_NUMBER = "UKElectoralRollNumber" + UK_NATIONAL_HEALTH_NUMBER = "UKNationalHealthNumber" + UK_NATIONAL_INSURANCE_NUMBER = "UKNationalInsuranceNumber" + UK_UNIQUE_TAXPAYER_NUMBER = "UKUniqueTaxpayerNumber" + USUK_PASSPORT_NUMBER = "USUKPassportNumber" + US_BANK_ACCOUNT_NUMBER = "USBankAccountNumber" + US_DRIVERS_LICENSE_NUMBER = "USDriversLicenseNumber" + US_INDIVIDUAL_TAXPAYER_IDENTIFICATION = "USIndividualTaxpayerIdentification" + US_SOCIAL_SECURITY_NUMBER = "USSocialSecurityNumber" + UA_PASSPORT_NUMBER_DOMESTIC = "UAPassportNumberDomestic" + UA_PASSPORT_NUMBER_INTERNATIONAL = "UAPassportNumberInternational" + ORGANIZATION = "Organization" + EMAIL = "Email" + URL = "URL" + AGE = "Age" + PHONE_NUMBER = "PhoneNumber" + IP_ADDRESS = "IPAddress" + DATE = "Date" + PERSON = "Person" + ADDRESS = "Address" + ALL = "All" + DEFAULT = "Default" + + +class HealthcareEntityCategory(str, Enum): + """Healthcare Entity Category. + """ + + BODY_STRUCTURE = "BodyStructure" + AGE = "Age" + GENDER = "Gender" + EXAMINATION_NAME = "ExaminationName" + DATE = "Date" + DIRECTION = "Direction" + FREQUENCY = "Frequency" + MEASUREMENT_VALUE = "MeasurementValue" + MEASUREMENT_UNIT = "MeasurementUnit" + RELATIONAL_OPERATOR = "RelationalOperator" + TIME = "Time" + GENE_OR_PROTEIN = "GeneOrProtein" + VARIANT = "Variant" + ADMINISTRATIVE_EVENT = "AdministrativeEvent" + CARE_ENVIRONMENT = "CareEnvironment" + HEALTHCARE_PROFESSION = "HealthcareProfession" + DIAGNOSIS = "Diagnosis" + SYMPTOM_OR_SIGN = "SymptomOrSign" + CONDITION_QUALIFIER = "ConditionQualifier" + MEDICATION_CLASS = "MedicationClass" + MEDICATION_NAME = "MedicationName" + DOSAGE = "Dosage" + MEDICATION_FORM = "MedicationForm" + MEDICATION_ROUTE = "MedicationRoute" + FAMILY_RELATION = "FamilyRelation" + TREATMENT_NAME = "TreatmentName" + + class PiiEntityDomainType(str, Enum): """The different domains of PII entities that users can filter by""" PROTECTED_HEALTH_INFORMATION = "phi" # See https://aka.ms/tanerpii for more information. @@ -171,7 +435,7 @@ class RecognizePiiEntitiesResult(DictMixin): :vartype entities: list[~azure.ai.textanalytics.PiiEntity] :ivar str redacted_text: Returns the text of the input document with all of the PII information - redacted out. Only returned for API versions v3.1-preview and up. + redacted out. Only returned for API versions v3.1 and up. :ivar warnings: Warnings encountered while processing document. Results will still be returned if there are warnings, but they may not be fully accurate. :vartype warnings: list[~azure.ai.textanalytics.TextAnalyticsWarning] @@ -181,7 +445,7 @@ class RecognizePiiEntitiesResult(DictMixin): ~azure.ai.textanalytics.TextDocumentStatistics :ivar bool is_error: Boolean check for error item when iterating over list of results. Always False for an instance of a RecognizePiiEntitiesResult. - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *redacted_text* parameter. """ @@ -387,15 +651,15 @@ class CategorizedEntity(DictMixin): :vartype subcategory: str :ivar int length: The entity text length. This value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints - by default. Only returned for API versions v3.1-preview and up. + by default. Only returned for API versions v3.1 and up. :ivar int offset: The entity text offset from the start of the document. The value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints by default. Only returned for - API versions v3.1-preview and up. + API versions v3.1 and up. :ivar confidence_score: Confidence score between 0 and 1 of the extracted entity. :vartype confidence_score: float - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *offset* property. """ @@ -495,8 +759,8 @@ class HealthcareEntity(DictMixin): :ivar str text: Entity text as appears in the document. :ivar str normalized_text: Optional. Normalized version of the raw `text` we extract from the document. Not all `text`s have a normalized version. - :ivar str category: Entity category, see the following link for health's named - entity types: https://aka.ms/text-analytics-health-entities + :ivar str category: Entity category, see the :class:`~azure.ai.textanalytics.HealthcareEntityCategory` + type for possible healthcare entity categories. :ivar str subcategory: Entity subcategory. :ivar assertion: Contains various assertions about this entity. For example, if an entity is a diagnosis, is this diagnosis 'conditional' on a symptom? @@ -938,8 +1202,8 @@ class LinkedEntity(DictMixin): :vartype data_source: str :ivar str bing_entity_search_api_id: Bing Entity Search unique identifier of the recognized entity. Use in conjunction with the Bing Entity Search SDK to fetch additional relevant information. - Only available for API version v3.1-preview and up. - .. versionadded:: v3.1-preview + Only available for API version v3.1 and up. + .. versionadded:: v3.1 The *bing_entity_search_api_id* property. """ @@ -990,13 +1254,13 @@ class LinkedEntityMatch(DictMixin): :ivar text: Entity text as appears in the request. :ivar int length: The linked entity match text length. This value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints by default. - Only returned for API versions v3.1-preview and up. + Only returned for API versions v3.1 and up. :ivar int offset: The linked entity match text offset from the start of the document. The value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints by default. - Only returned for API versions v3.1-preview and up. + Only returned for API versions v3.1 and up. :vartype text: str - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *offset* property. """ @@ -1112,19 +1376,19 @@ class SentenceSentiment(DictMixin): ~azure.ai.textanalytics.SentimentConfidenceScores :ivar int length: The sentence text length. This value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints - by default. Only returned for API versions v3.1-preview and up. + by default. Only returned for API versions v3.1 and up. :ivar int offset: The sentence text offset from the start of the document. The value depends on the value of the `string_index_type` parameter set in the original request, which is UnicodeCodePoints by default. Only returned for - API versions v3.1-preview and up. + API versions v3.1 and up. :ivar mined_opinions: The list of opinions mined from this sentence. For example in the sentence "The food is good, but the service is bad", we would mine the two opinions "food is good" and "service is bad". Only returned if `show_opinion_mining` is set to True in the call to `analyze_sentiment` and - api version is v3.1-preview and up. + api version is v3.1 and up. :vartype mined_opinions: list[~azure.ai.textanalytics.MinedOpinion] - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *offset* and *mined_opinions* properties. """ @@ -1410,8 +1674,8 @@ def __repr__(self, **kwargs): .format(self.model_version, self.string_index_type, self.disable_service_logs)[:1024] def to_generated(self): - return _latest_preview_models.EntitiesTask( - parameters=_latest_preview_models.EntitiesTaskParameters( + return _v3_1_models.EntitiesTask( + parameters=_v3_1_models.EntitiesTaskParameters( model_version=self.model_version, string_index_type=self.string_index_type, logging_opt_out=self.disable_service_logs, @@ -1481,8 +1745,8 @@ def __repr__(self, **kwargs): )[:1024] def to_generated(self): - return _latest_preview_models.SentimentAnalysisTask( - parameters=_latest_preview_models.SentimentAnalysisTaskParameters( + return _v3_1_models.SentimentAnalysisTask( + parameters=_v3_1_models.SentimentAnalysisTaskParameters( model_version=self.model_version, opinion_mining=self.show_opinion_mining, string_index_type=self.string_index_type, @@ -1502,6 +1766,11 @@ class RecognizePiiEntitiesAction(DictMixin): :keyword str model_version: The model version to use for the analysis. :keyword str domain_filter: An optional string to set the PII domain to include only a subset of the PII entity categories. Possible values include 'phi' or None. + :keyword categories_filter: Instead of filtering over all PII entity categories, you can pass in a list of + the specific PII entity categories you want to filter out. For example, if you only want to filter out + U.S. social security numbers in a document, you can pass in + `[PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER]` for this kwarg. + :paramtype categories_filter: list[~azure.ai.textanalytics.PiiEntityCategoryType] :keyword str string_index_type: Specifies the method used to interpret string offsets. `UnicodeCodePoint`, the Python encoding, is the default. To override the Python default, you can also pass in `Utf16CodePoint` or TextElement_v8`. For additional information @@ -1517,6 +1786,11 @@ class RecognizePiiEntitiesAction(DictMixin): :ivar str model_version: The model version to use for the analysis. :ivar str domain_filter: An optional string to set the PII domain to include only a subset of the PII entity categories. Possible values include 'phi' or None. + :ivar categories_filter: Instead of filtering over all PII entity categories, you can pass in a list of + the specific PII entity categories you want to filter out. For example, if you only want to filter out + U.S. social security numbers in a document, you can pass in + `[PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER]` for this kwarg. + :vartype categories_filter: list[~azure.ai.textanalytics.PiiEntityCategoryType] :ivar str string_index_type: Specifies the method used to interpret string offsets. `UnicodeCodePoint`, the Python encoding, is the default. To override the Python default, you can also pass in `Utf16CodePoint` or TextElement_v8`. For additional information @@ -1534,23 +1808,26 @@ class RecognizePiiEntitiesAction(DictMixin): def __init__(self, **kwargs): self.model_version = kwargs.get("model_version", "latest") self.domain_filter = kwargs.get("domain_filter", None) + self.categories_filter = kwargs.get("categories_filter", None) self.string_index_type = kwargs.get("string_index_type", "UnicodeCodePoint") self.disable_service_logs = kwargs.get("disable_service_logs", False) def __repr__(self, **kwargs): - return "RecognizePiiEntitiesAction(model_version={}, domain_filter={}, string_index_type={}, "\ - "disable_service_logs={}".format( + return "RecognizePiiEntitiesAction(model_version={}, domain_filter={}, categories_filter={}, "\ + "string_index_type={}, disable_service_logs={}".format( self.model_version, self.domain_filter, + self.categories_filter, self.string_index_type, self.disable_service_logs, )[:1024] def to_generated(self): - return _latest_preview_models.PiiTask( - parameters=_latest_preview_models.PiiTaskParameters( + return _v3_1_models.PiiTask( + parameters=_v3_1_models.PiiTaskParameters( model_version=self.model_version, domain=self.domain_filter, + pii_categories=self.categories_filter, string_index_type=self.string_index_type, logging_opt_out=self.disable_service_logs ) @@ -1594,8 +1871,8 @@ def __repr__(self, **kwargs): .format(self.model_version, self.disable_service_logs)[:1024] def to_generated(self): - return _latest_preview_models.KeyPhrasesTask( - parameters=_latest_preview_models.KeyPhrasesTaskParameters( + return _v3_1_models.KeyPhrasesTask( + parameters=_v3_1_models.KeyPhrasesTaskParameters( model_version=self.model_version, logging_opt_out=self.disable_service_logs, ) @@ -1650,8 +1927,8 @@ def __repr__(self, **kwargs): )[:1024] def to_generated(self): - return _latest_preview_models.EntityLinkingTask( - parameters=_latest_preview_models.EntityLinkingTaskParameters( + return _v3_1_models.EntityLinkingTask( + parameters=_v3_1_models.EntityLinkingTaskParameters( model_version=self.model_version, string_index_type=self.string_index_type, logging_opt_out=self.disable_service_logs, diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_request_handlers.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_request_handlers.py index b4b4d4466e6e..6995966d6fc1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_request_handlers.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_request_handlers.py @@ -86,7 +86,7 @@ def _check_string_index_type_arg(string_index_type_arg, api_version, string_inde if api_version == "v3.0": if string_index_type_arg is not None: raise ValueError( - "'string_index_type' is only available for API version V3_1_PREVIEW and up" + "'string_index_type' is only available for API version V3_1 and up" ) else: diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py index 12656a8002e6..3c2f888ef2ed 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py @@ -15,7 +15,7 @@ from azure.core.paging import ItemPaged from azure.core.tracing.decorator import distributed_trace from azure.core.exceptions import HttpResponseError -from ._base_client import TextAnalyticsClientBase +from ._base_client import TextAnalyticsClientBase, TextAnalyticsApiVersion from ._request_handlers import ( _validate_input, _determine_action_type, @@ -390,7 +390,7 @@ def recognize_pii_entities( # type: ignore except ValueError as error: if "API version v3.0 does not have operation 'entities_recognition_pii'" in str(error): raise ValueError( - "'recognize_pii_entities' endpoint is only available for API version V3_1_PREVIEW and up" + "'recognize_pii_entities' endpoint is only available for API version V3_1 and up" ) raise error except HttpResponseError as error: @@ -489,7 +489,7 @@ def recognize_linked_entities( # type: ignore process_http_response_error(error) def _healthcare_result_callback(self, doc_id_order, raw_response, _, headers, show_stats=False): - healthcare_result = self._client.models(api_version="v3.1-preview.5").HealthcareJobState.deserialize( + healthcare_result = self._client.models(api_version="v3.1").HealthcareJobState.deserialize( raw_response ) return healthcare_paged_result( @@ -515,10 +515,6 @@ def begin_analyze_healthcare_entities( # type: ignore We also extract the relations found between entities, for example in "The subject took 100 mg of ibuprofen", we would extract the relationship between the "100 mg" dosage and the "ibuprofen" medication. - NOTE: this endpoint is currently in gated preview, meaning your subscription needs to be allow-listed - for you to use this endpoint. More information about that here: - https://aka.ms/text-analytics-health-request-access - :param documents: The set of documents to process as part of this batch. If you wish to specify the ID and language on a per-item basis you must use as input a list[:class:`~azure.ai.textanalytics.TextDocumentInput`] or a list of @@ -606,7 +602,7 @@ def begin_analyze_healthcare_entities( # type: ignore if "API version v3.0 does not have operation 'begin_health'" in str(error): raise ValueError( "'begin_analyze_healthcare_entities' method is only available for API version \ - V3_1_PREVIEW and up." + V3_1 and up." ) raise error @@ -723,7 +719,7 @@ def analyze_sentiment( # type: ignore aspect-based sentiment analysis). If set to true, the returned :class:`~azure.ai.textanalytics.SentenceSentiment` objects will have property `mined_opinions` containing the result of this analysis. Only available for - API version v3.1-preview and up. + API version v3.1 and up. :keyword str language: The 2 letter ISO 639-1 representation of language for the entire batch. For example, use "en" for English; "es" for Spanish etc. If not set, uses "en" for English as default. Per-document language will @@ -747,7 +743,7 @@ def analyze_sentiment( # type: ignore Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/ai/responsible-ai. - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *show_opinion_mining* parameter. The *string_index_type* parameter. :return: The combined list of :class:`~azure.ai.textanalytics.AnalyzeSentimentResult` and @@ -785,6 +781,10 @@ def analyze_sentiment( # type: ignore kwargs.update({"string_index_type": string_index_type}) if show_opinion_mining is not None: + if self._api_version == TextAnalyticsApiVersion.V3_0 and show_opinion_mining: + raise ValueError( + "'show_opinion_mining' is only available for API version v3.1 and up" + ) kwargs.update({"opinion_mining": show_opinion_mining}) try: @@ -795,17 +795,11 @@ def analyze_sentiment( # type: ignore cls=kwargs.pop("cls", sentiment_result), **kwargs ) - except TypeError as error: - if "opinion_mining" in str(error): - raise ValueError( - "'show_opinion_mining' is only available for API version v3.1-preview and up" - ) - raise error except HttpResponseError as error: process_http_response_error(error) def _analyze_result_callback(self, doc_id_order, task_order, raw_response, _, headers, show_stats=False): - analyze_result = self._client.models(api_version="v3.1-preview.5").AnalyzeJobState.deserialize( + analyze_result = self._client.models(api_version="v3.1").AnalyzeJobState.deserialize( raw_response ) return analyze_paged_result( @@ -888,7 +882,7 @@ def begin_analyze_actions( # type: ignore display_name = kwargs.pop("display_name", None) language_arg = kwargs.pop("language", None) language = language_arg if language_arg is not None else self._default_language - docs = self._client.models(api_version="v3.1-preview.5").MultiLanguageBatchInput( + docs = self._client.models(api_version="v3.1").MultiLanguageBatchInput( documents=_validate_input(documents, "language", language) ) show_stats = kwargs.pop("show_stats", False) @@ -899,7 +893,7 @@ def begin_analyze_actions( # type: ignore task_order = [_determine_action_type(action) for action in actions] try: - analyze_tasks = self._client.models(api_version='v3.1-preview.5').JobManifestTasks( + analyze_tasks = self._client.models(api_version='v3.1').JobManifestTasks( entity_recognition_tasks=[ t.to_generated() for t in [a for a in actions if _determine_action_type(a) == _AnalyzeActionsType.RECOGNIZE_ENTITIES] @@ -924,7 +918,7 @@ def begin_analyze_actions( # type: ignore [a for a in actions if _determine_action_type(a) == _AnalyzeActionsType.ANALYZE_SENTIMENT] ] ) - analyze_body = self._client.models(api_version='v3.1-preview.5').AnalyzeBatchInput( + analyze_body = self._client.models(api_version='v3.1').AnalyzeBatchInput( display_name=display_name, tasks=analyze_tasks, analysis_input=docs @@ -947,7 +941,7 @@ def begin_analyze_actions( # type: ignore except ValueError as error: if "API version v3.0 does not have operation 'begin_analyze'" in str(error): raise ValueError( - "'begin_analyze_actions' endpoint is only available for API version V3_1_PREVIEW and up" + "'begin_analyze_actions' endpoint is only available for API version V3_1 and up" ) raise error diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py index 7174fc0222c9..ff9c2c9682ed 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_version.py @@ -4,4 +4,4 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "5.1.0b8" +VERSION = "5.1.0" diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_base_client_async.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_base_client_async.py index 37987e4d290f..e68bce1eec95 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_base_client_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_base_client_async.py @@ -31,7 +31,7 @@ def __init__(self, endpoint, credential, **kwargs): self._client = _TextAnalyticsClient( endpoint=endpoint, credential=credential, - api_version=kwargs.pop("api_version", TextAnalyticsApiVersion.V3_1_PREVIEW), + api_version=kwargs.pop("api_version", TextAnalyticsApiVersion.V3_1), sdk_moniker=USER_AGENT, authentication_policy=_authentication_policy(credential), custom_hook_policy=TextAnalyticsResponseHookPolicy(**kwargs), diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_lro_async.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_lro_async.py index 5a98528fa85b..bc463f9865c9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_lro_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_lro_async.py @@ -86,7 +86,7 @@ def __init__(self, *args, **kwargs): @property def _current_body(self): - from .._generated.v3_1_preview_5.models import JobMetadata + from .._generated.v3_1.models import JobMetadata return JobMetadata.deserialize(self._pipeline_response) @property @@ -196,7 +196,7 @@ class AsyncAnalyzeActionsLROPollingMethod(TextAnalyticsAsyncLROPollingMethod): @property def _current_body(self): - from .._generated.v3_1_preview_5.models import AnalyzeJobMetadata + from .._generated.v3_1.models import AnalyzeJobMetadata return AnalyzeJobMetadata.deserialize(self._pipeline_response) @property diff --git a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py index 8f57a97a2de5..7adc54938c75 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py @@ -17,6 +17,7 @@ from azure.core.exceptions import HttpResponseError from azure.core.credentials import AzureKeyCredential from ._base_client_async import AsyncTextAnalyticsClientBase +from .._base_client import TextAnalyticsApiVersion from .._request_handlers import _validate_input, _determine_action_type, _check_string_index_type_arg from .._response_handlers import ( process_http_response_error, @@ -384,7 +385,7 @@ async def recognize_pii_entities( # type: ignore except ValueError as error: if "API version v3.0 does not have operation 'entities_recognition_pii'" in str(error): raise ValueError( - "'recognize_pii_entities' endpoint is only available for API version V3_1_PREVIEW and up" + "'recognize_pii_entities' endpoint is only available for API version V3_1 and up" ) raise error except HttpResponseError as error: @@ -586,7 +587,7 @@ async def analyze_sentiment( # type: ignore aspect-based sentiment analysis). If set to true, the returned :class:`~azure.ai.textanalytics.SentenceSentiment` objects will have property `mined_opinions` containing the result of this analysis. Only available for - API version v3.1-preview and up. + API version v3.1 and up. :keyword str language: The 2 letter ISO 639-1 representation of language for the entire batch. For example, use "en" for English; "es" for Spanish etc. If not set, uses "en" for English as default. Per-document language will @@ -609,7 +610,7 @@ async def analyze_sentiment( # type: ignore Cognitive Services Compliance and Privacy notes at https://aka.ms/cs-compliance for additional details, and Microsoft Responsible AI principles at https://www.microsoft.com/ai/responsible-ai. - .. versionadded:: v3.1-preview + .. versionadded:: v3.1 The *show_opinion_mining* parameter. :return: The combined list of :class:`~azure.ai.textanalytics.AnalyzeSentimentResult` and :class:`~azure.ai.textanalytics.DocumentError` in the order the original documents were @@ -646,6 +647,10 @@ async def analyze_sentiment( # type: ignore kwargs.update({"string_index_type": string_index_type}) if show_opinion_mining is not None: + if self._api_version == TextAnalyticsApiVersion.V3_0 and show_opinion_mining: + raise ValueError( + "'show_opinion_mining' is only available for API version v3.1 and up" + ) kwargs.update({"opinion_mining": show_opinion_mining}) try: @@ -656,17 +661,11 @@ async def analyze_sentiment( # type: ignore cls=kwargs.pop("cls", sentiment_result), **kwargs ) - except TypeError as error: - if "opinion_mining" in str(error): - raise ValueError( - "'show_opinion_mining' is only available for API version v3.1-preview and up" - ) - raise error except HttpResponseError as error: process_http_response_error(error) def _healthcare_result_callback(self, doc_id_order, raw_response, _, headers, show_stats=False): - healthcare_result = self._client.models(api_version="v3.1-preview.5").HealthcareJobState.deserialize( + healthcare_result = self._client.models(api_version="v3.1").HealthcareJobState.deserialize( raw_response ) return healthcare_paged_result( @@ -692,10 +691,6 @@ async def begin_analyze_healthcare_entities( # type: ignore We also extract the relations found between entities, for example in "The subject took 100 mg of ibuprofen", we would extract the relationship between the "100 mg" dosage and the "ibuprofen" medication. - NOTE: this endpoint is currently in gated preview, meaning your subscription needs to be allow-listed - for you to use this endpoint. More information about that here: - https://aka.ms/text-analytics-health-request-access - :param documents: The set of documents to process as part of this batch. If you wish to specify the ID and language on a per-item basis you must use as input a list[:class:`~azure.ai.textanalytics.TextDocumentInput`] or a list of @@ -780,7 +775,7 @@ async def begin_analyze_healthcare_entities( # type: ignore except ValueError as error: if "API version v3.0 does not have operation 'begin_health'" in str(error): raise ValueError( - "'begin_analyze_healthcare_entities' endpoint is only available for API version V3_1_PREVIEW and up" + "'begin_analyze_healthcare_entities' endpoint is only available for API version V3_1 and up" ) raise error @@ -788,7 +783,7 @@ async def begin_analyze_healthcare_entities( # type: ignore process_http_response_error(error) def _analyze_result_callback(self, doc_id_order, task_order, raw_response, _, headers, show_stats=False): - analyze_result = self._client.models(api_version="v3.1-preview.5").AnalyzeJobState.deserialize( + analyze_result = self._client.models(api_version="v3.1").AnalyzeJobState.deserialize( raw_response ) return analyze_paged_result( @@ -871,7 +866,7 @@ async def begin_analyze_actions( # type: ignore display_name = kwargs.pop("display_name", None) language_arg = kwargs.pop("language", None) language = language_arg if language_arg is not None else self._default_language - docs = self._client.models(api_version="v3.1-preview.5").MultiLanguageBatchInput( + docs = self._client.models(api_version="v3.1").MultiLanguageBatchInput( documents=_validate_input(documents, "language", language) ) show_stats = kwargs.pop("show_stats", False) @@ -882,7 +877,7 @@ async def begin_analyze_actions( # type: ignore task_order = [_determine_action_type(action) for action in actions] try: - analyze_tasks = self._client.models(api_version='v3.1-preview.5').JobManifestTasks( + analyze_tasks = self._client.models(api_version='v3.1').JobManifestTasks( entity_recognition_tasks=[ t.to_generated() for t in [a for a in actions if _determine_action_type(a) == _AnalyzeActionsType.RECOGNIZE_ENTITIES] @@ -907,7 +902,7 @@ async def begin_analyze_actions( # type: ignore [a for a in actions if _determine_action_type(a) == _AnalyzeActionsType.ANALYZE_SENTIMENT] ] ) - analyze_body = self._client.models(api_version='v3.1-preview.5').AnalyzeBatchInput( + analyze_body = self._client.models(api_version='v3.1').AnalyzeBatchInput( display_name=display_name, tasks=analyze_tasks, analysis_input=docs @@ -930,7 +925,7 @@ async def begin_analyze_actions( # type: ignore except ValueError as error: if "API version v3.0 does not have operation 'begin_analyze'" in str(error): raise ValueError( - "'begin_analyze_actions' endpoint is only available for API version V3_1_PREVIEW and up" + "'begin_analyze_actions' endpoint is only available for API version V3_1 and up" ) raise error diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/README.md b/sdk/textanalytics/azure-ai-textanalytics/samples/README.md index dc77ca5f6127..5b4e66de753c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/README.md @@ -41,7 +41,7 @@ These sample programs show common scenarios for the Text Analytics client's offe 1. Install the Azure Text Analytics client library for Python with [pip][pip]: ```bash -pip install azure-ai-textanalytics --pre +pip install azure-ai-textanalytics ``` For more information about how the versioning story of the SDK corresponds to the versioning story of the service's API, see [here][versioning_story_readme]. diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_async.py index 2654025f7290..3fc43e012a3d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_async.py @@ -16,10 +16,6 @@ comb through all of the prescriptions our pharmacy has fulfilled so we can catalog how much inventory we have. - As a usage note: healthcare is currently in gated preview. Your subscription needs to - be allow-listed before you can use this endpoint. More information about that here: - https://aka.ms/text-analytics-health-request-access - USAGE: python sample_analyze_healthcare_entities_async.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_with_cancellation_async.py b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_with_cancellation_async.py index 43cef0ae5553..7688fdf469f3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_with_cancellation_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_analyze_healthcare_entities_with_cancellation_async.py @@ -11,10 +11,6 @@ DESCRIPTION: This sample demonstrates how to cancel a Health job after it's been started. - Since the Health API is currently only available in a gated preview, you need - to have your subscription on the service's allow list. More information - here: https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-for-health?tabs=ner#request-access-to-the-public-preview. - USAGE: python sample_analyze_healthcare_entities_with_cancellation.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities.py b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities.py index 2f56e1d33454..452ba2007acc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities.py @@ -16,10 +16,6 @@ comb through all of the prescriptions our pharmacy has fulfilled so we can catalog how much inventory we have. - As a usage note: healthcare is currently in gated preview. Your subscription needs to - be allow-listed before you can use this endpoint. More information about that here: - https://aka.ms/text-analytics-health-request-access - USAGE: python sample_analyze_healthcare_entities.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities_with_cancellation.py b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities_with_cancellation.py index 37d856a174f8..850331275e2a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities_with_cancellation.py +++ b/sdk/textanalytics/azure-ai-textanalytics/samples/sample_analyze_healthcare_entities_with_cancellation.py @@ -11,9 +11,6 @@ DESCRIPTION: This sample demonstrates how to cancel a Healthcare Entities Analysis job after it's been started. - Since the Health API is currently only available in a gated preview, you need - to have your subscription on the service's allow list. More information - here: https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-for-health?tabs=ner#request-access-to-the-public-preview. USAGE: python sample_analyze_healthcare_entities_with_cancellation.py diff --git a/sdk/textanalytics/azure-ai-textanalytics/setup.py b/sdk/textanalytics/azure-ai-textanalytics/setup.py index 172d89f12b47..c51ed43678ad 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/setup.py +++ b/sdk/textanalytics/azure-ai-textanalytics/setup.py @@ -60,7 +60,7 @@ author_email='azpysdkhelp@microsoft.com', url='https://github.com/Azure/azure-sdk-for-python', classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', @@ -81,7 +81,7 @@ ]), install_requires=[ "azure-core<2.0.0,>=1.14.0", - "msrest>=0.6.0", + "msrest>=0.6.21", 'azure-common~=1.1', 'six>=1.11.0', ], diff --git a/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md b/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md index 43b4dcbc80d2..802ad2bb7725 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md @@ -27,7 +27,7 @@ multiapi: true ```yaml $(multiapi) batch: - tag: release_3_0 - - tag: release_3_1_preview.5 + - tag: release_3_1 - multiapiscript: true ``` @@ -35,7 +35,7 @@ batch: ```yaml $(multiapiscript) output-folder: ../azure/ai/textanalytics/_generated/ -default-api: v3_0 +default-api: v3_1 clear-output-folder: false perform-load: false ``` @@ -50,14 +50,14 @@ namespace: azure.ai.textanalytics.v3_0 output-folder: ../azure/ai/textanalytics/_generated/v3_0 ``` -## Release 3.1-Preview.5 +## Release 3.1 -These settings apply only when `--tag=release_3_1_preview.5` is specified on the command line. +These settings apply only when `--tag=release_3_1` is specified on the command line. -```yaml $(tag) == 'release_3_1_preview.5' -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/1397ebcd89b83e94c674db1763b5fe97c45e74e3/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.5/TextAnalytics.json -namespace: azure.ai.textanalytics.v3_1_preview_5 -output-folder: ../azure/ai/textanalytics/_generated/v3_1_preview_5 +```yaml $(tag) == 'release_3_1' +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/cognitiveservices/data-plane/TextAnalytics/stable/v3.1/TextAnalytics.json +namespace: azure.ai.textanalytics.v3_1 +output-folder: ../azure/ai/textanalytics/_generated/v3_1 ``` ### Override Analyze's pager poller @@ -87,3 +87,14 @@ directive: $["x-python-custom-default-polling-method-sync"] = "...._lro.AnalyzeHealthcareEntitiesLROPollingMethod"; $["x-python-custom-default-polling-method-async"] = ".....aio._lro_async.AsyncAnalyzeHealthcareEntitiesLROPollingMethod"; ``` + +### Override parameterizing the ApiVersion + +```yaml $(tag) == 'release_3_1' +directive: + - from: swagger-document + where: '$["x-ms-parameterized-host"]' + transform: > + $["hostTemplate"] = "{Endpoint}/text/analytics/v3.1"; + $["parameters"] = [{"$ref": "#/parameters/Endpoint"}]; +``` \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_key_phrase_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_key_phrase_task.yaml index 9ea5eddf8c93..3c81d27f3778 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_key_phrase_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_key_phrase_task.yaml @@ -18,19 +18,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 64bda9ae-4d3e-451c-8e3e-014781f66287 + - af5880f4-031a-4f46-9571-9bb6a012b54f date: - - Tue, 18 May 2021 17:46:49 GMT + - Wed, 23 Jun 2021 01:22:59 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e6986287-c96b-4c43-bdf3-a0bf466ad000 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '131' + - '10403' status: code: 202 message: Accepted @@ -52,19 +52,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e6986287-c96b-4c43-bdf3-a0bf466ad000?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True response: body: - string: '{"jobId":"e6986287-c96b-4c43-bdf3-a0bf466ad000","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:00Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - ec7f0966-bde8-4eb6-9b00-f230f01f030a + - 1f9b9ed0-42f7-4d5e-ad3e-58ae3122818e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:54 GMT + - Wed, 23 Jun 2021 01:23:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -72,7 +72,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '7652' status: code: 200 message: OK @@ -86,19 +86,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e6986287-c96b-4c43-bdf3-a0bf466ad000?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True response: body: - string: '{"jobId":"e6986287-c96b-4c43-bdf3-a0bf466ad000","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:13Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - d92cc4d3-b580-4b0e-afac-9260b84784f8 + - 1698ef7a-fa44-4f61-aa84-629d5344a0ea content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:58 GMT + - Wed, 23 Jun 2021 01:23:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -106,7 +106,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '6' status: code: 200 message: OK @@ -120,21 +120,123 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e6986287-c96b-4c43-bdf3-a0bf466ad000?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True response: body: - string: '{"jobId":"e6986287-c96b-4c43-bdf3-a0bf466ad000","lastUpdateDateTime":"2021-05-18T17:47:00Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:00Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:00.2942137Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:13Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - c719560a-0bc0-4381-97b1-94e4ef9396cc + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:23:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '57' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True + response: + body: + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:13Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 3a93b590-4f82-4e71-97af-dfea40bd48c0 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:23:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True + response: + body: + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:13Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 65eb4553-0b55-45b5-805d-a97551e741ba + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:23:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '11' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/858a8557-3178-4968-8e3d-5e1a84d2aecb?showStats=True + response: + body: + string: '{"jobId":"858a8557-3178-4968-8e3d-5e1a84d2aecb","lastUpdateDateTime":"2021-06-23T01:23:44Z","createdDateTime":"2021-06-23T01:22:49Z","expirationDateTime":"2021-06-24T01:22:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:23:44.1214759Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 13b481a8-a3ba-44da-91c3-05faea6824a9 + - f104bb91-e6cf-461a-914d-4c9b66296f73 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:23:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -142,7 +244,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '88' + - '7585' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_sentiment_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_sentiment_task.yaml index f78f2f71df2a..4e8333cebca2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_sentiment_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_dict_sentiment_task.yaml @@ -20,19 +20,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - c728ad66-6eab-4962-8614-e34dc9a1f490 + - 0e429885-28f7-497e-8e01-298f87b4e4d8 date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:23:48 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/edffa24e-3743-4e58-b907-a60d462b91d4 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '153' + - '2844' status: code: 202 message: Accepted @@ -54,19 +54,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/edffa24e-3743-4e58-b907-a60d462b91d4?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True response: body: - string: '{"jobId":"edffa24e-3743-4e58-b907-a60d462b91d4","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:47Z","expirationDateTime":"2021-05-19T17:46:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:49Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 58f1014c-efa3-42a6-801e-1ff770070375 + - c76ff1e3-2871-4604-a89b-f56ae20cfda3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:52 GMT + - Wed, 23 Jun 2021 01:23:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -74,7 +74,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '8' status: code: 200 message: OK @@ -88,19 +88,87 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/edffa24e-3743-4e58-b907-a60d462b91d4?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True response: body: - string: '{"jobId":"edffa24e-3743-4e58-b907-a60d462b91d4","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:47Z","expirationDateTime":"2021-05-19T17:46:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 0e3bbfaf-52e9-4928-9dde-86c44afff7ae + - f85b3cfc-13ac-4062-b6f4-7a15b357b27b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:57 GMT + - Wed, 23 Jun 2021 01:23:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 2e353de0-ee24-4595-a368-000f84e9f2e1 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:04 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - e47a7a1a-f132-4c49-9f81-99ec357b46db + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -122,12 +190,216 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - c9a4a9ea-7964-4c19-bc05-355c0cb0ba71 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:14 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - f99aac76-9cc1-4a1a-9c28-94608e520f0d + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 44c5abe5-77cf-4514-b2ed-702e4bb92fca + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 8a194b77-7fd1-470b-890f-709f26a98bb9 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 5e326f02-b8ba-4e26-8a15-9434956a3860 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:34 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True + response: + body: + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:23:57Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 24c4d7c9-c420-4990-83fd-6bb3b3679b38 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:24:40 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/edffa24e-3743-4e58-b907-a60d462b91d4?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/7294746a-ad92-4257-9f39-a4bb483fb227?showStats=True response: body: - string: '{"jobId":"edffa24e-3743-4e58-b907-a60d462b91d4","lastUpdateDateTime":"2021-05-18T17:47:03Z","createdDateTime":"2021-05-18T17:46:47Z","expirationDateTime":"2021-05-19T17:46:47Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:03Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:03.1693063Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft + string: '{"jobId":"7294746a-ad92-4257-9f39-a4bb483fb227","lastUpdateDateTime":"2021-06-23T01:24:43Z","createdDateTime":"2021-06-23T01:23:46Z","expirationDateTime":"2021-06-24T01:23:46Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:24:43.3336347Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft was founded by Bill Gates and Paul Allen."}],"warnings":[]},{"id":"2","sentiment":"negative","statistics":{"charactersCount":60,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.22,"negative":0.77},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.45,"negative":0.54},"offset":0,"length":38,"text":"I did not like the hotel we stayed at."},{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":39,"length":21,"text":"It was too expensive."}],"warnings":[]},{"id":"3","sentiment":"positive","statistics":{"charactersCount":60,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The @@ -135,11 +407,11 @@ interactions: recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 57faea25-c64d-4b00-ab45-74f7c801557f + - 17d20a3e-9d55-485e-8691-6ff595530422 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:03 GMT + - Wed, 23 Jun 2021 01:24:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -147,7 +419,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '64' + - '82' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_string_pii_entities_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_string_pii_entities_task.yaml index 0bbc9b92f5df..588cdd4dddb5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_string_pii_entities_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_string_pii_entities_task.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": - {"model-version": "latest", "loggingOptOut": true, "stringIndexType": "UnicodeCodePoint"}}], + {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [], "entityLinkingTasks": [], "sentimentAnalysisTasks": []}, "analysisInput": {"documents": [{"id": "0", "text": "My SSN is 859-98-0987.", "language": "en"}, {"id": "1", "text": "Your ABA number - 111000025 - is the @@ -16,23 +16,23 @@ interactions: Connection: - keep-alive Content-Length: - - '601' + - '602' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 94e3e253-333b-44fa-9cf6-25cd8cc47109 + - 26473a47-936a-44a1-ad27-b5b4f8264e8a date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:24:50 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b2330476-a0ea-4653-ba03-ed49b7225850 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '130' + - '5307' status: code: 202 message: Accepted @@ -54,19 +54,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b2330476-a0ea-4653-ba03-ed49b7225850?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True response: body: - string: '{"jobId":"b2330476-a0ea-4653-ba03-ed49b7225850","lastUpdateDateTime":"2021-05-18T17:46:48Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:48Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:24:52Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 3955899e-773d-4571-b4f6-221c0631ce18 + - 63c403ea-473e-4e21-b080-4338ad219a3e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:52 GMT + - Wed, 23 Jun 2021 01:24:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -74,7 +74,75 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True + response: + body: + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:24:52Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 0f638493-7632-4e01-bdf3-6487794de751 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:01 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True + response: + body: + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:24:52Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - c0010ed3-0dc5-4802-b0df-f8ea018b6222 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' status: code: 200 message: OK @@ -88,19 +156,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b2330476-a0ea-4653-ba03-ed49b7225850?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True response: body: - string: '{"jobId":"b2330476-a0ea-4653-ba03-ed49b7225850","lastUpdateDateTime":"2021-05-18T17:46:48Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:48Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:24:52Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - db407b51-47af-4084-aedc-10d3b87b7867 + - ecaebc1c-044b-4ad6-b0d1-0742eba79acf content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:57 GMT + - Wed, 23 Jun 2021 01:25:10 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -122,19 +190,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b2330476-a0ea-4653-ba03-ed49b7225850?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True response: body: - string: '{"jobId":"b2330476-a0ea-4653-ba03-ed49b7225850","lastUpdateDateTime":"2021-05-18T17:46:48Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:48Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:24:52Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - bbc5b390-ef55-4549-bc40-1741798ede95 + - 4f3287d2-2c7c-4fba-bf17-ebda763ddd3b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:02 GMT + - Wed, 23 Jun 2021 01:25:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -142,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '7' status: code: 200 message: OK @@ -156,23 +224,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b2330476-a0ea-4653-ba03-ed49b7225850?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dc63fffc-40da-4349-a020-e53c8a9a3d09?showStats=True response: body: - string: '{"jobId":"b2330476-a0ea-4653-ba03-ed49b7225850","lastUpdateDateTime":"2021-05-18T17:47:04Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:04Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:04.3877836Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My + string: '{"jobId":"dc63fffc-40da-4349-a020-e53c8a9a3d09","lastUpdateDateTime":"2021-06-23T01:25:17Z","createdDateTime":"2021-06-23T01:24:45Z","expirationDateTime":"2021-06-24T01:24:45Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:25:17.3013401Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My SSN is ***********.","id":"0","statistics":{"charactersCount":22,"transactionsCount":1},"entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","statistics":{"charactersCount":105,"transactionsCount":1},"entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"2","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' headers: apim-request-id: - - 4b8fcc58-d634-4e0f-b967-d81090c55252 + - fd2f2ba4-518c-47d0-8b0e-36ca6f1c2137 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:07 GMT + - Wed, 23 Jun 2021 01:25:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -180,7 +248,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '50' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_text_document_input_entities_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_text_document_input_entities_task.yaml index dd5e45baa60d..64abbd8819a0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_text_document_input_entities_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_all_successful_passing_text_document_input_entities_task.yaml @@ -21,19 +21,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 7b4b050f-fac5-4282-9f5b-a5b3514f0e99 + - adcf835d-bafb-48b1-ac63-22f2edebe8e8 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:25:21 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a9f55566-7c30-428f-87c0-d3b3d369ed2b + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '102' + - '314' status: code: 202 message: Accepted @@ -55,19 +55,53 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a9f55566-7c30-428f-87c0-d3b3d369ed2b?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True response: body: - string: '{"jobId":"a9f55566-7c30-428f-87c0-d3b3d369ed2b","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 838a2686-0670-40f1-ab59-c3f347d85ec9 + - 0a0a7b5e-bdac-44b2-8900-44e2e99701f7 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:54 GMT + - Wed, 23 Jun 2021 01:25:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - fd414019-067b-42a0-b87f-3727552f1ae5 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -89,19 +123,121 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a9f55566-7c30-428f-87c0-d3b3d369ed2b?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True response: body: - string: '{"jobId":"a9f55566-7c30-428f-87c0-d3b3d369ed2b","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 54ac258a-066d-49a3-ae2c-8e57c1c0d70f + - ec3f91cc-c2ee-4a48-be94-d0414dee656d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:59 GMT + - Wed, 23 Jun 2021 01:25:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '27' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - d66187ec-d381-46fe-a296-470dcb84a72a + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:42 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 8640c483-3d2b-4688-9cea-bca0ed27eef3 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:47 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 1de24da4-299c-4dee-bcad-90c5a7c94247 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -123,28 +259,232 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 90fc3a95-4709-4938-816d-2b38a6bb16d5 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:25:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - cec17492-1d90-4ef4-aa19-ebed56bcb76f + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:26:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - d0183f64-50aa-4ddd-a4af-f82037844943 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:26:07 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - d46df357-f9f9-4752-8dbf-78b28f7d0a8c + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:26:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - f4d77dc7-bd4f-4367-b456-bd65657be0c3 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:26:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True + response: + body: + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:25:23Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - fc4dcafd-3c9b-47c1-87d7-52a25d764f1f + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:26:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a9f55566-7c30-428f-87c0-d3b3d369ed2b?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2?showStats=True response: body: - string: '{"jobId":"a9f55566-7c30-428f-87c0-d3b3d369ed2b","lastUpdateDateTime":"2021-05-18T17:47:02Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:02Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:02.6975557Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":67,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April - 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","statistics":{"charactersCount":72,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill + string: '{"jobId":"2b57fa84-6a2a-4cd5-b6fe-5eda5ad445f2","lastUpdateDateTime":"2021-06-23T01:26:28Z","createdDateTime":"2021-06-23T01:25:22Z","expirationDateTime":"2021-06-24T01:25:22Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:28.7857062Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":67,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.99},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April + 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","statistics":{"charactersCount":72,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1.0},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 - de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","statistics":{"charactersCount":73,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"4. + de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","statistics":{"charactersCount":73,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + Allen","category":"Person","offset":52,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 2bb7f46a-b9d8-4b2f-b9e5-c1106b12193d + - abdbfcff-aeaf-4be9-8bcb-5c71673eca46 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:26:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -152,7 +492,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '40' + - '133' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_credentials.yaml index f74784eab8c8..31af8d12cbe0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_credentials.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -18,23 +18,27 @@ interactions: Connection: - keep-alive Content-Length: - - '741' + - '742' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 48bdc149-b5ca-4cdf-a55b-e889ab324342 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:26:28 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_all_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_all_tasks.yaml index 5549986ad9b5..16399cfbcf68 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_all_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_all_tasks.yaml @@ -2,7 +2,7 @@ interactions: - request: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [{"parameters": {"model-version": "bad", "loggingOptOut": true, "stringIndexType": + [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": @@ -17,25 +17,25 @@ interactions: Connection: - keep-alive Content-Length: - - '742' + - '743' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Job task parameter value - bad is not supported for model-version parameter for job task type KeyPhraseExtraction. - Supported values latest,2019-10-01,2020-07-01."}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job + task parameter value bad is not supported for model-version parameter for + job task type KeyPhraseExtraction. Supported values latest,2019-10-01,2020-07-01,2021-05-01."}}}' headers: apim-request-id: - - 2bf0b084-7d06-4b8b-a291-7e30eddb43d0 + - 3495be0b-6377-4e9b-b500-024a65887de0 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:26:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_multiple_tasks.yaml index a95f52500aca..1dda0b8b27bb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -18,25 +18,25 @@ interactions: Connection: - keep-alive Content-Length: - - '745' + - '746' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Job task parameter value - bad is not supported for model-version parameter for job task type KeyPhraseExtraction. - Supported values latest,2019-10-01,2020-07-01."}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job + task parameter value bad is not supported for model-version parameter for + job task type KeyPhraseExtraction. Supported values latest,2019-10-01,2020-07-01,2021-05-01."}}}' headers: apim-request-id: - - 16e48d44-51c2-4184-8908-994e9ed37503 + - b78a827f-219e-43ea-ae4e-4e663aef09a8 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:49 GMT + - Wed, 23 Jun 2021 01:26:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '28' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_single_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_single_task.yaml deleted file mode 100644 index 4606ad990f78..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_model_version_error_single_task.yaml +++ /dev/null @@ -1,79 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "bad", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I did not like the hotel we stayed at.", "language": "english"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '305' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: - - 9f8d6b94-fc4f-47fe-bd8d-c4f41223f01b - date: - - Tue, 23 Feb 2021 17:06:40 GMT - operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/dc6db5d8-0c26-4b34-92a0-2b923b654df5 - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '194' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/dc6db5d8-0c26-4b34-92a0-2b923b654df5 - response: - body: - string: '{"jobId":"dc6db5d8-0c26-4b34-92a0-2b923b654df5","lastUpdateDateTime":"2021-02-23T17:06:41Z","createdDateTime":"2021-02-23T17:06:41Z","expirationDateTime":"2021-02-24T17:06:41Z","status":"failed","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type NamedEntityRecognition. Supported values latest,2020-04-01,2021-01-15.","target":"#/tasks/entityRecognitionTasks/0"}],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:41Z"},"completed":0,"failed":1,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:06:41.509565Z","state":"failed"}]}}' - headers: - apim-request-id: - - 57e7727f-facb-4d1d-a642-0e3d66e7a711 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:46 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '11' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_request_on_empty_document.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_request_on_empty_document.yaml index 2d9e81fdf658..0f4cc2ee082b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_request_on_empty_document.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_bad_request_on_empty_document.yaml @@ -16,20 +16,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Missing - input documents."}}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Document + text is empty."}}}' headers: apim-request-id: - - f1203552-ade6-4bbe-b2b5-b7810cf8ef74 + - edc28160-4bfb-4cb4-813b-dbd38087a44f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:26:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_disable_service_logs.yaml index f445bdb237a6..708c2be5045f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_disable_service_logs.yaml @@ -21,19 +21,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 5d323600-976b-499d-b100-65017f5a9031 + - ebd320e7-dcb4-4f4f-ab35-aad085726c4c date: - - Tue, 08 Jun 2021 01:31:27 GMT + - Wed, 23 Jun 2021 01:26:30 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7789' + - '397' status: code: 202 message: Accepted @@ -55,21 +55,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:30Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:30Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:32Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - b6330ac5-ec6c-491a-8a60-b528ce1c5633 + - 021969b2-d7c8-4a32-961a-d2cf29fcc524 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:31:34 GMT + - Wed, 23 Jun 2021 01:26:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -77,7 +77,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2619' + - '50' status: code: 200 message: OK @@ -91,21 +91,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:30Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:30Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:32Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - db60a717-9a67-423f-8a66-791a5929a75a + - 5699362f-1f2b-4462-88c9-add4c6e0a5e9 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:31:39 GMT + - Wed, 23 Jun 2021 01:26:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -113,7 +113,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '53' status: code: 200 message: OK @@ -127,21 +127,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:40Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:40Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:40.3875777Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:43Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 3ba36732-3651-44c0-a13f-dcd9a55a7409 + - b9af7fbe-919f-4c62-ae7e-371468e4bf89 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:31:50 GMT + - Wed, 23 Jun 2021 01:26:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -149,7 +149,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5059' + - '62' status: code: 200 message: OK @@ -163,22 +163,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:45Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:45Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:40.3875777Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:48Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9835188Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:45.5629681Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9417142Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 70c029ea-1e47-46f2-8ab2-76138764b923 + - d78cac9f-d4b3-47e1-a29d-a592fde8ba72 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:31:55 GMT + - Wed, 23 Jun 2021 01:26:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -186,7 +185,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '50' + - '156' status: code: 200 message: OK @@ -200,23 +199,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:56Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:56Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:40.3875777Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:53Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9835188Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:45.5629681Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:56.2415819Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9417142Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:53.9782951Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 747dee06-ff9c-461c-98aa-6e564623d1e3 + - cece8439-5f13-46b3-aba5-628e4b9a2771 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:32:00 GMT + - Wed, 23 Jun 2021 01:26:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -224,7 +222,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '61' + - '222' status: code: 200 message: OK @@ -238,23 +236,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:31:56Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:31:56Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:40.3875777Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:26:53Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9835188Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:45.5629681Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:56.2415819Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9417142Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:53.9782951Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 43bec792-47e3-4676-b80d-fdb8d957c5a9 + - d427593c-16c7-4fc8-956a-863618bf2891 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:32:05 GMT + - Wed, 23 Jun 2021 01:27:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -262,7 +259,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '55' + - '176' status: code: 200 message: OK @@ -276,23 +273,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/5d783e81-0585-4d59-b361-7eb148b39377 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/377a64d9-132f-4aff-8eb0-509a424e4b3d response: body: - string: '{"jobId":"5d783e81-0585-4d59-b361-7eb148b39377","lastUpdateDateTime":"2021-06-08T01:32:06Z","createdDateTime":"2021-06-08T01:31:19Z","expirationDateTime":"2021-06-09T01:31:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-06-08T01:32:06Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:40.3875777Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:30.1194597Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"377a64d9-132f-4aff-8eb0-509a424e4b3d","lastUpdateDateTime":"2021-06-23T01:27:06Z","createdDateTime":"2021-06-23T01:26:30Z","expirationDateTime":"2021-06-24T01:26:30Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9835188Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:32.1367823Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:45.5629681Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-08T01:32:06.4267819Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-08T01:31:56.2415819Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:06.5563923Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"Test + for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:48.9417142Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:26:53.9782951Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 76c080b0-c1f3-40a3-bd1f-79cfbe1e9711 + - ee48dd9f-2f79-483e-802f-85a8b4d40ef1 content-type: - application/json; charset=utf-8 date: - - Tue, 08 Jun 2021 01:32:11 GMT + - Wed, 23 Jun 2021 01:27:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -300,7 +297,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '82' + - '209' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_duplicate_ids_error.yaml deleted file mode 100644 index 5242f65dffc1..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_duplicate_ids_error.yaml +++ /dev/null @@ -1,47 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [{"parameters": {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}], - "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest"}}]}, - "analysisInput": {"documents": [{"id": "1", "text": "hello world", "language": - "en"}, {"id": "1", "text": "I did not like the hotel we stayed at.", "language": - "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '482' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innerError":{"code":"InvalidDocument","message":"Request - contains duplicated Ids. Make sure each document has a unique Id."}}}' - headers: - apim-request-id: - - e1f87b53-f2a9-472b-8487-27a3cd0dc10b - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:04:22 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '5' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_empty_credential_class.yaml index f74784eab8c8..8cda379ebe21 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_empty_credential_class.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -18,23 +18,27 @@ interactions: Connection: - keep-alive Content-Length: - - '741' + - '742' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 2046376c-5420-496f-8ac6-17dff768b473 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:27:07 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_invalid_language_hint_method.yaml index 963b75ab5550..d960b22cc8d7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_invalid_language_hint_method.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -18,23 +18,23 @@ interactions: Connection: - keep-alive Content-Length: - - '790' + - '791' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 8f1d78a5-e803-4f4d-8846-b6d64ecead10 + - c07811c3-ff3b-42da-9d79-6cfb509030ee date: - - Tue, 18 May 2021 17:46:47 GMT + - Wed, 23 Jun 2021 01:27:08 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '164' + - '450' status: code: 202 message: Accepted @@ -56,21 +56,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:49Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - e7bf64a2-b3ad-45ef-a488-a53e2b7fde3a + - 02251fd0-16d3-448f-96e5-5c9595e362b9 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:56 GMT + - Wed, 23 Jun 2021 01:27:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -78,7 +78,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2551' + - '50' status: code: 200 message: OK @@ -92,27 +92,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:46:59Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:59Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 099e3b35-7e87-4e88-8ad5-c930eed7f4ef + - 874e0920-e95f-4f18-a5f1-363ac92e0a54 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:01 GMT + - Wed, 23 Jun 2021 01:27:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -120,7 +114,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '93' + - '57' status: code: 200 message: OK @@ -134,27 +128,57 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:46:59Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:59Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' + headers: + apim-request-id: + - 03fc1282-e9bc-4a95-a7c2-baa38f5f5c7d + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:27:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '48' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e + response: + body: + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 72236750-4dad-4ef7-b7c9-c83771887ad6 + - db3949b7-de9c-40c6-b3ad-27fcab66d880 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:06 GMT + - Wed, 23 Jun 2021 01:27:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -162,7 +186,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '71' + - '46' status: code: 200 message: OK @@ -176,30 +200,96 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' + headers: + apim-request-id: + - f8b6d52b-b449-44cb-bbc0-ed14865e6696 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:27:33 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '43' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e + response: + body: + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:09Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}]}}' + headers: + apim-request-id: + - 106fd220-3a47-4a3d-bd84-9195ed7df02a + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:27:38 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '54' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e + response: + body: + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:44Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - aa2ef77b-6956-43f5-bfa6-e20f7909546b + - 116cc64e-f72d-4628-b393-1d4780423e86 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:11 GMT + - Wed, 23 Jun 2021 01:27:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -207,7 +297,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '215' + - '110' status: code: 200 message: OK @@ -221,30 +311,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:44Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - c0eba25a-fbbf-47cf-8624-eb0db3a954ad + - e3a9eb34-b7ef-4102-80bf-aa70626d0b84 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:17 GMT + - Wed, 23 Jun 2021 01:27:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -252,7 +336,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '138' + - '85' status: code: 200 message: OK @@ -266,30 +350,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:44Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 870cb305-9bb5-4a0c-a77b-8a3a97b1e851 + - 59385bbc-9a92-4f0c-9fa5-a4fe7e6f44b1 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:22 GMT + - Wed, 23 Jun 2021 01:27:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -297,7 +375,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '90' + - '103' status: code: 200 message: OK @@ -311,30 +389,63 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:44Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. + For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: + - 8dc759cf-593f-44e3-ab6c-59a7b3a0d2eb + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:28:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '87' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e + response: + body: + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:27:44Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - f82c4782-a21b-47b6-a21c-0e551c575b38 + - 44790b62-3f5d-4bac-be8c-a8db5f60ecd2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:27 GMT + - Wed, 23 Jun 2021 01:28:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -342,7 +453,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '91' + - '88' status: code: 200 message: OK @@ -356,30 +467,63 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:08Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. + For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: + - 0702db2a-fd86-4fd7-b797-f70e445510d3 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:28:10 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '282' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e + response: + body: + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:14Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - b0b24709-c27c-43fa-908f-0c1fd09e9f50 + - 7645d742-a1c6-42d4-a721-1729538fa85e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:32 GMT + - Wed, 23 Jun 2021 01:28:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -387,7 +531,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '87' + - '84' status: code: 200 message: OK @@ -401,30 +545,27 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:20Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:20.0275393Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid - Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - b3383d31-0e71-4a8e-b7a3-7ab882838caa + - 2eb87892-1157-4b8f-afca-8eede5e4cf97 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:28:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -432,7 +573,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '105' + - '162' status: code: 200 message: OK @@ -446,30 +587,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:25Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:25.1164561Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:20.0275393Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - a6b90665-2fd6-4e7c-8ac2-c23ba53065f0 + - 09baf2cf-7eb5-40d3-8c9a-5451ecb7922b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:28:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -477,7 +618,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '94' + - '164' status: code: 200 message: OK @@ -491,30 +632,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:25Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:25.1164561Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:20.0275393Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 540c0202-d254-45f2-9aac-ba3db72e6510 + - 83c9be60-4168-426d-a67b-fb86e552afe2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:28:31 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -522,7 +663,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '106' + - '992' status: code: 200 message: OK @@ -536,30 +677,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:11Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:25Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:25.1164561Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:20.0275393Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 231672c1-5505-4886-90dc-d7ab8e0c21b2 + - 9fce83ee-4496-487a-bd7e-9c6ae47317bf content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:28:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -567,7 +708,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '92' + - '167' status: code: 200 message: OK @@ -581,33 +722,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/df4c76d7-8e71-4747-b6da-025273b4f876 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d2f4746-6e21-4048-8a6e-ff0cb882075e response: body: - string: '{"jobId":"df4c76d7-8e71-4747-b6da-025273b4f876","lastUpdateDateTime":"2021-05-18T17:47:57Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:57Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:57.9451662Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"2d2f4746-6e21-4048-8a6e-ff0cb882075e","lastUpdateDateTime":"2021-06-23T01:28:39Z","createdDateTime":"2021-06-23T01:27:08Z","expirationDateTime":"2021-06-24T01:27:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:25.1164561Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:49.7545461Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:09.8034555Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.201282Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=entity-linking"}}}],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:20.0275393Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:55.0396418Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:39.6608061Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.2907052Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:27:44.0617122Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,ja,ko,zh-Hans,zh-Hant,de,es,fr,hi,no,tr,it,nl,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 39fdfe9a-6f44-4ee6-aee8-3e69c3730863 + - e112a490-45c6-473f-8ac6-d75f8439a22b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:28:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -615,7 +756,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '140' + - '259' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_multiple_pages_of_results_returned_successfully.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_multiple_pages_of_results_returned_successfully.yaml index 741fe471c04b..05bc1e5c2fd4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_multiple_pages_of_results_returned_successfully.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_multiple_pages_of_results_returned_successfully.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -34,23 +34,23 @@ interactions: Connection: - keep-alive Content-Length: - - '2036' + - '2037' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 47d4ddaa-0f2f-4b46-8d4a-ae266fa9d215 + - a93a8fdd-1975-4df1-ab0a-e49fb4de89b7 date: - - Tue, 18 May 2021 17:46:49 GMT + - Wed, 23 Jun 2021 01:28:43 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -58,7 +58,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '506' + - '1121' status: code: 202 message: Accepted @@ -72,19 +72,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:46:53Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:53Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?$skip=20&$top=5&showStats=True"}' + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:28:47Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' headers: apim-request-id: - - 73463315-717c-4939-82fd-69ef19bbb612 + - c410eb46-a5a6-4686-8ed2-1aeb01c29e1b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:54 GMT + - Wed, 23 Jun 2021 01:28:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -92,7 +92,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '208' + - '199' status: code: 200 message: OK @@ -106,19 +106,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:46:53Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:53Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?$skip=20&$top=5&showStats=True"}' + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:28:52Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' headers: apim-request-id: - - 9db1f063-a23b-4dd1-92c2-ae23e1343b0a + - 30083bd7-e64e-4e4e-a0f0-a3b7b88543e5 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:59 GMT + - Wed, 23 Jun 2021 01:28:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -126,7 +126,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '188' + - '457' status: code: 200 message: OK @@ -140,19 +140,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:47:05Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:05Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:04.4340593Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?$skip=20&$top=5&showStats=True"}' + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:28:52Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' headers: apim-request-id: - - 2cd353a3-be43-4004-bde2-f7c778ea8a46 + - 592cf4d2-7dcd-4dfb-a15a-c36f5fa8b41f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:29:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -160,7 +160,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '393' + - '452' status: code: 200 message: OK @@ -174,12 +174,646 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:47:10Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:10Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:05.6287182Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:28:52Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 4753e03c-5263-46e5-a0e5-d7f44575c170 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '487' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 5301a36f-fd1e-42cc-b698-0d3f142a7c5d + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '761' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - b9bc0188-ef6c-4264-917c-5cc969e8a653 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '659' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 06070207-3bac-4f4b-b999-795b272861f2 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:24 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '647' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 5c584dbd-4b83-46f5-a5b2-8620c95f4e77 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '627' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 65d465fc-5d7c-430a-b996-554c3074a183 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:34 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '612' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 763591fc-3add-4137-a9b4-b8c3d6bce1c8 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:41 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '658' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:10Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 93f577db-bfb7-4d7d-8154-225271e5c39c + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '700' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:51Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - 5a686249-0b0b-434c-8263-2bbfd605f6ef + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:52 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '788' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:51Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - fad24945-a97e-4b5f-a939-0fc409c00c32 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:29:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '1254' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:51Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' + headers: + apim-request-id: + - a0ed7834-a8ed-4aa5-8a8b-c4e6805c552d + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:30:04 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '955' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True + response: + body: + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:29:51Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -199,14 +833,34 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:04.4340593Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' headers: apim-request-id: - - 194b5fc7-8b4d-45a6-98f0-a58c6d1db69d + - dfb935c1-1119-4706-96e9-92c96d29fefb content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:30:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -214,7 +868,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '518' + - '992' status: code: 200 message: OK @@ -228,12 +882,12 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=True response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:47:15Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:15Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:15.7339491Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:05.6287182Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:30:13Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -253,7 +907,27 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:04.4340593Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:14.5288871Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:13.9754219Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"1","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"2","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"3","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello @@ -273,14 +947,14 @@ interactions: world"}],"warnings":[]},{"id":"17","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"18","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello - world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?$skip=20&$top=5&showStats=True"}' + world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?$skip=20&$top=5&showStats=True"}' headers: apim-request-id: - - 7dc6b1b4-f32b-41be-9911-c789b061dbce + - c53e8a62-20b1-4304-901c-16d38b861cba content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:16 GMT + - Wed, 23 Jun 2021 01:30:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -288,7 +962,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '924' + - '1059' status: code: 200 message: OK @@ -302,17 +976,22 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/fd3bdb7b-4606-41fb-846b-c26a718c218a?showStats=true&$top=5&$skip=20 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c9a4df69-1899-4ab0-a63c-c3b34d3b9e70?showStats=true&$top=5&$skip=20 response: body: - string: '{"jobId":"fd3bdb7b-4606-41fb-846b-c26a718c218a","lastUpdateDateTime":"2021-05-18T17:47:15Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:15Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:15.7339491Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"21","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"22","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"23","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:53.2638161Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"21","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"22","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"23","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:05.6287182Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"redactedText":"hello + string: '{"jobId":"c9a4df69-1899-4ab0-a63c-c3b34d3b9e70","lastUpdateDateTime":"2021-06-23T01:30:13Z","createdDateTime":"2021-06-23T01:28:43Z","expirationDateTime":"2021-06-24T01:28:43Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:52.4005794Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"21","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"22","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"23","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:28:47.6057239Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"21","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"22","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"23","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:10.9856515Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"redactedText":"hello world","id":"20","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"21","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"22","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"23","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:04.4340593Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"21","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"22","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"23","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"24","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:14.5288871Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello + world","id":"24","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:29:51.334085Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"21","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"22","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"23","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"24","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:13.9754219Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":5,"erroneousDocumentsCount":0,"transactionsCount":5},"documents":[{"id":"20","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"21","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"22","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"23","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello @@ -320,11 +999,11 @@ interactions: world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 1b174b07-7706-4b1f-ac63-ee26121ec0bc + - d94272d0-ab46-457a-be2c-d314b2f86a6e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:17 GMT + - Wed, 23 Jun 2021 01:30:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -332,7 +1011,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '285' + - '554' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_out_of_order_ids_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_out_of_order_ids_multiple_tasks.yaml index 01877f07eb3d..4544fd3773b5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_out_of_order_ids_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_out_of_order_ids_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -19,23 +19,23 @@ interactions: Connection: - keep-alive Content-Length: - - '853' + - '854' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - aa403110-4ea4-4a33-b91e-b2c669daa1f4 + - 9c5574f3-0844-4f96-8be5-a41103c5162f date: - - Tue, 18 May 2021 17:47:11 GMT + - Wed, 23 Jun 2021 01:30:18 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7769' + - '489' status: code: 202 message: Accepted @@ -57,19 +57,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:13Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:13Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:20Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 5da14c65-e9e8-41ab-9f57-8211a1a47813 + - b716d3d2-7ad7-48aa-9073-0014f4bcff83 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:16 GMT + - Wed, 23 Jun 2021 01:30:24 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -77,7 +77,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '51' + - '119' status: code: 200 message: OK @@ -91,19 +91,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:27Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 2f74e833-7c30-4356-bd4b-a4630e0c0290 + - 85fcc1b0-27ba-4426-b656-b3475ec41f37 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:21 GMT + - Wed, 23 Jun 2021 01:30:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -111,7 +111,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '314' + - '216' status: code: 200 message: OK @@ -125,19 +125,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:27Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - bd59b990-e21a-4d22-a580-711c756fe0ed + - 1a5aa3de-4abf-4e0c-91a3-a6ebcbed422d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:26 GMT + - Wed, 23 Jun 2021 01:30:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '178' + - '199' status: code: 200 message: OK @@ -159,19 +159,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - e64f9aa0-de2e-4c4b-8984-7796c0bb8eef + - 131031d5-40b5-401b-acba-97b169357385 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:32 GMT + - Wed, 23 Jun 2021 01:30:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -179,7 +179,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '176' + - '266' status: code: 200 message: OK @@ -193,19 +193,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 7ef66e94-7d13-4206-8439-16455ae2c07b + - a3a15a43-2cac-4c85-b807-1e43d3f9e8c2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:30:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -213,7 +213,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '218' + - '286' status: code: 200 message: OK @@ -227,19 +227,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 27631667-be16-4bb3-90a7-71b022905d3d + - e57c338e-739e-49d1-8aae-99d31778f01d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:30:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -247,7 +247,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '276' + - '263' status: code: 200 message: OK @@ -261,19 +261,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - ec2d30a1-935b-4345-91dc-7d4a259bee86 + - e45858bf-e778-4bfb-99a9-917023bfee87 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:30:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -281,7 +281,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '187' + - '292' status: code: 200 message: OK @@ -295,19 +295,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - c34475aa-945e-4baa-963a-96fa95ff1b26 + - 476d6186-e384-4373-84de-c2347e8de68a content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:31:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -315,7 +315,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '197' + - '265' status: code: 200 message: OK @@ -329,19 +329,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 3c62daef-8c13-4437-a3c3-dc205af7d727 + - d932d246-ff22-439b-9910-d18b477ab968 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:31:06 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -349,7 +349,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '160' + - '293' status: code: 200 message: OK @@ -363,19 +363,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - d2f80519-a184-4fa5-9289-39b166135a8b + - 454647a7-9bd8-4e0d-8b0f-de30ef219d58 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:04 GMT + - Wed, 23 Jun 2021 01:31:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -383,7 +383,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '195' + - '238' status: code: 200 message: OK @@ -397,19 +397,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 027b41dc-9db8-4c17-8ac3-20ae39ada1c8 + - ad21f6e7-7de1-47c3-97db-61dd442f434f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:10 GMT + - Wed, 23 Jun 2021 01:31:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -417,7 +417,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '203' + - '334' status: code: 200 message: OK @@ -431,19 +431,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 response: body: - string: '{"jobId":"aa3c8d2a-f6ce-44a4-b9d7-6c66d610de68","lastUpdateDateTime":"2021-05-18T17:48:14Z","createdDateTime":"2021-05-18T17:47:03Z","expirationDateTime":"2021-05-19T17:47:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:14Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:23.8292565Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:12.545755Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:14.8442186Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.1188428Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.2663942Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:30:37Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 0286bc15-3445-41f8-b7b3-9a39779725c9 + - d69ac52d-48c9-4ad9-ad19-84d1d8598cee content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:15 GMT + - Wed, 23 Jun 2021 01:31:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -451,7 +451,41 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '229' + - '275' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/5963abe4-1542-4c30-a44e-85f0b2a3d6a7 + response: + body: + string: '{"jobId":"5963abe4-1542-4c30-a44e-85f0b2a3d6a7","lastUpdateDateTime":"2021-06-23T01:31:25Z","createdDateTime":"2021-06-23T01:30:19Z","expirationDateTime":"2021-06-24T01:30:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:26.1378538Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:20.8494064Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:37.3462085Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:30:27.6045572Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:31:25.4307708Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: + - 50805765-1d44-470c-b7f7-04cf53bf840f + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:31:28 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '388' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_output_same_order_as_input_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_output_same_order_as_input_multiple_tasks.yaml deleted file mode 100644 index 6bc385ff3ec3..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_output_same_order_as_input_multiple_tasks.yaml +++ /dev/null @@ -1,624 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": - {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}, {"parameters": - {"model-version": "bad", "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": - [{"parameters": {"model-version": "latest"}}], "entityLinkingTasks": [{"parameters": - {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}]}, "analysisInput": - {"documents": [{"id": "1", "text": "one", "language": "en"}, {"id": "2", "text": - "two", "language": "en"}, {"id": "3", "text": "three", "language": "en"}, {"id": - "4", "text": "four", "language": "en"}, {"id": "5", "text": "five", "language": - "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '688' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: - - 15813f93-fdd6-4abf-91df-ef87f6877638 - date: - - Fri, 05 Mar 2021 17:30:33 GMT - operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '254' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 2f4298a2-5619-4302-8b70-d48ca39daf0e - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:30:38 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '248' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 43058041-6ee6-4424-bd4e-4746f3d1ab78 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:30:44 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '281' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - eae9473d-bc18-43e2-8b75-744b60cb30f7 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:30:49 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '244' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - eba9ad4d-524a-432b-9bfa-36102c974418 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:30:54 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '322' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 32168337-5ec7-41c2-930b-109a9dd843d2 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:00 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '370' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 8b625e46-1e12-4c71-8288-91066477f2e4 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:05 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '370' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 7341e20d-178c-47aa-a3f8-4791e91340da - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:10 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '443' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 4e59e6ec-5f72-4c1c-92f7-97c60dd3a017 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:15 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '258' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 1592e69a-ad7d-47fa-ad48-06cba324e457 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:21 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '241' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - b38310f0-304a-482f-8095-5225c3a18e82 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:27 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '397' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - f49d9b63-b679-4544-9b83-3664923c4b23 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:32 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '335' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - daff4078-6c64-4a97-b370-5c04a021a53e - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:37 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '334' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - f94513fe-43a8-46fb-84b7-5d5d9f5c4c39 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:44 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '2277' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - c0f7dec3-7f62-45fc-8d0c-d009c75fe0bc - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:50 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '255' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 70ea0f6a-4f87-4449-a8eb-be3db71c8106 - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:31:55 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '313' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/f80f8417-9755-43c6-9bad-e8df7ebea296 - response: - body: - string: '{"jobId":"f80f8417-9755-43c6-9bad-e8df7ebea296","lastUpdateDateTime":"2021-03-05T17:30:34Z","createdDateTime":"2021-03-05T17:30:33Z","expirationDateTime":"2021-03-06T17:30:33Z","status":"partiallyCompleted","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:30:34Z"},"completed":3,"failed":1,"inProgress":0,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}},{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:30:34.9282035Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: - - 236fada9-c205-4df5-ae30-e4bb4e0e01be - content-type: - - application/json; charset=utf-8 - date: - - Fri, 05 Mar 2021 17:32:01 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '403' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pass_cls.yaml index 31306a35647b..45bc49872c24 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pass_cls.yaml @@ -17,19 +17,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 2cc476a9-f386-4dad-b231-9b48e50ec5e1 + - e19d5b7a-0861-4b32-aec7-f14c359fa5e5 date: - - Tue, 18 May 2021 17:47:08 GMT + - Wed, 23 Jun 2021 01:31:29 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a31d6143-f384-4b7a-a6a6-3467e45810a6 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6366df3b-3252-4623-8fdb-7e4c457f921d strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '116' + - '279' status: code: 202 message: Accepted @@ -51,19 +51,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a31d6143-f384-4b7a-a6a6-3467e45810a6 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6366df3b-3252-4623-8fdb-7e4c457f921d response: body: - string: '{"jobId":"a31d6143-f384-4b7a-a6a6-3467e45810a6","lastUpdateDateTime":"2021-05-18T17:47:09Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:09Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6366df3b-3252-4623-8fdb-7e4c457f921d","lastUpdateDateTime":"2021-06-23T01:31:30Z","createdDateTime":"2021-06-23T01:31:29Z","expirationDateTime":"2021-06-24T01:31:29Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 0546b92e-2240-46ee-9879-e0a711db14ef + - cde8ee51-3cd9-4a95-b0cc-d6f6b41d5e8a content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:13 GMT + - Wed, 23 Jun 2021 01:31:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -71,7 +71,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK @@ -85,19 +85,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a31d6143-f384-4b7a-a6a6-3467e45810a6 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6366df3b-3252-4623-8fdb-7e4c457f921d response: body: - string: '{"jobId":"a31d6143-f384-4b7a-a6a6-3467e45810a6","lastUpdateDateTime":"2021-05-18T17:47:09Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:09Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6366df3b-3252-4623-8fdb-7e4c457f921d","lastUpdateDateTime":"2021-06-23T01:31:36Z","createdDateTime":"2021-06-23T01:31:29Z","expirationDateTime":"2021-06-24T01:31:29Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:31:36.3498492Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"Test","category":"Skill","offset":0,"length":4,"confidenceScore":0.97},{"text":"cls","category":"Skill","offset":13,"length":3,"confidenceScore":0.82}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 918f274e-389d-440a-bb7a-830da9cab5cf + - ae84eb53-b219-41b5-bf21-1d667bd0867c content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:19 GMT + - Wed, 23 Jun 2021 01:31:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -105,75 +105,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a31d6143-f384-4b7a-a6a6-3467e45810a6 - response: - body: - string: '{"jobId":"a31d6143-f384-4b7a-a6a6-3467e45810a6","lastUpdateDateTime":"2021-05-18T17:47:09Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:09Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 24a22675-494f-410d-bc61-b96c42b75988 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:24 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '7' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/a31d6143-f384-4b7a-a6a6-3467e45810a6 - response: - body: - string: '{"jobId":"a31d6143-f384-4b7a-a6a6-3467e45810a6","lastUpdateDateTime":"2021-05-18T17:47:27Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:27Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.9133717Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: - - 17d266bf-b1e9-4b31-984c-18ce184bbbf5 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:29 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '27' + - '51' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pii_action_categories_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pii_action_categories_filter.yaml new file mode 100644 index 000000000000..8d142d58eca2 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_pii_action_categories_filter.yaml @@ -0,0 +1,187 @@ +interactions: +- request: + body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": + {"model-version": "latest", "loggingOptOut": false, "piiCategories": ["USSocialSecurityNumber", + "ABARoutingNumber"], "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + [], "entityLinkingTasks": [], "sentimentAnalysisTasks": []}, "analysisInput": + {"documents": [{"id": "1", "text": "My SSN is 859-98-0987.", "language": "en"}, + {"id": "2", "text": "Your ABA number - 111000025 - is the first 9 digits in + the lower left hand corner of your personal check.", "language": "en"}, {"id": + "3", "text": "Is 998.214.865-68 your Brazilian CPF number?", "language": "en"}]}}' + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '667' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze + response: + body: + string: '' + headers: + apim-request-id: + - 7f29aa65-0b3a-4d3b-910e-bf01dfe159a2 + date: + - Wed, 23 Jun 2021 01:50:08 GMT + operation-location: + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/20777e71-f591-4033-8c3d-e052d8e3f4ad + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '181' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/20777e71-f591-4033-8c3d-e052d8e3f4ad + response: + body: + string: '{"jobId":"20777e71-f591-4033-8c3d-e052d8e3f4ad","lastUpdateDateTime":"2021-06-23T01:50:09Z","createdDateTime":"2021-06-23T01:50:08Z","expirationDateTime":"2021-06-24T01:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - b807f5d2-0fb4-489e-bc3a-083a781f64d9 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:50:13 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/20777e71-f591-4033-8c3d-e052d8e3f4ad + response: + body: + string: '{"jobId":"20777e71-f591-4033-8c3d-e052d8e3f4ad","lastUpdateDateTime":"2021-06-23T01:50:09Z","createdDateTime":"2021-06-23T01:50:08Z","expirationDateTime":"2021-06-24T01:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - e9982cfe-f08b-4e97-b4bc-e3f3206190c0 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:50:19 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '13' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/20777e71-f591-4033-8c3d-e052d8e3f4ad + response: + body: + string: '{"jobId":"20777e71-f591-4033-8c3d-e052d8e3f4ad","lastUpdateDateTime":"2021-06-23T01:50:09Z","createdDateTime":"2021-06-23T01:50:08Z","expirationDateTime":"2021-06-24T01:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 3bb4c88f-d482-4057-87bf-b820008548ef + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:50:23 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/20777e71-f591-4033-8c3d-e052d8e3f4ad + response: + body: + string: '{"jobId":"20777e71-f591-4033-8c3d-e052d8e3f4ad","lastUpdateDateTime":"2021-06-23T01:50:26Z","createdDateTime":"2021-06-23T01:50:08Z","expirationDateTime":"2021-06-24T01:50:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:50:26.9216492Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My + SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your + ABA number - ********* - is the first 9 digits in the lower left hand corner + of your personal check.","id":"2","entities":[{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75}],"warnings":[]},{"redactedText":"Is + 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + headers: + apim-request-id: + - f54a164b-0aa5-459b-be9b-2f902311881b + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:50:29 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '74' + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_poller_metadata.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_poller_metadata.yaml index bc77bb383511..a3e5361680d0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_poller_metadata.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_poller_metadata.yaml @@ -17,19 +17,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - c6dfad06-ade2-4bb5-a764-fa888f8ea250 + - 154f51d1-722e-4f2e-abd8-333c9633bb20 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:31:41 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b46ab431-165a-47ef-b86e-b704d96fc995 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d15efd9e-c82c-4a02-b84d-997d3a0860ca strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '157' + - '127' status: code: 202 message: Accepted @@ -51,19 +51,53 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b46ab431-165a-47ef-b86e-b704d96fc995?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d15efd9e-c82c-4a02-b84d-997d3a0860ca?showStats=True response: body: - string: '{"jobId":"b46ab431-165a-47ef-b86e-b704d96fc995","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"d15efd9e-c82c-4a02-b84d-997d3a0860ca","lastUpdateDateTime":"2021-06-23T01:31:41Z","createdDateTime":"2021-06-23T01:31:41Z","expirationDateTime":"2021-06-24T01:31:41Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - aa1a0102-0c41-4ba2-b0d8-d21898a84f46 + - 6300783b-f477-4d81-9fda-0ec6cda2a81c content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:53 GMT + - Wed, 23 Jun 2021 01:31:46 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d15efd9e-c82c-4a02-b84d-997d3a0860ca?showStats=True + response: + body: + string: '{"jobId":"d15efd9e-c82c-4a02-b84d-997d3a0860ca","lastUpdateDateTime":"2021-06-23T01:31:41Z","createdDateTime":"2021-06-23T01:31:41Z","expirationDateTime":"2021-06-24T01:31:41Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 1b6e67b8-ed9e-44fc-a113-289da59edea5 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:31:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -85,19 +119,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b46ab431-165a-47ef-b86e-b704d96fc995?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d15efd9e-c82c-4a02-b84d-997d3a0860ca?showStats=True response: body: - string: '{"jobId":"b46ab431-165a-47ef-b86e-b704d96fc995","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"d15efd9e-c82c-4a02-b84d-997d3a0860ca","lastUpdateDateTime":"2021-06-23T01:31:41Z","createdDateTime":"2021-06-23T01:31:41Z","expirationDateTime":"2021-06-24T01:31:41Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 61b46b27-56b6-4dfb-9009-7e7213a45ca6 + - 9260ceca-2457-4e18-92a1-dcb133d4eac2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:57 GMT + - Wed, 23 Jun 2021 01:31:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -105,7 +139,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '10' status: code: 200 message: OK @@ -119,19 +153,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b46ab431-165a-47ef-b86e-b704d96fc995?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d15efd9e-c82c-4a02-b84d-997d3a0860ca?showStats=True response: body: - string: '{"jobId":"b46ab431-165a-47ef-b86e-b704d96fc995","lastUpdateDateTime":"2021-05-18T17:46:59Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:59Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:59.4582662Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + string: '{"jobId":"d15efd9e-c82c-4a02-b84d-997d3a0860ca","lastUpdateDateTime":"2021-06-23T01:31:59Z","createdDateTime":"2021-06-23T01:31:41Z","expirationDateTime":"2021-06-24T01:31:41Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:31:59.6428292Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 9a2ade01-8f20-4d46-a29b-9adb9303ae38 + - f2153dde-515f-4b54-ac1f-3d2391a3b115 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:03 GMT + - Wed, 23 Jun 2021 01:32:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -139,7 +173,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '60' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_rotate_subscription_key.yaml deleted file mode 100644 index 97a9f6ce007b..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_rotate_subscription_key.yaml +++ /dev/null @@ -1,1143 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: - - 7a29ea73-efa4-4888-92f8-93348ac782a4 - date: - - Tue, 23 Feb 2021 17:09:15 GMT - operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '25' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - d90a24fd-53dd-4bc2-a612-dd0600072ac6 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:20 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '85' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - ca975261-2ef8-4ace-94ff-38b33187818a - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:25 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '72' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 09c115d3-a221-4a34-bfd5-75bbd3d06308 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:31 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '61' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 3fe4317f-9741-4460-8c33-5e4bf643fcd7 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:36 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '37' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 0300b708-df16-4439-8d8a-fe28ee6a734b - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:40 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '32' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 167b54b8-a95d-466f-88bc-82dc49dcff7d - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:46 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '37' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - e25492ac-436d-4ac1-a6ae-19e218dc9100 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:51 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 9579064f-b05f-4854-8fd1-03e9b6feb187 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:09:56 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '39' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 02076535-4773-4cd8-92e3-2da7eb5390c4 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:01 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '66' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 2ea292e8-ee7d-48eb-bc4c-faca64cbf1a8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:07 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '72' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 042ca795-e144-4852-a78f-92f124d95c4e - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:12 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '31' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 391f76e3-f2fd-4edc-a27c-1d5553c9ad5f - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:16 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '35' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - fb334318-b618-446f-a337-bb838471aa4e - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:21 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '45' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/0ea23412-fab6-4b02-acee-3180fb008342 - response: - body: - string: '{"jobId":"0ea23412-fab6-4b02-acee-3180fb008342","lastUpdateDateTime":"2021-02-23T17:09:16Z","createdDateTime":"2021-02-23T17:09:15Z","expirationDateTime":"2021-02-24T17:09:15Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:09:16Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:09:16.0986516Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: - - a74f95d3-9708-4247-b294-2202d1e6ef50 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:27 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '66' - status: - code: 200 - message: OK -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '{"error":{"code":"401","message":"Access denied due to invalid subscription - key or wrong API endpoint. Make sure to provide a valid key for an active - subscription and use a correct regional API endpoint for your resource."}}' - headers: - content-length: - - '224' - date: - - Tue, 23 Feb 2021 17:10:27 GMT - status: - code: 401 - message: PermissionDenied -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: - - 13b94687-2cbd-424e-b3fa-7ffb8d501437 - date: - - Tue, 23 Feb 2021 17:10:27 GMT - operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 18a7d5fc-6525-48df-b388-91ad96ee46c2 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:33 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '45' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 4a7a6d23-02da-44c3-8d03-977faa410583 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:38 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '39' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 4c2b70ab-1356-4887-8689-5d238ac4728d - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:43 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '31' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - fa27cc54-122f-4ca9-bc8d-1389c3cebfe3 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:48 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '56' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 1a45ad36-e28a-48ad-bf2d-1e2af00536e5 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:53 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '33' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - dfde951b-5ad3-40d6-9971-fd8e9ba90d94 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:10:58 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '38' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - a77bec8d-b228-4533-be80-0fe26418f4f8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:03 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '38' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 0d6b39f0-1c20-4ea5-9aa4-7c21d4f6eac8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:09 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '80' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 0e48220f-2b1a-4ef3-a973-1d4875292f46 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:14 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '36' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 05c77eec-2b5a-4bb3-b7d2-fdd5d8c54bb8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:19 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 74e1198a-94df-4e72-8aec-1a2efb1a147f - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:24 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '52' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - c32df04b-789b-497d-8bde-5d00cbc17ef0 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:29 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '61' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - ca465589-9207-4fe5-bb22-840322594da0 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:34 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '63' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 1fdeef62-bac9-46d2-98ac-cf0ab485102f - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:40 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '38' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - a98feaa7-7fb3-4823-9822-e99468da73fd - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:44 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '35' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/9a2f9495-6eb4-4c23-b30e-c33cd6401b31 - response: - body: - string: '{"jobId":"9a2f9495-6eb4-4c23-b30e-c33cd6401b31","lastUpdateDateTime":"2021-02-23T17:10:28Z","createdDateTime":"2021-02-23T17:10:28Z","expirationDateTime":"2021-02-24T17:10:28Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:28Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:10:28.3782475Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: - - 18d36bc0-9354-4ee4-85fb-653acfae1fb8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:11:49 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '76' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_sentiment_analysis_task_with_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_sentiment_analysis_task_with_opinion_mining.yaml index a4dc24905e93..f2eaa622d19b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_sentiment_analysis_task_with_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_sentiment_analysis_task_with_opinion_mining.yaml @@ -18,19 +18,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - aab76939-906e-418d-a8e5-14cb2434c647 + - 195cbf6c-6c64-4d0d-b79e-6e54dba76cc4 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:32:02 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/10e89bd2-7fe5-4fe5-8d70-7481f59cc201 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '92' + - '221' status: code: 202 message: Accepted @@ -52,19 +52,121 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/10e89bd2-7fe5-4fe5-8d70-7481f59cc201?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True response: body: - string: '{"jobId":"10e89bd2-7fe5-4fe5-8d70-7481f59cc201","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - 5599ed0b-8122-463c-a5bb-ce6fb5125369 + - 478a3f5b-9157-4070-b747-2c3ff708e90d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:54 GMT + - Wed, 23 Jun 2021 01:32:06 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - e69b7e3f-0387-42f0-9e74-7a67af81d98b + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:12 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 24cf6d64-d1f9-44dd-8d75-9728d313afc3 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:17 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '7' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 4a1f4b42-fc2b-4c60-bf8a-b9dd9eb634af + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -86,19 +188,121 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 97e1bd10-e348-4574-b75c-b0661e011e7c + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:27 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '13' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 900ea191-16df-4072-9866-f2bb4449e452 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '134' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/10e89bd2-7fe5-4fe5-8d70-7481f59cc201?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True response: body: - string: '{"jobId":"10e89bd2-7fe5-4fe5-8d70-7481f59cc201","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - f858dc1f-94fb-4e7b-a120-d28d1fc7a423 + - 7d9359ed-5997-4ef4-863e-ef4a88dd4e42 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:59 GMT + - Wed, 23 Jun 2021 01:32:37 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 5e4703c8-4f70-48f7-b58a-ec54d56a8660 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -120,19 +324,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/10e89bd2-7fe5-4fe5-8d70-7481f59cc201?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True response: body: - string: '{"jobId":"10e89bd2-7fe5-4fe5-8d70-7481f59cc201","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: apim-request-id: - - d02ad049-bc53-4f9a-ad8c-6250ce697524 + - 8d68dcf3-9b6a-4f78-b3e0-aa8194763af7 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:32:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -140,7 +344,143 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 44325778-170a-45ce-83c8-daa07de672bf + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:53 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 481bf27f-8a6e-4e85-9cf6-9bc4d408ae7a + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:32:58 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 65e98ecb-6803-4c5b-911f-6b3ffa638fbb + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:33:02 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True + response: + body: + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:32:03Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: + - 7ffff9c5-919c-415e-9df7-b1451b5e5db4 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:33:08 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '15' status: code: 200 message: OK @@ -154,21 +494,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/10e89bd2-7fe5-4fe5-8d70-7481f59cc201?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/74cd79c0-a4a1-4535-a9a7-327a0c569776?showStats=True response: body: - string: '{"jobId":"10e89bd2-7fe5-4fe5-8d70-7481f59cc201","lastUpdateDateTime":"2021-05-18T17:47:08Z","createdDateTime":"2021-05-18T17:46:49Z","expirationDateTime":"2021-05-19T17:46:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:08Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:08.3815808Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"0","sentiment":"positive","statistics":{"charactersCount":74,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It + string: '{"jobId":"74cd79c0-a4a1-4535-a9a7-327a0c569776","lastUpdateDateTime":"2021-06-23T01:33:10Z","createdDateTime":"2021-06-23T01:32:02Z","expirationDateTime":"2021-06-24T01:32:02Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:10.0420921Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"0","sentiment":"positive","statistics":{"charactersCount":74,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"negative","statistics":{"charactersCount":32,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: apim-request-id: - - 07d5246b-9d50-4840-b27b-b91ccd59c712 + - c3d5db6a-d42c-4791-99bb-5598b7c5f39d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:09 GMT + - Wed, 23 Jun 2021 01:33:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -176,7 +516,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_show_stats_and_model_version_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_show_stats_and_model_version_multiple_tasks.yaml index 0b3236ae10a6..0ae68282dd04 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_show_stats_and_model_version_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_show_stats_and_model_version_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -19,23 +19,23 @@ interactions: Connection: - keep-alive Content-Length: - - '853' + - '854' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: apim-request-id: - - 38bf213f-31ca-4415-8ed0-0deff35c8947 + - 86be9cc5-40af-4007-b228-ebc962f5e1fb date: - - Tue, 18 May 2021 17:46:50 GMT + - Wed, 23 Jun 2021 01:33:14 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '231' + - '554' status: code: 202 message: Accepted @@ -57,19 +57,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:16Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 11723c0f-f7af-45ab-90f5-610617ae912b + - 0ea35ddb-ce1c-4800-abc1-b17d2b5fd957 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:55 GMT + - Wed, 23 Jun 2021 01:33:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -77,7 +77,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '63' + - '77' status: code: 200 message: OK @@ -91,19 +91,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:16Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - b76a075a-6bf7-407f-8566-78347e467e67 + - 1d511a57-4843-46c8-9cd0-f88a44e84819 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:00 GMT + - Wed, 23 Jun 2021 01:33:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -111,7 +111,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '66' + - '76' status: code: 200 message: OK @@ -125,19 +125,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:25Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - 0ac2eb26-ffc9-4c84-9e62-9123e9aabd2a + - 79cd9c76-db40-4de4-a9ff-d817432df020 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:06 GMT + - Wed, 23 Jun 2021 01:33:29 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '63' + - '78' status: code: 200 message: OK @@ -159,19 +159,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:47:10Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:10Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:08.0286596Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:10.1416048Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:25Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: apim-request-id: - - c066c39b-f810-41d4-b4c8-b0d201c136d3 + - d9a831a2-84e7-46e9-881b-d0bde74e568f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:11 GMT + - Wed, 23 Jun 2021 01:33:34 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -179,7 +179,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '128' + - '84' status: code: 200 message: OK @@ -193,19 +193,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:47:13Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:13Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:13.1054202Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:08.0286596Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:10.1416048Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:39Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:39.925466Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - 61f2cdc9-a4f8-4dd1-9b79-d7a333e221f2 + - 244e010c-8540-4620-9c57-5e5fe59ce7a2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:16 GMT + - Wed, 23 Jun 2021 01:33:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -213,7 +213,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '165' + - '157' status: code: 200 message: OK @@ -227,19 +227,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/6baf4761-b5ad-4419-bda3-2fcacee8ff10?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True response: body: - string: '{"jobId":"6baf4761-b5ad-4419-bda3-2fcacee8ff10","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:50Z","expirationDateTime":"2021-05-19T17:46:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:13.1054202Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:51.9988325Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:08.0286596Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:10.1416048Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.4510591Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:45Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:45.3366704Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:39.925466Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: apim-request-id: - - c322ac06-740f-41dc-9512-d9e8505f68ed + - 0e19caa7-bca5-4bd6-b078-db51c9e3fa84 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:22 GMT + - Wed, 23 Jun 2021 01:33:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -247,7 +247,41 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '215' + - '211' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/728ac81e-5cc6-4cc4-b935-5f6e1a4edc30?showStats=True + response: + body: + string: '{"jobId":"728ac81e-5cc6-4cc4-b935-5f6e1a4edc30","lastUpdateDateTime":"2021-06-23T01:33:49Z","createdDateTime":"2021-06-23T01:33:14Z","expirationDateTime":"2021-06-24T01:33:14Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:45.3366704Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:16.2640365Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:49.8953814Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:39.925466Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:33:46.2064146Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: + - 3fc41f5d-b425-4f46-b4ec-35830ac302ff + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:33:54 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '4023' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_too_many_documents.yaml index 6ea434d87cb0..1716b9f82c76 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_too_many_documents.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -36,24 +36,24 @@ interactions: Connection: - keep-alive Content-Length: - - '2169' + - '2170' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Batch + string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 25 records are permitted."}}}' headers: apim-request-id: - - d1ccf453-dce9-4fb1-b6f4-bd1aa139e42c + - 69ddb6d1-d555-4bb5-b3ec-833a4fcb111f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:33:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_user_agent.yaml deleted file mode 100644 index 882c5a6ae312..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze.test_user_agent.yaml +++ /dev/null @@ -1,895 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: - - a5ce6f1d-107e-433d-b8b0-8809a1e754f1 - date: - - Tue, 23 Feb 2021 17:06:30 GMT - operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '147' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - f3583dfa-5e5b-461b-997a-850bb764980c - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:35 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '105' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 48a15824-2157-49f5-9188-e8bf527ab64a - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:41 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '35' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 4e943ab3-d408-44ad-8234-02fb6f3ce5f5 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:46 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '65' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 543bd954-44a4-4e82-834d-e2561a920e25 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:51 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '67' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 99174fc7-b7a9-4b40-89f5-ea7016a4f230 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:06:56 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '37' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 3465661b-2028-463a-95f1-9c1ccaff5fe6 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:01 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '45' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 0cb85b59-2589-42af-9c7c-1366a06ee637 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:06 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '35' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 6b218391-0a07-42d8-ae31-b0a9d4283d1e - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:11 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '35' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 23e88d45-86a3-4457-8e7c-2a4628c068ce - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:17 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '114' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - a1071a19-5033-47d4-a967-008e53a237f3 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:22 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - b98411b1-bf0e-4406-86e4-035d1e5ae1e4 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:26 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '39' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 80198e9e-3cbc-438f-9091-963792b5fafd - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:32 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 94b07d89-4372-4926-a330-b9b421ead5f2 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:36 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '54' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 1bf49095-c547-48bb-8685-22507682fbdc - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:42 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '30' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 75fa0b36-5c5e-4162-b374-6c484e4c4ca8 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:47 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '107' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 824631e8-b836-4ea9-9eac-1a15d46c84ff - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:53 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '91' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - e6cdf95c-4e07-40ae-9b49-a1db6e2c1c5a - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:07:58 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '56' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 5542bb41-df32-4cd7-a208-42436a747ab0 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:03 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '71' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 71546270-def9-4ee1-b518-36cb8e535a85 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:08 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '74' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 3e034488-6e50-4fb0-9da8-6e1b8a4370f6 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:13 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '30' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 5d8cf5eb-16eb-4a73-98a1-d5298b3a5734 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:18 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '62' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - fdbf40f8-e5c9-494c-b589-2beaf05cc8e3 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:23 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '86' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - fd8262eb-1e64-4833-81bb-f168d2b7a119 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:29 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '32' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: - - 2e58037c-9c19-41bd-bfa8-ce50830057cc - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:34 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '61' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/77473756-755f-4bb1-b7e9-c85b75e1da91 - response: - body: - string: '{"jobId":"77473756-755f-4bb1-b7e9-c85b75e1da91","lastUpdateDateTime":"2021-02-23T17:06:31Z","createdDateTime":"2021-02-23T17:06:30Z","expirationDateTime":"2021-02-24T17:06:30Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:06:31Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:06:31.1019945Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: - - 23b6cc47-b7c6-4894-883d-abca3cae5709 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 23 Feb 2021 17:08:39 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '73' - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_key_phrase_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_key_phrase_task.yaml index e25cf34502e4..2fac80aa032d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_key_phrase_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_key_phrase_task.yaml @@ -14,38 +14,38 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 21226ef0-2007-4d8c-9479-7b4c6e5c11c1 - date: Tue, 18 May 2021 17:46:47 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/ddc3e5c2-1140-41af-a2a5-67e7694c41d7 + apim-request-id: 88226484-6c54-4f71-ab9c-82c114758f6e + date: Wed, 23 Jun 2021 01:33:55 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '132' + x-envoy-upstream-service-time: '198' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/ddc3e5c2-1140-41af-a2a5-67e7694c41d7?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True response: body: - string: '{"jobId":"ddc3e5c2-1140-41af-a2a5-67e7694c41d7","lastUpdateDateTime":"2021-05-18T17:46:52Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"2d9126e5-620e-469e-b9d0-71c5c0fa6c80","lastUpdateDateTime":"2021-06-23T01:33:56Z","createdDateTime":"2021-06-23T01:33:55Z","expirationDateTime":"2021-06-24T01:33:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: abd26c3f-82f1-4f80-aa85-e94cbf5a4609 + apim-request-id: ac4a29a4-f70b-49cd-954f-04fa47724c48 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:46:53 GMT + date: Wed, 23 Jun 2021 01:34:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -53,29 +53,95 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/ddc3e5c2-1140-41af-a2a5-67e7694c41d7?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/ddc3e5c2-1140-41af-a2a5-67e7694c41d7?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True response: body: - string: '{"jobId":"ddc3e5c2-1140-41af-a2a5-67e7694c41d7","lastUpdateDateTime":"2021-05-18T17:46:57Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:57Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:46:57.7151183Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill + string: '{"jobId":"2d9126e5-620e-469e-b9d0-71c5c0fa6c80","lastUpdateDateTime":"2021-06-23T01:33:56Z","createdDateTime":"2021-06-23T01:33:55Z","expirationDateTime":"2021-06-24T01:33:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: cb2f9953-2141-46d3-bdf5-2f1339791c16 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:05 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '11' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True + response: + body: + string: '{"jobId":"2d9126e5-620e-469e-b9d0-71c5c0fa6c80","lastUpdateDateTime":"2021-06-23T01:33:56Z","createdDateTime":"2021-06-23T01:33:55Z","expirationDateTime":"2021-06-24T01:33:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: b034216c-2e4e-4554-98cd-6cb765a12727 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True + response: + body: + string: '{"jobId":"2d9126e5-620e-469e-b9d0-71c5c0fa6c80","lastUpdateDateTime":"2021-06-23T01:33:56Z","createdDateTime":"2021-06-23T01:33:55Z","expirationDateTime":"2021-06-24T01:33:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: e0a0aa8e-6592-4e8d-9ad4-708ad3a38ebf + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '6' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True + response: + body: + string: '{"jobId":"2d9126e5-620e-469e-b9d0-71c5c0fa6c80","lastUpdateDateTime":"2021-06-23T01:34:20Z","createdDateTime":"2021-06-23T01:33:55Z","expirationDateTime":"2021-06-24T01:33:55Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:34:20.0199463Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: ecac1528-59d3-4d46-beca-d1981cc14ebe + apim-request-id: d9016277-d0ab-41f5-af6f-dbeb4620fa84 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:46:58 GMT + date: Wed, 23 Jun 2021 01:34:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '51' + x-envoy-upstream-service-time: '74' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/ddc3e5c2-1140-41af-a2a5-67e7694c41d7?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d9126e5-620e-469e-b9d0-71c5c0fa6c80?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_sentiment_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_sentiment_task.yaml index ef9c82f6c8b7..e4608da974f9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_sentiment_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_dict_sentiment_task.yaml @@ -16,38 +16,258 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 4b3e247c-073c-4e4a-95bb-aac2b6478113 - date: Tue, 18 May 2021 17:47:59 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/3a70d710-7122-443d-86a4-098ddc74817e + apim-request-id: 03b7fca4-256a-48ed-a0f2-ed1bce762343 + date: Wed, 23 Jun 2021 01:34:21 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '112' + x-envoy-upstream-service-time: '222' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/3a70d710-7122-443d-86a4-098ddc74817e?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True response: body: - string: '{"jobId":"3a70d710-7122-443d-86a4-098ddc74817e","lastUpdateDateTime":"2021-05-18T17:48:00Z","createdDateTime":"2021-05-18T17:48:00Z","expirationDateTime":"2021-05-19T17:48:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:00Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 81f55f3e-cb45-4391-8a5f-6bc2fce3bddc + apim-request-id: c384ec3e-cec5-450c-9c01-00c2373dca39 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:05 GMT + date: Wed, 23 Jun 2021 01:34:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: ffae5b61-db26-47cf-b111-85f6332ac912 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 60beb295-e727-4e73-99c2-97ac6091084a + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: f58316c5-a905-4352-9839-2fcfc077db64 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '8' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: ca61b4ba-abb5-4c0f-99e5-35bd14c2ac0d + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:46 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: ba51c2e0-53af-4142-ae88-344fa7279a1b + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:51 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '19' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 975ab18c-ec37-47e2-90bd-86a7b54e54e1 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:34:56 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '6' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 812386cc-af05-457b-87c3-6607ce1d08d2 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:01 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '21' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 0464c780-2035-42cc-8e7c-bfd9a7577d62 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:06 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: f0a58879-292e-44c4-9eeb-b2e4115e19b9 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:12 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: c630fc0a-90f6-49f9-b231-29c629716fd2 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:17 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -55,32 +275,120 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/3a70d710-7122-443d-86a4-098ddc74817e?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: c5f9c70a-a078-4ce9-9c54-ccf04ccb55f9 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 794afec6-1df3-4a72-a35e-c51958f26984 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 9aaa7271-3490-4672-9aee-b2948617f516 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True + response: + body: + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:34:23Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 6ec76de1-d384-4344-bda8-3d4eaeb324af + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:35:37 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/3a70d710-7122-443d-86a4-098ddc74817e?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True response: body: - string: '{"jobId":"3a70d710-7122-443d-86a4-098ddc74817e","lastUpdateDateTime":"2021-05-18T17:48:06Z","createdDateTime":"2021-05-18T17:48:00Z","expirationDateTime":"2021-05-19T17:48:00Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:06Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:06.5812728Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft + string: '{"jobId":"dd0ed644-0d11-40d3-8b80-50042645af87","lastUpdateDateTime":"2021-06-23T01:35:40Z","createdDateTime":"2021-06-23T01:34:21Z","expirationDateTime":"2021-06-24T01:34:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:35:40.2796208Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft was founded by Bill Gates and Paul Allen."}],"warnings":[]},{"id":"2","sentiment":"negative","statistics":{"charactersCount":60,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.22,"negative":0.77},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.45,"negative":0.54},"offset":0,"length":38,"text":"I did not like the hotel we stayed at."},{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":39,"length":21,"text":"It was too expensive."}],"warnings":[]},{"id":"3","sentiment":"positive","statistics":{"charactersCount":60,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."},{"sentiment":"positive","confidenceScores":{"positive":0.96,"neutral":0.03,"negative":0.01},"offset":37,"length":23,"text":"I recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: - apim-request-id: 3ba95532-c69d-408e-accc-480e0a16a137 + apim-request-id: 95b1d240-cfc1-42cd-9664-49d033293f5f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:10 GMT + date: Wed, 23 Jun 2021 01:35:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '46' + x-envoy-upstream-service-time: '73' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/3a70d710-7122-443d-86a4-098ddc74817e?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/dd0ed644-0d11-40d3-8b80-50042645af87?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_string_pii_entities_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_string_pii_entities_task.yaml index 828ba978fe36..4e7e2ecc027e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_string_pii_entities_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_string_pii_entities_task.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": - {"model-version": "latest", "loggingOptOut": true, "stringIndexType": "UnicodeCodePoint"}}], + {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [], "entityLinkingTasks": [], "sentimentAnalysisTasks": []}, "analysisInput": {"documents": [{"id": "0", "text": "My SSN is 859-98-0987.", "language": "en"}, {"id": "1", "text": "Your ABA number - 111000025 - is the @@ -12,118 +12,140 @@ interactions: Accept: - application/json, text/json Content-Length: - - '601' + - '602' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 666d3790-95d2-4cbb-b3c7-505bdeda5ae5 - date: Tue, 18 May 2021 17:46:47 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc + apim-request-id: fc80bba0-d6f4-4fd9-aeb7-777385621744 + date: Wed, 23 Jun 2021 01:35:51 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '115' + x-envoy-upstream-service-time: '7774' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True response: body: - string: '{"jobId":"e04bfbfd-3dc1-4452-9d76-6c413778e9bc","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc","lastUpdateDateTime":"2021-06-23T01:35:51Z","createdDateTime":"2021-06-23T01:35:43Z","expirationDateTime":"2021-06-24T01:35:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: e80e836d-1933-4f41-8701-56cc912928d2 + apim-request-id: 9a94a7f7-40f1-47ad-be19-44e0540ec1ab content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:46:53 GMT + date: Wed, 23 Jun 2021 01:35:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '1773' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True response: body: - string: '{"jobId":"e04bfbfd-3dc1-4452-9d76-6c413778e9bc","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc","lastUpdateDateTime":"2021-06-23T01:35:51Z","createdDateTime":"2021-06-23T01:35:43Z","expirationDateTime":"2021-06-24T01:35:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: da2faa52-a9f9-421c-a8bd-47c1ad9fae39 + apim-request-id: 96834ccc-cd43-47e6-954a-a44c632fe758 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:46:58 GMT + date: Wed, 23 Jun 2021 01:36:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True + response: + body: + string: '{"jobId":"c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc","lastUpdateDateTime":"2021-06-23T01:35:51Z","createdDateTime":"2021-06-23T01:35:43Z","expirationDateTime":"2021-06-24T01:35:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 323646db-e5ef-4203-88d0-f809f021e38d + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:36:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True response: body: - string: '{"jobId":"e04bfbfd-3dc1-4452-9d76-6c413778e9bc","lastUpdateDateTime":"2021-05-18T17:46:51Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:46:51Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc","lastUpdateDateTime":"2021-06-23T01:35:51Z","createdDateTime":"2021-06-23T01:35:43Z","expirationDateTime":"2021-06-24T01:35:43Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 2917d2f9-eece-469f-9c2c-ce2e0ee1a67c + apim-request-id: 9ce9a1e8-5222-4cb5-9535-0359d3685408 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:03 GMT + date: Wed, 23 Jun 2021 01:36:12 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True response: body: - string: '{"jobId":"e04bfbfd-3dc1-4452-9d76-6c413778e9bc","lastUpdateDateTime":"2021-05-18T17:47:08Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:08Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:08.0607092Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My + string: '{"jobId":"c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc","lastUpdateDateTime":"2021-06-23T01:36:15Z","createdDateTime":"2021-06-23T01:35:43Z","expirationDateTime":"2021-06-24T01:35:43Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:36:15.1124345Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My SSN is ***********.","id":"0","statistics":{"charactersCount":22,"transactionsCount":1},"entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","statistics":{"charactersCount":105,"transactionsCount":1},"entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"2","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' headers: - apim-request-id: 60cd7920-773c-446a-9c84-f9e42883c200 + apim-request-id: 72d69b7c-718a-45e8-9753-10d5dafe240d content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:08 GMT + date: Wed, 23 Jun 2021 01:36:18 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '68' + x-envoy-upstream-service-time: '78' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/e04bfbfd-3dc1-4452-9d76-6c413778e9bc?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/c36fd6e7-9bb1-41ce-81ce-d7f2a56e0ffc?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_text_document_input_entities_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_text_document_input_entities_task.yaml index 87fa3044798d..b6b35319925b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_text_document_input_entities_task.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_all_successful_passing_text_document_input_entities_task.yaml @@ -17,75 +17,97 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 89e2b9bb-f3b6-48a2-bc25-f45f64e1f6e7 - date: Tue, 18 May 2021 17:47:18 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b1f0d171-b58c-42c4-886c-7d5cd14e82ea + apim-request-id: f2d4a484-312b-41ee-b470-c02c84935f9a + date: Wed, 23 Jun 2021 01:36:20 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '129' + x-envoy-upstream-service-time: '2984' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b1f0d171-b58c-42c4-886c-7d5cd14e82ea?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True response: body: - string: '{"jobId":"b1f0d171-b58c-42c4-886c-7d5cd14e82ea","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:47:18Z","expirationDateTime":"2021-05-19T17:47:18Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e","lastUpdateDateTime":"2021-06-23T01:36:22Z","createdDateTime":"2021-06-23T01:36:18Z","expirationDateTime":"2021-06-24T01:36:18Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 9a9d0fd4-2ddf-4896-9626-e31326077253 + apim-request-id: d0c366a5-3d1f-4542-aa10-6042b9f9e149 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:23 GMT + date: Wed, 23 Jun 2021 01:36:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b1f0d171-b58c-42c4-886c-7d5cd14e82ea?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b1f0d171-b58c-42c4-886c-7d5cd14e82ea?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True response: body: - string: '{"jobId":"b1f0d171-b58c-42c4-886c-7d5cd14e82ea","lastUpdateDateTime":"2021-05-18T17:47:24Z","createdDateTime":"2021-05-18T17:47:18Z","expirationDateTime":"2021-05-19T17:47:18Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:24Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:24.0084184Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":67,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April - 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","statistics":{"charactersCount":72,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill + string: '{"jobId":"6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e","lastUpdateDateTime":"2021-06-23T01:36:22Z","createdDateTime":"2021-06-23T01:36:18Z","expirationDateTime":"2021-06-24T01:36:18Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: a4270e33-7b74-4246-bd05-d2880b1a5250 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:36:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True + response: + body: + string: '{"jobId":"6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e","lastUpdateDateTime":"2021-06-23T01:36:33Z","createdDateTime":"2021-06-23T01:36:18Z","expirationDateTime":"2021-06-24T01:36:18Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:36:33.515859Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":67,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.99},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April + 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","statistics":{"charactersCount":72,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1.0},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 - de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","statistics":{"charactersCount":73,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"4. + de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","statistics":{"charactersCount":73,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + Allen","category":"Person","offset":52,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: c669fdcc-da48-4a52-a0f2-b341ab5efabd + apim-request-id: e9c1f133-ec03-4de7-8ac7-c8d5d3054e97 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:36:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '92' + x-envoy-upstream-service-time: '7633' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b1f0d171-b58c-42c4-886c-7d5cd14e82ea?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6ff3bfb1-bedd-45bd-9b4b-c9ee3aa6c52e?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_credentials.yaml index f997a74c462c..2dcafc87971d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_credentials.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -14,23 +14,25 @@ interactions: Accept: - application/json, text/json Content-Length: - - '741' + - '742' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: a7dea20c-6a83-4223-aca6-e8cf763a387c content-length: '224' - date: Tue, 18 May 2021 17:47:04 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:36:44 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_all_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_all_tasks.yaml index c5404c8f05e4..567e227ec2cf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_all_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_all_tasks.yaml @@ -2,7 +2,7 @@ interactions: - request: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [{"parameters": {"model-version": "bad", "loggingOptOut": true, "stringIndexType": + [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": @@ -13,28 +13,28 @@ interactions: Accept: - application/json, text/json Content-Length: - - '742' + - '743' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Job task parameter value - bad is not supported for model-version parameter for job task type KeyPhraseExtraction. - Supported values latest,2019-10-01,2020-07-01."}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job + task parameter value bad is not supported for model-version parameter for + job task type KeyPhraseExtraction. Supported values latest,2019-10-01,2020-07-01,2021-05-01."}}}' headers: - apim-request-id: db3c7d99-f3fc-4a35-a4e8-185c52393a9e + apim-request-id: 5c21564d-da6f-4e3a-88a9-72efa8e28092 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:15 GMT + date: Wed, 23 Jun 2021 01:36:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_multiple_tasks.yaml index b08c8e724a93..7e259d3c4df9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "bad", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -14,22 +14,22 @@ interactions: Accept: - application/json, text/json Content-Length: - - '745' + - '746' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Job task parameter value - bad is not supported for model-version parameter for job task type KeyPhraseExtraction. - Supported values latest,2019-10-01,2020-07-01."}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job + task parameter value bad is not supported for model-version parameter for + job task type KeyPhraseExtraction. Supported values latest,2019-10-01,2020-07-01,2021-05-01."}}}' headers: - apim-request-id: 1d2adde0-16c7-4eff-8a41-8de904697941 + apim-request-id: 46530211-f18d-499d-92d2-c23bb8e3c590 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:29 GMT + date: Wed, 23 Jun 2021 01:36:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -37,5 +37,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_single_task.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_single_task.yaml deleted file mode 100644 index 932e6e21c495..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_model_version_error_single_task.yaml +++ /dev/null @@ -1,57 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "bad", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I did not like the hotel we stayed at.", "language": "english"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '305' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: 94a991d6-8d04-41c1-886e-7dfdc2e577ae - date: Tue, 23 Feb 2021 17:07:43 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/426fc149-6757-4c23-8e33-5461ddd4ac98 - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '393' - status: - code: 202 - message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/426fc149-6757-4c23-8e33-5461ddd4ac98 - response: - body: - string: '{"jobId":"426fc149-6757-4c23-8e33-5461ddd4ac98","lastUpdateDateTime":"2021-02-23T17:07:45Z","createdDateTime":"2021-02-23T17:07:44Z","expirationDateTime":"2021-02-24T17:07:44Z","status":"failed","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type NamedEntityRecognition. Supported values latest,2020-04-01,2021-01-15.","target":"#/tasks/entityRecognitionTasks/0"}],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:07:45Z"},"completed":0,"failed":1,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:07:45.1354473Z","state":"failed"}]}}' - headers: - apim-request-id: 2ccc7813-9abe-4b17-ab9e-781b6b89c401 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:07:49 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/426fc149-6757-4c23-8e33-5461ddd4ac98 -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_request_on_empty_document.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_request_on_empty_document.yaml index 4650ca9848ce..7e1901beed9d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_request_on_empty_document.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_bad_request_on_empty_document.yaml @@ -12,17 +12,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Missing - input documents."}}}' + string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Document + text is empty."}}}' headers: - apim-request-id: 6ec52039-96e3-41a0-b07f-da4cafeb6e39 + apim-request-id: fa84ca2c-2342-4bb7-8349-4dfe7428667f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:04 GMT + date: Wed, 23 Jun 2021 01:36:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -30,5 +30,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_disable_service_logs.yaml index 1c9544e26861..cc75c4d98889 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_disable_service_logs.yaml @@ -17,146 +17,386 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 8b5a2d2f-4bfc-4487-acf6-0445ef990b0b - date: Tue, 18 May 2021 18:25:20 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + apim-request-id: 830b5e0a-cb00-4c91-90bd-cf27564a865c + date: Wed, 23 Jun 2021 01:36:50 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '142' + x-envoy-upstream-service-time: '5414' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f response: body: - string: '{"jobId":"14bddf69-7cf0-4a1e-9a4b-be63c6644043","lastUpdateDateTime":"2021-05-18T18:25:26Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T18:25:26Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:22.824384Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test - (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:36:51Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":5,"total":5}}' + headers: + apim-request-id: c38959cc-12a4-4b64-b053-19b2b9dc683f + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:36:55 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '10' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:36:56Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":5,"total":5}}' + headers: + apim-request-id: dd6a477b-21e8-4d92-b197-708c9802b82a + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:00 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '13' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:36:56Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":5,"total":5}}' + headers: + apim-request-id: 3685b9c5-0fd2-4e85-8dc8-adebd9af51c0 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:05 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:36:56Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":5,"total":5}}' + headers: + apim-request-id: b7b59e94-00ec-4dd0-8a40-823e8df4a68a + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:11 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:13Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 5fa1acbf-5431-4053-b995-c7ffdb813147 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:15 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '50' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:13Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: dc246546-21a5-4291-b942-3e2d6accb4a0 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '52' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:22Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 7057f6d7-f992-4c1f-8c92-9e29579ee385 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:26 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '79' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:22Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: da686af7-9e05-4624-a032-02b1d10f0b70 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '107' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:22Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 883ad65b-7492-4d7e-b4a4-bc0559241c75 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:36 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '117' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:22Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 5cffba2f-edcc-4bd5-98ac-e4bbd02373f5 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:41 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '100' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:22Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: c41acd46-3442-4144-aaef-15eac8d1d77c + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:37:47 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '91' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f + response: + body: + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:51Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: ec4babaa-7a5a-45bd-affd-9f7481799b28 + apim-request-id: a105f896-33d5-4ea5-b660-19eebd9439b0 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:25 GMT + date: Wed, 23 Jun 2021 01:37:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '121' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f response: body: - string: '{"jobId":"14bddf69-7cf0-4a1e-9a4b-be63c6644043","lastUpdateDateTime":"2021-05-18T18:25:26Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T18:25:26Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:22.824384Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:52Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:52.760596Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: c08b47fe-af16-4fb7-b964-b52ddfb817f1 + apim-request-id: 65f1679b-d54a-466a-99f7-0a93701f1de2 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:30 GMT + date: Wed, 23 Jun 2021 01:37:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '135' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f response: body: - string: '{"jobId":"14bddf69-7cf0-4a1e-9a4b-be63c6644043","lastUpdateDateTime":"2021-05-18T18:25:36Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T18:25:36Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:22.824384Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:57Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:52.760596Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:36.4290537Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:57.8223745Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"Test + for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 806277be-4662-453b-b160-0f29e750c5e5 + apim-request-id: 2aab5760-4a11-4d33-8638-318c00bd143a content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:35 GMT + date: Wed, 23 Jun 2021 01:38:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' + x-envoy-upstream-service-time: '161' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f response: body: - string: '{"jobId":"14bddf69-7cf0-4a1e-9a4b-be63c6644043","lastUpdateDateTime":"2021-05-18T18:25:38Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T18:25:38Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:22.824384Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:37:57Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:52.760596Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:36.4290537Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:38.6735281Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:57.8223745Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"Test + for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 06897c83-2882-436b-ace6-228c9f54b8cf + apim-request-id: 3de9006a-c22c-4031-b5ee-019e00cbbb08 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:42 GMT + date: Wed, 23 Jun 2021 01:38:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '65' + x-envoy-upstream-service-time: '181' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f response: body: - string: '{"jobId":"14bddf69-7cf0-4a1e-9a4b-be63c6644043","lastUpdateDateTime":"2021-05-18T18:25:44Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T18:25:44Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:43.5360363Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:22.824384Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test + string: '{"jobId":"502ed32d-abcc-4b3e-86bc-6a37675cbe4f","lastUpdateDateTime":"2021-06-23T01:38:11Z","createdDateTime":"2021-06-23T01:36:45Z","expirationDateTime":"2021-06-24T01:36:45Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:22.0916139Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:52.760596Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:36.4290537Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"Test - for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:38.6735281Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T18:25:44.8265053Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:57.8223745Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"Test + for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:37:13.543186Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:11.4395769Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: - apim-request-id: 59cad9a8-f687-485d-ba4c-3cdef75b7b42 + apim-request-id: 48916424-f284-4e70-8591-d11ff40c42c8 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:47 GMT + date: Wed, 23 Jun 2021 01:38:13 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '101' + x-envoy-upstream-service-time: '246' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/14bddf69-7cf0-4a1e-9a4b-be63c6644043 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/502ed32d-abcc-4b3e-86bc-6a37675cbe4f version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_duplicate_ids_error.yaml deleted file mode 100644 index bb200bb60c97..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_duplicate_ids_error.yaml +++ /dev/null @@ -1,37 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [{"parameters": {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}], - "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest"}}]}, - "analysisInput": {"documents": [{"id": "1", "text": "hello world", "language": - "en"}, {"id": "1", "text": "I did not like the hotel we stayed at.", "language": - "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '482' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innerError":{"code":"InvalidDocument","message":"Request - contains duplicated Ids. Make sure each document has a unique Id."}}}' - headers: - apim-request-id: 806a2047-26d5-461b-bd2b-ac4580cc1482 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:26 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' - status: - code: 400 - message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_empty_credential_class.yaml index f997a74c462c..f3a9c90275df 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_empty_credential_class.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -14,23 +14,25 @@ interactions: Accept: - application/json, text/json Content-Length: - - '741' + - '742' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 989ac90a-fed3-4b52-9c78-55f78360f64b content-length: '224' - date: Tue, 18 May 2021 17:47:04 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:38:13 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_multiple_pages_of_results_returned_successfully.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_multiple_pages_of_results_returned_successfully.yaml index 43858a4c5ce8..cf0b15ea93f4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_multiple_pages_of_results_returned_successfully.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_multiple_pages_of_results_returned_successfully.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -30,60 +30,60 @@ interactions: Accept: - application/json, text/json Content-Length: - - '2036' + - '2037' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: 5a202824-9736-48d0-9f60-eba2976f1d4f - date: Tue, 18 May 2021 17:47:23 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5 + apim-request-id: 4fe6c078-4acd-4ad8-9eb2-a95a3d67ee12 + date: Wed, 23 Jun 2021 01:38:14 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '591' + x-envoy-upstream-service-time: '1596' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:27Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:27Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:18Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 72560b96-6340-4e3d-9990-6957ca7582cc + apim-request-id: 9696fd0a-614f-422d-b5ab-67653556a9de content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:38:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '177' + x-envoy-upstream-service-time: '246' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:33Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:33Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:24Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -103,29 +103,29 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 2271ce70-66cb-4ce9-b640-01629d78c6de + apim-request-id: b61dff39-650f-46da-8854-7a51f255863f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:34 GMT + date: Wed, 23 Jun 2021 01:38:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '336' + x-envoy-upstream-service-time: '376' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:33Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:33Z"},"completed":3,"failed":0,"inProgress":2,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:24Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -145,29 +145,29 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 6344797f-5de4-4294-8e0c-2bc6db72d42c + apim-request-id: b48dbda1-d174-4618-84f7-5628a36c4789 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:39 GMT + date: Wed, 23 Jun 2021 01:38:30 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '468' + x-envoy-upstream-service-time: '407' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:24Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -187,29 +187,29 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 14700862-08de-4016-b767-b6536b84af3b + apim-request-id: bb9efc61-3a37-4340-aa0a-5cf0e31cdd12 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:38:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '656' + x-envoy-upstream-service-time: '480' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:24Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -229,29 +229,29 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: c021fec7-338b-48b0-800e-17264ec371ee + apim-request-id: 0ea0dc8c-b2a2-4113-a43d-fd3c3b9fa68e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:51 GMT + date: Wed, 23 Jun 2021 01:38:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '624' + x-envoy-upstream-service-time: '386' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:47Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -271,29 +271,29 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 729a488a-d501-400c-b95f-4d656fdd46ee + apim-request-id: 518ab341-7916-42e8-a387-1f91885a474f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:38:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '711' + x-envoy-upstream-service-time: '770' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:52Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:49.2675744Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello @@ -313,217 +313,27 @@ interactions: world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' - headers: - apim-request-id: dc87089f-b117-4726-ad63-d41eb99ba926 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '603' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True - response: - body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello - world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' - headers: - apim-request-id: 395dc7c3-8ea3-4789-ae06-6c3b5cc51990 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '653' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True - response: - body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello - world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' - headers: - apim-request-id: 147e6a9c-7559-4d75-bc55-6818d71a43d0 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:14 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '652' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True - response: - body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello - world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' - headers: - apim-request-id: 5d1d61c6-ae92-4997-85bb-36193831f8c8 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:20 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '659' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True - response: - body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:47:44Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:44Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello - world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' - headers: - apim-request-id: 881e55fd-aa88-4907-a52c-2337622019a6 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:26 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '1233' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True - response: - body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:48:27Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:27Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"redactedText":"hello - world","id":"0","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"1","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"2","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"3","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"4","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"5","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"6","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"7","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"8","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"9","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"10","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"11","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"12","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"13","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"14","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"15","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"16","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"17","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"18","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":"hello - world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:27.4358149Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello + world","id":"19","statistics":{"charactersCount":11,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:48.0047882Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"3","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"4","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"5","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"6","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"7","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"8","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"9","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"10","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"11","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"12","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"13","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"14","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"15","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"16","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"17","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"18","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":["hello + world"],"statistics":{"charactersCount":11,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:52.7235393Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":20,"validDocumentsCount":20,"erroneousDocumentsCount":0,"transactionsCount":20},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"1","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"2","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"3","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello @@ -543,49 +353,52 @@ interactions: world"}],"warnings":[]},{"id":"17","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"18","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":11,"transactionsCount":1},"confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello - world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?$skip=20&$top=5&showStats=True"}' + world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]},"@nextLink":"https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?$skip=20&$top=5&showStats=True"}' headers: - apim-request-id: 51391ee2-c573-41e0-9f41-b5c9c69def61 + apim-request-id: abaf6b66-e114-49bd-afda-db6c51b86336 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:32 GMT + date: Wed, 23 Jun 2021 01:38:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '929' + x-envoy-upstream-service-time: '1156' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=True - request: body: null headers: Accept: - application/json, text/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=false&$top=5&$skip=20 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=false&$top=5&$skip=20 response: body: - string: '{"jobId":"03ae5014-3464-4b89-92b7-4401dd3d54c5","lastUpdateDateTime":"2021-05-18T17:48:27Z","createdDateTime":"2021-05-18T17:47:22Z","expirationDateTime":"2021-05-19T17:47:22Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:27Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:44.288685Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:27.4150412Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:30.4377384Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"hello + string: '{"jobId":"353c2579-4dc0-4c04-8f47-c85673e49cb4","lastUpdateDateTime":"2021-06-23T01:38:52Z","createdDateTime":"2021-06-23T01:38:13Z","expirationDateTime":"2021-06-24T01:38:13Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:49.2675744Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:18.615279Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:24.3988359Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"hello world","id":"20","entities":[],"warnings":[]},{"redactedText":"hello world","id":"21","entities":[],"warnings":[]},{"redactedText":"hello world","id":"22","entities":[],"warnings":[]},{"redactedText":"hello world","id":"23","entities":[],"warnings":[]},{"redactedText":"hello - world","id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:33.9174555Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","keyPhrases":["world"],"warnings":[]},{"id":"21","keyPhrases":["world"],"warnings":[]},{"id":"22","keyPhrases":["world"],"warnings":[]},{"id":"23","keyPhrases":["world"],"warnings":[]},{"id":"24","keyPhrases":["world"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:27.4358149Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello + world","id":"24","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:48.0047882Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"20","keyPhrases":["hello + world"],"warnings":[]},{"id":"21","keyPhrases":["hello world"],"warnings":[]},{"id":"22","keyPhrases":["hello + world"],"warnings":[]},{"id":"23","keyPhrases":["hello world"],"warnings":[]},{"id":"24","keyPhrases":["hello + world"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:52.7235393Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"20","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"21","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"22","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"23","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]},{"id":"24","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"hello world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: - apim-request-id: edf60ad6-ef91-4fc1-9658-13aac67aeaed + apim-request-id: a22411e4-12dd-4384-a48e-78444c0c1f90 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:32 GMT + date: Wed, 23 Jun 2021 01:38:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '266' + x-envoy-upstream-service-time: '537' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze/jobs/03ae5014-3464-4b89-92b7-4401dd3d54c5?showStats=false&$top=5&$skip=20 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze/jobs/353c2579-4dc0-4c04-8f47-c85673e49cb4?showStats=false&$top=5&$skip=20 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_out_of_order_ids_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_out_of_order_ids_multiple_tasks.yaml index 262b974477d3..aa2516999ff3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_out_of_order_ids_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_out_of_order_ids_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -15,290 +15,422 @@ interactions: Accept: - application/json, text/json Content-Length: - - '853' + - '854' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: ea208a78-da70-4cdc-aaa4-d95b6c3a74b8 - date: Tue, 18 May 2021 17:46:59 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + apim-request-id: 62266e9e-4098-465d-8917-35ae5d6c80d9 + date: Wed, 23 Jun 2021 01:38:55 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '559' + x-envoy-upstream-service-time: '472' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:02Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:02Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:38:57Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: - apim-request-id: e164ce05-4cb9-4a69-8719-0dfca76e020d + apim-request-id: 41b0205b-89db-4eab-a044-7200dfabb4eb content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:04 GMT + date: Wed, 23 Jun 2021 01:39:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '55' + x-envoy-upstream-service-time: '149' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:08Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:08Z"},"completed":2,"failed":0,"inProgress":3,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:05Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":3,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' headers: - apim-request-id: 0b169c5f-2f88-4b62-bb91-fd75de98b3ab + apim-request-id: 66035d50-e8e3-4585-b80b-997d4cdb66a2 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:15 GMT + date: Wed, 23 Jun 2021 01:39:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5143' + x-envoy-upstream-service-time: '188' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:08Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' headers: - apim-request-id: a6974829-abcc-4da7-a2ab-cf948499dc7c + apim-request-id: 1b218c94-d515-46e9-8029-7212f760d127 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:20 GMT + date: Wed, 23 Jun 2021 01:39:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '210' + x-envoy-upstream-service-time: '195' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 4905b30f-4430-4a24-98f3-9a4f21d01e9b + apim-request-id: 77cc8cb1-c1b6-4c4d-80a2-ba5d4a3f482f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:25 GMT + date: Wed, 23 Jun 2021 01:39:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '201' + x-envoy-upstream-service-time: '288' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: f2e6f7f7-6124-4102-ad58-07dabe85e96c + apim-request-id: 49a16f33-775d-4ce7-8cc7-07a5cffdd182 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:30 GMT + date: Wed, 23 Jun 2021 01:39:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '180' + x-envoy-upstream-service-time: '321' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 12cf7b8d-caa9-4719-a467-124413ccbcf9 + apim-request-id: 59e2822a-1588-4be2-8975-1eb1c12048a6 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:35 GMT + date: Wed, 23 Jun 2021 01:39:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '200' + x-envoy-upstream-service-time: '354' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 2ff0c140-21ee-4062-b0ad-53d659a8635b + apim-request-id: 173651ba-fdb6-4b6b-82a0-da9dc3fd23b9 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:39:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '182' + x-envoy-upstream-service-time: '273' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: bd546ca2-e822-4b4c-a93d-5cf344cc983c + apim-request-id: 3baa48aa-ce05-4b5a-8015-6228d908a1e1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:47 GMT + date: Wed, 23 Jun 2021 01:39:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '184' + x-envoy-upstream-service-time: '291' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 0ef47808-7abb-42aa-b7e1-974eafca1e6c + apim-request-id: 82bb2dde-b0ee-4dfb-8c57-8e3a492f0b8e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:52 GMT + date: Wed, 23 Jun 2021 01:39:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '175' + x-envoy-upstream-service-time: '312' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:47:18Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:18Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: 4f1e2d29-ef1c-4f3d-a9bd-d7aff389dd22 + apim-request-id: 5c857aa9-c007-4c1c-9aa2-aa2e794a827f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:39:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '175' + x-envoy-upstream-service-time: '304' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:48:00Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:00Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: b006e82a-41c8-407a-9d07-38e4a16a8c24 + apim-request-id: 7e0009ec-4e59-4e3e-a0dc-a0bd0408f33a content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:39:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '209' + x-envoy-upstream-service-time: '314' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 response: body: - string: '{"jobId":"329a82f8-d29b-4aa2-8bca-e63b0e244f47","lastUpdateDateTime":"2021-05-18T17:48:05Z","createdDateTime":"2021-05-18T17:46:59Z","expirationDateTime":"2021-05-19T17:46:59Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:05Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:07.9995231Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:01.1378947Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:18.8252846Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:05.408041Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:11.4166426Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' headers: - apim-request-id: af16e4cf-7768-41a2-84a6-871cdd0440d6 + apim-request-id: c647cfbb-942b-4cfb-b9c2-c4b1e5172b62 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:39:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '276' + x-envoy-upstream-service-time: '259' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/329a82f8-d29b-4aa2-8bca-e63b0e244f47 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 7837a66f-daab-48b9-80d0-87f7942f1255 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:04 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '256' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: d6901df7-22f9-48f6-9a80-bf770e3bb2f0 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:10 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '587' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: de725ef2-958d-4208-af2a-e1411cad034e + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:16 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '274' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: e4870a67-64a6-4dec-b9d7-5ec6f993d0eb + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:21 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '475' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:39:14Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":4,"failed":0,"inProgress":1,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 6894ed3f-a4e4-4eca-ab14-3db3877831a3 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:27 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '278' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 + response: + body: + string: '{"jobId":"2d48ba98-e9ba-4da8-a078-85127bffd2f0","lastUpdateDateTime":"2021-06-23T01:40:30Z","createdDateTime":"2021-06-23T01:38:55Z","expirationDateTime":"2021-06-24T01:38:55Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:08.3293152Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:38:57.2834896Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:05.8345003Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:39:14.132855Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:40:30.7331453Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: f4e6e706-4459-403e-8b06-2df80cdbc586 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:40:32 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '372' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/2d48ba98-e9ba-4da8-a078-85127bffd2f0 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_output_same_order_as_input_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_output_same_order_as_input_multiple_tasks.yaml deleted file mode 100644 index 25e7fb5dd1e8..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_output_same_order_as_input_multiple_tasks.yaml +++ /dev/null @@ -1,422 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": - {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}, {"parameters": - {"model-version": "bad", "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": - [{"parameters": {"model-version": "latest"}}], "entityLinkingTasks": [{"parameters": - {"model-version": "latest", "stringIndexType": "UnicodeCodePoint"}}]}, "analysisInput": - {"documents": [{"id": "1", "text": "one", "language": "en"}, {"id": "2", "text": - "two", "language": "en"}, {"id": "3", "text": "three", "language": "en"}, {"id": - "4", "text": "four", "language": "en"}, {"id": "5", "text": "five", "language": - "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '688' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: 34672944-37ee-4021-a67b-394a54b29fe6 - date: Fri, 05 Mar 2021 17:38:11 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' - status: - code: 202 - message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 9b0dfd5e-12c6-4302-b2f4-d5be10c5483d - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:16 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '281' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: e7ba746e-1406-4663-840f-30d810ad0113 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:22 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '264' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: feb1a4e2-ca50-4ab7-a80b-38cc36b52773 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:27 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '383' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 38fecc51-378a-4c34-a28d-a2cbf10e00e2 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:32 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '303' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 31d004bb-5a95-4b2e-ac73-97d042d41b9f - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:37 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '224' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 354b79dc-dc01-415b-a99a-b2b523b70061 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:43 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '293' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 07d770b0-810d-47a9-ae7b-1a30e7869222 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:48 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '258' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 3928850c-3ec7-4662-9457-490e7b4e7727 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:53 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '303' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: f25178d5-ec66-4db5-9ed0-648fead516f8 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:38:59 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '446' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 1c1628be-b855-4878-ae4f-4d2bf731b783 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:04 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '289' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: d6b99f09-7a13-4ab9-8b69-980f004adae3 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:12 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '2873' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 3b5a5124-c5b9-4bbe-9e6c-b550c1ccd720 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:17 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '258' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 757655e6-b1d5-4662-b47b-10526ea5dce7 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:23 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '315' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 4b42f453-d830-4f7f-960b-e7e255579c1d - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:28 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '248' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"running","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":2,"failed":1,"inProgress":1,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: e349249b-6fc8-4405-95e2-7fbcb5a67117 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:33 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '302' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.7.9 (Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-16.04-xenial) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e - response: - body: - string: '{"jobId":"83a52945-ec8c-4633-b4b6-66e3eed7474e","lastUpdateDateTime":"2021-03-05T17:38:12Z","createdDateTime":"2021-03-05T17:38:12Z","expirationDateTime":"2021-03-06T17:38:12Z","status":"partiallyCompleted","errors":[{"code":"InvalidRequest","message":"Job - task parameter value bad is not supported for model-version parameter for - job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.","target":"#/tasks/entityRecognitionPiiTasks/1"}],"tasks":{"details":{"lastUpdateDateTime":"2021-03-05T17:38:12Z"},"completed":3,"failed":1,"inProgress":0,"total":4,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}},{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"failed"}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-03-05T17:38:12.8783184Z","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}' - headers: - apim-request-id: 62c8fc49-786a-4c50-8b10-3efda852e267 - content-type: application/json; charset=utf-8 - date: Fri, 05 Mar 2021 17:39:39 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '424' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/83a52945-ec8c-4633-b4b6-66e3eed7474e -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pass_cls.yaml index b5b718d2a3e6..e6326553c509 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pass_cls.yaml @@ -13,82 +13,82 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: d39c554c-851c-47ac-9cb6-306c60f6e20c - date: Tue, 18 May 2021 17:48:10 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + apim-request-id: 53570a5b-4b89-4332-b699-cbe08dfc36ad + date: Wed, 23 Jun 2021 01:40:38 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '76' + x-envoy-upstream-service-time: '5339' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 response: body: - string: '{"jobId":"b230a527-db7c-4d27-9264-16cf54d0c081","lastUpdateDateTime":"2021-05-18T17:48:12Z","createdDateTime":"2021-05-18T17:48:10Z","expirationDateTime":"2021-05-19T17:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:12Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"d5747915-4a2e-4015-926a-48acdf17b234","lastUpdateDateTime":"2021-06-23T01:40:38Z","createdDateTime":"2021-06-23T01:40:32Z","expirationDateTime":"2021-06-24T01:40:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: a14c332f-93a9-4c7f-911b-4358a91a4c40 + apim-request-id: eecbb92f-7430-4b35-98f8-3fabc6ce36bf content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:15 GMT + date: Wed, 23 Jun 2021 01:40:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 response: body: - string: '{"jobId":"b230a527-db7c-4d27-9264-16cf54d0c081","lastUpdateDateTime":"2021-05-18T17:48:12Z","createdDateTime":"2021-05-18T17:48:10Z","expirationDateTime":"2021-05-19T17:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:12Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"d5747915-4a2e-4015-926a-48acdf17b234","lastUpdateDateTime":"2021-06-23T01:40:38Z","createdDateTime":"2021-06-23T01:40:32Z","expirationDateTime":"2021-06-24T01:40:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 7f360f2d-19c7-4804-bbc2-2287566f56d5 + apim-request-id: 012c37ce-b824-487a-9788-079df8e8b04d content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:20 GMT + date: Wed, 23 Jun 2021 01:40:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 response: body: - string: '{"jobId":"b230a527-db7c-4d27-9264-16cf54d0c081","lastUpdateDateTime":"2021-05-18T17:48:12Z","createdDateTime":"2021-05-18T17:48:10Z","expirationDateTime":"2021-05-19T17:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:12Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"d5747915-4a2e-4015-926a-48acdf17b234","lastUpdateDateTime":"2021-06-23T01:40:38Z","createdDateTime":"2021-06-23T01:40:32Z","expirationDateTime":"2021-06-24T01:40:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 0094eb63-6762-4592-98e0-2097e370764a + apim-request-id: 87a2cbd2-c7b2-4c56-afe7-cb4d11b55648 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:25 GMT + date: Wed, 23 Jun 2021 01:40:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -96,27 +96,49 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 response: body: - string: '{"jobId":"b230a527-db7c-4d27-9264-16cf54d0c081","lastUpdateDateTime":"2021-05-18T17:48:29Z","createdDateTime":"2021-05-18T17:48:10Z","expirationDateTime":"2021-05-19T17:48:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:29Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:29.4908852Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + string: '{"jobId":"d5747915-4a2e-4015-926a-48acdf17b234","lastUpdateDateTime":"2021-06-23T01:40:38Z","createdDateTime":"2021-06-23T01:40:32Z","expirationDateTime":"2021-06-24T01:40:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: c9b131b5-291b-42b6-bba1-e0aacaaae64d + apim-request-id: aa265e83-8122-493b-9894-829ba243c21b content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:30 GMT + date: Wed, 23 Jun 2021 01:40:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '26' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/b230a527-db7c-4d27-9264-16cf54d0c081 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 + response: + body: + string: '{"jobId":"d5747915-4a2e-4015-926a-48acdf17b234","lastUpdateDateTime":"2021-06-23T01:41:02Z","createdDateTime":"2021-06-23T01:40:32Z","expirationDateTime":"2021-06-24T01:40:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:41:02.9566767Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"text":"Test","category":"Skill","offset":0,"length":4,"confidenceScore":0.97},{"text":"cls","category":"Skill","offset":13,"length":3,"confidenceScore":0.82}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: 4e97f15d-42d5-47a7-8855-f59e36cb136e + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:03 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '81' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d5747915-4a2e-4015-926a-48acdf17b234 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pii_action_categories_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pii_action_categories_filter.yaml new file mode 100644 index 000000000000..48a4eb815cd4 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_pii_action_categories_filter.yaml @@ -0,0 +1,129 @@ +interactions: +- request: + body: '{"tasks": {"entityRecognitionTasks": [], "entityRecognitionPiiTasks": [{"parameters": + {"model-version": "latest", "loggingOptOut": false, "piiCategories": ["USSocialSecurityNumber", + "ABARoutingNumber"], "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + [], "entityLinkingTasks": [], "sentimentAnalysisTasks": []}, "analysisInput": + {"documents": [{"id": "1", "text": "My SSN is 859-98-0987.", "language": "en"}, + {"id": "2", "text": "Your ABA number - 111000025 - is the first 9 digits in + the lower left hand corner of your personal check.", "language": "en"}, {"id": + "3", "text": "Is 998.214.865-68 your Brazilian CPF number?", "language": "en"}]}}' + headers: + Accept: + - application/json, text/json + Content-Length: + - '667' + Content-Type: + - application/json + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze + response: + body: + string: '' + headers: + apim-request-id: f672513c-83b1-4dea-95a3-c7df41d88aa4 + date: Wed, 23 Jun 2021 01:41:03 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '258' + status: + code: 202 + message: Accepted + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e + response: + body: + string: '{"jobId":"d391d4a7-7f30-4a60-8176-d9c7f58f6f2e","lastUpdateDateTime":"2021-06-23T01:41:07Z","createdDateTime":"2021-06-23T01:41:03Z","expirationDateTime":"2021-06-24T01:41:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 4823ecda-5496-4e79-8e56-a6b4ccb11ab8 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:08 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '20' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e + response: + body: + string: '{"jobId":"d391d4a7-7f30-4a60-8176-d9c7f58f6f2e","lastUpdateDateTime":"2021-06-23T01:41:07Z","createdDateTime":"2021-06-23T01:41:03Z","expirationDateTime":"2021-06-24T01:41:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 1ff426eb-8585-44c9-b4aa-08d3e3624e09 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:14 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '8' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e + response: + body: + string: '{"jobId":"d391d4a7-7f30-4a60-8176-d9c7f58f6f2e","lastUpdateDateTime":"2021-06-23T01:41:07Z","createdDateTime":"2021-06-23T01:41:03Z","expirationDateTime":"2021-06-24T01:41:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 399db7f5-95bf-4851-869d-a3bc168e0d6e + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:18 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e + response: + body: + string: '{"jobId":"d391d4a7-7f30-4a60-8176-d9c7f58f6f2e","lastUpdateDateTime":"2021-06-23T01:41:23Z","createdDateTime":"2021-06-23T01:41:03Z","expirationDateTime":"2021-06-24T01:41:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:41:23.8988811Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My + SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your + ABA number - ********* - is the first 9 digits in the lower left hand corner + of your personal check.","id":"2","entities":[{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75}],"warnings":[]},{"redactedText":"Is + 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + headers: + apim-request-id: e3b7fc8e-5985-4ce7-82d8-2b612b79215e + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:24 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '85' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/d391d4a7-7f30-4a60-8176-d9c7f58f6f2e +version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_poller_metadata.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_poller_metadata.yaml index 7e6c6c682512..70bb41d93247 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_poller_metadata.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_poller_metadata.yaml @@ -13,66 +13,110 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: fde17bf2-65fd-45ac-8ef1-f7e1adb78a19 - date: Tue, 18 May 2021 17:47:29 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/29bbae35-ec59-4809-9259-d86a367d8b2b + apim-request-id: a08e7a90-ca6f-4142-a678-f075542f2e11 + date: Wed, 23 Jun 2021 01:41:31 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '160' + x-envoy-upstream-service-time: '7711' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/29bbae35-ec59-4809-9259-d86a367d8b2b?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True response: body: - string: '{"jobId":"29bbae35-ec59-4809-9259-d86a367d8b2b","lastUpdateDateTime":"2021-05-18T17:47:29Z","createdDateTime":"2021-05-18T17:47:29Z","expirationDateTime":"2021-05-19T17:47:29Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:29Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"688ce491-6ba5-4ebb-ab46-1975f837a8af","lastUpdateDateTime":"2021-06-23T01:41:33Z","createdDateTime":"2021-06-23T01:41:24Z","expirationDateTime":"2021-06-24T01:41:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: b7f21110-ff07-497f-bf3c-38a66a1ef5dc + apim-request-id: d76f0f2f-c2a1-4333-a470-017b497bce24 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:34 GMT + date: Wed, 23 Jun 2021 01:41:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/29bbae35-ec59-4809-9259-d86a367d8b2b?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/29bbae35-ec59-4809-9259-d86a367d8b2b?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True response: body: - string: '{"jobId":"29bbae35-ec59-4809-9259-d86a367d8b2b","lastUpdateDateTime":"2021-05-18T17:47:37Z","createdDateTime":"2021-05-18T17:47:29Z","expirationDateTime":"2021-05-19T17:47:29Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:37Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:37.8661427Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' + string: '{"jobId":"688ce491-6ba5-4ebb-ab46-1975f837a8af","lastUpdateDateTime":"2021-06-23T01:41:33Z","createdDateTime":"2021-06-23T01:41:24Z","expirationDateTime":"2021-06-24T01:41:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: aa1d632e-a355-46e3-a42f-2adb7fa9f88b + apim-request-id: 22b36f8e-6f59-4f6d-881b-9f30c73ab7bf content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:39 GMT + date: Wed, 23 Jun 2021 01:41:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/29bbae35-ec59-4809-9259-d86a367d8b2b?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True + response: + body: + string: '{"jobId":"688ce491-6ba5-4ebb-ab46-1975f837a8af","lastUpdateDateTime":"2021-06-23T01:41:33Z","createdDateTime":"2021-06-23T01:41:24Z","expirationDateTime":"2021-06-24T01:41:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: ebb6c34b-fba1-4ce3-aa3a-d59221b53023 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:47 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '8' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True + response: + body: + string: '{"jobId":"688ce491-6ba5-4ebb-ab46-1975f837a8af","lastUpdateDateTime":"2021-06-23T01:41:51Z","createdDateTime":"2021-06-23T01:41:24Z","expirationDateTime":"2021-06-24T01:41:24Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:41:51.0932252Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}' + headers: + apim-request-id: f4d59d0a-55ef-47e6-8ab2-7ad494ad07ba + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:41:52 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '46' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/688ce491-6ba5-4ebb-ab46-1975f837a8af?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_rotate_subscription_key.yaml deleted file mode 100644 index d3ca67f706dd..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_rotate_subscription_key.yaml +++ /dev/null @@ -1,714 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: 5915ab18-e1f5-4662-a23c-176fca29a3eb - date: Tue, 23 Feb 2021 17:08:51 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' - status: - code: 202 - message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 11d981b8-6f9e-414c-82cd-b6dead1c7a60 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:08:56 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: f705b9fa-8a22-4520-8ccc-43d3b91e2a1c - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:01 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '35' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 08c0f5c4-6694-4048-92ed-a42247cf52df - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:07 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 4127e719-454c-4701-a16f-cabb1b6e1c93 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:12 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 829bb9cf-b9c9-400f-b0bf-c4fd219f0f13 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:17 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 0dca82c5-6914-4cec-a28e-043eb747155a - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:22 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '312' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 8740837b-8d4d-49a5-925e-121daf49d4c8 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:27 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '53' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: eb9399e0-c594-4abe-a0ff-d8a470ced87a - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:32 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '35' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: f73a53fb-7a63-46d7-8d67-3cf1d55baec9 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:37 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 227531cf-5667-493e-b88f-5d9008c09f30 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:43 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 57078b73-c1da-488d-8460-c442dfad0305 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:49 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 92becae2-4bd2-43ff-a7aa-cf81327956a2 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:54 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '60' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 1e9268e3-591f-42b1-b22a-bff9161ff683 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:09:59 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 8089a67e-2071-4f86-9814-8137c33d9bb4 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:04 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 - response: - body: - string: '{"jobId":"d2263b99-3082-4861-b929-97dd69180574","lastUpdateDateTime":"2021-02-23T17:08:52Z","createdDateTime":"2021-02-23T17:08:52Z","expirationDateTime":"2021-02-24T17:08:52Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:08:52Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:08:52.6796149Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: ab3b2e04-0674-4252-b0fc-1cacb939d8fd - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:08 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '65' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/d2263b99-3082-4861-b929-97dd69180574 -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '{"error":{"code":"401","message":"Access denied due to invalid subscription - key or wrong API endpoint. Make sure to provide a valid key for an active - subscription and use a correct regional API endpoint for your resource."}}' - headers: - content-length: '224' - date: Tue, 23 Feb 2021 17:10:08 GMT - status: - code: 401 - message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: 75bf7d30-41c8-4223-8bd4-24509fc0c26d - date: Tue, 23 Feb 2021 17:10:10 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '267' - status: - code: 202 - message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 4492d409-9739-4184-913e-f9472b6792e6 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:14 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 7f02d666-56a8-4051-8a13-cbc6f6cce1d9 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:19 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '66' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: a48e6a01-0540-4fe4-99be-0f3fce89a1ea - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:25 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '53' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 6208d023-fb78-4a9d-a09f-70c6ca0f6681 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:30 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: f4df8c67-4346-4ebe-906b-a30c0c6c3895 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:36 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '312' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: a181e969-a1e2-416a-964d-80efb004a75c - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:41 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '41' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: fc8474fe-a3af-41f5-b263-a5cd081e0ce6 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:46 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '67' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: a74cef0d-5d24-4a55-8f30-1d826454f3b6 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:51 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '109' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 7d73d9c9-9bf1-40a7-8293-1226e0907ed9 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:10:56 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: e823e405-1fc7-4914-83e8-dc6b86bc51d8 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:11:01 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '104' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 161d6030-b79a-4650-a91c-dcb610991c4d - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:11:06 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '113' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 5d6769e9-96b3-4069-b8f5-057834188e2c - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:11:11 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '58' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 - response: - body: - string: '{"jobId":"4cd75a18-1b5a-47e3-8a35-ba4640ca6d31","lastUpdateDateTime":"2021-02-23T17:10:10Z","createdDateTime":"2021-02-23T17:10:09Z","expirationDateTime":"2021-02-24T17:10:09Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:10:10Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:10:10.3658102Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: bb8716b1-b212-4803-ae26-0efec314d19d - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:11:16 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '128' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/4cd75a18-1b5a-47e3-8a35-ba4640ca6d31 -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_sentiment_analysis_task_with_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_sentiment_analysis_task_with_opinion_mining.yaml index 13af4d4c632c..36c5cbb06fa1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_sentiment_analysis_task_with_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_sentiment_analysis_task_with_opinion_mining.yaml @@ -14,60 +14,60 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: e6237a7a-a8f3-4fd2-87ff-0849112cba36 - date: Tue, 18 May 2021 17:47:05 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860 + apim-request-id: 684ac745-e559-4fa3-be36-df59f9d62895 + date: Wed, 23 Jun 2021 01:41:53 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '116' + x-envoy-upstream-service-time: '179' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True response: body: - string: '{"jobId":"672d7122-82b2-4d76-aede-48db64935860","lastUpdateDateTime":"2021-05-18T17:47:05Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:05Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 5a7e794e-cd99-41f3-98d7-079fde88b028 + apim-request-id: f414f3d1-c510-4771-8a3b-f9e9e5018e7c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:10 GMT + date: Wed, 23 Jun 2021 01:41:57 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '6' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True response: body: - string: '{"jobId":"672d7122-82b2-4d76-aede-48db64935860","lastUpdateDateTime":"2021-05-18T17:47:05Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:05Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 4eee9dff-97f2-474b-b243-49a0dde4b065 + apim-request-id: 8fb2a1b2-36c8-4a92-bf39-8c585d2b483e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:15 GMT + date: Wed, 23 Jun 2021 01:42:03 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -75,51 +75,117 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True response: body: - string: '{"jobId":"672d7122-82b2-4d76-aede-48db64935860","lastUpdateDateTime":"2021-05-18T17:47:05Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:05Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' headers: - apim-request-id: 7da43e27-fb18-409a-96d9-4d23913cb7f8 + apim-request-id: 570069d5-e205-4816-a0d2-4d134ec9573f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:20 GMT + date: Wed, 23 Jun 2021 01:42:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True + response: + body: + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 65b58136-a262-4fe7-8cd1-0cea7054997f + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:42:13 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '6' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True + response: + body: + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 90e176d2-94d5-4330-8343-f9c3731fc631 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:42:17 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '6' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True + response: + body: + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:41:54Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}' + headers: + apim-request-id: 73901121-a13d-4d0f-9329-59af6418ff15 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:42:23 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '6' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True response: body: - string: '{"jobId":"672d7122-82b2-4d76-aede-48db64935860","lastUpdateDateTime":"2021-05-18T17:47:21Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:47:21Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:47:21.4893686Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"0","sentiment":"positive","statistics":{"charactersCount":74,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It + string: '{"jobId":"6b12d323-9df5-4ce2-b5d2-b5896d0aec72","lastUpdateDateTime":"2021-06-23T01:42:24Z","createdDateTime":"2021-06-23T01:41:52Z","expirationDateTime":"2021-06-24T01:41:52Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:24.2604535Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"0","sentiment":"positive","statistics":{"charactersCount":74,"transactionsCount":1},"confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"negative","statistics":{"charactersCount":32,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' headers: - apim-request-id: 5f68e69e-08b8-4475-9ab6-79ed57e7f987 + apim-request-id: 18746bf6-fc4f-4552-a017-1b3e4e7918ea content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:25 GMT + date: Wed, 23 Jun 2021 01:42:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '35' + x-envoy-upstream-service-time: '135' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/672d7122-82b2-4d76-aede-48db64935860?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/6b12d323-9df5-4ce2-b5d2-b5896d0aec72?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_show_stats_and_model_version_multiple_tasks.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_show_stats_and_model_version_multiple_tasks.yaml index f78db309d341..efbf8f8d821f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_show_stats_and_model_version_multiple_tasks.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_show_stats_and_model_version_multiple_tasks.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -15,92 +15,158 @@ interactions: Accept: - application/json, text/json Content-Length: - - '853' + - '854' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: string: '' headers: - apim-request-id: a8747d09-e976-4e99-be45-bd39ad6d2a96 - date: Tue, 18 May 2021 17:48:17 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1 + apim-request-id: feb77bb6-cc18-4d4b-9fc7-07f10d6fb82b + date: Wed, 23 Jun 2021 01:42:29 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '491' + x-envoy-upstream-service-time: '581' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True response: body: - string: '{"jobId":"d687db71-1851-4936-8b01-53f3da8758d1","lastUpdateDateTime":"2021-05-18T17:48:18Z","createdDateTime":"2021-05-18T17:48:16Z","expirationDateTime":"2021-05-19T17:48:16Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:18Z"},"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:18.6601853Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:30Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: - apim-request-id: b65be706-1a55-4ac7-96e5-f49a06c6eb28 + apim-request-id: bbc3bed2-93be-4979-b4f0-8e764ebc6d4e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:22 GMT + date: Wed, 23 Jun 2021 01:42:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '59' + x-envoy-upstream-service-time: '78' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True response: body: - string: '{"jobId":"d687db71-1851-4936-8b01-53f3da8758d1","lastUpdateDateTime":"2021-05-18T17:48:24Z","createdDateTime":"2021-05-18T17:48:16Z","expirationDateTime":"2021-05-19T17:48:16Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:24Z"},"completed":4,"failed":0,"inProgress":1,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:18.6601853Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:23.2949043Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:23.1905582Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:24.3157679Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:38Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: - apim-request-id: 67758cb2-4e92-4f46-872e-3065152bc45a + apim-request-id: 9314dc20-f7ad-42cd-ad77-1f54ddc8676f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:27 GMT + date: Wed, 23 Jun 2021 01:42:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '194' + x-envoy-upstream-service-time: '68' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True response: body: - string: '{"jobId":"d687db71-1851-4936-8b01-53f3da8758d1","lastUpdateDateTime":"2021-05-18T17:48:29Z","createdDateTime":"2021-05-18T17:48:16Z","expirationDateTime":"2021-05-19T17:48:16Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-18T17:48:29Z"},"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:29.4000729Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:18.6601853Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:23.2949043Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:23.1905582Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-18T17:48:24.3157679Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:38Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' headers: - apim-request-id: 296745f1-4266-4d3c-802d-faa3f6f083e6 + apim-request-id: 1639683d-a233-479a-be1d-12902a17a5a2 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:32 GMT + date: Wed, 23 Jun 2021 01:42:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '238' + x-envoy-upstream-service-time: '73' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze/jobs/d687db71-1851-4936-8b01-53f3da8758d1?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True + response: + body: + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:38Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":4,"total":5,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}' + headers: + apim-request-id: 63d4a26b-188a-422b-90f6-95ca6485b10a + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:42:49 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '94' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True + response: + body: + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:54Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":2,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:54.0782902Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:54.4487867Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: 808b5adf-e2ed-4350-9ba8-00d5449734fc + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:43:02 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '7779' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True + response: + body: + string: '{"jobId":"fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce","lastUpdateDateTime":"2021-06-23T01:42:59Z","createdDateTime":"2021-06-23T01:42:28Z","expirationDateTime":"2021-06-24T01:42:28Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":5,"failed":0,"inProgress":0,"total":5,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:54.0782902Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:30.4564755Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:56.3645767Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:59.3428691Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-23T01:42:54.4487867Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}' + headers: + apim-request-id: b42d637e-c705-4879-a96e-32e7b7071cb4 + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:43:09 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '2211' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/analyze/jobs/fd6c5899-b3d0-4b54-83bb-ca4d7884f0ce?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_too_many_documents.yaml index ea8903d8fb2f..f2131395417c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_too_many_documents.yaml @@ -3,7 +3,7 @@ interactions: body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": - true, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": + false, "stringIndexType": "UnicodeCodePoint"}}], "keyPhraseExtractionTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false}}], "entityLinkingTasks": [{"parameters": {"model-version": "latest", "loggingOptOut": false, "stringIndexType": "UnicodeCodePoint"}}], "sentimentAnalysisTasks": [{"parameters": {"model-version": @@ -32,27 +32,27 @@ interactions: Accept: - application/json, text/json Content-Length: - - '2169' + - '2170' Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/analyze + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/analyze response: body: - string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Batch + string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 25 records are permitted."}}}' headers: - apim-request-id: 105f6e12-bafe-45a0-84a9-10b58edb67b7 + apim-request-id: 68c490b0-5f6c-4cb2-bae6-df9cfd271c43 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:30 GMT + date: Wed, 23 Jun 2021 01:43:10 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/analyze + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/analyze version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_user_agent.yaml deleted file mode 100644 index 3d38e3d247b3..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_async.test_user_agent.yaml +++ /dev/null @@ -1,343 +0,0 @@ -interactions: -- request: - body: '{"tasks": {"entityRecognitionTasks": [{"parameters": {"model-version": - "latest", "stringIndexType": "UnicodeCodePoint"}}], "entityRecognitionPiiTasks": - [], "keyPhraseExtractionTasks": []}, "analysisInput": {"documents": [{"id": - "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": - "I did not like the hotel we stayed at.", "language": "en"}, {"id": "3", "text": - "The restaurant had really good food.", "language": "en"}]}}' - headers: - Accept: - - application/json, text/json - Content-Length: - - '447' - Content-Type: - - application/json - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze - response: - body: - string: '' - headers: - apim-request-id: e3e02a84-a5e4-4246-a6fc-edf5abf1e892 - date: Tue, 23 Feb 2021 17:12:20 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' - status: - code: 202 - message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.4/analyze -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 28c921ae-f8c2-443e-9a0a-31243d31f910 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:25 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 605c6345-f531-4608-9dfb-bc4783fde3e4 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:30 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '36' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 53c63677-03ce-4d51-91f0-aa1161879e50 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:35 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '64' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: c72a617c-c514-4531-8f34-23e07a235f94 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:41 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '62' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: b0b7e890-9033-4a5a-a1d9-4ea200062ce7 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:46 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '44' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: a15292de-e079-4fe6-b1e5-ca814951bffa - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:51 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '112' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 2cb238ff-c183-4401-a1b6-cdc786b574c4 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:12:56 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: ef71db44-a8e4-49ff-b1a1-159cb0df3fb5 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:01 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '50' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 1e0310d1-15d7-4976-a03c-50e922370612 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:06 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '63' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 33f5a97e-1f93-4b4b-95f6-79cfc96d627b - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:11 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '58' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 058e9076-0304-4706-9c85-70ddd0e2f04c - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:17 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '97' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: 248aca9b-306b-4e14-97a8-b1e2b45fd33c - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:22 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"running","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}' - headers: - apim-request-id: cf2ba754-acc3-4279-8542-6bb87d12dc98 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:27 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '84' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b6 Python/3.9.1 (macOS-10.13.6-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b - response: - body: - string: '{"jobId":"29c6f763-dca6-4f0d-b507-c91b78fdde2b","lastUpdateDateTime":"2021-02-23T17:12:21Z","createdDateTime":"2021-02-23T17:12:21Z","expirationDateTime":"2021-02-24T17:12:21Z","status":"succeeded","errors":[],"tasks":{"details":{"lastUpdateDateTime":"2021-02-23T17:12:21Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-02-23T17:12:21.4075135Z","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}' - headers: - apim-request-id: 2dbcbd00-e062-4109-9c32-b63be947a360 - content-type: application/json; charset=utf-8 - date: Tue, 23 Feb 2021 17:13:32 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '87' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.4/analyze/jobs/29c6f763-dca6-4f0d-b507-c91b78fdde2b -version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_bad_model_version_error.yaml index 78e588dd9999..d1c45b8193da 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_bad_model_version_error.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - d9da8460-ff02-4fc7-ba16-7c65097faacf + - 90b11952-d0f6-4516-b85d-0dedb8d8b9f3 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:43:10 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4338917-3752-407f-a45d-3158182ddcbb + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/841551f6-14a1-474d-bb8b-3f98c4430425 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '83' + - '209' status: code: 202 message: Accepted @@ -48,21 +48,123 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4338917-3752-407f-a45d-3158182ddcbb + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/841551f6-14a1-474d-bb8b-3f98c4430425 response: body: - string: '{"jobId":"c4338917-3752-407f-a45d-3158182ddcbb","lastUpdateDateTime":"2021-05-18T17:47:06Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"841551f6-14a1-474d-bb8b-3f98c4430425","lastUpdateDateTime":"2021-06-23T01:43:10Z","createdDateTime":"2021-06-23T01:43:10Z","expirationDateTime":"2021-06-24T01:43:10Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - 6e02237f-d89e-4882-aa68-a9c74a721cc5 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:43:15 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '12' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/841551f6-14a1-474d-bb8b-3f98c4430425 + response: + body: + string: '{"jobId":"841551f6-14a1-474d-bb8b-3f98c4430425","lastUpdateDateTime":"2021-06-23T01:43:20Z","createdDateTime":"2021-06-23T01:43:10Z","expirationDateTime":"2021-06-24T01:43:10Z","status":"running","errors":[]}' + headers: + apim-request-id: + - 2557f85a-1529-4563-b4a7-74191a2cbbe9 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:43:20 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '23' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/841551f6-14a1-474d-bb8b-3f98c4430425 + response: + body: + string: '{"jobId":"841551f6-14a1-474d-bb8b-3f98c4430425","lastUpdateDateTime":"2021-06-23T01:43:20Z","createdDateTime":"2021-06-23T01:43:10Z","expirationDateTime":"2021-06-24T01:43:10Z","status":"running","errors":[]}' + headers: + apim-request-id: + - 94c70c55-ad76-4acc-a661-e9cab34e45ee + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:43:26 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '16' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/841551f6-14a1-474d-bb8b-3f98c4430425 + response: + body: + string: '{"jobId":"841551f6-14a1-474d-bb8b-3f98c4430425","lastUpdateDateTime":"2021-06-23T01:43:31Z","createdDateTime":"2021-06-23T01:43:10Z","expirationDateTime":"2021-06-24T01:43:10Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 1b7f97af-c2ce-42ba-b4d0-4c4e42fc414a + - 368c9e26-d046-4a76-b7e5-6670c7693377 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:43:30 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -70,7 +172,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '80' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_cancellation.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_cancellation.yaml index fa9620e5114a..2bede38f0f5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_cancellation.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_cancellation.yaml @@ -19,19 +19,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 1ce72719-d81a-45d0-8f55-b8d56d99e581 + - cf4f9894-3319-4c05-a722-18c1acc33d85 date: - - Tue, 18 May 2021 17:47:05 GMT + - Wed, 23 Jun 2021 01:43:31 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/31000ebd-960e-4781-ac06-7cca5ec8198e + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/317c66d6-6427-473e-8af8-c3dd6cf7fa14 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '673' + - '438' status: code: 202 message: Accepted @@ -53,19 +53,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/31000ebd-960e-4781-ac06-7cca5ec8198e + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/317c66d6-6427-473e-8af8-c3dd6cf7fa14 response: body: - string: '{"jobId":"31000ebd-960e-4781-ac06-7cca5ec8198e","lastUpdateDateTime":"2021-05-18T17:47:07Z","createdDateTime":"2021-05-18T17:47:04Z","expirationDateTime":"2021-05-19T17:47:04Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]},{"id":"6","entities":[],"relations":[],"warnings":[]},{"id":"7","entities":[],"relations":[],"warnings":[]},{"id":"8","entities":[],"relations":[],"warnings":[]},{"id":"9","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"317c66d6-6427-473e-8af8-c3dd6cf7fa14","lastUpdateDateTime":"2021-06-23T01:43:33Z","createdDateTime":"2021-06-23T01:43:31Z","expirationDateTime":"2021-06-24T01:43:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]},{"id":"6","entities":[],"relations":[],"warnings":[]},{"id":"7","entities":[],"relations":[],"warnings":[]},{"id":"8","entities":[],"relations":[],"warnings":[]},{"id":"9","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 25cb6a49-7422-490f-a945-a7b02a848e32 + - ef6faaaf-1205-490a-9f0b-8e7ad26f1d65 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:43:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -73,7 +73,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '613' + - '725' status: code: 200 message: OK @@ -87,19 +87,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/31000ebd-960e-4781-ac06-7cca5ec8198e + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/317c66d6-6427-473e-8af8-c3dd6cf7fa14 response: body: - string: '{"jobId":"31000ebd-960e-4781-ac06-7cca5ec8198e","lastUpdateDateTime":"2021-05-18T17:47:07Z","createdDateTime":"2021-05-18T17:47:04Z","expirationDateTime":"2021-05-19T17:47:04Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]},{"id":"6","entities":[],"relations":[],"warnings":[]},{"id":"7","entities":[],"relations":[],"warnings":[]},{"id":"8","entities":[],"relations":[],"warnings":[]},{"id":"9","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"317c66d6-6427-473e-8af8-c3dd6cf7fa14","lastUpdateDateTime":"2021-06-23T01:43:33Z","createdDateTime":"2021-06-23T01:43:31Z","expirationDateTime":"2021-06-24T01:43:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]},{"id":"6","entities":[],"relations":[],"warnings":[]},{"id":"7","entities":[],"relations":[],"warnings":[]},{"id":"8","entities":[],"relations":[],"warnings":[]},{"id":"9","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 94072df5-76f8-4aaf-a22b-2d3ea8a8ece1 + - e2c79eab-3189-48f4-a8fd-7bce02e2cb98 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:43:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -107,7 +107,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '2743' status: code: 200 message: OK @@ -123,20 +123,20 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/31000ebd-960e-4781-ac06-7cca5ec8198e + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/317c66d6-6427-473e-8af8-c3dd6cf7fa14 response: body: string: '{"error":{"code":"InvalidRequest","message":"Failed to cancel job with - job id 31000ebd-960e-4781-ac06-7cca5ec8198e as its already completed."}}' + job id 317c66d6-6427-473e-8af8-c3dd6cf7fa14 as its already completed."}}' headers: apim-request-id: - - d036c8ce-8b4c-47f2-943c-307f22d67e35 + - a4ca7f6e-2348-4afa-beab-988b5ea570d5 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:43:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -144,7 +144,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '28' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_default_string_index_type_is_UnicodeCodePoint.yaml index f60e9fce5d2b..1d0b9479c7cd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -13,19 +13,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - becdfa13-d1b2-44dc-a5af-4977be04fabe + - 833078d9-37cc-4740-918c-625677927c3a date: - - Tue, 18 May 2021 17:47:09 GMT + - Wed, 23 Jun 2021 01:43:40 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f58ff9f6-2bf9-4082-8c5c-5f1ef58d1a82 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/cf50bdc4-7682-44d9-a4b1-4e5cc46fffd9 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -33,7 +33,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '104' + - '181' status: code: 202 message: Accepted @@ -47,19 +47,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f58ff9f6-2bf9-4082-8c5c-5f1ef58d1a82 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/cf50bdc4-7682-44d9-a4b1-4e5cc46fffd9 response: body: - string: '{"jobId":"f58ff9f6-2bf9-4082-8c5c-5f1ef58d1a82","lastUpdateDateTime":"2021-05-18T17:47:10Z","createdDateTime":"2021-05-18T17:47:10Z","expirationDateTime":"2021-05-19T17:47:10Z","status":"notStarted","errors":[]}' + string: '{"jobId":"cf50bdc4-7682-44d9-a4b1-4e5cc46fffd9","lastUpdateDateTime":"2021-06-23T01:43:43Z","createdDateTime":"2021-06-23T01:43:41Z","expirationDateTime":"2021-06-24T01:43:41Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - a0cb9c91-95f4-4a79-8e6b-8f8ed1c41cc7 + - 2a226fd9-77b8-4834-93a5-6936c0c8d6e8 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:15 GMT + - Wed, 23 Jun 2021 01:43:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -67,41 +67,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f58ff9f6-2bf9-4082-8c5c-5f1ef58d1a82 - response: - body: - string: '{"jobId":"f58ff9f6-2bf9-4082-8c5c-5f1ef58d1a82","lastUpdateDateTime":"2021-05-18T17:47:17Z","createdDateTime":"2021-05-18T17:47:10Z","expirationDateTime":"2021-05-19T17:47:10Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' - headers: - apim-request-id: - - d69a4c6a-6d6b-420b-86d4-1fb416a387eb - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:20 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '30' + - '55' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_disable_service_logs.yaml index 210e32627aaa..c45af49e5239 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_disable_service_logs.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true response: body: string: '' headers: apim-request-id: - - fc029d44-0ea7-4c2c-aae7-10e4232155d6 + - f07a58cf-9e5d-4bcb-b1d9-8f8e010dceca date: - - Tue, 18 May 2021 18:25:20 GMT + - Wed, 23 Jun 2021 01:43:46 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/445f6a16-759e-40d6-a2ed-6b6a931e876a + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3861fdcd-1a25-4570-aded-54bca539be53 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '128' + - '150' status: code: 202 message: Accepted @@ -48,19 +48,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/445f6a16-759e-40d6-a2ed-6b6a931e876a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3861fdcd-1a25-4570-aded-54bca539be53 response: body: - string: '{"jobId":"445f6a16-759e-40d6-a2ed-6b6a931e876a","lastUpdateDateTime":"2021-05-18T18:25:20Z","createdDateTime":"2021-05-18T18:25:20Z","expirationDateTime":"2021-05-19T18:25:20Z","status":"notStarted","errors":[]}' + string: '{"jobId":"3861fdcd-1a25-4570-aded-54bca539be53","lastUpdateDateTime":"2021-06-23T01:43:48Z","createdDateTime":"2021-06-23T01:43:46Z","expirationDateTime":"2021-06-24T01:43:46Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 099ab82c-34d8-45f3-8376-9479d87942f3 + - 85de1f21-b26e-4ec0-8466-c4317f1671e4 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 18:25:25 GMT + - Wed, 23 Jun 2021 01:43:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -68,41 +68,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/445f6a16-759e-40d6-a2ed-6b6a931e876a - response: - body: - string: '{"jobId":"445f6a16-759e-40d6-a2ed-6b6a931e876a","lastUpdateDateTime":"2021-05-18T18:25:26Z","createdDateTime":"2021-05-18T18:25:20Z","expirationDateTime":"2021-05-19T18:25:20Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' - headers: - apim-request-id: - - 7033f014-2777-45b7-ae16-d94b9071b773 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 18:25:30 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' + - '57' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_attribute_error_no_result_attribute.yaml index 309208201b4c..c623028ccca3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_attribute_error_no_result_attribute.yaml @@ -13,19 +13,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 1fb91b7a-fe0c-4d1a-9fc8-20936412a957 + - b9bfb6f5-50e4-4b40-941c-35e747111aa9 date: - - Tue, 18 May 2021 17:48:33 GMT + - Wed, 23 Jun 2021 01:44:02 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/44aaaac3-61cc-4a6d-8d3f-afd1b5716b16 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4880124b-1291-4e71-a5dc-946ae4cc88ba strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -33,7 +33,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '96' + - '10214' status: code: 202 message: Accepted @@ -47,21 +47,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/44aaaac3-61cc-4a6d-8d3f-afd1b5716b16 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4880124b-1291-4e71-a5dc-946ae4cc88ba response: body: - string: '{"jobId":"44aaaac3-61cc-4a6d-8d3f-afd1b5716b16","lastUpdateDateTime":"2021-05-18T17:48:37Z","createdDateTime":"2021-05-18T17:48:34Z","expirationDateTime":"2021-05-19T17:48:34Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"4880124b-1291-4e71-a5dc-946ae4cc88ba","lastUpdateDateTime":"2021-06-23T01:44:03Z","createdDateTime":"2021-06-23T01:43:52Z","expirationDateTime":"2021-06-24T01:43:52Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - ceef1c56-770e-4eeb-968e-2f25e0124906 + - eafa9480-622b-4cec-b3a6-fe9f30a19cdc content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:38 GMT + - Wed, 23 Jun 2021 01:44:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -69,7 +69,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '45' + - '72' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_errors.yaml index 9b520a31b846..c92846cf63dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_document_errors.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - f3e31443-b815-44b9-85c2-76d505db08ff + - e7a5d6eb-e135-478c-9de6-e01886ad8808 date: - - Tue, 18 May 2021 17:46:48 GMT + - Wed, 23 Jun 2021 01:44:07 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f0814a81-57f1-42ee-8443-10f0130db18a + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '117' + - '223' status: code: 202 message: Accepted @@ -50,19 +50,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f0814a81-57f1-42ee-8443-10f0130db18a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 response: body: - string: '{"jobId":"f0814a81-57f1-42ee-8443-10f0130db18a","lastUpdateDateTime":"2021-05-18T17:46:49Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"notStarted","errors":[]}' + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:08Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"notStarted","errors":[]}' headers: apim-request-id: - - d636b77e-b3f3-47e5-abff-2b1cfb40c3dd + - 23a8e5fb-6411-44d2-8cd2-b638692cd5e6 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:53 GMT + - Wed, 23 Jun 2021 01:44:12 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -70,7 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '8' status: code: 200 message: OK @@ -84,19 +84,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f0814a81-57f1-42ee-8443-10f0130db18a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 response: body: - string: '{"jobId":"f0814a81-57f1-42ee-8443-10f0130db18a","lastUpdateDateTime":"2021-05-18T17:46:56Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"running","errors":[]}' + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:08Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"notStarted","errors":[]}' headers: apim-request-id: - - 9ce6f078-1a84-4b09-86b9-c93a98f47c62 + - ad555b19-5544-43ec-973e-e3d0b4678696 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:46:58 GMT + - Wed, 23 Jun 2021 01:44:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -118,12 +118,114 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f0814a81-57f1-42ee-8443-10f0130db18a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 response: body: - string: '{"jobId":"f0814a81-57f1-42ee-8443-10f0130db18a","lastUpdateDateTime":"2021-05-18T17:47:01Z","createdDateTime":"2021-05-18T17:46:48Z","expirationDateTime":"2021-05-19T17:46:48Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:08Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - 6aed8643-6fb0-4602-9eca-16a7ea9ed43a + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:44:22 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 + response: + body: + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:08Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - c2b035ac-b686-45dc-8e45-53468e3581ff + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:44:27 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 + response: + body: + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:28Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"running","errors":[]}' + headers: + apim-request-id: + - c8b8b92b-20b9-4dd1-964c-2656a2fd3776 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:44:32 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/1998b24e-2211-49df-a585-fef25db0b7c6 + response: + body: + string: '{"jobId":"1998b24e-2211-49df-a585-fef25db0b7c6","lastUpdateDateTime":"2021-06-23T01:44:36Z","createdDateTime":"2021-06-23T01:44:07Z","expirationDateTime":"2021-06-24T01:44:07Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid @@ -131,14 +233,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-03-01"}}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 306f93dc-c94f-4962-be65-ea40546b83ff + - 7ecf60d0-c83a-46ca-bddc-5ffa2b341dc3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:03 GMT + - Wed, 23 Jun 2021 01:44:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -146,7 +248,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '54' + - '76' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_duplicate_ids_error.yaml index fa4d008a5f4e..f5269de3c8cf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - e113606a-d0c0-4da5-8ea7-4113b593ddb5 + - a9e9d379-27e5-487d-99e8-477fac6a84b2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:08 GMT + - Wed, 23 Jun 2021 01:44:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_explicit_set_string_index_type.yaml index 118fd8133c81..2ed4bcb9e6d0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_explicit_set_string_index_type.yaml @@ -13,19 +13,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=TextElements_v8 response: body: string: '' headers: apim-request-id: - - 5acf05f4-1cea-49d1-8f0f-692d5980ae62 + - 08616a06-cb6f-4565-96c1-45de52a3dc17 date: - - Tue, 18 May 2021 17:48:31 GMT + - Wed, 23 Jun 2021 01:44:39 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/254724ea-bdd2-4fb5-94f9-fecc40cd11f8 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/aea225fd-bc66-4035-8d62-3454585d8e69 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -33,7 +33,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '137' + - '164' status: code: 202 message: Accepted @@ -47,19 +47,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/254724ea-bdd2-4fb5-94f9-fecc40cd11f8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/aea225fd-bc66-4035-8d62-3454585d8e69 response: body: - string: '{"jobId":"254724ea-bdd2-4fb5-94f9-fecc40cd11f8","lastUpdateDateTime":"2021-05-18T17:48:32Z","createdDateTime":"2021-05-18T17:48:31Z","expirationDateTime":"2021-05-19T17:48:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"aea225fd-bc66-4035-8d62-3454585d8e69","lastUpdateDateTime":"2021-06-23T01:44:43Z","createdDateTime":"2021-06-23T01:44:39Z","expirationDateTime":"2021-06-24T01:44:39Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - e15d922f-57ae-4b33-80c6-9ca9f3c4f095 + - 45aba5f7-c554-495a-a81b-554a9f8fe5f1 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:36 GMT + - Wed, 23 Jun 2021 01:44:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -67,7 +67,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '37' + - '58' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_healthcare_assertion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_healthcare_assertion.yaml index 8243d5812574..0c3ca93d26bc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_healthcare_assertion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_healthcare_assertion.yaml @@ -15,19 +15,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 26e3ebcf-7a28-4f85-8a6d-6a4c835ab503 + - 1ebe7c86-cbf5-433e-a422-ccf2571e01a5 date: - - Tue, 18 May 2021 17:47:08 GMT + - Wed, 23 Jun 2021 01:44:44 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/8a9aa211-f04c-4015-95f0-57e5498430c0 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2b25e60f-30d3-4808-ace9-fa1e921c406a strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '85' + - '184' status: code: 202 message: Accepted @@ -49,19 +49,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/8a9aa211-f04c-4015-95f0-57e5498430c0 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2b25e60f-30d3-4808-ace9-fa1e921c406a response: body: - string: '{"jobId":"8a9aa211-f04c-4015-95f0-57e5498430c0","lastUpdateDateTime":"2021-05-18T17:47:09Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"notStarted","errors":[]}' + string: '{"jobId":"2b25e60f-30d3-4808-ace9-fa1e921c406a","lastUpdateDateTime":"2021-06-23T01:44:48Z","createdDateTime":"2021-06-23T01:44:44Z","expirationDateTime":"2021-06-24T01:44:44Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1.0,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1.0,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother + (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1.0,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 6f19b488-8845-4d4a-9656-eaefae3ecfe4 + - bb6143fd-4e7e-4eef-9a70-9b7ea67d65f5 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:13 GMT + - Wed, 23 Jun 2021 01:44:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -69,42 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/8a9aa211-f04c-4015-95f0-57e5498430c0 - response: - body: - string: '{"jobId":"8a9aa211-f04c-4015-95f0-57e5498430c0","lastUpdateDateTime":"2021-05-18T17:47:17Z","createdDateTime":"2021-05-18T17:47:09Z","expirationDateTime":"2021-05-19T17:47:09Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.9,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":0.9,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":0.99,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother - (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.95,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"Age","confidenceScore":0.96,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' - headers: - apim-request-id: - - a8af9178-055c-4fb3-8043-05a2a1f79c1e - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:19 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '34' + - '67' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_input_with_some_errors.yaml index 5794c7ef946d..2514569d2077 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_input_with_some_errors.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - ee1f55be-edd0-4471-97da-5e19bde92389 + - fb55dae1-c9e3-476a-aa89-9dceac2a5c7f date: - - Tue, 18 May 2021 17:47:40 GMT + - Wed, 23 Jun 2021 01:44:50 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/1534dd2d-1f02-4d81-91c0-b4af1c568d5a + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '200' + - '292' status: code: 202 message: Accepted @@ -50,24 +50,194 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/1534dd2d-1f02-4d81-91c0-b4af1c568d5a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c response: body: - string: '{"jobId":"1534dd2d-1f02-4d81-91c0-b4af1c568d5a","lastUpdateDateTime":"2021-05-18T17:47:42Z","createdDateTime":"2021-05-18T17:47:40Z","expirationDateTime":"2021-05-19T17:47:40Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:44:50Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - e6dc8581-6b6e-48bf-9303-8d6fc9bc36ba + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:44:55 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c + response: + body: + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:44:50Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - 36f7bc88-e141-4574-bc39-360729395ba7 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:45:00 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '8' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c + response: + body: + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:44:50Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: + - 2dad2819-7276-4ede-9f63-e34a77c7e41b + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:45:05 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '18' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c + response: + body: + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:45:08Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"running","errors":[]}' + headers: + apim-request-id: + - 1708f919-49c7-4e7b-9700-3707b84393a6 + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:45:11 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '6' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c + response: + body: + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:45:08Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"running","errors":[]}' + headers: + apim-request-id: + - e7c59870-634b-4b01-8227-a4de8362925d + content-type: + - application/json; charset=utf-8 + date: + - Wed, 23 Jun 2021 01:45:16 GMT + strict-transport-security: + - max-age=31536000; includeSubDomains; preload + transfer-encoding: + - chunked + x-content-type-options: + - nosniff + x-envoy-upstream-service-time: + - '9' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/addd7881-679f-45a7-a056-6c4c362db08c + response: + body: + string: '{"jobId":"addd7881-679f-45a7-a056-6c4c362db08c","lastUpdateDateTime":"2021-06-23T01:45:16Z","createdDateTime":"2021-06-23T01:44:50Z","expirationDateTime":"2021-06-24T01:44:50Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1.0}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 61cba301-a9ba-4b62-8818-f97460518e1e + - ff1c466f-6ab7-4d65-b9c0-0cf8c002a539 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:45:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -75,7 +245,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '48' + - '110' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_docs.yaml index c1d2496b78a8..f4b9bdb5b424 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_docs.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 901137c6-9f15-4ade-8531-6e50077959f3 + - 40fc489d-1ecb-477a-ac15-79d62975da8f date: - - Tue, 18 May 2021 17:47:26 GMT + - Wed, 23 Jun 2021 01:45:21 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/158a7c28-3d08-4946-87ba-baa7e96c9a86 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/ff55c89d-fc61-40d4-935c-ab9849d258cb strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '101' + - '163' status: code: 202 message: Accepted @@ -48,21 +48,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/158a7c28-3d08-4946-87ba-baa7e96c9a86 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/ff55c89d-fc61-40d4-935c-ab9849d258cb response: body: - string: '{"jobId":"158a7c28-3d08-4946-87ba-baa7e96c9a86","lastUpdateDateTime":"2021-05-18T17:47:27Z","createdDateTime":"2021-05-18T17:47:26Z","expirationDateTime":"2021-05-19T17:47:26Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"ff55c89d-fc61-40d4-935c-ab9849d258cb","lastUpdateDateTime":"2021-06-23T01:45:23Z","createdDateTime":"2021-06-23T01:45:21Z","expirationDateTime":"2021-06-24T01:45:21Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - faa4177d-cc90-401f-9cd3-8c3ca4deaed7 + - 9c2ddb46-8837-445b-a36d-095f0345ebd3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:30 GMT + - Wed, 23 Jun 2021 01:45:26 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -70,7 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_method.yaml index 7cdb6cfe7099..6246662aded3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_invalid_language_hint_method.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - f1f047d8-56e8-4608-bcb0-0e1da9d20985 + - 90626fa0-1c8c-42bc-9d66-be7597c54d60 date: - - Tue, 18 May 2021 17:48:33 GMT + - Wed, 23 Jun 2021 01:45:26 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/638860b6-902b-4779-a260-e33df89b0fdb + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/0ca159ad-5813-4379-85da-723d54a7a960 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '90' + - '134' status: code: 202 message: Accepted @@ -48,21 +48,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/638860b6-902b-4779-a260-e33df89b0fdb + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/0ca159ad-5813-4379-85da-723d54a7a960 response: body: - string: '{"jobId":"638860b6-902b-4779-a260-e33df89b0fdb","lastUpdateDateTime":"2021-05-18T17:48:37Z","createdDateTime":"2021-05-18T17:48:33Z","expirationDateTime":"2021-05-19T17:48:33Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"0ca159ad-5813-4379-85da-723d54a7a960","lastUpdateDateTime":"2021-06-23T01:45:28Z","createdDateTime":"2021-06-23T01:45:27Z","expirationDateTime":"2021-06-24T01:45:27Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - b97c059b-2566-4cad-8e3c-3ff21c8909ec + - 8897481b-31a3-42f6-96fa-7c732e6e98da content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:38 GMT + - Wed, 23 Jun 2021 01:45:32 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -70,7 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_normalized_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_normalized_text.yaml index 5a53919e53bb..347fd76630a2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_normalized_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_normalized_text.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 78d92dca-be99-4273-8b90-a8331846ef2d + - d77ffc3e-a210-4a85-b6b4-341a24a71fa7 date: - - Tue, 18 May 2021 17:47:10 GMT + - Wed, 23 Jun 2021 01:45:32 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4506bb3-4e73-455f-aff8-6e94e8237f42 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/177ed84a-c114-4ee7-805d-d7526153fed0 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '84' + - '197' status: code: 202 message: Accepted @@ -48,89 +48,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4506bb3-4e73-455f-aff8-6e94e8237f42 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/177ed84a-c114-4ee7-805d-d7526153fed0 response: body: - string: '{"jobId":"c4506bb3-4e73-455f-aff8-6e94e8237f42","lastUpdateDateTime":"2021-05-18T17:47:11Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"notStarted","errors":[]}' - headers: - apim-request-id: - - 94c9fce3-f5b4-4f92-903d-427f5bfc08d5 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:15 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '10' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4506bb3-4e73-455f-aff8-6e94e8237f42 - response: - body: - string: '{"jobId":"c4506bb3-4e73-455f-aff8-6e94e8237f42","lastUpdateDateTime":"2021-05-18T17:47:17Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"running","errors":[]}' - headers: - apim-request-id: - - 614a4f30-bb64-4cbe-8576-88d7600f1e7d - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:21 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '9' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c4506bb3-4e73-455f-aff8-6e94e8237f42 - response: - body: - string: '{"jobId":"c4506bb3-4e73-455f-aff8-6e94e8237f42","lastUpdateDateTime":"2021-05-18T17:47:22Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":19,"length":14,"text":"histologically","category":"ExaminationName","confidenceScore":1.0,"name":"Histology + string: '{"jobId":"177ed84a-c114-4ee7-805d-d7526153fed0","lastUpdateDateTime":"2021-06-23T01:45:33Z","createdDateTime":"2021-06-23T01:45:32Z","expirationDateTime":"2021-06-24T01:45:32Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":19,"length":14,"text":"histologically","category":"ExaminationName","confidenceScore":1.0,"name":"Histology Procedure","links":[{"dataSource":"UMLS","id":"C0344441"},{"dataSource":"CHV","id":"0000030964"},{"dataSource":"LNC","id":"MTHU010496"},{"dataSource":"MDR","id":"10062005"},{"dataSource":"MTH","id":"U002823"},{"dataSource":"MTHMST","id":"MT140012"},{"dataSource":"NCI","id":"C49131"},{"dataSource":"SNOMEDCT_US","id":"714797009"}]},{"offset":44,"length":3,"text":"NHL","category":"Diagnosis","confidenceScore":1.0,"name":"Lymphoma, - Non-Hodgkin","links":[{"dataSource":"UMLS","id":"C0024305"},{"dataSource":"BI","id":"BI00323"},{"dataSource":"CCPSS","id":"0001640"},{"dataSource":"CCS","id":"2.10.2"},{"dataSource":"CCSR_10","id":"NEO058"},{"dataSource":"CHV","id":"0000007621"},{"dataSource":"COSTAR","id":"U000045"},{"dataSource":"CSP","id":"4001-0094"},{"dataSource":"DXP","id":"U002830"},{"dataSource":"HPO","id":"HP:0012539"},{"dataSource":"ICD10","id":"C85.9"},{"dataSource":"ICD10AM","id":"M9672/3"},{"dataSource":"ICD10CM","id":"C85.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU053464"},{"dataSource":"ICPC2P","id":"B74002"},{"dataSource":"MDR","id":"10029547"},{"dataSource":"MEDCIN","id":"35839"},{"dataSource":"MEDLINEPLUS","id":"117"},{"dataSource":"MSH","id":"D008228"},{"dataSource":"NCI","id":"C3211"},{"dataSource":"NCI_CELLOSAURUS","id":"C3211"},{"dataSource":"NCI_CPTAC","id":"C3211"},{"dataSource":"NCI_CTEP-SDC","id":"10029593"},{"dataSource":"NCI_CTRP","id":"C3211"},{"dataSource":"NCI_GDC","id":"C3211"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045148"},{"dataSource":"NCI_NICHD","id":"C3211"},{"dataSource":"OMIM","id":"MTHU014311"},{"dataSource":"PDQ","id":"CDR0000038957"},{"dataSource":"QMR","id":"R0121804"},{"dataSource":"RCD","id":"B627."},{"dataSource":"SNM","id":"M-YYX54"},{"dataSource":"SNMI","id":"M-96723"},{"dataSource":"SNOMEDCT_US","id":"1929004"},{"dataSource":"WHO","id":"1544"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + Non-Hodgkin","links":[{"dataSource":"UMLS","id":"C0024305"},{"dataSource":"BI","id":"BI00323"},{"dataSource":"CCPSS","id":"0001640"},{"dataSource":"CCS","id":"2.10.2"},{"dataSource":"CCSR_10","id":"NEO058"},{"dataSource":"CHV","id":"0000007621"},{"dataSource":"COSTAR","id":"U000045"},{"dataSource":"CSP","id":"4001-0094"},{"dataSource":"DXP","id":"U002830"},{"dataSource":"HPO","id":"HP:0012539"},{"dataSource":"ICD10","id":"C85.9"},{"dataSource":"ICD10AM","id":"M9672/3"},{"dataSource":"ICD10CM","id":"C85.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU053464"},{"dataSource":"ICPC2P","id":"B74002"},{"dataSource":"MDR","id":"10029547"},{"dataSource":"MEDCIN","id":"35839"},{"dataSource":"MEDLINEPLUS","id":"117"},{"dataSource":"MSH","id":"D008228"},{"dataSource":"NCI","id":"C3211"},{"dataSource":"NCI_CELLOSAURUS","id":"C3211"},{"dataSource":"NCI_CPTAC","id":"C3211"},{"dataSource":"NCI_CTEP-SDC","id":"10029593"},{"dataSource":"NCI_CTRP","id":"C3211"},{"dataSource":"NCI_GDC","id":"C3211"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045148"},{"dataSource":"NCI_NICHD","id":"C3211"},{"dataSource":"OMIM","id":"MTHU014311"},{"dataSource":"PDQ","id":"CDR0000038957"},{"dataSource":"QMR","id":"R0121804"},{"dataSource":"RCD","id":"B627."},{"dataSource":"SNM","id":"M-YYX54"},{"dataSource":"SNMI","id":"M-96723"},{"dataSource":"SNOMEDCT_US","id":"1929004"},{"dataSource":"WHO","id":"1544"}]}],"relations":[{"relationType":"ExaminationFindsCondition","entities":[{"ref":"#/results/documents/0/entities/0","role":"Examination"},{"ref":"#/results/documents/0/entities/1","role":"Condition"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - d46b8b8f-2052-48a2-9a76-80c50d325710 + - a40835f6-c09c-4604-8011-82419ae052cf content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:26 GMT + - Wed, 23 Jun 2021 01:45:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -138,7 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '91' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_out_of_order_ids.yaml index ba3fe90959c9..c82a5d0af259 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_out_of_order_ids.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 156e0f22-5d53-4cb8-af6f-0f1e97fba7c5 + - 1c2da7fd-7a7e-49d8-8d9b-156742b29bc5 date: - - Tue, 18 May 2021 17:47:11 GMT + - Wed, 23 Jun 2021 01:45:38 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/75f22eb0-8f73-4206-9cce-e9da1d79517d + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/32bf38b9-9783-440c-90e8-bdcf7a40fd97 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '274' + - '263' status: code: 202 message: Accepted @@ -50,89 +50,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/75f22eb0-8f73-4206-9cce-e9da1d79517d + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/32bf38b9-9783-440c-90e8-bdcf7a40fd97 response: body: - string: '{"jobId":"75f22eb0-8f73-4206-9cce-e9da1d79517d","lastUpdateDateTime":"2021-05-18T17:47:12Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"notStarted","errors":[]}' - headers: - apim-request-id: - - 8daa758b-34ea-4032-af47-5f2513384269 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:16 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '26' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/75f22eb0-8f73-4206-9cce-e9da1d79517d - response: - body: - string: '{"jobId":"75f22eb0-8f73-4206-9cce-e9da1d79517d","lastUpdateDateTime":"2021-05-18T17:47:22Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"running","errors":[]}' - headers: - apim-request-id: - - 6797db0c-7c97-4150-bb7e-62902d84c969 - content-type: - - application/json; charset=utf-8 - date: - - Tue, 18 May 2021 17:47:21 GMT - strict-transport-security: - - max-age=31536000; includeSubDomains; preload - transfer-encoding: - - chunked - x-content-type-options: - - nosniff - x-envoy-upstream-service-time: - - '13' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/75f22eb0-8f73-4206-9cce-e9da1d79517d - response: - body: - string: '{"jobId":"75f22eb0-8f73-4206-9cce-e9da1d79517d","lastUpdateDateTime":"2021-05-18T17:47:22Z","createdDateTime":"2021-05-18T17:47:11Z","expirationDateTime":"2021-05-19T17:47:11Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"32bf38b9-9783-440c-90e8-bdcf7a40fd97","lastUpdateDateTime":"2021-06-23T01:45:39Z","createdDateTime":"2021-06-23T01:45:38Z","expirationDateTime":"2021-06-24T01:45:38Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 89af97de-e3a8-463b-8c9b-e78092ad4b86 + - be21b224-d70d-4077-9d9b-96457eb3dc20 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:27 GMT + - Wed, 23 Jun 2021 01:45:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -140,7 +72,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '66' + - '101' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_pass_cls.yaml index f8657f339dbf..8eface1f305d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_pass_cls.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 52c4f0db-6b04-4884-99d3-0717a41ec6ea + - 73e8b53e-2a7c-450c-8eff-851a2dc625f0 date: - - Tue, 18 May 2021 17:47:21 GMT + - Wed, 23 Jun 2021 01:45:43 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c5c527dd-a3b6-410e-94c8-05a7da9c01a4 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/615852cc-7bd0-45cc-a3e8-5e491cd2fe39 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '127' + - '173' status: code: 202 message: Accepted @@ -48,19 +48,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c5c527dd-a3b6-410e-94c8-05a7da9c01a4 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/615852cc-7bd0-45cc-a3e8-5e491cd2fe39 response: body: - string: '{"jobId":"c5c527dd-a3b6-410e-94c8-05a7da9c01a4","lastUpdateDateTime":"2021-05-18T17:47:21Z","createdDateTime":"2021-05-18T17:47:21Z","expirationDateTime":"2021-05-19T17:47:21Z","status":"running","errors":[]}' + string: '{"jobId":"615852cc-7bd0-45cc-a3e8-5e491cd2fe39","lastUpdateDateTime":"2021-06-23T01:45:48Z","createdDateTime":"2021-06-23T01:45:44Z","expirationDateTime":"2021-06-24T01:45:44Z","status":"running","errors":[]}' headers: apim-request-id: - - 893731c0-5dbc-46d1-a554-21c84770d510 + - 50fb96ec-6cde-48fd-b8af-53e82a534cea content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:25 GMT + - Wed, 23 Jun 2021 01:45:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -68,7 +68,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '10' status: code: 200 message: OK @@ -82,20 +82,20 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/c5c527dd-a3b6-410e-94c8-05a7da9c01a4 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/615852cc-7bd0-45cc-a3e8-5e491cd2fe39 response: body: - string: '{"jobId":"c5c527dd-a3b6-410e-94c8-05a7da9c01a4","lastUpdateDateTime":"2021-05-18T17:47:27Z","createdDateTime":"2021-05-18T17:47:21Z","expirationDateTime":"2021-05-19T17:47:21Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":13,"length":3,"text":"cls","category":"Diagnosis","confidenceScore":1.0,"name":"Coffin-Lowry - syndrome","links":[{"dataSource":"UMLS","id":"C0265252"},{"dataSource":"CHV","id":"0000025867"},{"dataSource":"JABL","id":"238"},{"dataSource":"MDR","id":"10081806"},{"dataSource":"MEDCIN","id":"311935"},{"dataSource":"MSH","id":"D038921"},{"dataSource":"NCI","id":"C84643"},{"dataSource":"NCI_CELLOSAURUS","id":"C84643"},{"dataSource":"OMIM","id":"303600"},{"dataSource":"RCD","id":"Xa0Zc"},{"dataSource":"SNM","id":"D-5122"},{"dataSource":"SNMI","id":"D4-00811"},{"dataSource":"SNOMEDCT_US","id":"15182000"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"615852cc-7bd0-45cc-a3e8-5e491cd2fe39","lastUpdateDateTime":"2021-06-23T01:45:53Z","createdDateTime":"2021-06-23T01:45:44Z","expirationDateTime":"2021-06-24T01:45:44Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":5,"length":7,"text":"passing","category":"MeasurementValue","confidenceScore":0.78},{"offset":13,"length":3,"text":"cls","category":"Diagnosis","confidenceScore":1.0,"name":"Coffin-Lowry + syndrome","links":[{"dataSource":"UMLS","id":"C0265252"},{"dataSource":"CHV","id":"0000025867"},{"dataSource":"JABL","id":"238"},{"dataSource":"MDR","id":"10081806"},{"dataSource":"MEDCIN","id":"311935"},{"dataSource":"MSH","id":"D038921"},{"dataSource":"NCI","id":"C84643"},{"dataSource":"NCI_CELLOSAURUS","id":"C84643"},{"dataSource":"OMIM","id":"303600"},{"dataSource":"RCD","id":"Xa0Zc"},{"dataSource":"SNM","id":"D-5122"},{"dataSource":"SNMI","id":"D4-00811"},{"dataSource":"SNOMEDCT_US","id":"15182000"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 0a186412-24bd-449f-9fb1-9c46f3dde5e6 + - 497669fb-3b20-4d50-9e2d-e3fdea630e7f content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:30 GMT + - Wed, 23 Jun 2021 01:45:54 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -103,7 +103,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '65' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_passing_only_string.yaml index 3105cb8a1058..e1800e205b32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_passing_only_string.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 93d4dd64-78f9-426f-85b8-063401286aa9 + - 4143bfe9-f4db-4afe-b3bb-7e1f335e03b8 date: - - Tue, 18 May 2021 17:48:39 GMT + - Wed, 23 Jun 2021 01:45:54 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5dcf5f5e-0a91-440f-be6e-58db1f4b3224 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4692911d-0ef4-4c95-816a-f5daca6eede6 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '103' + - '222' status: code: 202 message: Accepted @@ -50,24 +50,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5dcf5f5e-0a91-440f-be6e-58db1f4b3224 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4692911d-0ef4-4c95-816a-f5daca6eede6 response: body: - string: '{"jobId":"5dcf5f5e-0a91-440f-be6e-58db1f4b3224","lastUpdateDateTime":"2021-05-18T17:48:42Z","createdDateTime":"2021-05-18T17:48:39Z","expirationDateTime":"2021-05-19T17:48:39Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high - blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive + string: '{"jobId":"4692911d-0ef4-4c95-816a-f5daca6eede6","lastUpdateDateTime":"2021-06-23T01:45:58Z","createdDateTime":"2021-06-23T01:45:54Z","expirationDateTime":"2021-06-24T01:45:54Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high + blood pressure","category":"SymptomOrSign","confidenceScore":1.0,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1.0}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - fac0d37d-94ee-44ac-b20b-a3e0dccd01ea + - 96554bf4-4330-4e9e-b54a-8d318689109e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:44 GMT + - Wed, 23 Jun 2021 01:45:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -75,7 +75,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '52' + - '103' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_payload_too_large.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_payload_too_large.yaml index 625bf7b83d89..ec7cab045f2a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_payload_too_large.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_payload_too_large.yaml @@ -8513,20 +8513,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Request Payload sent is too large to be processed. Limit request size to: 524288"}}}' headers: apim-request-id: - - 7da4f268-7da6-4473-a265-e31dbd3112d2 + - e1f31c5f-e9e8-47ca-891d-ba76e4f4f1ab content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:04 GMT + - Wed, 23 Jun 2021 01:46:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -8534,7 +8534,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '40' status: code: 413 message: Payload Too Large diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_relations.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_relations.yaml index 2b9448c13712..6c7bb1624a16 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_relations.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_relations.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - cbf299ed-db00-45d6-a42c-36b313846e34 + - 4e21366e-120a-4d31-88b1-2fb37973e895 date: - - Tue, 18 May 2021 17:48:09 GMT + - Wed, 23 Jun 2021 01:46:03 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5aceeec2-84da-4146-953b-773e40195a79 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/e962d931-1575-4777-9d41-1da62d4a4497 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '88' + - '174' status: code: 202 message: Accepted @@ -48,23 +48,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5aceeec2-84da-4146-953b-773e40195a79 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/e962d931-1575-4777-9d41-1da62d4a4497 response: body: - string: '{"jobId":"5aceeec2-84da-4146-953b-773e40195a79","lastUpdateDateTime":"2021-05-18T17:48:12Z","createdDateTime":"2021-05-18T17:48:09Z","expirationDateTime":"2021-05-19T17:48:09Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":31,"length":18,"text":"Parkinsons + string: '{"jobId":"e962d931-1575-4777-9d41-1da62d4a4497","lastUpdateDateTime":"2021-06-23T01:46:04Z","createdDateTime":"2021-06-23T01:46:03Z","expirationDateTime":"2021-06-24T01:46:03Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":31,"length":18,"text":"Parkinsons Disease","category":"Diagnosis","confidenceScore":1.0,"name":"Parkinson Disease","links":[{"dataSource":"UMLS","id":"C0030567"},{"dataSource":"AOD","id":"0000006203"},{"dataSource":"BI","id":"BI00554"},{"dataSource":"CCPSS","id":"1018057"},{"dataSource":"CCS","id":"6.2.1"},{"dataSource":"CCSR_10","id":"NVS004"},{"dataSource":"CHV","id":"0000009319"},{"dataSource":"COSTAR","id":"559"},{"dataSource":"CSP","id":"2057-3689"},{"dataSource":"CST","id":"EXTRAPYR SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]},{"offset":51,"length":2,"text":"PD","category":"Diagnosis","confidenceScore":1.0,"name":"Parkinson Disease","links":[{"dataSource":"UMLS","id":"C0030567"},{"dataSource":"AOD","id":"0000006203"},{"dataSource":"BI","id":"BI00554"},{"dataSource":"CCPSS","id":"1018057"},{"dataSource":"CCS","id":"6.2.1"},{"dataSource":"CCSR_10","id":"NVS004"},{"dataSource":"CHV","id":"0000009319"},{"dataSource":"COSTAR","id":"559"},{"dataSource":"CSP","id":"2057-3689"},{"dataSource":"CST","id":"EXTRAPYR - SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]}],"relations":[{"relationType":"Abbreviation","entities":[{"ref":"#/results/documents/0/entities/0","role":"FullTerm"},{"ref":"#/results/documents/0/entities/1","role":"AbbreviatedTerm"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]}],"relations":[{"relationType":"Abbreviation","entities":[{"ref":"#/results/documents/0/entities/0","role":"FullTerm"},{"ref":"#/results/documents/0/entities/1","role":"AbbreviatedTerm"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 073ea353-d31b-439c-b1be-2eb6d3776c84 + - c45fc13a-4e35-40b1-8168-a0754b690334 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:14 GMT + - Wed, 23 Jun 2021 01:46:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -72,7 +72,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '33' + - '54' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_show_stats_and_model_version.yaml index aded6666668a..ba2f3a124cd7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_show_stats_and_model_version.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - fcaab22d-7b8e-4aa7-84ca-40c370c056b5 + - c4967a8a-5524-4c2b-9480-516f6aaaca0c date: - - Thu, 03 Jun 2021 15:29:33 GMT + - Wed, 23 Jun 2021 01:46:08 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/66c9040d-afc0-44f9-a0b1-0d1517d26a69 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/b6721835-0cc6-427c-b8b6-c908d63c9b19 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11612' + - '331' status: code: 202 message: Accepted @@ -50,21 +50,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/66c9040d-afc0-44f9-a0b1-0d1517d26a69?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/b6721835-0cc6-427c-b8b6-c908d63c9b19?showStats=True response: body: - string: '{"jobId":"66c9040d-afc0-44f9-a0b1-0d1517d26a69","lastUpdateDateTime":"2021-06-03T15:30:02Z","createdDateTime":"2021-06-03T15:29:22Z","expirationDateTime":"2021-06-04T15:29:22Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"b6721835-0cc6-427c-b8b6-c908d63c9b19","lastUpdateDateTime":"2021-06-23T01:46:13Z","createdDateTime":"2021-06-23T01:46:09Z","expirationDateTime":"2021-06-24T01:46:09Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 6bc222a8-f87f-4ea0-bb4e-0148c7ec591e + - 26055845-8b36-4122-946e-944c6851f994 content-type: - application/json; charset=utf-8 date: - - Thu, 03 Jun 2021 15:30:18 GMT + - Wed, 23 Jun 2021 01:46:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -72,7 +72,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7758' + - '96' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_too_many_documents.yaml index 7340fbdd3d80..36de28d0e604 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_too_many_documents.yaml @@ -21,20 +21,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - a108c710-ab06-4be6-90e0-362cb7fe4d5f + - d1ee8d54-d833-4c60-8437-2e635e07fdb7 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:19 GMT + - Wed, 23 Jun 2021 01:46:14 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '30' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_user_agent.yaml index b7750f822d97..faeb15d3a10c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_user_agent.yaml @@ -14,19 +14,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - f2e8f689-131f-467d-af18-364e6c119480 + - 754d8191-bbdd-4c17-828e-c369ca79bf40 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:46:15 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/b53b6347-3c82-4f03-9afd-f43be1d9eb38 + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/83f590d1-2f53-47b6-b01b-e7717e59506f strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -34,7 +34,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '98' + - '161' status: code: 202 message: Accepted @@ -48,19 +48,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/b53b6347-3c82-4f03-9afd-f43be1d9eb38 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/83f590d1-2f53-47b6-b01b-e7717e59506f response: body: - string: '{"jobId":"b53b6347-3c82-4f03-9afd-f43be1d9eb38","lastUpdateDateTime":"2021-05-18T17:47:47Z","createdDateTime":"2021-05-18T17:47:46Z","expirationDateTime":"2021-05-19T17:47:46Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"83f590d1-2f53-47b6-b01b-e7717e59506f","lastUpdateDateTime":"2021-06-23T01:46:18Z","createdDateTime":"2021-06-23T01:46:15Z","expirationDateTime":"2021-06-24T01:46:15Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 404768bd-d6e8-4e62-a6f1-c7f920ae9bb5 + - a48165a8-c3df-4a8c-8865-ad932fef2134 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:46:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -68,7 +68,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '37' + - '69' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_whole_batch_language_hint_and_dict_input.yaml index cf3ecc591062..42c93000c8bc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare.test_whole_batch_language_hint_and_dict_input.yaml @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: apim-request-id: - - 1c49cf3f-8a89-4dff-b436-9977ccad658d + - 15c71c56-cdcf-4bee-859d-d7ca34728f60 date: - - Tue, 18 May 2021 17:47:32 GMT + - Wed, 23 Jun 2021 01:46:20 GMT operation-location: - - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f3547539-a0cf-4895-8090-3aa1dc25038a + - https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/483761e2-49e4-4704-9481-68e3d4067d61 strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '146' + - '276' status: code: 202 message: Accepted @@ -50,19 +50,19 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f3547539-a0cf-4895-8090-3aa1dc25038a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/483761e2-49e4-4704-9481-68e3d4067d61 response: body: - string: '{"jobId":"f3547539-a0cf-4895-8090-3aa1dc25038a","lastUpdateDateTime":"2021-05-18T17:47:32Z","createdDateTime":"2021-05-18T17:47:32Z","expirationDateTime":"2021-05-19T17:47:32Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"483761e2-49e4-4704-9481-68e3d4067d61","lastUpdateDateTime":"2021-06-23T01:46:23Z","createdDateTime":"2021-06-23T01:46:20Z","expirationDateTime":"2021-06-24T01:46:20Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: apim-request-id: - - 3a89618e-c433-4dbd-99fb-f39735c2f515 + - 1eb6a88f-1de6-40fc-8e5c-257e361e3d19 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:46:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -70,7 +70,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '43' + - '137' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_bad_model_version_error.yaml index 659155522718..b6855b53c735 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_bad_model_version_error.yaml @@ -10,46 +10,68 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: b72e2b29-a246-45cc-bec1-1e2ed7fa0de8 - date: Tue, 18 May 2021 17:48:38 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ebc42118-a4f7-4f66-8390-cf44118a9e82 + apim-request-id: 698c23a0-b93e-4a1b-ae97-735111e284f1 + date: Wed, 23 Jun 2021 01:46:26 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/729bf263-7ad3-425c-b594-cc61c61dbd07 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '136' + x-envoy-upstream-service-time: '155' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?model-version=bad&stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ebc42118-a4f7-4f66-8390-cf44118a9e82 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/729bf263-7ad3-425c-b594-cc61c61dbd07 response: body: - string: '{"jobId":"ebc42118-a4f7-4f66-8390-cf44118a9e82","lastUpdateDateTime":"2021-05-18T17:48:42Z","createdDateTime":"2021-05-18T17:48:39Z","expirationDateTime":"2021-05-19T17:48:39Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"729bf263-7ad3-425c-b594-cc61c61dbd07","lastUpdateDateTime":"2021-06-23T01:46:26Z","createdDateTime":"2021-06-23T01:46:26Z","expirationDateTime":"2021-06-24T01:46:26Z","status":"notStarted","errors":[]}' + headers: + apim-request-id: 459b6dba-d298-46bb-8aa3-13daf77ff44e + content-type: application/json; charset=utf-8 + date: Wed, 23 Jun 2021 01:46:31 GMT + strict-transport-security: max-age=31536000; includeSubDomains; preload + transfer-encoding: chunked + x-content-type-options: nosniff + x-envoy-upstream-service-time: '9' + status: + code: 200 + message: OK + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/729bf263-7ad3-425c-b594-cc61c61dbd07 +- request: + body: null + headers: + User-Agent: + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/729bf263-7ad3-425c-b594-cc61c61dbd07 + response: + body: + string: '{"jobId":"729bf263-7ad3-425c-b594-cc61c61dbd07","lastUpdateDateTime":"2021-06-23T01:46:33Z","createdDateTime":"2021-06-23T01:46:26Z","expirationDateTime":"2021-06-24T01:46:26Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: d4eb242e-92a0-447b-8f7a-a37ec64d091c + apim-request-id: f7e7e2af-bae1-4926-aa23-379de0eacc84 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:44 GMT + date: Wed, 23 Jun 2021 01:46:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '66' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ebc42118-a4f7-4f66-8390-cf44118a9e82 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/729bf263-7ad3-425c-b594-cc61c61dbd07 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_cancellation.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_cancellation.yaml index 0cf1b515ae2d..f7acb192f3ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_cancellation.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_cancellation.yaml @@ -15,90 +15,90 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: c9489a83-1996-4e2b-974b-3d4650fa725d - date: Tue, 15 Jun 2021 20:39:45 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + apim-request-id: dd799b62-06e4-4257-a5d1-e9f9dcdae9c1 + date: Wed, 23 Jun 2021 01:46:37 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '297' + x-envoy-upstream-service-time: '460' status: code: 202 message: Accepted - url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 response: body: - string: '{"jobId":"6a725b61-4d45-4f1a-95c7-52c734eb73f5","lastUpdateDateTime":"2021-06-15T20:39:45Z","createdDateTime":"2021-06-15T20:39:45Z","expirationDateTime":"2021-06-16T20:39:45Z","status":"notStarted","errors":[]}' + string: '{"jobId":"85de8635-8009-4f16-b234-101787b22470","lastUpdateDateTime":"2021-06-23T01:46:37Z","createdDateTime":"2021-06-23T01:46:37Z","expirationDateTime":"2021-06-24T01:46:37Z","status":"notStarted","errors":[]}' headers: - apim-request-id: 49e4efce-0513-476d-ae96-50cce51a4c58 + apim-request-id: a56d3ca3-0cbe-4834-bb41-7083c07ec978 content-type: application/json; charset=utf-8 - date: Tue, 15 Jun 2021 20:39:45 GMT + date: Wed, 23 Jun 2021 01:46:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '61' status: code: 200 message: OK - url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 - request: body: null headers: Accept: - application/json, text/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 response: body: string: '' headers: - apim-request-id: 0df934d8-210c-4f46-8c20-ff11919686d4 - date: Tue, 15 Jun 2021 20:39:45 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + apim-request-id: 151a1ec7-0f9d-454d-966f-870adf71b2b2 + date: Wed, 23 Jun 2021 01:46:37 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '57' status: code: 202 message: Accepted - url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b8 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 response: body: - string: '{"jobId":"6a725b61-4d45-4f1a-95c7-52c734eb73f5","lastUpdateDateTime":"2021-06-15T20:39:45Z","createdDateTime":"2021-06-15T20:39:45Z","expirationDateTime":"2021-06-16T20:39:45Z","status":"cancelled","errors":[]}' + string: '{"jobId":"85de8635-8009-4f16-b234-101787b22470","lastUpdateDateTime":"2021-06-23T01:46:37Z","createdDateTime":"2021-06-23T01:46:37Z","expirationDateTime":"2021-06-24T01:46:37Z","status":"cancelled","errors":[]}' headers: - apim-request-id: 095eef4b-c8fe-44dc-946c-c01510a079e4 + apim-request-id: 24419a4a-6b48-40bd-a352-68fc8c7dd0d4 content-type: application/json; charset=utf-8 - date: Tue, 15 Jun 2021 20:39:49 GMT + date: Wed, 23 Jun 2021 01:46:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '30' status: code: 200 message: OK - url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1-preview.5/entities/health/jobs/6a725b61-4d45-4f1a-95c7-52c734eb73f5 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/85de8635-8009-4f16-b234-101787b22470 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_default_string_index_type_is_UnicodeCodePoint.yaml index 9fe5e472291e..7346fb1c8a5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -9,44 +9,44 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 95c0635e-5ce3-417e-9ed3-7c81923a82da - date: Tue, 18 May 2021 17:47:26 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/127f80f7-d0b1-416b-8498-28cfaa66bc11 + apim-request-id: d4e1826c-a686-4642-bc4e-4ef87800236f + date: Wed, 23 Jun 2021 01:46:42 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/9765d779-7994-4edf-affd-7485b0509635 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '90' + x-envoy-upstream-service-time: '164' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/127f80f7-d0b1-416b-8498-28cfaa66bc11 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/9765d779-7994-4edf-affd-7485b0509635 response: body: - string: '{"jobId":"127f80f7-d0b1-416b-8498-28cfaa66bc11","lastUpdateDateTime":"2021-05-18T17:47:27Z","createdDateTime":"2021-05-18T17:47:27Z","expirationDateTime":"2021-05-19T17:47:27Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"9765d779-7994-4edf-affd-7485b0509635","lastUpdateDateTime":"2021-06-23T01:46:43Z","createdDateTime":"2021-06-23T01:46:43Z","expirationDateTime":"2021-06-24T01:46:43Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 3f27b21f-42a2-4e47-b7a5-5a25a6220327 + apim-request-id: b6fa761b-03cf-4489-b47e-7b91672e0dea content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:32 GMT + date: Wed, 23 Jun 2021 01:46:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '56' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/127f80f7-d0b1-416b-8498-28cfaa66bc11 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/9765d779-7994-4edf-affd-7485b0509635 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_disable_service_logs.yaml index 2c3d86cbe57a..e67f2cfccce9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_disable_service_logs.yaml @@ -10,132 +10,44 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true response: body: string: '' headers: - apim-request-id: 3a1bd8d9-046e-46f0-a924-3459cd644e92 - date: Tue, 18 May 2021 18:25:20 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 + apim-request-id: 6f933a54-1322-4c92-80b7-5a4407222dba + date: Wed, 23 Jun 2021 01:46:48 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2fe38174-9cfe-433b-a75b-18cad9b254c5 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '121' + x-envoy-upstream-service-time: '192' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint&loggingOptOut=true - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2fe38174-9cfe-433b-a75b-18cad9b254c5 response: body: - string: '{"jobId":"cd65a264-e36e-4531-b875-ed400abbe8b2","lastUpdateDateTime":"2021-05-18T18:25:21Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"notStarted","errors":[]}' + string: '{"jobId":"2fe38174-9cfe-433b-a75b-18cad9b254c5","lastUpdateDateTime":"2021-06-23T01:46:49Z","createdDateTime":"2021-06-23T01:46:48Z","expirationDateTime":"2021-06-24T01:46:48Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 35d9dae6-5214-4852-8c73-ee49771dcb56 + apim-request-id: 1a60af58-ff37-41bb-9367-6dbc52c2efd3 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:25 GMT + date: Wed, 23 Jun 2021 01:46:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '158' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 - response: - body: - string: '{"jobId":"cd65a264-e36e-4531-b875-ed400abbe8b2","lastUpdateDateTime":"2021-05-18T18:25:21Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"notStarted","errors":[]}' - headers: - apim-request-id: a9f9b0bf-71b4-4d67-9ef1-b28b1efdb0a7 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:30 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '46' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 - response: - body: - string: '{"jobId":"cd65a264-e36e-4531-b875-ed400abbe8b2","lastUpdateDateTime":"2021-05-18T18:25:31Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[]}' - headers: - apim-request-id: cf9012c1-b069-463a-82f5-ddd054d8f5dd - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:35 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 - response: - body: - string: '{"jobId":"cd65a264-e36e-4531-b875-ed400abbe8b2","lastUpdateDateTime":"2021-05-18T18:25:31Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"running","errors":[]}' - headers: - apim-request-id: 72ef6b59-e43f-47d5-bbfe-a038b631d7e3 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:41 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 - response: - body: - string: '{"jobId":"cd65a264-e36e-4531-b875-ed400abbe8b2","lastUpdateDateTime":"2021-05-18T18:25:41Z","createdDateTime":"2021-05-18T18:25:21Z","expirationDateTime":"2021-05-19T18:25:21Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' - headers: - apim-request-id: 43f6fcb5-8baf-4570-b0b7-eda1319a7367 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 18:25:46 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/cd65a264-e36e-4531-b875-ed400abbe8b2 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/2fe38174-9cfe-433b-a75b-18cad9b254c5 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_document_errors.yaml index f89286d6be9c..48ab4eb97cbc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_document_errors.yaml @@ -12,34 +12,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: aad4f429-891c-4d1f-8d39-45e248e79080 - date: Tue, 18 May 2021 17:47:27 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/9831cc08-1065-456a-b681-141b27a1a5fc + apim-request-id: 190c0e9f-12fc-48c1-ba4a-89c3de98176b + date: Wed, 23 Jun 2021 01:46:53 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3016b150-ccf7-42d3-ba2d-8f73aed84f07 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '159' + x-envoy-upstream-service-time: '218' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/9831cc08-1065-456a-b681-141b27a1a5fc + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3016b150-ccf7-42d3-ba2d-8f73aed84f07 response: body: - string: '{"jobId":"9831cc08-1065-456a-b681-141b27a1a5fc","lastUpdateDateTime":"2021-05-18T17:47:32Z","createdDateTime":"2021-05-18T17:47:27Z","expirationDateTime":"2021-05-19T17:47:27Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"3016b150-ccf7-42d3-ba2d-8f73aed84f07","lastUpdateDateTime":"2021-06-23T01:46:58Z","createdDateTime":"2021-06-23T01:46:54Z","expirationDateTime":"2021-06-24T01:46:54Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid @@ -47,17 +47,17 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-03-01"}}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: e9591f9a-ee74-46d6-8167-d62667f452f6 + apim-request-id: d97dd076-58a2-4319-8ef0-52e2d67e5861 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:32 GMT + date: Wed, 23 Jun 2021 01:46:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '45' + x-envoy-upstream-service-time: '73' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/9831cc08-1065-456a-b681-141b27a1a5fc + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/3016b150-ccf7-42d3-ba2d-8f73aed84f07 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_duplicate_ids_error.yaml index 5f5279061691..7e5a6658efeb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_duplicate_ids_error.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: a870e680-a949-4f6f-be70-57178a5455fa + apim-request-id: 43e9940f-0a01-4a36-a228-0b540a0fbfa3 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:31 GMT + date: Wed, 23 Jun 2021 01:46:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_explicit_set_string_index_type.yaml index dac7ca418106..f4c015a56bbc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_explicit_set_string_index_type.yaml @@ -9,44 +9,44 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=TextElements_v8 response: body: string: '' headers: - apim-request-id: a4a58c52-24dc-4c43-aee0-9fdeb83fccb1 - date: Tue, 18 May 2021 17:48:44 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/19b24a6e-a691-4373-9776-f7b58b3b7731 + apim-request-id: 540f53d1-09dd-41ea-837c-c4761caedfb2 + date: Wed, 23 Jun 2021 01:46:59 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/e2e796ad-ee84-40b2-9c9a-7c59ea7bfe3f strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '116' + x-envoy-upstream-service-time: '149' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=TextElements_v8 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=TextElements_v8 - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/19b24a6e-a691-4373-9776-f7b58b3b7731 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/e2e796ad-ee84-40b2-9c9a-7c59ea7bfe3f response: body: - string: '{"jobId":"19b24a6e-a691-4373-9776-f7b58b3b7731","lastUpdateDateTime":"2021-05-18T17:48:47Z","createdDateTime":"2021-05-18T17:48:45Z","expirationDateTime":"2021-05-19T17:48:45Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"e2e796ad-ee84-40b2-9c9a-7c59ea7bfe3f","lastUpdateDateTime":"2021-06-23T01:47:03Z","createdDateTime":"2021-06-23T01:46:59Z","expirationDateTime":"2021-06-24T01:46:59Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 2c67e643-4466-4ce4-b518-250bfdb245c3 + apim-request-id: 2877c4bf-ce41-4282-8566-e8108e602d30 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:49 GMT + date: Wed, 23 Jun 2021 01:47:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '37' + x-envoy-upstream-service-time: '64' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/19b24a6e-a691-4373-9776-f7b58b3b7731 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/e2e796ad-ee84-40b2-9c9a-7c59ea7bfe3f version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_healthcare_assertion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_healthcare_assertion.yaml index c8fdf16f61f7..d182bd184497 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_healthcare_assertion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_healthcare_assertion.yaml @@ -11,45 +11,45 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: de0acfea-567e-46d7-a342-a24bd7a1e242 - date: Tue, 18 May 2021 17:47:05 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ba4b8bca-a3b8-4fc3-b9aa-d242e2093898 + apim-request-id: 34ef2ff3-4118-46ec-9e48-2dc9ea503f09 + date: Wed, 23 Jun 2021 01:47:04 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/dc590510-8703-4b08-a04b-7748c020cabe strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '106' + x-envoy-upstream-service-time: '167' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ba4b8bca-a3b8-4fc3-b9aa-d242e2093898 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/dc590510-8703-4b08-a04b-7748c020cabe response: body: - string: '{"jobId":"ba4b8bca-a3b8-4fc3-b9aa-d242e2093898","lastUpdateDateTime":"2021-05-18T17:47:06Z","createdDateTime":"2021-05-18T17:47:05Z","expirationDateTime":"2021-05-19T17:47:05Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.9,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":0.9,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":0.99,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother - (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.95,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"Age","confidenceScore":0.96,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"dc590510-8703-4b08-a04b-7748c020cabe","lastUpdateDateTime":"2021-06-23T01:47:08Z","createdDateTime":"2021-06-23T01:47:05Z","expirationDateTime":"2021-06-24T01:47:05Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1.0,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1.0,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother + (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1.0,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: c39122f6-5286-4e19-ba8e-ceb2176fa78e + apim-request-id: 725610e2-da7e-443e-84e3-1e75510d24da content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:10 GMT + date: Wed, 23 Jun 2021 01:47:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '53' + x-envoy-upstream-service-time: '57' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/ba4b8bca-a3b8-4fc3-b9aa-d242e2093898 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/dc590510-8703-4b08-a04b-7748c020cabe version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_input_with_some_errors.yaml index d1802abcf021..a7697ebb644d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_input_with_some_errors.yaml @@ -12,49 +12,49 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 26c107b2-1258-4908-8fce-2e5283b6d671 - date: Tue, 18 May 2021 17:48:15 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/274c9bcf-06e4-45b9-8032-690c7297e34f + apim-request-id: c34f4653-a16e-40fc-9a5e-fd6ea55ad3ad + date: Wed, 23 Jun 2021 01:47:11 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/64dce613-f707-4045-91ce-3eb9b250fd37 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '506' + x-envoy-upstream-service-time: '241' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/274c9bcf-06e4-45b9-8032-690c7297e34f + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/64dce613-f707-4045-91ce-3eb9b250fd37 response: body: - string: '{"jobId":"274c9bcf-06e4-45b9-8032-690c7297e34f","lastUpdateDateTime":"2021-05-18T17:48:17Z","createdDateTime":"2021-05-18T17:48:15Z","expirationDateTime":"2021-05-19T17:48:15Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice + string: '{"jobId":"64dce613-f707-4045-91ce-3eb9b250fd37","lastUpdateDateTime":"2021-06-23T01:47:13Z","createdDateTime":"2021-06-23T01:47:10Z","expirationDateTime":"2021-06-24T01:47:10Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1.0}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: f0492ef2-2e78-46f9-bde1-dccf5a0106ca + apim-request-id: ea55aa65-6cda-4bc8-847b-489785d9b82c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:20 GMT + date: Wed, 23 Jun 2021 01:47:15 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' + x-envoy-upstream-service-time: '102' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/274c9bcf-06e4-45b9-8032-690c7297e34f + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/64dce613-f707-4045-91ce-3eb9b250fd37 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_docs.yaml index e8fac1dde9f6..0405396bba89 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_docs.yaml @@ -10,46 +10,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 9272948b-5aca-4169-9c88-f4ab7c598877 - date: Tue, 18 May 2021 17:48:42 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/95aa82d5-8b85-4432-b75a-1fbd89ee58f4 + apim-request-id: 0264bfbc-6632-410b-9962-d8301d2afa45 + date: Wed, 23 Jun 2021 01:47:16 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/aba462b1-0f54-49e7-b068-d2df8d0fe72b strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '136' + x-envoy-upstream-service-time: '307' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/95aa82d5-8b85-4432-b75a-1fbd89ee58f4 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/aba462b1-0f54-49e7-b068-d2df8d0fe72b response: body: - string: '{"jobId":"95aa82d5-8b85-4432-b75a-1fbd89ee58f4","lastUpdateDateTime":"2021-05-18T17:48:47Z","createdDateTime":"2021-05-18T17:48:43Z","expirationDateTime":"2021-05-19T17:48:43Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"aba462b1-0f54-49e7-b068-d2df8d0fe72b","lastUpdateDateTime":"2021-06-23T01:47:18Z","createdDateTime":"2021-06-23T01:47:16Z","expirationDateTime":"2021-06-24T01:47:16Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 0e3db835-8e41-42f3-9831-2d34afdfe1cd + apim-request-id: ebfbc8ea-1ee3-4d80-868d-6b3c4557322c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:47 GMT + date: Wed, 23 Jun 2021 01:47:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '35' + x-envoy-upstream-service-time: '66' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/95aa82d5-8b85-4432-b75a-1fbd89ee58f4 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/aba462b1-0f54-49e7-b068-d2df8d0fe72b version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_method.yaml index f8767d68eaea..e5a85d978143 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_invalid_language_hint_method.yaml @@ -10,46 +10,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 5161a215-e4f4-4c2d-adec-08d642c3f558 - date: Tue, 18 May 2021 17:47:20 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/15b8e294-54c9-456c-a943-2c1b3e286435 + apim-request-id: 2f8715c0-6877-42a5-b531-de833f53a636 + date: Wed, 23 Jun 2021 01:47:21 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/080bbd16-705a-4e89-a36e-f9dc534c3a79 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '97' + x-envoy-upstream-service-time: '185' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/15b8e294-54c9-456c-a943-2c1b3e286435 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/080bbd16-705a-4e89-a36e-f9dc534c3a79 response: body: - string: '{"jobId":"15b8e294-54c9-456c-a943-2c1b3e286435","lastUpdateDateTime":"2021-05-18T17:47:22Z","createdDateTime":"2021-05-18T17:47:20Z","expirationDateTime":"2021-05-19T17:47:20Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"080bbd16-705a-4e89-a36e-f9dc534c3a79","lastUpdateDateTime":"2021-06-23T01:47:23Z","createdDateTime":"2021-06-23T01:47:22Z","expirationDateTime":"2021-06-24T01:47:22Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}' + language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 7aae2445-d460-4cfd-b74e-3c25e84418d7 + apim-request-id: 42ded50e-ca71-409e-86bf-6874ec1a71d1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:25 GMT + date: Wed, 23 Jun 2021 01:47:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '56' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/15b8e294-54c9-456c-a943-2c1b3e286435 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/080bbd16-705a-4e89-a36e-f9dc534c3a79 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_normalized_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_normalized_text.yaml index dc0769856b9a..2d47997abd7d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_normalized_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_normalized_text.yaml @@ -10,46 +10,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: b9dbe93c-e9e3-45e4-979b-db7e062b3cf0 - date: Tue, 18 May 2021 17:47:37 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/b704eae8-cb01-4798-858f-b5b6f9b4752a + apim-request-id: f457a5c0-0c5e-4576-8140-f7f96b5cc849 + date: Wed, 23 Jun 2021 01:47:27 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/297f8562-78f3-4200-95ee-d58beed224fb strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '100' + x-envoy-upstream-service-time: '196' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/b704eae8-cb01-4798-858f-b5b6f9b4752a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/297f8562-78f3-4200-95ee-d58beed224fb response: body: - string: '{"jobId":"b704eae8-cb01-4798-858f-b5b6f9b4752a","lastUpdateDateTime":"2021-05-18T17:47:42Z","createdDateTime":"2021-05-18T17:47:37Z","expirationDateTime":"2021-05-19T17:47:37Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":19,"length":14,"text":"histologically","category":"ExaminationName","confidenceScore":1.0,"name":"Histology + string: '{"jobId":"297f8562-78f3-4200-95ee-d58beed224fb","lastUpdateDateTime":"2021-06-23T01:47:28Z","createdDateTime":"2021-06-23T01:47:27Z","expirationDateTime":"2021-06-24T01:47:27Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":19,"length":14,"text":"histologically","category":"ExaminationName","confidenceScore":1.0,"name":"Histology Procedure","links":[{"dataSource":"UMLS","id":"C0344441"},{"dataSource":"CHV","id":"0000030964"},{"dataSource":"LNC","id":"MTHU010496"},{"dataSource":"MDR","id":"10062005"},{"dataSource":"MTH","id":"U002823"},{"dataSource":"MTHMST","id":"MT140012"},{"dataSource":"NCI","id":"C49131"},{"dataSource":"SNOMEDCT_US","id":"714797009"}]},{"offset":44,"length":3,"text":"NHL","category":"Diagnosis","confidenceScore":1.0,"name":"Lymphoma, - Non-Hodgkin","links":[{"dataSource":"UMLS","id":"C0024305"},{"dataSource":"BI","id":"BI00323"},{"dataSource":"CCPSS","id":"0001640"},{"dataSource":"CCS","id":"2.10.2"},{"dataSource":"CCSR_10","id":"NEO058"},{"dataSource":"CHV","id":"0000007621"},{"dataSource":"COSTAR","id":"U000045"},{"dataSource":"CSP","id":"4001-0094"},{"dataSource":"DXP","id":"U002830"},{"dataSource":"HPO","id":"HP:0012539"},{"dataSource":"ICD10","id":"C85.9"},{"dataSource":"ICD10AM","id":"M9672/3"},{"dataSource":"ICD10CM","id":"C85.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU053464"},{"dataSource":"ICPC2P","id":"B74002"},{"dataSource":"MDR","id":"10029547"},{"dataSource":"MEDCIN","id":"35839"},{"dataSource":"MEDLINEPLUS","id":"117"},{"dataSource":"MSH","id":"D008228"},{"dataSource":"NCI","id":"C3211"},{"dataSource":"NCI_CELLOSAURUS","id":"C3211"},{"dataSource":"NCI_CPTAC","id":"C3211"},{"dataSource":"NCI_CTEP-SDC","id":"10029593"},{"dataSource":"NCI_CTRP","id":"C3211"},{"dataSource":"NCI_GDC","id":"C3211"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045148"},{"dataSource":"NCI_NICHD","id":"C3211"},{"dataSource":"OMIM","id":"MTHU014311"},{"dataSource":"PDQ","id":"CDR0000038957"},{"dataSource":"QMR","id":"R0121804"},{"dataSource":"RCD","id":"B627."},{"dataSource":"SNM","id":"M-YYX54"},{"dataSource":"SNMI","id":"M-96723"},{"dataSource":"SNOMEDCT_US","id":"1929004"},{"dataSource":"WHO","id":"1544"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + Non-Hodgkin","links":[{"dataSource":"UMLS","id":"C0024305"},{"dataSource":"BI","id":"BI00323"},{"dataSource":"CCPSS","id":"0001640"},{"dataSource":"CCS","id":"2.10.2"},{"dataSource":"CCSR_10","id":"NEO058"},{"dataSource":"CHV","id":"0000007621"},{"dataSource":"COSTAR","id":"U000045"},{"dataSource":"CSP","id":"4001-0094"},{"dataSource":"DXP","id":"U002830"},{"dataSource":"HPO","id":"HP:0012539"},{"dataSource":"ICD10","id":"C85.9"},{"dataSource":"ICD10AM","id":"M9672/3"},{"dataSource":"ICD10CM","id":"C85.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU053464"},{"dataSource":"ICPC2P","id":"B74002"},{"dataSource":"MDR","id":"10029547"},{"dataSource":"MEDCIN","id":"35839"},{"dataSource":"MEDLINEPLUS","id":"117"},{"dataSource":"MSH","id":"D008228"},{"dataSource":"NCI","id":"C3211"},{"dataSource":"NCI_CELLOSAURUS","id":"C3211"},{"dataSource":"NCI_CPTAC","id":"C3211"},{"dataSource":"NCI_CTEP-SDC","id":"10029593"},{"dataSource":"NCI_CTRP","id":"C3211"},{"dataSource":"NCI_GDC","id":"C3211"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045148"},{"dataSource":"NCI_NICHD","id":"C3211"},{"dataSource":"OMIM","id":"MTHU014311"},{"dataSource":"PDQ","id":"CDR0000038957"},{"dataSource":"QMR","id":"R0121804"},{"dataSource":"RCD","id":"B627."},{"dataSource":"SNM","id":"M-YYX54"},{"dataSource":"SNMI","id":"M-96723"},{"dataSource":"SNOMEDCT_US","id":"1929004"},{"dataSource":"WHO","id":"1544"}]}],"relations":[{"relationType":"ExaminationFindsCondition","entities":[{"ref":"#/results/documents/0/entities/0","role":"Examination"},{"ref":"#/results/documents/0/entities/1","role":"Condition"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 413488f0-72bb-4e16-8fdf-1eb53e86785a + apim-request-id: 8446d632-f60b-440c-9ee1-64570a442602 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:47:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/b704eae8-cb01-4798-858f-b5b6f9b4752a + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/297f8562-78f3-4200-95ee-d58beed224fb version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_out_of_order_ids.yaml index 69b859d51566..bd9693ae2f9e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_out_of_order_ids.yaml @@ -12,46 +12,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 1d196dd1-1795-457f-9704-0b12e2122301 - date: Tue, 18 May 2021 17:48:44 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f05efc0e-4f17-4c78-9852-6ee76e5e4091 + apim-request-id: 65fd2ea0-70e4-4672-bf46-1732d933fdde + date: Wed, 23 Jun 2021 01:47:32 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/cc31a024-c0be-4aa7-9f13-f5490fc0f5eb strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '218' + x-envoy-upstream-service-time: '323' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f05efc0e-4f17-4c78-9852-6ee76e5e4091 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/cc31a024-c0be-4aa7-9f13-f5490fc0f5eb response: body: - string: '{"jobId":"f05efc0e-4f17-4c78-9852-6ee76e5e4091","lastUpdateDateTime":"2021-05-18T17:48:47Z","createdDateTime":"2021-05-18T17:48:44Z","expirationDateTime":"2021-05-19T17:48:44Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"cc31a024-c0be-4aa7-9f13-f5490fc0f5eb","lastUpdateDateTime":"2021-06-23T01:47:34Z","createdDateTime":"2021-06-23T01:47:33Z","expirationDateTime":"2021-06-24T01:47:33Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 4d4eaa7f-39e5-4fd4-81aa-bdc668ce02a5 + apim-request-id: 2eae76eb-45a5-4910-8a28-4ca12601f0f1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:50 GMT + date: Wed, 23 Jun 2021 01:47:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '71' + x-envoy-upstream-service-time: '79' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/f05efc0e-4f17-4c78-9852-6ee76e5e4091 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/cc31a024-c0be-4aa7-9f13-f5490fc0f5eb version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_pass_cls.yaml index 68e92d805658..debde6942f51 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_pass_cls.yaml @@ -10,45 +10,45 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 7ddf3b65-1629-4a66-8219-24b5212f2beb - date: Tue, 18 May 2021 17:47:31 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/fb148632-c8df-43aa-9fd9-c76001f366d0 + apim-request-id: 5c3c475e-1dc2-47db-8aa1-18574a18fc5b + date: Wed, 23 Jun 2021 01:47:38 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/dd555e9c-10e2-43fa-b6bb-baf571bc1ae1 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '127' + x-envoy-upstream-service-time: '189' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/fb148632-c8df-43aa-9fd9-c76001f366d0 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/dd555e9c-10e2-43fa-b6bb-baf571bc1ae1 response: body: - string: '{"jobId":"fb148632-c8df-43aa-9fd9-c76001f366d0","lastUpdateDateTime":"2021-05-18T17:47:32Z","createdDateTime":"2021-05-18T17:47:31Z","expirationDateTime":"2021-05-19T17:47:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":13,"length":3,"text":"cls","category":"Diagnosis","confidenceScore":1.0,"name":"Coffin-Lowry - syndrome","links":[{"dataSource":"UMLS","id":"C0265252"},{"dataSource":"CHV","id":"0000025867"},{"dataSource":"JABL","id":"238"},{"dataSource":"MDR","id":"10081806"},{"dataSource":"MEDCIN","id":"311935"},{"dataSource":"MSH","id":"D038921"},{"dataSource":"NCI","id":"C84643"},{"dataSource":"NCI_CELLOSAURUS","id":"C84643"},{"dataSource":"OMIM","id":"303600"},{"dataSource":"RCD","id":"Xa0Zc"},{"dataSource":"SNM","id":"D-5122"},{"dataSource":"SNMI","id":"D4-00811"},{"dataSource":"SNOMEDCT_US","id":"15182000"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"dd555e9c-10e2-43fa-b6bb-baf571bc1ae1","lastUpdateDateTime":"2021-06-23T01:47:39Z","createdDateTime":"2021-06-23T01:47:38Z","expirationDateTime":"2021-06-24T01:47:38Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":5,"length":7,"text":"passing","category":"MeasurementValue","confidenceScore":0.78},{"offset":13,"length":3,"text":"cls","category":"Diagnosis","confidenceScore":1.0,"name":"Coffin-Lowry + syndrome","links":[{"dataSource":"UMLS","id":"C0265252"},{"dataSource":"CHV","id":"0000025867"},{"dataSource":"JABL","id":"238"},{"dataSource":"MDR","id":"10081806"},{"dataSource":"MEDCIN","id":"311935"},{"dataSource":"MSH","id":"D038921"},{"dataSource":"NCI","id":"C84643"},{"dataSource":"NCI_CELLOSAURUS","id":"C84643"},{"dataSource":"OMIM","id":"303600"},{"dataSource":"RCD","id":"Xa0Zc"},{"dataSource":"SNM","id":"D-5122"},{"dataSource":"SNMI","id":"D4-00811"},{"dataSource":"SNOMEDCT_US","id":"15182000"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: fa9a36bf-a18a-4c0d-a440-c1fb34050a78 + apim-request-id: 61f5ae4a-aa6d-4243-ba44-978db703be50 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:37 GMT + date: Wed, 23 Jun 2021 01:47:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '52' + x-envoy-upstream-service-time: '70' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/fb148632-c8df-43aa-9fd9-c76001f366d0 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/dd555e9c-10e2-43fa-b6bb-baf571bc1ae1 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_passing_only_string.yaml index b7aaca80f50b..d23ae11b76b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_passing_only_string.yaml @@ -12,49 +12,49 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 17bfbf82-6bcf-4d4f-9825-091f7f33733b - date: Tue, 18 May 2021 17:47:32 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/434acf3c-f83d-4d7c-9fb9-004ab44b5d2a + apim-request-id: 0a86f2a2-b11f-46b0-b143-ce1ebfd0fbcd + date: Wed, 23 Jun 2021 01:47:44 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4e24f3a7-fb72-4ac2-a03d-6ee7e144eae9 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '117' + x-envoy-upstream-service-time: '272' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/434acf3c-f83d-4d7c-9fb9-004ab44b5d2a + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/4e24f3a7-fb72-4ac2-a03d-6ee7e144eae9 response: body: - string: '{"jobId":"434acf3c-f83d-4d7c-9fb9-004ab44b5d2a","lastUpdateDateTime":"2021-05-18T17:47:37Z","createdDateTime":"2021-05-18T17:47:33Z","expirationDateTime":"2021-05-19T17:47:33Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high - blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive + string: '{"jobId":"4e24f3a7-fb72-4ac2-a03d-6ee7e144eae9","lastUpdateDateTime":"2021-06-23T01:47:48Z","createdDateTime":"2021-06-23T01:47:44Z","expirationDateTime":"2021-06-24T01:47:44Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high + blood pressure","category":"SymptomOrSign","confidenceScore":1.0,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1.0},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1.0,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1.0}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: e17eaba2-601f-4c7f-a67b-c34ad72708c4 + apim-request-id: 15d95639-29ad-4c22-b4c3-d919c1a80d38 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:37 GMT + date: Wed, 23 Jun 2021 01:47:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '47' + x-envoy-upstream-service-time: '109' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/434acf3c-f83d-4d7c-9fb9-004ab44b5d2a + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/4e24f3a7-fb72-4ac2-a03d-6ee7e144eae9 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_payload_too_large.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_payload_too_large.yaml index d8a51d478be6..9d9883e539f2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_payload_too_large.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_payload_too_large.yaml @@ -8509,23 +8509,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Request Payload sent is too large to be processed. Limit request size to: 524288"}}}' headers: - apim-request-id: 9d585b64-77cc-42a1-97f6-7d4e261b95fd + apim-request-id: 559588c5-9d69-42af-b48f-3b74f5c39cad content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:34 GMT + date: Wed, 23 Jun 2021 01:47:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '43' + x-envoy-upstream-service-time: '25' status: code: 413 message: Payload Too Large - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_relations.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_relations.yaml index 642efcaaf21e..690e4e388b32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_relations.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_relations.yaml @@ -10,70 +10,48 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: e8c08a3e-ac60-4c0d-bcef-a9041dfb927f - date: Tue, 18 May 2021 17:47:32 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/40123636-140c-4737-8f5e-de7c0d786c2e + apim-request-id: dd67c14f-07dd-4bec-b2b4-56d53bc1d86e + date: Wed, 23 Jun 2021 01:47:53 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3bfe990f-487d-469a-ae02-e1268c4d2b5a strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '176' + x-envoy-upstream-service-time: '136' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/40123636-140c-4737-8f5e-de7c0d786c2e + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/3bfe990f-487d-469a-ae02-e1268c4d2b5a response: body: - string: '{"jobId":"40123636-140c-4737-8f5e-de7c0d786c2e","lastUpdateDateTime":"2021-05-18T17:47:37Z","createdDateTime":"2021-05-18T17:47:32Z","expirationDateTime":"2021-05-19T17:47:32Z","status":"running","errors":[]}' - headers: - apim-request-id: f9aa25de-e35b-4b0a-a5d6-3e2789303a42 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:37 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/40123636-140c-4737-8f5e-de7c0d786c2e -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/40123636-140c-4737-8f5e-de7c0d786c2e - response: - body: - string: '{"jobId":"40123636-140c-4737-8f5e-de7c0d786c2e","lastUpdateDateTime":"2021-05-18T17:47:37Z","createdDateTime":"2021-05-18T17:47:32Z","expirationDateTime":"2021-05-19T17:47:32Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":31,"length":18,"text":"Parkinsons + string: '{"jobId":"3bfe990f-487d-469a-ae02-e1268c4d2b5a","lastUpdateDateTime":"2021-06-23T01:47:58Z","createdDateTime":"2021-06-23T01:47:54Z","expirationDateTime":"2021-06-24T01:47:54Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":31,"length":18,"text":"Parkinsons Disease","category":"Diagnosis","confidenceScore":1.0,"name":"Parkinson Disease","links":[{"dataSource":"UMLS","id":"C0030567"},{"dataSource":"AOD","id":"0000006203"},{"dataSource":"BI","id":"BI00554"},{"dataSource":"CCPSS","id":"1018057"},{"dataSource":"CCS","id":"6.2.1"},{"dataSource":"CCSR_10","id":"NVS004"},{"dataSource":"CHV","id":"0000009319"},{"dataSource":"COSTAR","id":"559"},{"dataSource":"CSP","id":"2057-3689"},{"dataSource":"CST","id":"EXTRAPYR SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]},{"offset":51,"length":2,"text":"PD","category":"Diagnosis","confidenceScore":1.0,"name":"Parkinson Disease","links":[{"dataSource":"UMLS","id":"C0030567"},{"dataSource":"AOD","id":"0000006203"},{"dataSource":"BI","id":"BI00554"},{"dataSource":"CCPSS","id":"1018057"},{"dataSource":"CCS","id":"6.2.1"},{"dataSource":"CCSR_10","id":"NVS004"},{"dataSource":"CHV","id":"0000009319"},{"dataSource":"COSTAR","id":"559"},{"dataSource":"CSP","id":"2057-3689"},{"dataSource":"CST","id":"EXTRAPYR - SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]}],"relations":[{"relationType":"Abbreviation","entities":[{"ref":"#/results/documents/0/entities/0","role":"FullTerm"},{"ref":"#/results/documents/0/entities/1","role":"AbbreviatedTerm"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + SYND"},{"dataSource":"ICD10","id":"G20"},{"dataSource":"ICD10AM","id":"G20"},{"dataSource":"ICD10CM","id":"G20"},{"dataSource":"ICD9CM","id":"332.0"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU004748"},{"dataSource":"ICPC2P","id":"N87001"},{"dataSource":"LCH_NW","id":"sh85098115"},{"dataSource":"LNC","id":"MTHU020807"},{"dataSource":"MDR","id":"10061536"},{"dataSource":"MEDCIN","id":"32004"},{"dataSource":"MEDLINEPLUS","id":"85"},{"dataSource":"MSH","id":"D010300"},{"dataSource":"NANDA-I","id":"03003"},{"dataSource":"NCI","id":"C26845"},{"dataSource":"NCI_CELLOSAURUS","id":"C26845"},{"dataSource":"NCI_CPTAC","id":"C26845"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000044140"},{"dataSource":"OMIM","id":"516000"},{"dataSource":"PSY","id":"36720"},{"dataSource":"QMR","id":"R0121461"},{"dataSource":"RAM","id":"DX353"},{"dataSource":"RCD","id":"F12.."},{"dataSource":"SNM","id":"D-8450"},{"dataSource":"SNMI","id":"DA-21012"},{"dataSource":"SNOMEDCT_US","id":"49049000"},{"dataSource":"WHO","id":"0106"}]}],"relations":[{"relationType":"Abbreviation","entities":[{"ref":"#/results/documents/0/entities/0","role":"FullTerm"},{"ref":"#/results/documents/0/entities/1","role":"AbbreviatedTerm"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: fe087cc1-1d7f-4633-b2d7-ed968af5d665 + apim-request-id: 97264996-28f6-4e35-8736-d1e2b2393f66 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:47:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '34' + x-envoy-upstream-service-time: '60' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/40123636-140c-4737-8f5e-de7c0d786c2e + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/3bfe990f-487d-469a-ae02-e1268c4d2b5a version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_show_stats_and_model_version.yaml index 0ff2ab5ecd02..db3b001141a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_show_stats_and_model_version.yaml @@ -12,68 +12,46 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 8fe9c4b3-3b24-4cc5-9438-9707168a75a0 - date: Tue, 18 May 2021 17:48:51 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2 + apim-request-id: 73831659-adf5-4b89-8d26-f9a74df33a39 + date: Wed, 23 Jun 2021 01:47:59 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/ca0e73e3-7a0d-4fe8-bf69-08747aeac37d strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '154' + x-envoy-upstream-service-time: '353' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?model-version=2021-01-11&stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2?showStats=True + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/ca0e73e3-7a0d-4fe8-bf69-08747aeac37d?showStats=True response: body: - string: '{"jobId":"5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2","lastUpdateDateTime":"2021-05-18T17:48:52Z","createdDateTime":"2021-05-18T17:48:51Z","expirationDateTime":"2021-05-19T17:48:51Z","status":"running","errors":[]}' - headers: - apim-request-id: 3fcda75b-be0b-4a8c-a66b-1f62042cf3d5 - content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:55 GMT - strict-transport-security: max-age=31536000; includeSubDomains; preload - transfer-encoding: chunked - x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' - status: - code: 200 - message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2?showStats=True -- request: - body: null - headers: - User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) - method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2?showStats=True - response: - body: - string: '{"jobId":"5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2","lastUpdateDateTime":"2021-05-18T17:48:57Z","createdDateTime":"2021-05-18T17:48:51Z","expirationDateTime":"2021-05-19T17:48:51Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid + string: '{"jobId":"ca0e73e3-7a0d-4fe8-bf69-08747aeac37d","lastUpdateDateTime":"2021-06-23T01:48:03Z","createdDateTime":"2021-06-23T01:48:00Z","expirationDateTime":"2021-06-24T01:48:00Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-03-01"}}' + text is empty."}}}],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: d7f979f6-38e3-4138-b19c-77af02e6bfa8 + apim-request-id: fbe4c12f-990c-4d46-ba85-3204706d06be content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:49:01 GMT + date: Wed, 23 Jun 2021 01:48:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1399' + x-envoy-upstream-service-time: '100' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5c6b59fe-1cd2-45fb-9412-1e60d9f6bcd2?showStats=True + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/ca0e73e3-7a0d-4fe8-bf69-08747aeac37d?showStats=True version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_too_many_documents.yaml index 8a92bee003e9..77452203e995 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_too_many_documents.yaml @@ -759,23 +759,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 46281436-bcd8-4ab9-9acd-8f23aacc305b + apim-request-id: 58d899b1-f418-469f-b06b-01801268c841 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:11 GMT + date: Wed, 23 Jun 2021 01:48:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '8' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_user_agent.yaml index 596061983075..7fc96a86bd00 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_user_agent.yaml @@ -10,44 +10,44 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: 3edb2479-d7d7-48b1-8682-396521cbabb1 - date: Tue, 18 May 2021 17:48:21 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/7ec466da-5b95-4f17-89fc-c9f5648343ba + apim-request-id: ef6b2e7a-7e4e-4462-9143-d79801597aea + date: Wed, 23 Jun 2021 01:48:06 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2a687a4d-d79a-4317-b671-7402cbeb0368 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '140' + x-envoy-upstream-service-time: '428' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/7ec466da-5b95-4f17-89fc-c9f5648343ba + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/2a687a4d-d79a-4317-b671-7402cbeb0368 response: body: - string: '{"jobId":"7ec466da-5b95-4f17-89fc-c9f5648343ba","lastUpdateDateTime":"2021-05-18T17:48:22Z","createdDateTime":"2021-05-18T17:48:21Z","expirationDateTime":"2021-05-19T17:48:21Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"2a687a4d-d79a-4317-b671-7402cbeb0368","lastUpdateDateTime":"2021-06-23T01:48:08Z","createdDateTime":"2021-06-23T01:48:06Z","expirationDateTime":"2021-06-24T01:48:06Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: aba1e6e8-1252-4a01-af7f-878b79eb3957 + apim-request-id: bf4ccc14-51fc-49a7-b733-91f01f29ebc3 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:26 GMT + date: Wed, 23 Jun 2021 01:48:11 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' + x-envoy-upstream-service-time: '76' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/7ec466da-5b95-4f17-89fc-c9f5648343ba + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/2a687a4d-d79a-4317-b671-7402cbeb0368 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_whole_batch_language_hint_and_dict_input.yaml index 07dee3021a38..1de868426734 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_healthcare_async.test_whole_batch_language_hint_and_dict_input.yaml @@ -12,44 +12,44 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint response: body: string: '' headers: - apim-request-id: c5c55dca-71e9-46f6-908e-05bcc5e01152 - date: Tue, 18 May 2021 17:48:48 GMT - operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5eb540c0-2aac-4572-a24a-13254bc74dc2 + apim-request-id: 13862950-3f53-43ae-94d0-863a6ff44812 + date: Wed, 23 Jun 2021 01:48:11 GMT + operation-location: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/5d1109f6-accd-4618-a266-a6e0dbb474f6 strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '111' + x-envoy-upstream-service-time: '210' status: code: 202 message: Accepted - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/health/jobs?stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/health/jobs?stringIndexType=UnicodeCodePoint - request: body: null headers: User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5eb540c0-2aac-4572-a24a-13254bc74dc2 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/health/jobs/5d1109f6-accd-4618-a266-a6e0dbb474f6 response: body: - string: '{"jobId":"5eb540c0-2aac-4572-a24a-13254bc74dc2","lastUpdateDateTime":"2021-05-18T17:48:52Z","createdDateTime":"2021-05-18T17:48:48Z","expirationDateTime":"2021-05-19T17:48:48Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}' + string: '{"jobId":"5d1109f6-accd-4618-a266-a6e0dbb474f6","lastUpdateDateTime":"2021-06-23T01:48:13Z","createdDateTime":"2021-06-23T01:48:12Z","expirationDateTime":"2021-06-24T01:48:12Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}' headers: - apim-request-id: 684edf41-9e8a-4456-9dc9-74d6b19274c5 + apim-request-id: 38174586-e705-4240-a28b-112cbae1826d content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:53 GMT + date: Wed, 23 Jun 2021 01:48:16 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '49' + x-envoy-upstream-service-time: '138' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/health/jobs/5eb540c0-2aac-4572-a24a-13254bc74dc2 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com/text/analytics/v3.1/entities/health/jobs/5d1109f6-accd-4618-a266-a6e0dbb474f6 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml index feef27430681..2efb1ba1bd23 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_dict.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -30,13 +30,13 @@ interactions: recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - eac9c513-89f8-46b5-907f-ecff853a24d1 + - 3944152c-d6de-44ae-bf42-e8295fe6c12e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:25 GMT + - Wed, 23 Jun 2021 01:48:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '113' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml index 8d37af9ce11a..1320d8688ecf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_all_successful_passing_text_document_input.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -30,13 +30,13 @@ interactions: recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 4f22d126-cd5f-4958-b6d5-9ff4b0dcda45 + - c4138a2a-79a4-4fec-aa3b-8b5b6be72476 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:50 GMT + - Wed, 23 Jun 2021 01:48:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '117' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml index f95c5522c6ab..2028008d7d11 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 1f4b066b-50ce-43eb-ab54-6e16cafa916c content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:48:17 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml index eb4efe3050cf..95f2c1d4b0fa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_bad_model_version_error.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid @@ -24,11 +24,11 @@ interactions: details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - 61efd40e-246b-4979-afbd-ac2a8ecc4f12 + - c82e32af-204b-47e4-aab8-2a8eb1777fc4 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:48:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '10' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml index b5495a3a604c..f65318a538bc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit.yaml @@ -758,20 +758,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - e3a118a4-03c2-4c3d-b272-33e3d850ab1f + - 05647f0e-6969-406a-9f6a-83134a35241d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:48:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml index f293f2348fbe..700508a2bd05 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_batch_size_over_limit_error.yaml @@ -723,20 +723,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 813933eb-4baf-4bcc-88f1-3ff79b32d042 + - c9294fa0-4291-491c-b97e-723ce10e689e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:35 GMT + - Wed, 23 Jun 2021 01:48:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '16' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml index 49f571e55867..297757a40437 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_client_passed_default_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 9fa497e7-99b6-4fcb-b0aa-4d9661524a2b + - 9e01aa79-e669-4c21-b23c-ffb52fa5817c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:48:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2773' + - '85' status: code: 200 message: OK @@ -62,9 +62,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -73,13 +73,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - a6742128-9049-4d75-acc3-5df70b8c692b + - 6dc52d1f-16bd-425d-9c7e-e65ed99ba258 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:48:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -87,7 +87,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '112' + - '109' status: code: 200 message: OK @@ -108,9 +108,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -119,13 +119,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - cd040e0b-bf83-4177-a4eb-fb2eed6757cf + - 6186f3f1-1d8a-43fd-be31-b9c325435646 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:48:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '189' + - '96' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_default_string_index_type_is_UnicodeCodePoint.yaml index 4669456126a1..e51a0a935ec6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -13,22 +13,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"Hello world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - eb770d56-b54b-4c6c-bbaf-6ddc284dc917 + - 531a6e6c-ce4e-49f0-ba7b-c99e1a3342f2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:49:02 GMT + - Wed, 23 Jun 2021 01:48:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_disable_service_logs.yaml index 6cd0b1ab1ec6..295930b875a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_disable_service_logs.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1c24cc70-1d6e-40f7-9c93-92b0371be776 + - 52e2ffc3-d59c-4aaf-910a-a0d6d7a4a5e2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:22 GMT + - Wed, 23 Jun 2021 01:48:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '100' + - '97' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml index 0223fd3b9ab2..826af387c7ea 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_no_result_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0f87fcd4-ca4e-45c3-a557-bcd059916fbd + - bc82733a-ace8-4e03-a4b1-14140f2827c3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:11 GMT + - Wed, 23 Jun 2021 01:48:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml index 532f850941f9..ad3384f18e56 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ad2425d1-bbbc-4a6b-af20-bb90daa05734 + - 0f517a60-e35f-4c20-a074-2a89cd3e9796 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:26 GMT + - Wed, 23 Jun 2021 01:48:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml index cd7ba3ea8969..8a8f0e5b4fbe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -33,11 +33,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0a934e8f-b718-430d-bdc7-b7e84460d091 + - edffb911-0852-4ee8-b079-f155b19644e0 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:54 GMT + - Wed, 23 Jun 2021 01:48:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml index 98249f936107..49d628924558 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_document_warnings.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":40,"text":"This won''t actually create a warning :''("}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - cbf5b5d6-6337-4e01-a76b-1cb2a465abca + - 20f41174-d4fe-4389-bd1a-e491febdf605 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:26 GMT + - Wed, 23 Jun 2021 01:48:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '129' + - '107' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml index c5be71071c26..3eef2125c92b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - fe9b63c7-6bb2-45ab-bc39-b07c286db7ec + - c540c729-9ef4-444b-bd21-40b5225271d3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:48:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '10' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml index 77441bd6a3cc..d0506cb4ab9c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 706f0984-a002-4f70-9537-a7440f6b0633 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:48:22 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_explicit_set_string_index_type.yaml index 67a7a5ea64a2..2e2649902653 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_explicit_set_string_index_type.yaml @@ -13,22 +13,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"Hello world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0d8521a8-769a-4652-b94c-0e2818786687 + - 8f7fe211-ca2c-4517-b189-eeba84cd8420 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:49 GMT + - Wed, 23 Jun 2021 01:48:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '100' + - '86' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml index 2b5b4070f9e2..0e84a9927754 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_all_errors.yaml @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -30,11 +30,11 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - e12ce7a5-5764-4424-abdd-486297db7f28 + - ddaad977-0c40-4232-8b1d-3afaa56a0391 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:48:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml index 347eaecd806f..ffb22f1354df 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_input_with_some_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The @@ -31,13 +31,13 @@ interactions: For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 66d3b291-8f6d-49ec-b66d-08f8a468fb5a + - 8f986c96-3fd9-4518-9a85-718a2fd92463 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:39 GMT + - Wed, 23 Jun 2021 01:48:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '100' + - '98' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml index 596818a30cd7..c45a0ae859ab 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_docs.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 56fa0569-d0bd-4495-820a-50c623342445 + - e69ec66f-b32e-4316-a5d9-f163dd00af65 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:36 GMT + - Wed, 23 Jun 2021 01:48:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml index 71c2258297bd..88a2ac29d896 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_invalid_language_hint_method.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - f20e6594-bd7f-4349-a8f2-cbfc763a4bd8 + - d13e9a25-9ef7-48ea-ad35-b9104f574336 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:48:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml index d9a80c6dd437..7c44791ace78 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_language_kwarg_spanish.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":35,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"offset":0,"length":35,"text":"Bill Gates is the CEO of Microsoft."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 709810f1-dfbb-4a5c-bc7a-3f8b52e6b8e9 + - 4d7bcb43-cec7-4f8d-aff0-47dd61987660 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:49:03 GMT + - Wed, 23 Jun 2021 01:48:24 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '121' + - '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml index 67c913c52878..0c278fff621b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_no_offset_v3_sentence_sentiment.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -24,13 +24,13 @@ interactions: do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - b89fbe2d-8a71-4164-bc20-90f720836362 + - 0dcb0c73-0ef1-49c0-b191-68a9c647f5a7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:54 GMT + - Wed, 23 Jun 2021 01:48:23 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '84' + - '102' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml index cb2bacad06da..687b3708f3d6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_offset.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"mixed","confidenceScores":{"positive":0.44,"neutral":0.27,"negative":0.29},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.88,"neutral":0.11,"negative":0.01},"offset":0,"length":14,"text":"I @@ -24,13 +24,13 @@ interactions: do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 89daf199-3da0-4d7d-a6bf-d65769042b4e + - 1dd77cb1-1cf0-4db7-b547-05f190a1d65c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:48:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '133' + - '95' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml index 030d9982f50d..6d5bd884e24d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - eec52eaa-2878-4969-befa-4158c18ce4d4 + - 7e06987b-af51-46cc-a716-1c753a96d9f5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:50 GMT + - Wed, 23 Jun 2021 01:48:28 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '97' + - '2632' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml index e0f8d46e7b35..b9baab8116cb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_more_than_5_documents.yaml @@ -21,9 +21,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":25,"text":"The @@ -38,13 +38,13 @@ interactions: toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/6/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 79759a8b-06da-4daa-9d2e-3b3f2c55381d + - 60fc18b1-c3f1-4b27-b7a9-8a86628b97fe content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7 date: - - Tue, 18 May 2021 17:47:40 GMT + - Wed, 23 Jun 2021 01:48:35 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -52,7 +52,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2604' + - '7618' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml index 039c5bb20a55..71af68c86e93 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_no_mined_opinions.yaml @@ -13,22 +13,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"offset":0,"length":18,"text":"today is a hot day","targets":[],"assessments":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ef299482-4892-4bec-9e59-fc9490b08301 + - 4f0a428f-892a-4b98-9d96-5ab1cfe35364 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:39 GMT + - Wed, 23 Jun 2021 01:48:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '110' + - '89' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml index e7fc2c925d99..6e379a4f0645 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_opinion_mining_with_negated_opinion.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - a54e599f-9796-4015-b270-d392e111eedc + - af1ded2b-aa80-4ad2-8d08-881cc072148a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:48:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '159' + - '93' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml index 61383f112d12..b4087053cc8f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_out_of_order_ids.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 431d54e3-4018-4f27-bb94-d077642f5968 + - 2340d509-86c9-4229-842b-8474d46ba189 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:49:03 GMT + - Wed, 23 Jun 2021 01:48:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '88' + - '106' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml index ac2dc66bc6aa..dfe03d56a9ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"one"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"two"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"three"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"four"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"five"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 46775a32-a263-41ac-82e0-a72849cf97e4 + - d35edf6a-45a4-44fb-8ec2-bed342a91d5d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:47:12 GMT + - Wed, 23 Jun 2021 01:48:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '96' + - '98' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml index b444c27a380f..fa2f974aece3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_pass_cls.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"offset":0,"length":28,"text":"Test passing cls to endpoint"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 287fd63e-090b-4585-bde7-48a481b10a79 + - fcf9e012-990d-45f8-a5d2-e4d0fb8d96cf content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:27 GMT + - Wed, 23 Jun 2021 01:48:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '196' + - '83' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml index 9e21d185ff09..61937311406b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_passing_only_string.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -32,13 +32,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - caa31d7e-d836-4039-93d7-14111934064b + - e54caf48-f325-492e-9a15-b7c5e707281b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:26 GMT + - Wed, 23 Jun 2021 01:48:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -46,7 +46,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '116' + - '96' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml index caedba885199..7eee084bff03 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_per_item_dont_use_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 974b3e6a-1ef2-4212-bf5b-37f78ecbfa24 + - 8ce17e20-c36d-4319-8cef-797b559b44b5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:48:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '90' + - '88' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml index 3ce76469dabc..9d43d44cdde7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_rotate_subscription_key.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - fca55f87-8afe-40e0-9e69-190c4abf36f2 + - c2c81c89-3566-40c3-9849-f66e2cf8314a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:48:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -62,19 +62,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 3c30cf41-3bc9-4ae9-86d9-d43beefb255e content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:48:39 GMT status: code: 401 message: PermissionDenied @@ -95,9 +99,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -106,13 +110,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 8014fe91-e7ef-41d8-baf8-bd1dc9e43f7c + - 79148665-fe9c-4b61-8dbb-8b4809cb92e5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:48:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -120,7 +124,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '104' + - '91' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml index 59d48e4f84de..1b2e3f501821 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_show_stats_and_model_version.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 9a4edc93-c1aa-4bb3-8fe6-0b280bd77cb1 + - 56c0e963-c19b-4c2a-8d9d-7c223f49ce30 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:48:50 GMT + - Wed, 23 Jun 2021 01:48:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '87' + - '94' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml index 18e94416b488..a0e2fe6cfc00 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_string_index_type_not_fail_v3.yaml @@ -13,7 +13,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -22,13 +22,13 @@ interactions: don''t fail"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - bfcc57d8-6f8e-4969-8804-bc355cf3ac20 + - 6b9ab2ee-99ff-4683-bfe4-780c74718ece content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:39 GMT + - Wed, 23 Jun 2021 01:48:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '95' + - '87' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml index d7fd387bfb4b..834b3be4bd0a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_too_many_documents.yaml @@ -19,20 +19,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 6163499c-8ac3-4f2d-88d1-6cd7459f2ab7 + - cef21ea5-8dde-4955-8871-d43e0e86a98b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:48:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml index 5ec766339b2d..b4c0541a786a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_user_agent.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - ea16a68a-0b44-4b27-a09b-978e84094c64 + - ba95766b-957c-408b-9356-55743b2e7375 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:48:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '86' + - '157' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml index 690962d3771a..ab0fb7bf8f10 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_dont_use_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":33,"text":"This @@ -28,13 +28,13 @@ interactions: restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - cee2b78b-93b8-4310-a4dc-e638cf783f73 + - fb7b9b3a-3eff-4c16-a0c4-44ec2de0f9e2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:49:04 GMT + - Wed, 23 Jun 2021 01:48:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '102' + - '98' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml index b7024c88dfc7..57997c3bdaf4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.07,"neutral":0.93,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.07,"neutral":0.93,"negative":0.0},"offset":0,"length":33,"text":"This @@ -28,13 +28,13 @@ interactions: restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 95c15acd-618c-4828-bcaf-46046735a24b + - c93c8742-2186-473b-962c-7dfbaf239378 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:12 GMT + - Wed, 23 Jun 2021 01:48:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '128' + - '92' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml index a6651706776d..f99dcdc2f333 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_input.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 0589ee57-cc09-481c-95f4-7eb214828f52 + - 751d7fe3-40b5-4e5e-9649-a03b8a992365 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:28 GMT + - Wed, 23 Jun 2021 01:48:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '243' + - '119' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 012762df3f35..680df55dfdc9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -27,13 +27,13 @@ interactions: restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: apim-request-id: - - 1951ac21-6411-4ff6-8283-5bd076e64595 + - 2e7917ba-7d36-42a7-8b31-3fe7da35acff content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:55 GMT + - Wed, 23 Jun 2021 01:48:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '190' + - '99' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml index 8a4acc0e4bf3..708c3533e414 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,23 +16,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"offset\":0,\"length\":41,\"text\":\"I - should take my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"offset\":0,\"length\":39,\"text\":\"Este - es un document escrito en Espa\xF1ol.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\":0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\"\ + :{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"sentences\":[{\"\ + sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\"\ + :0.81,\"negative\":0.04},\"offset\":0,\"length\":41,\"text\":\"I should take\ + \ my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\"\ + :\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\"\ + :0.14},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"\ + positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"offset\":0,\"length\"\ + :39,\"text\":\"Este es un document escrito en Espa\xF1ol.\"}],\"warnings\"\ + :[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\"\ + :0.15,\"neutral\":0.79,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"\ + neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\"\ + :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ + warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: apim-request-id: - - 305169a2-61bb-4501-b91f-da07c80ea529 + - b25960e4-7718-46c9-8263-91758bfca140 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:27 GMT + - Wed, 23 Jun 2021 01:48:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +51,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '361' + - '87' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 61e5588bd0ff..fece54f96e77 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,23 +16,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"offset\":0,\"length\":41,\"text\":\"I - should take my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"offset\":0,\"length\":39,\"text\":\"Este - es un document escrito en Espa\xF1ol.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\":0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\"\ + :{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"sentences\":[{\"\ + sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\"\ + :0.94,\"negative\":0.01},\"offset\":0,\"length\":41,\"text\":\"I should take\ + \ my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\"\ + :\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\"\ + :0.05},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"\ + positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"offset\":0,\"length\"\ + :39,\"text\":\"Este es un document escrito en Espa\xF1ol.\"}],\"warnings\"\ + :[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\"\ + :0.13,\"neutral\":0.81,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"\ + neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\"\ + :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ + warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: apim-request-id: - - 51982dca-8b9f-4383-988c-4b3b1d1a87df + - fd1d75cd-7be8-4c94-851a-543c2b0a76bb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:48:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +51,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '128' + - '102' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml index 115a098385fa..659d67aec0c3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_dict.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","sentiment":"neutral","statistics":{"charactersCount":51,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -25,16 +25,16 @@ interactions: restaurant had really good food."},{"sentiment":"positive","confidenceScores":{"positive":0.96,"neutral":0.03,"negative":0.01},"offset":37,"length":23,"text":"I recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 0192b012-b59f-48d6-ae94-51500a8ad7ec + apim-request-id: 4248a78a-5d22-4480-82e1-78d216d57100 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:48:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '130' + x-envoy-upstream-service-time: '99' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml index 7a67a3ca7703..300dbbef2bda 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_all_successful_passing_text_document_input.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -25,16 +25,16 @@ interactions: restaurant had really good food."},{"sentiment":"positive","confidenceScores":{"positive":0.96,"neutral":0.03,"negative":0.01},"offset":37,"length":23,"text":"I recommend you try it."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: f6809f02-31d7-42a1-8a85-dda87c85fbad + apim-request-id: 54eff0e0-59de-42ae-8b9e-46757db95d6b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:51 GMT + date: Wed, 23 Jun 2021 01:48:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '124' + x-envoy-upstream-service-time: '78' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml index 00ccab9152a3..9d7eb1e8b810 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: b892f73a-d97b-4040-8db7-fc8690cbbb5d content-length: '224' - date: Tue, 18 May 2021 17:47:40 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:48:42 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml index 8890a7055ca3..bd11e63bca8d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_bad_model_version_error.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-04-01. For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: 8a0b6a8e-739a-457e-ba92-9fabedbb6bec + apim-request-id: 05fb7481-ad1a-4932-8259-e09b5bad58ae content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:36 GMT + date: Wed, 23 Jun 2021 01:48:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml index 99a48fb9a807..0455f7239b52 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit.yaml @@ -754,23 +754,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: ad68644f-63eb-451e-b780-6198bbb7597e + apim-request-id: 4bb42036-fdfb-4d11-a47e-3bba1410a42f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:47 GMT + date: Wed, 23 Jun 2021 01:48:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml index 0df1079340b4..f48514958f33 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_batch_size_over_limit_error.yaml @@ -719,23 +719,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 85a14834-82fb-460c-b8bc-6964bca85b26 + apim-request-id: a4e39f93-fc9f-4f86-b3ad-01a37553daa7 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:49:05 GMT + date: Wed, 23 Jun 2021 01:48:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '9' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml index 87a0a34102bb..e33bc9831886 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_client_passed_default_language_hint.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,18 +22,18 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 2066d6a5-d0e1-43fd-9f7c-83ca1bf8160a + apim-request-id: d8a6ec4e-e70a-4a3e-826d-e0a91bf04a39 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:15 GMT + date: Wed, 23 Jun 2021 01:48:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2634' + x-envoy-upstream-service-time: '90' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -47,9 +47,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -57,18 +57,18 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 34e4ba23-8548-4008-b29b-948c67659e5d + apim-request-id: 2c7c7aed-c9c9-41d0-85a7-787072651edc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:15 GMT + date: Wed, 23 Jun 2021 01:48:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '91' + x-envoy-upstream-service-time: '111' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "es"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -82,9 +82,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -92,16 +92,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b63f5f2e-edee-403b-ae1b-b2e147929387 + apim-request-id: 437408d4-b98d-491c-bf3e-99ae132d900a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:15 GMT + date: Wed, 23 Jun 2021 01:48:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '150' + x-envoy-upstream-service-time: '194' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_default_string_index_type_is_UnicodeCodePoint.yaml index 07f5bd68f820..41353cdb23a1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"Hello world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: ad8ff21e-cb4b-4c17-960d-992e1b410ab2 + apim-request-id: c83c7797-8991-4e6b-bc34-31b4ba7357a5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:28 GMT + date: Wed, 23 Jun 2021 01:48:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '108' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_disable_service_logs.yaml index 60d9ba094b49..369df0f602e9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_disable_service_logs.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.02,"neutral":0.12,"negative":0.86},"offset":0,"length":24,"text":"Test for logging disable"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 86d04ac3-090a-4fbb-af1f-d5598c28f4cb + apim-request-id: 509d1fbb-c591-4bf3-8855-528f2d41b9b5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:20 GMT + date: Wed, 23 Jun 2021 01:48:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '95' + x-envoy-upstream-service-time: '121' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml index a5b29c31deaf..1533ce6fecb5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 601a4adc-1c93-4ba5-a2a2-b4f70f8aeeb8 + apim-request-id: c28decca-0704-4815-a319-cc94d80771d5 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:55 GMT + date: Wed, 23 Jun 2021 01:48:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml index 549550c84fc2..2c79d4029d1a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 763d10bf-c2ac-49fd-8e15-73b4c2dc9837 + apim-request-id: e413ec61-35ca-4720-8d58-f4721ca32177 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:48:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '1' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml index 85b53e17a8c6..0e1e60bf1727 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -28,15 +28,15 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 9d37d01e-cbf8-4e82-a7be-7e7603b07f60 + apim-request-id: 66c5e7ae-3451-4fd9-abf7-be50a16dda80 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:53 GMT + date: Wed, 23 Jun 2021 01:48:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml index d719b73cdd6f..976346e5eee1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_document_warnings.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":40,"text":"This won''t actually create a warning :''("}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 17d1a122-1ede-4e89-b4eb-5f05135bf475 + apim-request-id: 3cdded05-db76-4c06-82ae-6a00a0efa0ea content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:48:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '166' + x-envoy-upstream-service-time: '112' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml index 594fb3ab50fd..27791f1a989e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_duplicate_ids_error.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 96474cbb-d445-489c-827f-2fb6709092d4 + apim-request-id: a3997c99-8bb1-45f5-97dd-e27027692a3a content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:52 GMT + date: Wed, 23 Jun 2021 01:48:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '8' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml index 30ba3f7facac..fe97920cf709 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: a54592d0-60fe-418e-a4f4-074aebe55779 content-length: '224' - date: Tue, 18 May 2021 17:47:41 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:48:46 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_explicit_set_string_index_type.yaml index 29772ca691a9..7092f206c9bc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_explicit_set_string_index_type.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.02,"neutral":0.97,"negative":0.01},"offset":0,"length":11,"text":"Hello world"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b26f78a0-ef8e-46ae-a441-bd21321f9858 + apim-request-id: 4220d1c0-c142-421b-afab-9c43471cd79a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:40 GMT + date: Wed, 23 Jun 2021 01:48:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '143' + x-envoy-upstream-service-time: '84' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=TextElements_v8 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=TextElements_v8 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml index 54d1ac68f759..597a3b8cc9e4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_all_errors.yaml @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,9 +25,9 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 64b2b54d-fbd2-4f99-802e-4c4a3e190ae0 + apim-request-id: 0e272801-f36a-43fe-88df-e89f66bc5120 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:37 GMT + date: Wed, 23 Jun 2021 01:48:46 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -35,5 +35,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml index 45f660969fcd..20ef3704960b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_input_with_some_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The @@ -26,16 +26,16 @@ interactions: language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 88ca3fbc-f4e1-4457-9f62-18224ee4fa5a + apim-request-id: 9fcc0fb9-01be-4366-ac00-a122e5963cd9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:48:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '106' + x-envoy-upstream-service-time: '109' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml index 9db3142e1f46..f87e574480e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_docs.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -20,15 +20,15 @@ interactions: language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 79700c3a-7649-4598-a383-d0e119ebf653 + apim-request-id: 5c7dc531-0c5b-4850-9e62-0c8b40c2c0e0 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:49:05 GMT + date: Wed, 23 Jun 2021 01:48:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml index 9b8c56cbaaca..5b14e7a82ca9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_invalid_language_hint_method.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -20,15 +20,15 @@ interactions: language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b157cfe0-77ad-4cb0-8200-36a651f598fb + apim-request-id: 26446973-864e-42a3-8f0e-1b727cfeefad content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:16 GMT + date: Wed, 23 Jun 2021 01:48:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml index 2d6cc2f12726..b2b67c3a97b5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_language_kwarg_spanish.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","sentiment":"neutral","statistics":{"charactersCount":35,"transactionsCount":1},"confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.98,"negative":0.01},"offset":0,"length":35,"text":"Bill Gates is the CEO of Microsoft."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3857f0b5-96fe-449f-880a-e4d0542153e0 + apim-request-id: cce28270-cfda-4bbf-8df2-77ee894dc2ed content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:29 GMT + date: Wed, 23 Jun 2021 01:48:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '221' + x-envoy-upstream-service-time: '92' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml index 3b6defe85ed9..f6aeccd9a951 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_no_offset_v3_sentence_sentiment.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -19,16 +19,16 @@ interactions: like nature."},{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.43,"negative":0.56},"offset":15,"length":26,"text":"I do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 93b15046-771b-480d-9b54-8efb74d8e333 + apim-request-id: 52a59a7b-73f9-46f4-9037-fd0d14e6dde0 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:53 GMT + date: Wed, 23 Jun 2021 01:48:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '110' + x-envoy-upstream-service-time: '103' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/sentiment?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/sentiment?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml index 0d032c1a5ab1..72de5d3b6943 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_offset.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"mixed","confidenceScores":{"positive":0.44,"neutral":0.27,"negative":0.29},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.88,"neutral":0.11,"negative":0.01},"offset":0,"length":14,"text":"I like nature."},{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.43,"negative":0.56},"offset":15,"length":26,"text":"I do not like being inside"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: efab30d7-e957-40c6-b46d-8a08d5a798ea + apim-request-id: 457b71b8-70b7-459e-982b-35e42dbff972 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:48:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '102' + x-envoy-upstream-service-time: '71' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml index a20fc44c6c97..2ec5ed0b7fd4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0.0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 9c922191-4320-49f0-b665-a8669bd12c2d + apim-request-id: 31f17122-c66c-48aa-a498-60b352ae8277 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:48:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '163' + x-envoy-upstream-service-time: '2563' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml index 6b843244910a..a684f6bf736e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_more_than_5_documents.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":25,"text":"The @@ -33,16 +33,16 @@ interactions: rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"negative":0.0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0.0,"negative":1.0},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/6/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 936668d6-fd1d-4b6c-9601-2057962febdd + apim-request-id: b2735082-1b7d-4476-b3c0-20b4077126d4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7 - date: Tue, 18 May 2021 17:47:40 GMT + date: Wed, 23 Jun 2021 01:48:56 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2583' + x-envoy-upstream-service-time: '5088' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml index 683e43b52a93..a0a295069b77 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_no_mined_opinions.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"offset":0,"length":18,"text":"today is a hot day","targets":[],"assessments":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 573c2156-ff1b-4c4b-b36b-ded039351c38 + apim-request-id: bf595f98-1903-494a-8f70-f527354a7980 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:48:58 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '105' + x-envoy-upstream-service-time: '2612' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml index 75caa7f1e47b..1c58132bbf67 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_opinion_mining_with_negated_opinion.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.0,"negative":1.0},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: b9b7e7bb-ca54-4472-ab76-f8dec7133ae7 + apim-request-id: 7fbfbfda-83f2-4c06-beec-d81a9488e70b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:17 GMT + date: Wed, 23 Jun 2021 01:49:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '116' + x-envoy-upstream-service-time: '5085' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&opinionMining=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml index 87179b222cc9..af4e403b09f8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 259d2b48-2e50-48ac-aed1-727c98c68754 + apim-request-id: 145f3bbc-c0ba-46fc-be07-69096cc4224c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:48:29 GMT + date: Wed, 23 Jun 2021 01:49:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '144' + x-envoy-upstream-service-time: '116' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml index de5b80ac6b06..bed9db7e1cc8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.06,"neutral":0.9,"negative":0.04},"offset":0,"length":3,"text":"one"}],"warnings":[]},{"id":"2","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.97,"negative":0.02},"offset":0,"length":3,"text":"two"}],"warnings":[]},{"id":"3","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":5,"text":"three"}],"warnings":[]},{"id":"4","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.96,"negative":0.01},"offset":0,"length":4,"text":"four"}],"warnings":[]},{"id":"5","sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.05,"neutral":0.93,"negative":0.02},"offset":0,"length":4,"text":"five"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3ca44216-4534-4fbd-b889-4a26e2a7e4e2 + apim-request-id: e695d89e-09b9-4f7e-9955-7e29bfe41689 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:47:17 GMT + date: Wed, 23 Jun 2021 01:49:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '121' + x-envoy-upstream-service-time: '93' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml index 79e045015291..fd279e251542 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_pass_cls.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.32,"neutral":0.65,"negative":0.03},"offset":0,"length":28,"text":"Test passing cls to endpoint"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 057310ee-08fc-4da9-9608-bfb65c0cd74b + apim-request-id: 40b1f15f-d3ef-42f4-a480-d8b5f2381bab content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:17 GMT + date: Wed, 23 Jun 2021 01:49:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '91' + x-envoy-upstream-service-time: '86' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml index fe08729734a6..2e7410bcaa5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_passing_only_string.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.99,"negative":0.0},"offset":0,"length":51,"text":"Microsoft @@ -27,16 +27,16 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 47e7c9b0-8b4d-4b87-99f9-9ad548fca79a + apim-request-id: 038fafb4-6a26-4d2d-8106-bfaba2257861 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:18 GMT + date: Wed, 23 Jun 2021 01:49:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '107' + x-envoy-upstream-service-time: '85' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml index c62817427948..909241aaa842 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_per_item_dont_use_language_hint.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,16 +22,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c3a90ee6-f1cb-4382-8b3f-56b464a56005 + apim-request-id: 46536c7a-a8b0-4d3b-9fef-864bc1f3cfed content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:18 GMT + date: Wed, 23 Jun 2021 01:49:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '150' + x-envoy-upstream-service-time: '77' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml index 3286abcc3cef..c3b8593fe0ff 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_rotate_subscription_key.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,18 +22,18 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 477db791-46f9-4dd8-9aec-d9d8b9c4c1e8 + apim-request-id: 40305041-9280-4d73-b1cf-e1f926a78550 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:19 GMT + date: Wed, 23 Jun 2021 01:49:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '95' + x-envoy-upstream-service-time: '84' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -47,21 +47,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: b489b8f9-8e35-4eb3-8429-20a1ba1465f1 content-length: '224' - date: Tue, 18 May 2021 17:47:19 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:49:06 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -75,9 +77,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -85,16 +87,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: c6257235-56f8-404d-be7c-c85ed362177a + apim-request-id: ffe70754-612f-4dcc-a3bc-5bab40b861d3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:24 GMT + date: Wed, 23 Jun 2021 01:49:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5097' + x-envoy-upstream-service-time: '104' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml index bbee890d0576..293429888e2a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_show_stats_and_model_version.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":)"}],"warnings":[]},{"id":"0","sentiment":"negative","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.0,"neutral":0.02,"negative":0.98},"offset":0,"length":2,"text":":("}],"warnings":[]},{"id":"19","sentiment":"neutral","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.3,"neutral":0.67,"negative":0.03},"offset":0,"length":2,"text":":P"}],"warnings":[]},{"id":"1","sentiment":"positive","statistics":{"charactersCount":2,"transactionsCount":1},"confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.1,"negative":0.01},"offset":0,"length":2,"text":":D"}],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 0fa19745-69d8-4964-91aa-588ec8ae0ac6 + apim-request-id: 9d80072d-d250-41f1-b851-450c23afc297 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:27 GMT + date: Wed, 23 Jun 2021 01:49:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2662' + x-envoy-upstream-service-time: '98' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml index 4258a50bb966..88f081f16706 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_string_index_type_not_fail_v3.yaml @@ -9,7 +9,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/sentiment?showStats=false response: @@ -17,16 +17,16 @@ interactions: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.0,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.0,"negative":0.01},"offset":0,"length":17,"text":"please don''t fail"}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: a44a7e1c-df39-4a96-bc18-38d03d06404a + apim-request-id: b85ab6c5-79a0-4edb-a8e5-308b18f3829d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:27 GMT + date: Wed, 23 Jun 2021 01:49:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '112' + x-envoy-upstream-service-time: '95' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/sentiment?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/sentiment?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml index 8b0f4810a3da..40f73cede67e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_too_many_documents.yaml @@ -15,23 +15,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: c77b5568-5a8e-4473-ab91-78d57452011f + apim-request-id: 95c50e6e-4ab0-4e7e-b682-bac9d0cf251c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:49:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml index e48eee523623..b527d2fe938d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_user_agent.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.9,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,16 +22,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 93dede40-704a-494b-8014-7eb6858e1178 + apim-request-id: eac2efec-3c9f-4254-b481-4737fa4160f4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:49:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '99' + x-envoy-upstream-service-time: '98' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml index 49e36cc20438..02f3809553e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":33,"text":"This @@ -23,16 +23,16 @@ interactions: was too expensive."}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.0,"negative":0.99},"offset":0,"length":42,"text":"The restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 543c5672-0b00-491b-8a03-6f0d0f70d7b3 + apim-request-id: a3517bec-a8e5-4a5b-9c2c-1fb010960c52 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:28 GMT + date: Wed, 23 Jun 2021 01:49:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '96' + x-envoy-upstream-service-time: '98' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml index 43004202522b..20cf601443a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.07,"neutral":0.93,"negative":0.0},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.07,"neutral":0.93,"negative":0.0},"offset":0,"length":33,"text":"This @@ -23,16 +23,16 @@ interactions: was too expensive."}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.32,"negative":0.67},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.32,"negative":0.67},"offset":0,"length":42,"text":"The restaurant was not as good as I hoped."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 11e85242-9911-4417-9e08-e50ccd63d91d + apim-request-id: f00ca1ae-8b29-494e-b35d-a4671a97ec36 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:29 GMT + date: Wed, 23 Jun 2021 01:49:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '96' + x-envoy-upstream-service-time: '81' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml index 671e22699c63..5f1a8291ddaa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_input.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,16 +22,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"neutral":0.02,"negative":0.01},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: 3c11a5c9-5ae2-4a23-960e-15a28da6f965 + apim-request-id: fe94c76a-15fc-4642-969a-f1e5c9f8b58d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:29 GMT + date: Wed, 23 Jun 2021 01:49:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '112' + x-envoy-upstream-service-time: '124' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 8dfdb7cbd1b7..ee547bea9b4b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.04,"neutral":0.95,"negative":0.01},"offset":0,"length":22,"text":"I @@ -22,16 +22,16 @@ interactions: did not like the hotel we stayed at."}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1.0,"neutral":0.0,"negative":0.0},"offset":0,"length":36,"text":"The restaurant had really good food."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}' headers: - apim-request-id: cf0958d7-8f87-4886-8fb8-cf1fbb7b006d + apim-request-id: 395d4ab2-677b-4adb-a4e2-ad29617ede53 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:35 GMT + date: Wed, 23 Jun 2021 01:49:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5109' + x-envoy-upstream-service-time: '104' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml index e3afd666d776..aca215e12309 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,25 +12,36 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"offset\":0,\"length\":41,\"text\":\"I - should take my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"offset\":0,\"length\":39,\"text\":\"Este - es un document escrito en Espa\xF1ol.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\":0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\"\ + :{\"positive\":0.15,\"neutral\":0.81,\"negative\":0.04},\"sentences\":[{\"\ + sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\"\ + :0.81,\"negative\":0.04},\"offset\":0,\"length\":41,\"text\":\"I should take\ + \ my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\"\ + :\"neutral\",\"confidenceScores\":{\"positive\":0.38,\"neutral\":0.48,\"negative\"\ + :0.14},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"\ + positive\":0.38,\"neutral\":0.48,\"negative\":0.14},\"offset\":0,\"length\"\ + :39,\"text\":\"Este es un document escrito en Espa\xF1ol.\"}],\"warnings\"\ + :[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\"\ + :0.15,\"neutral\":0.79,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"\ + neutral\",\"confidenceScores\":{\"positive\":0.15,\"neutral\":0.79,\"negative\"\ + :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ + warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: - apim-request-id: 2689fd4c-a335-4b62-b693-3ecbbbcba22c + apim-request-id: 7c56d8df-d517-44b1-b4fa-f9a37e33c813 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:31 GMT + date: Wed, 23 Jun 2021 01:49:08 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2626' + x-envoy-upstream-service-time: '94' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 89c3593623a0..954a6e365167 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_analyze_sentiment_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,25 +12,36 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"offset\":0,\"length\":41,\"text\":\"I - should take my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"offset\":0,\"length\":39,\"text\":\"Este - es un document escrito en Espa\xF1ol.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\":0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"neutral\",\"confidenceScores\"\ + :{\"positive\":0.05,\"neutral\":0.94,\"negative\":0.01},\"sentences\":[{\"\ + sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.05,\"neutral\"\ + :0.94,\"negative\":0.01},\"offset\":0,\"length\":41,\"text\":\"I should take\ + \ my cat to the veterinarian.\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\"\ + :\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.92,\"negative\"\ + :0.05},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"\ + positive\":0.03,\"neutral\":0.92,\"negative\":0.05},\"offset\":0,\"length\"\ + :39,\"text\":\"Este es un document escrito en Espa\xF1ol.\"}],\"warnings\"\ + :[]},{\"id\":\"3\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\"\ + :0.13,\"neutral\":0.81,\"negative\":0.06},\"sentences\":[{\"sentiment\":\"\ + neutral\",\"confidenceScores\":{\"positive\":0.13,\"neutral\":0.81,\"negative\"\ + :0.06},\"offset\":0,\"length\":4,\"text\":\"\u732B\u306F\u5E78\u305B\"}],\"\ + warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}" headers: - apim-request-id: 03b0570c-166a-456e-b763-afc286680b06 + apim-request-id: 2f2db7dd-d0d0-4a5a-aa6f-37fba07b3908 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:30 GMT + date: Wed, 23 Jun 2021 01:49:09 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '156' + x-envoy-upstream-service-time: '104' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/sentiment?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/sentiment?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml index b41cd1acb2c8..9cbaeab0ea9b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_dict.yaml @@ -17,21 +17,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=true response: body: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"statistics":{"charactersCount":41,"transactionsCount":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"statistics":{"charactersCount":39,"transactionsCount":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"statistics":{"charactersCount":4,"transactionsCount":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"statistics":{"charactersCount":46,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 40f0c5b3-668e-42c1-8049-4b89e9bef8de + - a8735294-44c6-4474-9ab8-26803a337d8f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:36 GMT + - Wed, 23 Jun 2021 01:54:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml index b4d94af4c922..8d23d204ff38 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_all_successful_passing_text_document_input.yaml @@ -17,21 +17,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - e6b57b43-b51c-4c4c-b7d3-4d351419d63e + - 9674be63-21e1-47fb-969e-5cfbf96f56ca content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:36 GMT + - Wed, 23 Jun 2021 01:53:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml index 26d8b8eaf169..75478f035215 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 9988a946-e296-4fe0-9a06-0e235608d648 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:53:13 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml index 05401f463a11..44082f024152 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_bad_model_version_error.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=bad&showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid @@ -24,11 +24,11 @@ interactions: For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - e2aa0897-ac1f-4c07-8ede-b2da4c150077 + - 36d2d363-e135-433b-a91f-b85fe6ac4fa5 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:53:13 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '20' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml index 2708272518fd..365ac790c378 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit.yaml @@ -763,20 +763,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: apim-request-id: - - 43623621-27d4-4968-9f4a-9cf3ea944b24 + - a5505a96-0870-4072-98e9-d14a0e891024 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:14 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml index 40c703c1c912..27278b0fa193 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_batch_size_over_limit_error.yaml @@ -728,20 +728,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: apim-request-id: - - 4cc9a7e5-e7c6-40ba-9fef-638bb511690b + - 8aed55a1-ed2c-4792-86d4-2c107f2ad70d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml index 3638b388c159..8c371c7f518c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_client_passed_default_country_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 4d6f8df9-1ae8-4395-85a5-40a8c53b7c15 + - f55fed5d-528f-4437-a5e2-4420de001c70 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '8' status: code: 200 message: OK @@ -59,21 +59,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - fcc01ceb-14a3-48d9-a831-aac951ebf994 + - c60222d2-15b5-4bb8-b9f9-0bdaf1c16f9f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -81,7 +81,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '12' status: code: 200 message: OK @@ -102,21 +102,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 2f26aa47-5eaf-4b7f-a51d-f130a5b56668 + - efc97500-8fef-44af-b635-ef27e441de12 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -124,7 +124,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2515' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml index 466efe100ed4..e18cbc380e8e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_kwarg.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":26,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - d3ea8f52-bdfd-46ee-9bd6-b3daca800c4f + - 9ad0c743-ceee-4849-bc14-70f6f8aef09c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml index 64f68d6212ba..46d729e7c55f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_country_hint_none.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 9dc48169-300f-4608-8eda-32ccb671f538 + - 0b69c846-1d60-4d43-b389-32448bbdb872 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '11' status: code: 200 message: OK @@ -55,21 +55,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - b32481bb-29aa-4366-8f29-e191a2261d2e + - 41f95415-75ba-4ffc-87c3-5defa730f182 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -77,7 +77,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '9' status: code: 200 message: OK @@ -96,21 +96,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 949d7f87-48ad-431e-bbd2-318b305a17c9 + - 95116b0a-d069-4eb3-bef0-1086cc8ec1ce content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:15 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -118,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '9' status: code: 200 message: OK @@ -137,21 +137,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 6311c0f3-46bd-4725-a679-b7abebfd06b8 + - c1e61ce1-efeb-4c7f-b127-21931edc0c3e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:53:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -159,7 +159,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '54' + - '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_disable_service_logs.yaml index a7d8c0d98f96..d9c77538ae05 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_disable_service_logs.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false&loggingOptOut=true response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.88},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 82bc66bb-b671-44a5-b7a9-28ec4525c4a5 + - 6e33f9d6-c92b-4759-8d95-c89fd4cc4b85 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:20 GMT + - Wed, 23 Jun 2021 01:53:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml index e6c7dc2a0d06..c76eac30c725 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_no_result_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - c04b9d36-48c5-4f94-a505-c36a1a6eb591 + - 04c54099-a795-4515-a631-640c80bfba16 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:53:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml index 78a46dfb573e..c1fccb34dbf0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 9b115ba2-fa85-44dc-88f3-804476da5aab + - 8abc8eaf-0588-4358-a3c1-89d54928b343 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:53:16 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml index 09c6a967d481..bfe0cae643d5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_errors.yaml @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -29,11 +29,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 08fde9bb-4323-47ee-953c-b5208a8677af + - 71570cf4-5679-455b-9e23-7df3f30e8dc4 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:32 GMT + - Wed, 23 Jun 2021 01:53:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml index ed67c96cf414..b6b0091405c8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_document_warnings.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - a31b1904-5e30-4880-8393-de8d22225ccb + - eb09e2f3-c654-493e-b2e8-c38a11ab4806 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:33 GMT + - Wed, 23 Jun 2021 01:53:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml index 337ec61bc5aa..5fa9812919d1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_duplicate_ids_error.yaml @@ -15,20 +15,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 7b68082a-739b-4006-bc08-90d7721be889 + - 8936613c-c0d5-45a0-819f-507996de3136 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:34 GMT + - Wed, 23 Jun 2021 01:53:17 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '8' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml index 80afa74ae2e5..524224cc961c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - e0ce93f0-1f4e-4c78-80ce-757fab283a71 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:35 GMT + - Wed, 23 Jun 2021 01:53:18 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml index 5e0d8de327d0..f7a78afa9e06 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_all_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -34,11 +34,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 0d48caf4-3bf6-40b5-89a8-b5f7adaa3033 + - 4e764fc0-88f9-4307-aa9f-069dedae0add content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:36 GMT + - Wed, 23 Jun 2021 01:53:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -46,7 +46,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml index e32483e17618..f25026634da2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_input_with_some_errors.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -30,13 +30,13 @@ interactions: is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - b87be773-9872-4d1f-8321-fb877a0ab3c5 + - 513b8783-f827-48e1-91d8-94e1a7ee4d3d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:47:35 GMT + - Wed, 23 Jun 2021 01:53:18 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml index a139feb4e535..830fbba9be57 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_docs.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: code."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - b817461b-3e5f-4a8f-a5d2-aee3ac9364d2 + - 83ff5a47-df03-4718-aa68-a8231841abe1 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:36 GMT + - Wed, 23 Jun 2021 01:53:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml index bc6787aa083e..96494e0498da 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_invalid_country_hint_method.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: code."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 465b2c39-3a32-4265-aa06-b2679a0d1cc3 + - 4bc48e1b-27bc-4451-b432-7cd1e0ef5829 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:53:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml index a31507c7acc7..2d9d77cea41e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_out_of_order_ids.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"56","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"0","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"19","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 06c6aa8f-2c42-47a6-b746-ba0b4d0e3100 + - e6d43075-6203-4e4c-910e-a2d164b397b3 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:40 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml index 1f8f74342afe..31aa13f202b0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.68},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.93},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.75},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.76},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 3cbf35cb-2090-4e30-b0ff-f5089d46afea + - bc161e19-24a0-4c5a-b0fc-5dd6cc6eeecb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:47:41 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml index da54ecd6675f..c01a3f0d17c1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_pass_cls.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.77},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 00bef651-c6db-434c-903d-f4503618851b + - 535d3471-604b-4bed-b252-c29bda1f70b1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:41 GMT + - Wed, 23 Jun 2021 01:53:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml index 6d844a7c375b..25cac732dd0c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_passing_only_string.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"1","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[{"id":"4","error":{"code":"InvalidArgument","message":"Invalid @@ -27,13 +27,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 39474c63-5f18-480f-8e5e-013be6b9cb9b + - 7c568f79-9035-4f0f-a66d-c22366b4c653 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:41 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml index d7e95feaf595..d53ba54ef6f7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_per_item_dont_use_country_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 8f96bc8e-0696-4625-958b-ebd33d1e345a + - 0e8593fc-c3ba-496a-b5cf-034f03543114 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:41 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml index a38af1696f78..2f044ffab736 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_rotate_subscription_key.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 94b38b46-4016-4238-a9ee-f3d33414080a + - 74a87786-d8f1-4648-974d-d7e33c404d9e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK @@ -59,19 +59,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 91747a62-8d78-4e93-8128-85394a122339 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:42 GMT + - Wed, 23 Jun 2021 01:53:21 GMT status: code: 401 message: PermissionDenied @@ -92,21 +96,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 824a76da-96fa-4295-a4bc-fc2e6ecaa28c + - 6c543f55-fff6-447d-a6d3-2d20e0730fb5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:53:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -114,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml index 10db01406a21..57f0eacb24f3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_show_stats_and_model_version.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 8c34bd46-c90e-4a68-82cb-4c6b938d6420 + - d7b5b90b-a6af-4c9b-8716-19767e16bbd8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml index 48889cd856e8..670bcc931f6a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_string_index_type_not_fail_v3.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/languages?showStats=false response: @@ -22,13 +22,13 @@ interactions: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 4f9ea240-f4be-4195-a308-ac8adf54ec3c + - ada3d184-3754-46ce-81bb-1f0c2be499b4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:53:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml index 88dcfc8ed3f2..5ae5da081dcb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_user_agent.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - d8460a8a-5216-459a-9476-559829143cde + - f5cd1e6e-6190-44a6-8575-8fcc37147896 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:44 GMT + - Wed, 23 Jun 2021 01:53:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml index 1b70d8d9634b..6817775a6afe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 49362346-f808-40f9-8662-65bf30abea46 + - 1a28feed-2b1a-41d5-a423-66d09385ae03 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:53:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml index f3eb2a189ba5..a2785ed7a083 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 5d7849aa-a3b5-4dbf-97de-f18b03516ab9 + - 7bc9d4bf-a637-4d84-8fc9-a7ac30b9739a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:53:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '13' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml index 225a42987b4a..d82da12e93a7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_dict_per_item_hints.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - a6c0ff23-26d4-43bd-a195-7e112ee97c03 + - 8e69474f-c18b-4c00-94e5-bba8017c1a6b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:53:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml index 8d0881aa55a1..3078929a63ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 88479b9e-0dc1-4476-b7fd-0d749c6ad510 + - 7d85de4f-b685-4131-b0df-7eedb4eef1ce content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:37 GMT + - Wed, 23 Jun 2021 01:53:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml index a0de34576b63..d3bd1d30c312 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_country_hint_and_obj_per_item_hints.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"4","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - aaa0207e-26ba-423d-bcbd-6bc98a3d5aa0 + - 1f541c20-fea6-4607-a085-2693d3afb69b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml index 2c9b015926c6..579374763358 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language.test_whole_batch_dont_use_country_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: apim-request-id: - - 75a9ecc8-3c41-4ee5-ac41-68fc01e7930d + - f78d889a-bd7b-4da4-9fcb-d04d1aa9585f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:38 GMT + - Wed, 23 Jun 2021 01:53:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml index 9dc929e2472b..eb57ff5f4b6b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_dict.yaml @@ -13,23 +13,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=true response: body: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":4,"erroneousDocumentsCount":0,"transactionsCount":4},"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"statistics":{"charactersCount":41,"transactionsCount":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"statistics":{"charactersCount":39,"transactionsCount":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"statistics":{"charactersCount":4,"transactionsCount":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"statistics":{"charactersCount":46,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 35620d53-8952-4790-a192-4beefa14cdd6 + apim-request-id: 74fc961a-6bc3-40bd-981f-5efc535069e6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:38 GMT + date: Wed, 23 Jun 2021 01:53:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml index 9762788fd1dc..b274dbf1f3cc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_all_successful_passing_text_document_input.yaml @@ -13,23 +13,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 45f59189-6387-49d7-83c9-4f48be342312 + apim-request-id: 5d7e7e2a-5a11-4b7e-b789-783f77d0cce8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:39 GMT + date: Wed, 23 Jun 2021 01:53:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '21' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml index 67630506ac0c..ca7dea6fa444 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 15087fa7-0194-479f-8634-a745e406e2a4 content-length: '224' - date: Tue, 18 May 2021 17:47:39 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:53:37 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml index d3c8c545abb8..cc315c667951 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_bad_model_version_error.yaml @@ -10,18 +10,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=bad&showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-07-01,2020-09-01,2021-01-05. For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: 2fd68a90-3683-4c00-95e9-33f0768d6387 + apim-request-id: 076aa900-c5d0-4bdc-a5a3-d06c900d14da content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:39 GMT + date: Wed, 23 Jun 2021 01:53:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?model-version=bad&showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?model-version=bad&showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml index d8318a53b592..5add96a8894d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit.yaml @@ -759,23 +759,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: - apim-request-id: bf9d0aed-4ca2-46ab-83f4-cdcd1aced873 + apim-request-id: a9eba860-fa3c-47f6-81ba-ddf7e6d6eb0d content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:39 GMT + date: Wed, 23 Jun 2021 01:53:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml index 698d6fe71090..58782d84e84a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_batch_size_over_limit_error.yaml @@ -724,17 +724,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 1000 records are permitted."}}}' headers: - apim-request-id: 76839bd2-041f-4ba2-9a94-ecee61bf1059 + apim-request-id: 1c904caf-4209-40ce-a0bf-4a341d36013a content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:40 GMT + date: Wed, 23 Jun 2021 01:53:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -742,5 +742,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml index af951ff5498d..0b38fda1b398 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_client_passed_default_country_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 4dd3f0c9-a307-4e51-9023-70a89fbb6ad9 + apim-request-id: 5a60d3c8-6274-4f1f-8287-5bcd0238a833 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "countryHint": "DE"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "countryHint": @@ -44,17 +44,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 08078027-a591-4558-82e1-39142cf5eb5d + apim-request-id: 83e72d60-31d8-4aef-80d0-d1815cf8ebca content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -62,7 +62,7 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "countryHint": "CA"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "countryHint": @@ -76,23 +76,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 677a5892-1d72-4f57-a88a-c6163fc6c278 + apim-request-id: e9e46a68-19d2-4fa5-bdea-a37041961d6a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:41 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml index 0d4f59260d9f..a2cbac776f72 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_kwarg.yaml @@ -10,17 +10,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"statistics":{"charactersCount":26,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 2d60f341-3723-444a-8543-fc6801b2779a + apim-request-id: 778c6805-fb78-46b2-a3f5-506449535934 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?model-version=latest&showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml index abec8fbcce9e..0976aec69597 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_country_hint_none.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 9e5c55bd-b452-49d1-8805-972fd4398113 + apim-request-id: cc74d859-d989-415d-8ef6-1212989fe138 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "1", "text": "This is written in English.", "countryHint": ""}]}' @@ -40,25 +40,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: f2e72862-cfdf-4a68-b254-ad0ea0248296 + apim-request-id: 3c48696a-638c-4a67-b41d-29c3a8b5631d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "0", "text": "this is written in english", "countryHint": ""}]}' @@ -70,25 +70,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: d72c8a24-6e5e-46dc-9d6a-d54effbe06e0 + apim-request-id: 292d9b85-be13-4ed1-aea6-ac97b4cd1184 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "0", "text": "this is written in english", "countryHint": ""}]}' @@ -100,17 +100,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 91f1dda0-bdaa-4828-8030-94be0df951b1 + apim-request-id: 80580727-f5c7-44e2-960e-f8e93dcec272 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:39 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -118,5 +118,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_disable_service_logs.yaml index 77cb570538e7..8aab418e67f0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_disable_service_logs.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false&loggingOptOut=true response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.88},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 359d5a15-fa35-4830-85e0-07e58ca00216 + apim-request-id: 6e81f673-6507-48ed-a2ec-b1ea73ff08f6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:20 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false&loggingOptOut=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false&loggingOptOut=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml index 89ca3d30a682..b776b997b61d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,18 +9,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: f3a29464-9bc5-4f21-aeda-bf377b8526a9 + apim-request-id: 3279d2b6-b858-4f76-9b99-b5b9effe6168 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml index baa6a44c2e3b..6dd04648cbd8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: c62e3a33-e194-41ff-b2eb-9a4f8c069222 + apim-request-id: aaf9ddc4-4b55-4f65-880d-8f4fd79935cd content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml index bf4adad0af68..6c92970fe368 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_errors.yaml @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -24,9 +24,9 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 362245b7-0d97-42d1-90ad-91151903d3c3 + apim-request-id: e2c05733-ae6a-4235-a9b4-7a81c6f21af4 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -34,5 +34,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml index 5ecd4a23ea40..8beec5ee1ad6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_document_warnings.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 45d65620-b81e-4298-b191-7b2b711d946b + apim-request-id: 3e321aca-800a-42a2-9d79-8abf71a9529c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml index 7b45011326a6..bff79a0d4fda 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_duplicate_ids_error.yaml @@ -11,23 +11,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 9873b335-fb5d-4b79-b22a-bd6ee65ad2bc + apim-request-id: 7fb58f1f-0126-4fd2-b75f-4d38e6681ad0 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:40 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml index 5b34dcf6d3fb..6378d0688142 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: bc0400ea-1f82-46dc-bad6-9e7d96eaab4f content-length: '224' - date: Tue, 18 May 2021 17:47:42 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:53:40 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml index 05d1b99009a6..8e7d2774925c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_all_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -29,15 +29,15 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 878795a3-6f6d-4712-8cc1-0510b596dc0c + apim-request-id: 489a5b5b-6403-483e-905d-9ee557c2f4ea content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml index c73516fc4347..10e75ad59e5c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_input_with_some_errors.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"4","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,16 +25,16 @@ interactions: in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 47105b96-1345-4dd9-9dce-e8388dc42d6e + apim-request-id: d6000c5c-1b2e-4179-b874-d36a049d13d2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml index ca4ebbe43aee..51f04591712c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_docs.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -20,15 +20,15 @@ interactions: hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 0a0e2b2a-665b-43b2-b0e5-a90abf1d11af + apim-request-id: e0eed403-0925-42b1-a791-53d62a82e1ab content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml index 5c6d31ace84f..cca2d97270fa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_invalid_country_hint_method.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -20,15 +20,15 @@ interactions: hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 6132715f-ec14-43bf-81d1-505330fed2cc + apim-request-id: a9932831-fa9d-46bc-9046-e1e41ea2ffa9 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml index ebc2cc90b28e..2e72ffb3f31b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"56","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"0","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"19","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: fe42db20-1668-46b0-975c-869135524231 + apim-request-id: 9e9e7a26-715c-4306-8cbe-7e0f6d5fbb80 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:53:41 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml index 94b5390bb5c7..8682e6a7c9ef 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.68},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.93},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.75},"warnings":[]},{"id":"5","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.76},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: e1265ae2-e8b7-4c81-9d8d-6a3060780527 + apim-request-id: 8c18ab5d-27ed-4423-bea3-c2d260d2321f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:53:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml index 15a154cfea3b..b121396199e9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_pass_cls.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.77},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: ff8b8169-7c30-4855-965f-7b0b5ca258dc + apim-request-id: df5a1de4-2e9c-4f7a-a810-63e2b2decead content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:53:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml index adbc814f3154..6630629e08ab 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_passing_only_string.yaml @@ -13,25 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"1","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"German","iso6391Name":"de","confidenceScore":0.99},"warnings":[]}],"errors":[{"id":"4","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: f847e74c-1309-45d2-9155-131cfc0b0604 + apim-request-id: 7ae81923-ae79-4b8f-8da3-ea512632cd28 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml index a890ea1ea12a..c76c45d48da7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_per_item_dont_use_country_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: b52b7cbf-45db-44f2-8879-3c3bef90550f + apim-request-id: 5fe76737-7c66-4725-a678-e1f86b9a3e59 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:42 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml index 34de5ee2d12e..e3f73151f3c3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_rotate_subscription_key.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 5b09af1b-c6dd-4c86-8b1c-6bac0fb36a69 + apim-request-id: ef05ecf9-768c-4675-92e6-c48189bbaf9a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "countryHint": "US"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "countryHint": @@ -44,21 +44,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: fd933993-5055-4833-8796-ebfb3964edea content-length: '224' - date: Tue, 18 May 2021 17:47:42 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:53:43 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "countryHint": "US"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "countryHint": @@ -72,23 +74,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 12c983ac-c1dc-43d9-a406-86c0858bc94f + apim-request-id: 6dafa3ab-7c1c-4702-acdb-fbc594b96c69 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:42 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml index 4ee4743581f7..1bcacddce7cb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_show_stats_and_model_version.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","detectedLanguage":{"name":"(Unknown)","iso6391Name":"(Unknown)","confidenceScore":0.0},"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-05"}' headers: - apim-request-id: b54e2890-f176-4b10-b9bf-123a8263e735 + apim-request-id: 6583fbd2-fb46-45eb-af8a-74f6205cc777 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?model-version=latest&showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?model-version=latest&showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml index bfde6f5b1465..0367dc1e4e70 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_string_index_type_not_fail_v3.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: cc718fe9-7646-4d74-8005-0594dfb956f5 + apim-request-id: d43ba5cc-c419-44c2-9321-9fc7f87840a3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:43 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '7' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml index 464b7401fb2d..502586c803f7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_user_agent.yaml @@ -12,17 +12,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 40d94ec9-6214-4057-b37a-29f1c441c609 + apim-request-id: f9024f86-9f71-4f9e-b9c9-850ebd37efee content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml index 6596fb6a9757..0b0c90c4d882 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: a05f9ec9-6114-40b0-bd15-2b894473db5e + apim-request-id: 5e0e3140-73ce-4582-a113-3afd9cb192dc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:53:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '6' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml index 1bdcebd99de0..a9950c03e156 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 80b53506-1ecb-4ea0-b57b-68df156d7548 + apim-request-id: 0a75082e-8c7a-4bca-b8ac-793dcf2a0bc9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml index 6646d5accf50..5735f7a05f45 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_dict_per_item_hints.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: e3b66f8e-58bf-432e-926d-76e0fc159d87 + apim-request-id: 16bca541-f978-4cd9-9641-111897be8a8a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:53:43 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml index 97c2c607613f..67c1e3c89319 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"2","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 38db0e50-adff-4e72-a88f-35550ebbcd86 + apim-request-id: d163fbdc-baf2-45a5-a284-65318724ceb4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:53:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml index 0af47dbfd490..665bea452fe2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_country_hint_and_obj_per_item_hints.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.97},"warnings":[]},{"id":"4","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.75},"warnings":[]},{"id":"3","detectedLanguage":{"name":"Japanese","iso6391Name":"ja","confidenceScore":1.0},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: 537312b5-b5a2-4674-9efa-1b3535cc096a + apim-request-id: 743b7651-8be8-44c8-9067-514968dd4209 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:45 GMT + date: Wed, 23 Jun 2021 01:53:44 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml index cd17caec3a1a..005137683690 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_detect_language_async.test_whole_batch_dont_use_country_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/languages?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/languages?showStats=false response: body: string: '{"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1.0},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.99},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}' headers: - apim-request-id: fdb5f2e7-b678-485c-ba43-96693f3c0a93 + apim-request-id: 8dd72a06-ec80-40e0-b236-e57b713ac51c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:46 GMT + date: Wed, 23 Jun 2021 01:53:45 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/languages?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/languages?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml index 80bc5ae05a84..f7cd65c8e2d6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfc.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"a\xF1o SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"a\xF1o SSN: ***********\",\"id\"\ + :\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - 221589a8-bac5-426e-a2b4-13a1cd404317 + - 40973c9d-67d2-4ec3-b822-0f247b549063 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:43 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '36' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml index fbe59ab7488b..72170054ed0f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_diacritics_nfd.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"an\u0303o SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"an\u0303o SSN: ***********\",\"\ + id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - a9b9429f-fba1-4023-a5c4-cd02144ff0c6 + - 03d0a84a-a03d-4368-a0c2-6f435f1713c1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9066' + - '35' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml index 7741d3120c38..ce9ee6ab97c7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469 SSN: ***********\",\"\ + id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - 7c48d322-7702-4f82-a38d-ba6ff53c9fc6 + - 93cb6ed3-ad92-49c2-8e3b-24101a38d452 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2529' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml index ccae43f0ddfc..8e2d8b6a47bb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family.yaml @@ -14,22 +14,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\u200D\U0001F469\u200D\U0001F467\u200D\U0001F467 - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\u200D\U0001F469\u200D\ + \U0001F467\u200D\U0001F467 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"\ + text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\"\ + :13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\"\ + :[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - c947cfaf-dcf6-4f25-832e-9c384587b12f + - 43a26a64-867e-437f-8431-3d92c6ad91ff content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml index 9d00bb3252bc..9ff88df33724 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_family_with_skin_tone_modifier.yaml @@ -14,22 +14,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB\u200D\U0001F469\U0001F3FD\u200D\U0001F467\U0001F3FE\u200D\U0001F466\U0001F3FF - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB\u200D\U0001F469\ + \U0001F3FD\u200D\U0001F467\U0001F3FE\u200D\U0001F466\U0001F3FF SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - eed4765b-abe9-41a2-9cca-c01b9925268b + - 70c79df5-d5fb-4085-939b-57a8400b2218 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '34' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml index adf957337c69..9bd033eaef32 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_emoji_with_skin_tone_modifier.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - c84ad53c-655e-47f7-9f6d-037ca890bed4 + - 24a6a5c4-50a0-47f6-b182-d500227bf598 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:54:25 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '28' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml index 1cc0fe017606..db1792dc1732 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfc.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - 3c442610-2edd-4555-ae20-9a3755ba2095 + - 5c166032-ce34-42e9-bc69-8fb9bd89e624 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:27 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml index 4fab571d30ab..6fef7a7dc5e9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_korean_nfd.yaml @@ -14,21 +14,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - 78b5def1-01cc-45bc-99b9-8b8fc6109045 + - 2cb7f763-46cc-4e00-a4b9-99a77823e8fd content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:26 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml index 7eaa418a7dea..7bb60762227c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding.test_zalgo_text.yaml @@ -14,22 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"o\u0335\u0308\u0307\u0312\u0303\ + \u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\ + \u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\ + \u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\ + \u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\ + \u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\ + \u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\ + \u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\ + \u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\ + \u0323\u0323\u034E SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\"\ + :\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"\ + length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"\ + modelVersion\":\"2021-01-15\"}" headers: apim-request-id: - - 34bbc4de-ef47-4d03-8a7c-c2bb05522d85 + - 962c56cd-7983-4b76-b704-d460cbec4aa9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:27 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '54' + - '59' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml index ef8af321ba79..0c365dc74c2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfc.yaml @@ -10,23 +10,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"a\xF1o SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"a\xF1o SSN: ***********\",\"id\"\ + :\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: 7383ba7c-c11f-4587-b3db-51a6dfb0f3ca + apim-request-id: f77edce2-ced8-40f9-9f51-0d331c5329ca content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:59 GMT + date: Wed, 23 Jun 2021 01:54:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' + x-envoy-upstream-service-time: '27' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml index ce098aaf79b9..e8990e34ad72 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_diacritics_nfd.yaml @@ -10,17 +10,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"an\u0303o SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"an\u0303o SSN: ***********\",\"\ + id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: 48906924-1754-4ea2-b8d8-874d908011cf + apim-request-id: eb951022-2ef2-49d5-b733-7dbc93298aaa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:59 GMT + date: Wed, 23 Jun 2021 01:54:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +31,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml index 3852a725b91c..10d0674ea507 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji.yaml @@ -10,23 +10,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469 SSN: ***********\",\"\ + id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: 196968e5-9628-4687-8a30-3728e360714a + apim-request-id: f4363b95-77c1-44a1-aadc-e24ea70b4c4c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:00 GMT + date: Wed, 23 Jun 2021 01:54:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '624' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml index 7b5efb70c2e7..a138f377e1fd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family.yaml @@ -10,24 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\u200D\U0001F469\u200D\U0001F467\u200D\U0001F467 - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\u200D\U0001F469\u200D\ + \U0001F467\u200D\U0001F467 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"\ + text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\"\ + :13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\"\ + :[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: 48c208b4-ed9e-4ca3-b189-12cb78f62c29 + apim-request-id: e49769f2-2216-4848-8d13-321f251acbdc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:00 GMT + date: Wed, 23 Jun 2021 01:54:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml index 2f0274095889..b1201096f274 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_family_with_skin_tone_modifier.yaml @@ -10,24 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB\u200D\U0001F469\U0001F3FD\u200D\U0001F467\U0001F3FE\u200D\U0001F466\U0001F3FF - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB\u200D\U0001F469\ + \U0001F3FD\u200D\U0001F467\U0001F3FE\u200D\U0001F466\U0001F3FF SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: f4c8a4ba-dac6-4a3b-829e-df8aabffc9bc + apim-request-id: 6be63ff9-d451-4fd8-8237-dbde120addd9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:00 GMT + date: Wed, 23 Jun 2021 01:54:29 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '28' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml index 54b179e2fb1d..79a6758b6ea7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_emoji_with_skin_tone_modifier.yaml @@ -10,23 +10,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\U0001F469\U0001F3FB SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: f3241576-a998-462a-b76c-e9e0fdb545d9 + apim-request-id: 8cb59f04-722c-4ffc-bcc4-cdc50b15b00b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:54:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '27' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml index 14143a54b5e1..c1933bff5e0b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfc.yaml @@ -10,23 +10,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: e5ed78bd-a226-4ce6-aee8-449dac9d4818 + apim-request-id: 830f12b7-5d3c-4142-85e1-7b01409fcc11 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:44 GMT + date: Wed, 23 Jun 2021 01:54:29 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '30' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml index ad9f2ba2abfe..64242928ae57 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_korean_nfd.yaml @@ -10,23 +10,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"\uC544\uAC00 SSN: ***********\"\ + ,\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\"\ + ,\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"\ + errors\":[],\"modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: a13eee0b-27df-4e92-a891-b9d98eae0e16 + apim-request-id: 15062d26-8c5a-4b10-9faf-5334013088d5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:54:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10871' + x-envoy-upstream-service-time: '5033' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml index 60825c3f3dd7..fa4f683022e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_encoding_async.test_zalgo_text.yaml @@ -10,24 +10,35 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"o\u0335\u0308\u0307\u0312\u0303\u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\u0323\u0323\u034E - SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"o\u0335\u0308\u0307\u0312\u0303\ + \u034B\u0307\u0305\u035B\u030B\u035B\u030E\u0341\u0351\u0304\u0310\u0302\u030E\ + \u031B\u0357\u035D\u0333\u0318\u0318\u0355\u0354\u0355\u0327\u032D\u0327\u031F\ + \u0319\u034E\u0348\u031E\u0322\u0354m\u0335\u035D\u0315\u0304\u030F\u0360\u034C\ + \u0302\u0311\u033D\u034D\u0349\u0317g\u0335\u030B\u0352\u0344\u0360\u0313\u0312\ + \u0308\u030D\u030C\u0343\u0305\u0351\u0312\u0343\u0305\u0305\u0352\u033F\u030F\ + \u0301\u0357\u0300\u0307\u035B\u030F\u0300\u031B\u0344\u0300\u030A\u033E\u0340\ + \u035D\u0314\u0349\u0322\u031E\u0321\u032F\u0320\u0324\u0323\u0355\u0322\u031F\ + \u032B\u032B\u033C\u0330\u0353\u0345\u0321\u0328\u0326\u0321\u0356\u035C\u0327\ + \u0323\u0323\u034E SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\"\ + :\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"\ + length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"\ + modelVersion\":\"2021-01-15\"}" headers: - apim-request-id: 855cb41a-9d23-40b5-b210-5179647442bb + apim-request-id: 988a46df-888b-48d0-8445-563ef6ef1b43 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:54:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '58' + x-envoy-upstream-service-time: '51' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml index c0d811d32d15..8d0bec9f1193 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_dict.yaml @@ -15,23 +15,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=true response: body: string: '{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 095da097-28cf-4af6-bfec-ab73545021fa + - de321d85-0552-4198-adfb-eadf90ccf312 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:54:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml index 6b471c85abc9..e8734db64fbe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_all_successful_passing_text_document_input.yaml @@ -15,22 +15,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 5c143f9d-a0a7-478c-b786-8632cf517be0 + - 9b4dd795-e983-4a56-82bf-988c1b51da85 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:54:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml index 097432cf8820..9413fa9b9060 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 5b959e15-b31b-44ef-b7a4-111360ed1d8c content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:54:47 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml index fbdff104a316..5660717362d4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_bad_model_version_error.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=bad&showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-07-01. For additional - details see https://aka.ms/text-analytics-model-versioning"}}}' + model version. Possible values are: latest,2019-10-01,2020-07-01,2021-06-01. + For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - 38060e6c-c805-458f-9474-ffb41c450d6b + - 5851a549-9ee7-4441-b9f3-357d336ab143 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml index c626d18fbe78..d062fe2bf626 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit.yaml @@ -758,20 +758,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 2c8f7c44-dcb4-4f28-ad11-4abeec009ea5 + - 8769499c-353a-4b29-b7ae-010bf7d15622 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '18' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml index c9e609c538ff..fbdf7add3b7a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_batch_size_over_limit_error.yaml @@ -723,20 +723,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - bed28535-7aea-44f4-ab56-e4cfdf16560d + - 77982c48-8622-43ec-baaf-c9d3447bebe6 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:54:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml index ecb41cfb2773..92e2995cf30c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_client_passed_default_language_hint.yaml @@ -16,23 +16,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The - restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - d99b3d30-7b5a-420f-b32b-4fc629d718eb + - a1f94bb8-4a1f-4036-8e6a-7c4e84708abc content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:54:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '21' status: code: 200 message: OK @@ -61,22 +60,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 52327d23-5a9f-40d7-9959-41fbbe6a2609 + - 29836eeb-68d0-4703-9ff3-8c27a192a988 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:54:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -84,7 +83,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '15' status: code: 200 message: OK @@ -105,23 +104,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The - restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 30b435e7-a2c9-4879-b2e8-f1d9ac8ab0e1 + - 86b7d335-cee7-48f1-b8db-87b187802215 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:54:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -129,7 +127,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '757' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_disable_service_logs.yaml index 156b3f954df6..72dead18b1b1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_disable_service_logs.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false&loggingOptOut=true response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0f72830c-0c73-442c-8fc6-318fab9c3f51 + - 27eefced-0fec-40f5-b7ad-92bbea1a8a7b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:20 GMT + - Wed, 23 Jun 2021 01:54:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '13' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml index f8821efb6c71..390edaeb8b3c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_no_result_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 7061bc1c-ded1-4e3b-a4b4-85ffa6a51381 + - e4ac6c89-abb7-40db-ae10-c032a820e820 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:54:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '7' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml index 5d6fb6c4838f..c13a6b551356 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 7f8e17d7-7053-4630-9616-c223d17b0055 + - 497ab2ae-b2d5-422f-85a9-c6887a20d23e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:54:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '6' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml index d038c4f004bf..90d4c1d36ec6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_document_errors.yaml @@ -16,28 +16,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a432a8a2-3c43-4b98-8588-32549cbcb750 + - 12dbcc94-7718-465f-a0a0-d6ea6f15455d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:45 GMT + - Wed, 23 Jun 2021 01:54:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml index 7917998c7db2..9d4ec27d9de0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - c424fae3-4e21-4efb-9f1e-3c0cbb519874 + - 01f1e4d8-8c6b-47d0-b19a-39990318c7be content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml index 8c48a7eeb196..df24a50ea746 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - e737e619-d760-4351-91a6-310994cab050 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:51 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml index 1c41566a9aa2..52936a0d4a8f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_all_errors.yaml @@ -15,24 +15,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 1a49a957-d127-4204-a537-4676b27c3804 + - a7ffa5b8-2a87-4087-9b94-bd29d122b403 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml index 2826a02f76ad..9ec1f46e5306 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_input_with_some_errors.yaml @@ -15,24 +15,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - f5481cea-72f8-4352-9f35-ffa5a82527f5 + - 4159bd2a-a247-4b28-9144-2d7e9d6eaf95 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml index aba668589fc1..2ba3887c397f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_docs.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ee491ee0-85af-4300-954c-974554be0a53 + - 2de6fe83-e8f2-4796-b7ea-f8c38cd06eb2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:51 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml index eb2eb83acac1..ae2096ba3670 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_invalid_language_hint_method.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c4612cce-57b6-4cbf-9ea6-24246f0f1ea7 + - f38e9ed8-e0df-4adc-b656-886d5233e7a7 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml index 30989f7c87d0..85adcb23b973 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_language_kwarg_spanish.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","keyPhrases":["Bill - Gates","the CEO of Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","CEO","Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 8b110b25-fbd8-4df5-a64e-4bede271832d + - d863457e-5068-40b3-aabe-8eed7f966ee1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml index 2a5b67c9ffdf..62944aa9ef1e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_out_of_order_ids.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c0818882-97d8-4cdc-9cab-96a4f00ea514 + - 8dbf7d6b-3aae-483b-991f-75a3b9793ca8 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:52 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml index 83cb409ac4bb..6de63ca5d84b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 523193df-d072-4a83-9e38-af75d54aeb78 + - 45164aaa-68fc-4ed9-8fff-1b635ea4d7e2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '2524' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml index b076ba0dbed9..15b0684d320a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_pass_cls.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ec99ee75-5c68-433a-b171-4a91390f2e30 + - 93ed2863-4729-48c1-a374-2322bbe26c9c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml index efc5b8d9e2e8..885e5bdb9fd7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_passing_only_string.yaml @@ -16,24 +16,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"1","keyPhrases":["Microsoft - fue fundado por Bill Gates y Paul Allen"],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid + string: '{"documents":[{"id":"0","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"1","keyPhrases":["Bill + Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ee4b8baa-1247-410d-8d1b-55b507e1ac48 + - 7fc4c813-bd08-42f3-92e4-1cb481238a01 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml index 829dfc0cffcc..e1a3bca64c4e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_per_item_dont_use_language_hint.yaml @@ -16,22 +16,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 07095898-544c-4955-8396-712394e2a98d + - 98aaa8c8-715d-4734-a274-5a0fbf819d0a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml index f2cb7c16f970..c218c6f1d2d8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_rotate_subscription_key.yaml @@ -16,22 +16,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 9954a725-9f30-4a7b-a378-899a4d4c199d + - e3f7eea8-32ba-4376-8fa6-076cb37bfeb4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '15' status: code: 200 message: OK @@ -60,19 +60,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 7b2ffadd-7286-41b9-95bc-4b57a87a4bca content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:56 GMT status: code: 401 message: PermissionDenied @@ -93,22 +97,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0a6af62c-2a5e-46e9-aab5-6f50c09f099d + - 9543423e-1894-43df-a7c1-0f856a293198 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -116,7 +120,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml index 38f73374a10e..65fbd1862a43 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_show_stats_and_model_version.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0798be80-b037-4cc5-93a4-d32666ed9c53 + - a8518985-ec09-4658-bbad-93303fc6c13b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml index 424a67e5f188..ed464754e4e0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_string_index_type_not_fail_v3.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - f78de0d2-f7e8-460e-ab9d-9211e5aaeccd + - e3392eeb-356c-4f10-8748-84c099d52f52 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '9' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml index afb7c94e49e9..3cf1dd8b24d4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_too_many_documents.yaml @@ -19,20 +19,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: apim-request-id: - - 664510d8-53a6-438e-b58c-5c3f9869ed25 + - c577f018-5a88-41ee-8133-be807ed55516 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml index 3ee85b12d26d..003ac29cb5df 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_user_agent.yaml @@ -16,22 +16,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a6d389c6-adb2-4907-86a3-924d3188cae3 + - c3b12b64-5401-4f0e-a097-c47ca3834f78 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml index b473d5559d5e..9a90f158b9d6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_dont_use_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 91bef3ff-3e56-4d87-82e9-e53a747ee640 + - 503ba58e-db8c-4b0d-96b8-1125016e2b61 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:46 GMT + - Wed, 23 Jun 2021 01:54:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml index c6a2e62e1575..fcc425f5172c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint.yaml @@ -16,23 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["This was the best day","my"],"warnings":[]},{"id":"1","keyPhrases":["like - the hotel we stayed","It was too expensive","I did"],"warnings":[]},{"id":"2","keyPhrases":["as - good as I hoped","The restaurant was"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 1607ac51-f5d4-4052-b215-870735251201 + - a61d8081-de51-4c6c-8762-7374f691cf13 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 1e1b70e20073..05b357a098cb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,23 +16,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - cf443195-fa7f-4620-8c54-a003fdc7f160 + - 6a2a49c8-d53a-447d-81ad-621d7fe1eea1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:47 GMT + - Wed, 23 Jun 2021 01:54:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +39,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '13' + - '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml index 2ed1bd83a469..74bd53dcb8bd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,23 +16,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"should take my cat - to the veterinarian\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"Espa\xF1ol\",\"Este\",\"un - document escrito\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"cat\",\"veterinarian\"\ + ],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"Espa\xF1ol\",\"document\"\ + ],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u305B\"],\"warnings\"\ + :[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: apim-request-id: - - 90f2b508-5333-4a5a-a682-bc7aa45d4152 + - 1a95e431-9ae0-4671-aabe-b32efbf3f0f0 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index cc5adff3fb47..0be2b5726af8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,23 +16,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"I should take my cat\",\"the - veterinarian\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"document - escrito\",\"Espa\xF1ol\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"cat\",\"veterinarian\"\ + ],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Espa\xF1ol\",\"document\"\ + ],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u305B\"],\"warnings\"\ + :[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: apim-request-id: - - 7422cf86-d373-430a-b9d3-98542271d633 + - 7d8450a7-ce06-4874-827a-7835109d3bab content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:48 GMT + - Wed, 23 Jun 2021 01:54:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '18' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml index c88d0a317ac1..edd01e86b4bb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_dict.yaml @@ -11,25 +11,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=true response: body: string: '{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":50,"transactionsCount":1},"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","Paul Allen","Microsoft"],"statistics":{"charactersCount":49,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: d89d1d8f-d9d4-4332-be4b-19e0787f4caa + apim-request-id: 3702af00-c961-4ab8-8357-a2b21b67b4f2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:54:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml index d08e1e94d8a5..0641220a5dcf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_all_successful_passing_text_document_input.yaml @@ -11,24 +11,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill - Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 09dd5f17-31e8-4820-8c54-94b0109de6a7 + apim-request-id: e8242fc8-3eb0-4dc4-95ca-50c652b41c23 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:54:59 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml index 7dc7049b5629..51ca42f16d94 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 0474ba8a-a120-46d0-a30c-923c8c9e1b0f content-length: '224' - date: Tue, 18 May 2021 17:47:49 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:55:00 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml index 08b1fde2ce0c..3eab491b791d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_bad_model_version_error.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=bad&showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=bad&showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-07-01. For additional - details see https://aka.ms/text-analytics-model-versioning"}}}' + model version. Possible values are: latest,2019-10-01,2020-07-01,2021-06-01. + For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: a39eb2d8-8072-4706-a7d8-f79d01aad886 + apim-request-id: 4b66461b-dc10-4e54-a4b4-28076d4043e4 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?model-version=bad&showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?model-version=bad&showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml index a04d6fe48537..b0a18588d338 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit.yaml @@ -754,17 +754,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 35e6be55-58f8-42c1-a9de-18c468353eba + apim-request-id: 7898061f-0c3c-40ea-ab2f-3606d0381982 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:46 GMT + date: Wed, 23 Jun 2021 01:55:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -772,5 +772,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml index 24c8359a8f37..d8bd638f9f5b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_batch_size_over_limit_error.yaml @@ -719,23 +719,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 443beb52-bcda-4f27-b845-31c2d965d54e + apim-request-id: be9ebd6e-ab8b-4da0-8bd7-a72cc3557df1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:47 GMT + date: Wed, 23 Jun 2021 01:55:00 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml index 026ecd6b3e0f..62b09f80c310 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_client_passed_default_language_hint.yaml @@ -12,27 +12,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The - restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 32534878-b029-4503-9412-62c5ee25383b + apim-request-id: 43d6f3f1-ae1b-4629-8779-f2fbd72dc6f3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:47 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -46,26 +45,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: d2a9471c-1283-4002-82bb-4272498cf09f + apim-request-id: 56a114ec-695c-44f5-a73c-6dff92b530b6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:47 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '14' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "es"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -79,25 +78,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["The - restaurant had really good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: fac4dff2-c228-4a9f-bf6f-f1c46fd831c0 + apim-request-id: bcb8a871-bb8a-4bd6-a6fa-94e97ebc6a2e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_disable_service_logs.yaml index 22a8c854a1ee..44b4c958988e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_disable_service_logs.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false&loggingOptOut=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false&loggingOptOut=true response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["Test","logging"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 0b74b06e-756a-4d84-b28e-16ab89196097 + apim-request-id: 1ccbc6a7-391d-4c62-bcb0-c3a524640637 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:20 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false&loggingOptOut=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false&loggingOptOut=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml index 0824d9862319..da88ddbe467d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,18 +9,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: a979d204-e885-470b-85d9-2aa8e39720a7 + apim-request-id: e680e704-73a6-4931-af08-273b6aacb1c6 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:55:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml index 2f48c605313b..a5ac8c2c32fc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c864b462-e082-48d1-8d07-b1ad0771614d + apim-request-id: 5547366f-4bd1-40bb-8ef5-703d55072d30 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '6' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml index f98be444fbdc..1826cd31de27 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_document_errors.yaml @@ -12,31 +12,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-07-01"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 7c56d741-51b6-4f74-a97b-8d38a6e44ec3 + apim-request-id: c30461ae-a323-4b49-9914-5e0b462915ab content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:55:01 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml index 645b29a8de42..ec6b58b1044d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_duplicate_ids_error.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 83372b4a-01b6-4629-822e-42e9f0de5056 + apim-request-id: b5065cbe-d14b-4f2f-98b3-8fdbd5c7e211 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml index d8eab6e718bf..8f28b60d4e2b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 81b86298-b21a-48f4-a1da-713defffedc5 content-length: '224' - date: Tue, 18 May 2021 17:47:50 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:55:02 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml index 87755439d464..fba15e0b5b44 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_all_errors.yaml @@ -11,21 +11,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 5148b534-945e-4f9d-bc50-06504cfe3c5e + apim-request-id: 2a6ade0b-1ca0-4422-8685-5fcb5ae784e1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -33,5 +33,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml index fd239c72e07c..ae369633f6df 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_input_with_some_errors.yaml @@ -11,26 +11,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: fe78b966-c84d-4b05-a4e9-f0c9b6eae63e + apim-request-id: 7f26a9cf-2d2b-4fab-b085-54babb3faefd content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:02 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml index 45f9fdff5426..6fec3d4b43ed 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_docs.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 63fa767b-32b3-43df-acd9-7cac87ab9803 + apim-request-id: 40165b15-61be-4123-8472-bceed263ef47 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:51 GMT + date: Wed, 23 Jun 2021 01:55:03 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '4' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml index 42f310b8141d..c9cdef422b50 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_invalid_language_hint_method.yaml @@ -10,19 +10,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. - For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}' + language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. + For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: b5acc28b-822f-4849-a2eb-1d772a573b5b + apim-request-id: b8c4fa8f-cae0-42bd-bd30-b361c17960e8 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml index 231b671d4c6d..126be927d712 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_language_kwarg_spanish.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","keyPhrases":["Bill - Gates","the CEO of Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + Gates","CEO","Microsoft"],"statistics":{"charactersCount":35,"transactionsCount":1},"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 620315f4-47c9-4ba8-a554-52d339fc08cb + apim-request-id: 8fb12f56-7997-4ea9-9a38-7959ef0a4d65 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:03 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml index 19e696016c7e..7b78c0dad5e5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 72870296-cce3-4742-8e6c-38b0400392f1 + apim-request-id: 0c6cfded-c0e4-4daf-b810-6bb1409ca4d6 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml index 5b334f9ea5eb..fc5ff63fd904 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 166cfc13-d628-4b8e-bfd7-bf3ea7356627 + apim-request-id: c2753d95-06fa-49c4-a3b4-97723a883914 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml index f4de12444e91..1f218eb890d4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_pass_cls.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["Test","cls","endpoint"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: b6608f62-cbdd-444d-94ad-d85e36e3bac0 + apim-request-id: 85864ec2-520d-41aa-8cb9-d8028c917cfa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:04 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml index 18d3c07a10b0..a603c0fd35e2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_passing_only_string.yaml @@ -12,26 +12,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"1","keyPhrases":["Microsoft - fue fundado por Bill Gates y Paul Allen"],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid + string: '{"documents":[{"id":"0","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"1","keyPhrases":["Bill + Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 1a6be832-23aa-43c1-90b2-c54b81a99213 + apim-request-id: 2821a4cd-a1cc-448f-86b4-1ffc1759e400 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:47:48 GMT + date: Wed, 23 Jun 2021 01:55:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml index 8021054de08b..06adaafa8cf0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_per_item_dont_use_language_hint.yaml @@ -12,24 +12,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e788fd3d-f0fb-46e4-9908-620acc6879a6 + apim-request-id: a64c5fa4-40fc-4207-868e-c10e379d33da content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml index e7e4c6d34fde..bcc426a1930f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_rotate_subscription_key.yaml @@ -12,26 +12,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: b6193027-3106-4c5b-9f1a-e147077f6948 + apim-request-id: 8b41b087-3247-4a44-a730-763e41ab2178 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -45,21 +45,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: e7cb1344-6ee7-4fbf-8351-34a67885a1bf content-length: '224' - date: Tue, 18 May 2021 17:47:49 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:55:05 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -73,24 +75,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 75b72656-b7ba-47e9-b88f-bae9dc811aed + apim-request-id: 4b7438c5-2f0d-4649-a34e-9ea78e12537c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml index 5ad42b13deb3..f3aa5c4a96cf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_show_stats_and_model_version.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-07-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: bca33d72-311d-4199-a0d5-b3ffc1de900f + apim-request-id: 240508fc-01ce-4e1f-afaa-4bd71870adae content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:05 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?model-version=latest&showStats=true + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?model-version=latest&showStats=true version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml index deb7db2b9346..200175608bd7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_string_index_type_not_fail_v3.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: ce0cb229-b98b-4cff-b65f-86c414512659 + apim-request-id: 1a07b7a0-9806-4326-972b-06bad938bc49 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml index 374501ecb09f..4c18a10d8e17 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_too_many_documents.yaml @@ -15,17 +15,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}' headers: - apim-request-id: 9463a3cd-dab1-493e-a7b2-0e9a0f6a1e6e + apim-request-id: e84399a3-85a2-460d-b28d-a09982fafbdc content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -33,5 +33,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml index 0eac9207a7bf..d21b07a17344 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_user_agent.yaml @@ -12,24 +12,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e11454d4-be59-4422-9e7b-decf898d13b6 + apim-request-id: 80a368ab-c0dc-4fa0-a4a1-f072f5d80ed3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml index 4555ed87cb3c..413d22f98a39 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: fe706317-abcf-4dcc-bfb3-f60814ec113d + apim-request-id: 62030c65-29c5-43dd-bcd9-e57866e8b592 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:51 GMT + date: Wed, 23 Jun 2021 01:55:06 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml index eb9d8519ee75..932838c0f1b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint.yaml @@ -12,25 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"0","keyPhrases":["This was the best day","my"],"warnings":[]},{"id":"1","keyPhrases":["like - the hotel we stayed","It was too expensive","I did"],"warnings":[]},{"id":"2","keyPhrases":["as - good as I hoped","The restaurant was"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: db4922e5-4fbb-4289-82d2-490f26d90ff8 + apim-request-id: e407e9f0-b7f2-4291-b572-939bde4b10e4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:52 GMT + date: Wed, 23 Jun 2021 01:55:07 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 1a7aa604a1e5..66dc16da37d3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,25 +12,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: '{"documents":[{"id":"1","keyPhrases":["the park","I will go"],"warnings":[]},{"id":"2","keyPhrases":["I - did not like the hotel we stayed at"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good - food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}' + string: '{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good + food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c72f41af-3f5c-470b-b24c-1e1c0b836123 + apim-request-id: 94855660-5ddc-4e31-9945-14222ed849e2 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:51 GMT + date: Wed, 23 Jun 2021 01:55:11 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '5020' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml index 2d63f6658c4f..e37521ed95eb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,25 +12,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"should take my cat - to the veterinarian\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"Espa\xF1ol\",\"Este\",\"un - document escrito\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"cat\",\"veterinarian\"\ + ],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"Espa\xF1ol\",\"document\"\ + ],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u305B\"],\"warnings\"\ + :[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: - apim-request-id: d1f0db4f-439c-47f1-b73c-027b71f49337 + apim-request-id: 34e00e9e-69df-420c-a56e-e9dad7269379 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:49 GMT + date: Wed, 23 Jun 2021 01:55:12 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '13' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 985c9af20f03..317adce0abf7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_extract_key_phrases_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,25 +12,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/keyPhrases?showStats=false + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/keyPhrases?showStats=false response: body: - string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"I should take my cat\",\"the - veterinarian\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"document - escrito\",\"Espa\xF1ol\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u732B\u306F\u5E78\u305B\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}" + string: "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"cat\",\"veterinarian\"\ + ],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Espa\xF1ol\",\"document\"\ + ],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"\u305B\"],\"warnings\"\ + :[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: - apim-request-id: 798b8a6e-06c0-4b81-b6f8-2fe1674c9b2d + apim-request-id: 0525bb1d-499c-4699-bdb9-37793c51ba88 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:50 GMT + date: Wed, 23 Jun 2021 01:55:12 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '11' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/keyPhrases?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/keyPhrases?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml index 73b180a2f90e..5562af99e7dd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_dict.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":68,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill @@ -30,13 +30,13 @@ interactions: April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 300e2bfc-0b2c-484b-8beb-d83b33163cbb + - eb066337-5555-4a3a-9422-fed8dd11336f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:55:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5023' + - '2585' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml index 255f4751697d..c265fdc93118 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_all_successful_passing_text_document_input.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill @@ -30,13 +30,13 @@ interactions: April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: apim-request-id: - - 75aaa5f6-918e-4db3-8c30-0b7408a55778 + - 74329fde-c17a-47bf-96d9-818866b5be0b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:55:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2753' + - '59' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml index f19ce2e2282e..c11da8b55760 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - b33eb5f2-f7b0-49e3-99a0-bf83f52ec17d content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:55:45 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml index 56aa9931b70e..6b5b8894a5a2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_bad_model_version_error.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2021-01-15. + model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2021-01-15,2021-06-01. For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - d99325c7-2485-454d-97db-65780b4cd9f9 + - c194298a-9206-4113-93cd-318d6532a876 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:55:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml index 125a92fb68da..27237d09bd30 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit.yaml @@ -758,20 +758,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 074e008e-88a7-4a3e-a0dc-f2824beac30d + - e21070e5-7463-4942-ad94-fb76cd0b93aa content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '11' + - '17' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml index f81570dc4f9b..32002fb750fa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_batch_size_over_limit_error.yaml @@ -723,20 +723,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 6034636f-0373-4945-bc1c-5fab6775abf1 + - 965ec9cf-3235-481c-8397-5f52176638fa content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '10' + - '11' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml index e01c60ed7457..86381c05a083 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_client_passed_default_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 311d7fdb-ec89-4919-8f61-aeff042d81c5 + - de00cf4d-e467-4f4a-817f-6bcdd69901e9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '25' status: code: 200 message: OK @@ -59,21 +59,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 3862bc31-d6c3-4271-9ae3-402d1daad32f + - d2034ffe-a85d-42cb-936e-6988e1ab4e19 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -81,7 +81,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '32' status: code: 200 message: OK @@ -102,21 +102,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 079472eb-4f2c-440a-a5e8-24c0ea251727 + - d31cfebf-a026-4f27-a2f7-9e6bb6850e4f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:55:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -124,7 +124,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '27' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml index daa89190e9b2..f458d7a20727 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a7cc428a-f7fc-4d67-aeb5-eafd5976badc + - 36b44506-3634-48c3-b938-f3da3a35868f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:49 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '17' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_disable_service_logs.yaml index d7ef9e9564a9..b3bed398bb8f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_disable_service_logs.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c2d15609-53ea-4844-8b7a-0e06dd315270 + - 6826975a-e55d-4fef-8ea9-533451a049c1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:20 GMT + - Wed, 23 Jun 2021 01:55:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '21' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml index 6c05a3777ac1..e3c0eabc5c13 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_no_result_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 45c755bf-7a7b-4249-a4bb-ee0fbe717842 + - 69692ed2-f906-46dd-a103-5a257e9917aa content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:50 GMT + - Wed, 23 Jun 2021 01:55:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml index 47df7b50c50d..e84594ec26f7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 164b0304-1a92-4918-b56b-181d0c2a9c7b + - 10bde98c-f5e2-4a2b-8088-3d144b1a0df4 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '1' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml index 9d67027046aa..4ebc50380ba9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -30,14 +30,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-15"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - d71c11e4-1af9-4e32-896d-4528b7771479 + - 4b2a25cf-3f33-40d5-b7a1-b98179bbebc2 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml index ba88d3e1b96b..a1ac96764075 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_document_warnings.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a75a5392-179c-4b02-ba6f-ad595c4411db + - 86d0a324-f05a-43ef-a3a6-a4e08d4a8258 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '31' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml index eef23c03aa68..249dd9173a5b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 578acfe9-575b-4a3a-918e-2e8f7fba4683 + - 6ee30ba4-78b2-46c6-8dde-c5e49ecdcf4a content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '7' + - '6' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml index 3273bb157129..053e7c8a8de9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - beecd629-2adc-4453-b44f-753710e979be content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:55:48 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_explicit_set_string_index_type.yaml index a8cb3f941c8a..2839e2a66c5e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_explicit_set_string_index_type.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a592da6c-c32a-46a4-84ae-be90a006a41f + - 4395e950-2772-445e-b279-9b42128621f9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:55:48 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '21' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml index 60aa83216d6c..b869a249f971 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_all_errors.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -26,14 +26,14 @@ interactions: language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 3e4ba6d3-bee3-498c-9680-982345a86dd6 + - 39eebaf5-551d-4921-a5f5-4f417b1333ac content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:55:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -41,7 +41,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml index 376dbf59cdef..dd3e6e4bb86c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_input_with_some_errors.yaml @@ -15,29 +15,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April + string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - f1407882-2a8d-442f-8fc6-d06303c1a6e1 + - 8e82f879-7b56-4d26-87d8-c3a403d45355 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:55:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '32' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml index b8c349919311..9c36e3fd4f2b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_docs.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 05f75d7b-5aec-4f9e-a431-b691d672f638 + - 2ff90c61-5b7e-405c-a979-3550210a6440 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:55:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml index 84421c8adae5..38b91379cc9d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_invalid_language_hint_method.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ad05b4e9-d8dd-4c85-a97f-8ed6dcb606a2 + - b5da3e60-d45e-4486-83c8-601c2389f77d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:55:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml index 4da7908e4118..74d5742ae7e4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_language_kwarg_spanish.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"text":"Bill - Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.95},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.97},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 1cd6b78f-cfcb-49ec-aef7-c45847d0bdb6 + - 532461aa-8a70-405b-a26e-327f55419651 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:56 GMT + - Wed, 23 Jun 2021 01:55:49 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml index aa44cb4b9c2b..208e64496b21 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_no_offset_v3_categorized_entities.yaml @@ -14,23 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - e21c3dd2-773f-486e-bfed-914d3c9ae32c + - 2f6cd96d-ff9b-45c2-9d82-3bf4599e1987 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:55:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml index ea2f75034149..9cf86f58c7a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_offset.yaml @@ -14,23 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 9b7ad8d3-56b1-4d01-b81f-a454b8817a95 + - b0454b01-f18d-4791-b55f-73c363edb8e6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:50 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '23' + - '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml index 468728dd0822..8bf70cba16f4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_out_of_order_ids.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 24bb183e-2e3d-49d4-8fb1-af2e0628e657 + - fe1147ab-b1d2-43e4-a2e9-46c63535ab1f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:51 GMT + - Wed, 23 Jun 2021 01:55:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '5026' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml index fb77bd2623de..067370d3e95a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ddacd536-249d-4ba3-8fd1-1c689853db24 + - 35044f57-a2ee-45d0-b5c4-15ae2f8370ac content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:56:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '7530' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml index d4f2ed8d167a..21d184c56a2a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_pass_cls.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Test","category":"Skill","offset":0,"length":4,"confidenceScore":0.97},{"text":"cls","category":"Skill","offset":13,"length":3,"confidenceScore":0.82}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 188990e2-669f-4444-a149-aa4fff67144a + - 42ec349d-a918-4ccc-ada3-f0dd66d25be4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:56:03 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml index 1e5519330551..7a50d2221023 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_passing_only_string.yaml @@ -18,31 +18,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April - 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April + 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":53,"length":1,"confidenceScore":0.8},{"text":"1975","category":"DateTime","subcategory":"DateRange","offset":67,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.92},{"text":"4","category":"Quantity","subcategory":"Number","offset":19,"length":1,"confidenceScore":0.8},{"text":"April + Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":53,"length":1,"confidenceScore":0.8},{"text":"1975","category":"DateTime","subcategory":"DateRange","offset":67,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":19,"length":1,"confidenceScore":0.8},{"text":"April 1975","category":"DateTime","subcategory":"DateRange","offset":22,"length":10,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[{"id":"3","error":{"code":"InvalidArgument","message":"Invalid + Allen","category":"Person","offset":52,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 7e1c0c83-d1f0-46bc-b3c5-50c02cc6c2c5 + - 101d78cb-aad8-40c0-b535-b8f7ab703319 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:56:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -50,7 +50,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml index f54111be3297..233d473534fc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_per_item_dont_use_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 68dcb940-b5e0-40c1-8490-e9786d878970 + - e71d2ece-05b3-477e-9441-f178d2003484 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:56:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml index c4b36e4a80d9..bb7c8550912d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_rotate_subscription_key.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 9f3c6aa0-7490-4206-b276-d3a95004574c + - 19cafe72-6b72-40e6-9be1-7c724f331b8a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:04 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '35' + - '25' status: code: 200 message: OK @@ -59,19 +59,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - ac29570a-0fc6-4509-ad37-037fd8d57d00 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:05 GMT status: code: 401 message: PermissionDenied @@ -92,21 +96,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c8f3b425-bd71-4eaa-9457-1a2b6318c1fc + - eb1a52ce-ad50-4d75-b002-f9780fcf5f53 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:05 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -114,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml index eb6ef7f42a37..acbbf8bf694f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_show_stats_and_model_version.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c94bfc97-0d80-459f-b009-5b468e077532 + - f7454105-bafd-402c-9dbe-663accd76ec5 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:56:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '2530' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml index 1e3041bb0625..4f97306c26aa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_string_index_type_not_fail_v3.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c73c9ba6-c076-4c94-9f89-1099a60d9add + - be039b83-0364-44c0-adb5-02c66de48156 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:56:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '19' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml index c6f2a58e0b50..4354728ecea2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_too_many_documents.yaml @@ -16,20 +16,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - abf9ec0c-469d-4b4a-a22f-34c874328a99 + - 774c66ab-98d7-48c7-b753-e27947777bc5 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml index ad98990acfa7..a33d5b3a045f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_user_agent.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c01399df-3ba2-473b-9c1d-d621d68f9970 + - e60deb2f-eebe-4524-a815-3a749194537c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml index 10fd39aff43d..88508876fe3d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_dont_use_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 45f2e487-3af6-449b-883d-72e0d79b40fb + - 40dfae8d-6466-4c3c-a884-05fd9be0f3fb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:55 GMT + - Wed, 23 Jun 2021 01:56:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml index 43a41f3e704e..2276170efc5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 73898c1b-ddec-41e5-81c5-fbdb86fc18f3 + - 964b2dc4-cd62-461e-a90b-b01e8b3c8105 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:56:08 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 68969d02fcac..2419420de8b8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 9d711fe6-24fb-4157-8092-4bb8b48aee3e + - 3c397299-562f-41f9-b6be-df99d15e29aa content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:52 GMT + - Wed, 23 Jun 2021 01:56:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '25' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml index 16f2de238f9c..001e2f3f456b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,21 +16,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"veterinarian","category":"PersonType","offset":28,"length":12,"confidenceScore":0.97}],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\"\ + ,\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\"\ + :1.0}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"Espa\xF1ol\"\ + ,\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"\ + warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\"\ + :[],\"modelVersion\":\"2021-06-01\"}" headers: apim-request-id: - - 2922485a-1385-47c7-960b-d050826e862f + - c47b09a9-cb76-4653-8253-fb0173f92d49 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:53 GMT + - Wed, 23 Jun 2021 01:56:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '29' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 128495dcd44b..bfaf83037fbf 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,21 +16,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"veterinarian","category":"PersonType","offset":28,"length":12,"confidenceScore":0.97}],"warnings":[]},{"id":"2","entities":[{"text":"un","category":"Quantity","subcategory":"Number","offset":8,"length":2,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\"\ + ,\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\"\ + :1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"un\",\"category\"\ + :\"Quantity\",\"subcategory\":\"Number\",\"offset\":8,\"length\":2,\"confidenceScore\"\ + :0.8},{\"text\":\"Espa\xF1ol\",\"category\":\"Skill\",\"offset\":31,\"length\"\ + :7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\"\ + :[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: apim-request-id: - - 7d0d5277-6cbb-44f1-91b8-f9ea2b8118f4 + - 62e1fee2-1ab5-4397-82d2-ae507df8d3d7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:54 GMT + - Wed, 23 Jun 2021 01:56:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '32' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml index 97d042ad4e6f..665178c7e177 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_dict.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"id":"1","statistics":{"charactersCount":68,"transactionsCount":1},"entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill @@ -25,16 +25,16 @@ interactions: de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","statistics":{"charactersCount":73,"transactionsCount":1},"entities":[{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 363e35c0-d084-4e49-954f-87673d159b9e + apim-request-id: a17b64f8-2534-4272-8aef-b3af1f508464 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:53 GMT + date: Wed, 23 Jun 2021 01:56:15 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '71' + x-envoy-upstream-service-time: '5101' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml index 53906831d08c..169126b023d3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_all_successful_passing_text_document_input.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill @@ -25,16 +25,16 @@ interactions: de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' headers: - apim-request-id: 8a168093-0003-4ee6-b813-ddc56aa517bc + apim-request-id: cda4fac1-9bb5-4ac3-b17f-d9034063e9f9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:18 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2629' + x-envoy-upstream-service-time: '2532' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?model-version=2020-02-01&showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml index 40ac6e95dd1a..e9d4bc4e5ec9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 645588ff-22d9-4563-88bf-ddfe541e360d content-length: '224' - date: Tue, 18 May 2021 17:47:57 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:18 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml index f872372c9c1d..994877414142 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_bad_model_version_error.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2021-01-15. + model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2021-01-15,2021-06-01. For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: a8b1b4f2-5e17-4ee6-be20-619ce6676ecb + apim-request-id: 66604457-ae42-414f-9992-1cfc744c8376 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:18 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '7' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml index fdc9856d14ff..f7ca0192ca59 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit.yaml @@ -754,23 +754,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: f75057d2-2947-472a-8dbe-376141280360 + apim-request-id: c9c83771-6370-4a0d-b575-ebbe7e47c40c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:54 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '12' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml index 2c718236fe49..9356501eccaa 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_batch_size_over_limit_error.yaml @@ -719,23 +719,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 19c7067f-a3de-4464-85a0-2b41993b71cd + apim-request-id: 9db31fb3-8c15-47c0-8c7d-3327ae681213 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '9' + x-envoy-upstream-service-time: '11' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml index 7ada7e2ad8d4..bb4038c28fab 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_client_passed_default_language_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: a0b8b1bb-962c-42b4-9e33-e2f71c6b5e29 + apim-request-id: c84da324-12b4-4444-81e3-a841070e1022 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -44,25 +44,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 45e81c2e-23d6-4fa7-bcaa-d3ac3171ade5 + apim-request-id: 4346225d-2d45-4a0f-bfb1-4ff04d1dabf8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "es"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -76,23 +76,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: f4907670-462b-4646-8cd2-6110e23ee598 + apim-request-id: 3347d743-e4cd-4098-ba8e-208e82908a08 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml index ada50e53b16a..fcfd4d22bda4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: ef2593d8-791c-4748-bdb8-747618c9b28f + apim-request-id: a769420e-a79c-4254-a973-361d20f2ad29 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_disable_service_logs.yaml index bc87a2481f1f..4f66163c0209 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_disable_service_logs.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"logging","category":"Skill","offset":9,"length":7,"confidenceScore":0.61}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c8486b2c-c12b-4e20-b756-ec0ed877132a + apim-request-id: 9b40863d-e033-483e-afc0-f5eb6648489d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:21 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml index f25f52cf6388..8eeccbb129f1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,18 +9,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 10d7fe23-ba71-4f0e-918d-6bdb9e5f1968 + apim-request-id: 54ea48ea-cec7-426b-a36a-39e1fbf1956c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:19 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index fdfea7525721..e244a7d33b78 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c5992d43-cee5-4ea7-9132-4eddf87c1103 + apim-request-id: abcbd85b-d7aa-454c-8e4a-c789b668dc0f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:20 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml index bf056034674f..7023f30d37f9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -26,17 +26,17 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-15"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 391a74fc-c195-4853-9eb6-b7f736463884 + apim-request-id: 2146fe96-16f1-45d4-ba8e-e62bdba4eb92 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:53 GMT + date: Wed, 23 Jun 2021 01:56:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml index e1aa6ca5dea8..d0a608d142c5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_document_warnings.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 14841f53-7a98-4db5-a380-e836ccf36b13 + apim-request-id: a4969cde-40b0-4c77-b519-a1866f058a7e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:54 GMT + date: Wed, 23 Jun 2021 01:56:20 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml index 0edee452147e..5726327ab1a9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_duplicate_ids_error.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 76c02ea0-85bb-443c-b082-51bc5b6a7330 + apim-request-id: 0591d5f9-fe9e-47cc-afea-2d334bd5930c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '6' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml index da268a437e6c..1582e12244cd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: c20f51bf-6d3c-44ed-a9ce-ef428f85b683 content-length: '224' - date: Tue, 18 May 2021 17:47:55 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:20 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_explicit_set_string_index_type.yaml index cefa3f85cbe9..53d583953f0a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_explicit_set_string_index_type.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 956f4d92-44d3-45ca-9057-0613fa4c2ecb + apim-request-id: afa87155-3814-4cff-b414-829a9a81e25c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=TextElements_v8 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml index 83ad7d0c042f..af908caf765d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_all_errors.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -22,17 +22,17 @@ interactions: language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 48978f04-953a-49ea-9831-86fd5a4296b7 + apim-request-id: 6b40c186-a1e8-40c8-ac72-55b56ce13d09 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml index 680097172f9b..d9d9fa410763 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_input_with_some_errors.yaml @@ -11,31 +11,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April + string: '{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e08a3be7-d721-49a8-a0de-b5474266e07f + apim-request-id: ef6426e4-450b-455e-969a-ceba48f015e1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml index acc6e9e68115..b30517b15d42 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_docs.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 8a7e2776-109a-4015-8e6e-38624282bcd8 + apim-request-id: 68d9c12c-d7f2-4c19-857e-a5bc07d2480f content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml index 93466aee2af7..f98254290f17 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_invalid_language_hint_method.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. - For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' + For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: feb29fd6-672c-4399-8c9a-01fd0c29ad8f + apim-request-id: 2828514c-f43b-47c0-bf87-eaa1c023b014 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml index beb55e44bf11..d37c3f53bbe0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_language_kwarg_spanish.yaml @@ -10,18 +10,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"text":"Bill - Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.95},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.97},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: f06a69f2-3043-48e1-b7a9-7e4a15b1c6ad + apim-request-id: c87b7813-26af-4942-85a0-512cee8d70a3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml index b3eab8ef5ab7..0437d1fd7bc0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_no_offset_v3_categorized_entities.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: f3a2e445-a991-46c3-913c-edb2264e95db + apim-request-id: aa583994-1324-4f15-bdbc-9c643852626a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:55 GMT + date: Wed, 23 Jun 2021 01:56:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/entities/recognition/general?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/entities/recognition/general?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml index fd7caa6a5909..b2add55e9de4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_offset.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c62ce769-c326-4512-837d-407dc51dad00 + apim-request-id: 3fe8682c-f1a6-4a7c-b3e8-da105bb5e1f5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml index 0d47334c9bba..d968bcba1ac3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 130fd5bb-e719-47ab-b386-c17e9dfd7410 + apim-request-id: c90c597b-c598-4e1b-b3e8-be1dec59f3a4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:28 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '5031' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml index 5d3b4ac0d7e2..ab5870d2baa9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 94ca5516-7f89-45ed-b08e-e813a66d9066 + apim-request-id: 9409ae79-e40d-4df7-94f6-a1aeb8ff25bc content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '5031' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml index dac9753833cb..19a58cb85547 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_pass_cls.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[{"text":"Test","category":"Skill","offset":0,"length":4,"confidenceScore":0.97},{"text":"cls","category":"Skill","offset":13,"length":3,"confidenceScore":0.82}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e41225ef-8c1f-495f-99f8-98aa0d881f0f + apim-request-id: efb27d08-74da-4cf3-a5ab-fa3d744044d9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml index dc1b74e60d6e..af9bc4258c2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_passing_only_string.yaml @@ -14,33 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill - Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul - Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April - 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill + string: '{"documents":[{"id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill + Gates","category":"Person","offset":25,"length":10,"confidenceScore":1.0},{"text":"Paul + Allen","category":"Person","offset":40,"length":10,"confidenceScore":1.0},{"text":"April + 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1.0},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":53,"length":1,"confidenceScore":0.8},{"text":"1975","category":"DateTime","subcategory":"DateRange","offset":67,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.92},{"text":"4","category":"Quantity","subcategory":"Number","offset":19,"length":1,"confidenceScore":0.8},{"text":"April + Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":53,"length":1,"confidenceScore":0.8},{"text":"1975","category":"DateTime","subcategory":"DateRange","offset":67,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.99},{"text":"4","category":"Quantity","subcategory":"Number","offset":19,"length":1,"confidenceScore":0.8},{"text":"April 1975","category":"DateTime","subcategory":"DateRange","offset":22,"length":10,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1.0},{"text":"Paul - Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[{"id":"3","error":{"code":"InvalidArgument","message":"Invalid + Allen","category":"Person","offset":52,"length":10,"confidenceScore":1.0}],"warnings":[]}],"errors":[{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: a4985f11-3631-4170-a405-1344963fba15 + apim-request-id: 8201b337-6148-4b8c-a6c1-3130753fd222 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '30' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml index 09e51825f401..33afb105ab8d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 10abb819-b29a-4e8c-a86e-4ad6aa17992a + apim-request-id: 856fe5cd-2f93-4c7b-8cfd-b325220bf58a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml index 2316e0ae8194..9957b694a6a2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_rotate_subscription_key.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c1da820b-9b6a-4520-a4e3-0a1cc4d340db + apim-request-id: 0e380fcd-9258-4040-9ed1-9d601eeea538 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '25' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -44,21 +44,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 2f4ecbdd-584f-4ed7-8440-ef0990ba24ce content-length: '224' - date: Tue, 18 May 2021 17:47:58 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:34 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -72,23 +74,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c6eb72d5-5d96-48ac-8d70-773cea96fa08 + apim-request-id: 19316d7b-528e-481b-8135-1cebb08c5f7a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:59 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml index 9ca60e546f19..2fe4f6275134 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_show_stats_and_model_version.yaml @@ -12,19 +12,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2021-01-15"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: fd857864-df82-491a-84fd-519a627dcaa6 + apim-request-id: 4f903be8-0709-421c-bfce-f4ade1e47dbf content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -32,5 +32,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml index e750e23d6d0f..ab4b657c9bc4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_string_index_type_not_fail_v3.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/recognition/general?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e1cc0f70-62f6-4de9-8408-c42b49528861 + apim-request-id: 55b8a09c-f511-4365-b591-15a4c3faa062 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:34 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/entities/recognition/general?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/entities/recognition/general?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml index 24ca956af718..5b6e1e09735b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_too_many_documents.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: d222ff68-5f9f-45c6-a435-c954f9bcdf9f + apim-request-id: 49349f1c-ab25-4cd2-8f42-7f4ffddd4005 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml index 122440c0f3bd..e4646132d7ce 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_user_agent.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 6a2ad51d-315a-4052-a5ab-9fda0d51930c + apim-request-id: 5a6dc562-fd43-4237-90ad-3f533ecbe9d9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml index 5f8103cc8076..c72041ec6ab9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c8083b92-1d5b-4413-8a31-91060982e19e + apim-request-id: 0fe1c6be-db15-476a-901b-1ed26dd02f30 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '27' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml index 26a737025f0c..d2093d9ccaed 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 01ebaba1-47a2-4f35-97d0-576636052a28 + apim-request-id: b60ce6b8-f980-4bb6-a286-bd8f519780e1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:59 GMT + date: Wed, 23 Jun 2021 01:56:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 197ccf069ff4..f73deb796ce1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: '{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 4ca8a790-974b-4ed4-91bf-33d97b10324f + apim-request-id: 907dc6e8-0bfc-4c39-986e-ce4c8b77672b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:56 GMT + date: Wed, 23 Jun 2021 01:56:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index 0956b2375542..3d4c40f8092b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,23 +12,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"veterinarian","category":"PersonType","offset":28,"length":12,"confidenceScore":0.97}],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\"\ + ,\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\"\ + :1.0}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"Espa\xF1ol\"\ + ,\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"\ + warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\"\ + :[],\"modelVersion\":\"2021-06-01\"}" headers: - apim-request-id: 41802a52-5163-4faf-b4de-35435e39f134 + apim-request-id: 60b6b330-22a3-4677-88dd-e1a1ae9dacf3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:57 GMT + date: Wed, 23 Jun 2021 01:56:35 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 95b6b3dd01cf..2d28d8eda814 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,23 +12,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[{"text":"veterinarian","category":"PersonType","offset":28,"length":12,"confidenceScore":0.97}],"warnings":[]},{"id":"2","entities":[{"text":"un","category":"Quantity","subcategory":"Number","offset":8,"length":2,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' + string: "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\"\ + ,\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\"\ + :1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"un\",\"category\"\ + :\"Quantity\",\"subcategory\":\"Number\",\"offset\":8,\"length\":2,\"confidenceScore\"\ + :0.8},{\"text\":\"Espa\xF1ol\",\"category\":\"Skill\",\"offset\":31,\"length\"\ + :7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\"\ + :[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}" headers: - apim-request-id: e35f5fc7-0a0e-4eeb-a42e-51726c3647b8 + apim-request-id: da75be3f-b3e8-4da3-8b25-f1a6da38c158 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:47:58 GMT + date: Wed, 23 Jun 2021 01:56:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/general?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml index ddf89164364a..372a9077c8fd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_dict.yaml @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","statistics":{"charactersCount":50,"transactionsCount":1},"entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -28,16 +28,16 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":26,"length":10,"confidenceScore":0.37}],"language":"es","id":"Bill Gates","url":"https://es.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.9}],"language":"es","id":"Paul - Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 04b35fa8-2b6c-4760-ad3d-527a9ba72933 + - 763fa96b-b47d-4cc6-a4b3-e69aceffcecb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:36 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2536' + - '21' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml index a001075c34f1..73fd9171dc98 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_all_successful_passing_text_document_input.yaml @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -28,16 +28,16 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":26,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.55}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 34d35ad7-1c5d-4933-9ef4-8e7bc6fadf95 + - 43f34225-b815-44b3-83ec-d24b060a869a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml index 1fa61a012530..37853d1be072 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 14985bba-f4aa-4ef6-a060-a070b1dc07d4 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:37 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml index e6839fe86489..a7a364e3d726 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bad_model_version_error.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-02-01. For additional - details see https://aka.ms/text-analytics-model-versioning"}}}' + model version. Possible values are: latest,2019-10-01,2020-02-01,2021-06-01. + For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - 7f5f902b-426c-4dca-a5c5-2ed8cac51c7e + - 8e8614ce-105d-45eb-b63f-994b1d8b594a content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:56:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '14' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml index 5abe225b5426..37f6b1920465 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit.yaml @@ -758,20 +758,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 9966e053-6244-4c9d-b2da-8af018f86721 + - 7462c74d-d8ab-4292-abf7-155426c4f90b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:57 GMT + - Wed, 23 Jun 2021 01:56:37 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '12' + - '10' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml index a8cf583dcac2..4244945e0f5c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_batch_size_over_limit_error.yaml @@ -723,20 +723,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 60286ee8-b59d-471a-960e-3468048970cf + - dbaf85aa-a12d-4878-9e75-22ba45d62a89 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:56:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml index fd5356854410..9cc29b2e27fe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_bing_id.yaml @@ -14,25 +14,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 5a6fa7f0-c574-479e-9a9b-0f346ee40282 + - 7b457b3e-97b2-4b7e-b8ef-b249cc5deb10 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:38 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2528' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml index 2cfec891d796..7363f2279ae8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_client_passed_default_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 60067a42-5da6-400d-95a8-c2f111148d80 + - 490a7438-3e20-4918-80e8-4ee4d92c00d3 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:56:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2642' + - '46' status: code: 200 message: OK @@ -59,21 +59,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - ff6955b3-8233-4a73-9c40-4733d11a493d + - 7be51909-8ffb-449b-b9db-a1f30721fa50 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -81,7 +81,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '434' + - '9' status: code: 200 message: OK @@ -102,21 +102,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 14138630-299c-4e94-847a-68d1739be35d + - 53af8fe3-ab0f-459d-abbb-6dd6ad83180b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -124,7 +124,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '251' + - '142' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml index 726b2a012fec..622cf7bb978a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -13,23 +13,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"7b4d3717-77ab-39ff-d8ec-1c7fd8723bd2","name":"\"Hello, World!\" program","matches":[{"text":"Hello world","offset":0,"length":11,"confidenceScore":0.03}],"language":"en","id":"\"Hello, - World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 84b28787-b103-437e-8271-84c2a7331878 + - 2243b66b-cdb1-4c17-87b9-1011c43665d2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_disable_service_logs.yaml index ba2be930fbaf..026714d7686e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_disable_service_logs.yaml @@ -14,23 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a7b11e27-5b63-19a5-b4dd-37b71149ecac","name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 19ffd805-0a57-4d18-bd7b-365b39644052 + - 03ba5b84-12c6-4678-989e-9f3f1c5e2fac content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:27 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '16' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml index 9e6c23a77c31..d1fbb693fd8c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_no_result_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 3117d4fd-f2dd-416f-8ebb-1603fcaf99cf + - f3d7d782-9536-4823-b5e9-76f7aeef5b0d content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:39 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml index 5f127ffa10de..f663772ca876 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 7d731ebc-eff7-4c4f-8c1d-a8c22f2c108c + - bb4be158-7a6e-43f1-b288-1960a2b5647b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml index 0a8b071154f6..c63ff778906a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -29,14 +29,14 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-02-01"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 3b41355e-1239-4cc9-8b8c-195a562fa398 + - e3fe1b5a-b3f3-40ad-87a6-49bb81c665b8 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:02 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml index 794069147c25..1c1e2e2f4196 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_document_warnings.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 372e70d8-5165-4651-9cc7-919e713c19b0 + - 3e993546-08e0-4c95-9f06-7cc0cea4b075 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:02 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '18' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml index 51fd0965d006..28bf4d996007 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 2d9a3f4c-92bb-47ae-ab74-82bb6debe04c + - 2a4594fa-71aa-40db-b4aa-2b13bbdf5ae3 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:58 GMT + - Wed, 23 Jun 2021 01:56:40 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5' + - '9' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml index 036e2afad48c..25c6a14bfe90 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 70646939-3fa4-4a92-be1f-39e80780a134 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:56:41 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_explicit_set_string_index_type.yaml index e9e4cef57c53..efc8a6e6b0d7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_explicit_set_string_index_type.yaml @@ -13,23 +13,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"7b4d3717-77ab-39ff-d8ec-1c7fd8723bd2","name":"\"Hello, World!\" program","matches":[{"text":"Hello world","offset":0,"length":11,"confidenceScore":0.03}],"language":"en","id":"\"Hello, - World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0d895675-c03f-4c16-9343-6dbf818902d9 + - 79e30273-8980-445b-9086-cf6040e936b7 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '689' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml index f4ce0f9f402b..7f0fb412dd58 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_all_errors.yaml @@ -14,23 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - c7bbfcde-c1dc-4179-b41e-1e5e957a9774 + - b8c68049-84b3-41de-bee9-8f282d4df292 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:41 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml index 1b7bae700e96..f0109638f009 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_input_with_some_errors.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"2","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.38}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -25,16 +25,16 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.9}],"language":"es","id":"Paul Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0e884f90-8355-4bea-b1f8-18829795f508 + - 60f2f38a-aecb-4ad7-8353-d0283295c46c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '34' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml index f2764c1cfdd2..e1408ca71aa9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_docs.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - aa322ea1-7a12-4980-af00-085d06c18a81 + - c5f15e38-1cb2-4cec-8d7c-a6e2dafde568 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '9' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml index 5e743c84af57..76f2f7b69c19 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_invalid_language_hint_method.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 068068c7-39ee-491c-b843-315d6b6f1ee8 + - accf2452-d87b-470f-a57b-f642714b3afe content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:56:42 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml index 14b7b92d1e6a..863f17dc8611 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_language_kwarg_spanish.yaml @@ -14,25 +14,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":0,"length":10,"confidenceScore":0.38}],"language":"es","id":"Bill Gates","url":"https://es.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"cf5db860-9fd2-390d-0b6d-5ba856efed49","name":"Director ejecutivo","matches":[{"text":"CEO","offset":18,"length":3,"confidenceScore":0.22}],"language":"es","id":"Director - ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 489a5823-df92-44b9-af31-2d737732121c + - ee3fd0a5-6406-4fdc-bb3c-cd8058a2c647 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:47:59 GMT + - Wed, 23 Jun 2021 01:56:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml index 74f797015e21..ad9996c93ad5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_no_offset_v3_linked_entity_match.yaml @@ -14,7 +14,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: @@ -23,16 +23,16 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 4c759fa9-4219-4bfc-b321-956aa88b20c5 + - 902c666e-ed9c-402b-bd57-829368d8ebfe content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '383' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml index 5fe3e10a569e..58f25352fa04 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_offset.yaml @@ -14,25 +14,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 458a1359-c684-4d78-a5fc-d0874d5c056d + - ba5d5253-8d00-40da-9882-c8319f62e987 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '1308' + - '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml index e37fdf09569a..078b13ff744b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_out_of_order_ids.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - eb10796d-353a-43dd-8a20-6dbdf222d3a4 + - 4455fa3f-446d-4cc4-b5d1-4caa83cdd7fb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:56:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '5026' + - '16' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml index 5c523cd5a0ec..2b78d813d89d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 0c8d256b-1ab2-4232-9db1-2ce82f584efc + - 935ce379-8353-477f-a1d6-789f37f5ab34 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:56:43 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml index 0a171a503878..21f8f7205992 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_pass_cls.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 835d7017-e9c5-4f8c-ad26-284f1d5996a7 + - 1bc26ad5-068a-4e69-b322-cc55da0ac50a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:56:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml index 7a8625fcf371..7651d52bacf5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_passing_only_string.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -31,16 +31,16 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.55}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 2fc9b602-5535-4175-92f2-eec3dc9a1a7c + - 3ba3a9dc-c908-4905-8413-4373d681df2b content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 date: - - Tue, 18 May 2021 17:48:02 GMT + - Wed, 23 Jun 2021 01:56:44 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -48,7 +48,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '12' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml index 37cbba8b86bd..72a2cb4bbb5a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_per_item_dont_use_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 8ef0d07b-a698-40d7-8739-2cf605c1eb64 + - 62ce60d9-bd7f-4813-a755-2524c86fa3dc content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:02 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '14' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml index b0d6f9cf0864..210dfc8c226c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_rotate_subscription_key.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 3b5e6037-75b5-416f-92cd-745277967067 + - 79987801-b308-4c1a-9e72-fc21ad572512 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:03 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '22' + - '10' status: code: 200 message: OK @@ -59,19 +59,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 0708e91d-11a2-4dcd-ac11-7c78496c0efb content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:48:03 GMT + - Wed, 23 Jun 2021 01:56:45 GMT status: code: 401 message: PermissionDenied @@ -92,21 +96,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - a0505187-9fc6-44e7-be64-fba86b500638 + - 416e3e81-1a61-4f09-a551-612f5ba14efb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:03 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -114,7 +118,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '35' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml index b930f5d6403a..b71f7ee39984 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_show_stats_and_model_version.yaml @@ -16,23 +16,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - e09bae60-c072-4b3c-ba97-af621aabde39 + - bd3c1405-31ba-4fce-b001-ba5fdcb5e3a4 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:48:03 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '19' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml index 2914e4ca58fc..8b344492c708 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_string_index_type_not_fail_v3.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - be33bf19-eecb-4354-8d7c-5be50138662a + - 9a7068f3-7c7b-4b4f-93f3-971d56378ca3 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:00 GMT + - Wed, 23 Jun 2021 01:56:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '17' + - '8' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml index da72d19d3490..82244960f859 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_too_many_documents.yaml @@ -16,20 +16,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - c70630ba-67ec-47cf-95c6-1a6b631bfe20 + - 7c2b324f-1bc6-405a-971d-ff698cf73db6 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml index dc7690f4c117..8524ae219e18 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_user_agent.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 2a07626c-9df8-4c24-a9ae-75839d42d38d + - 81724f89-96bc-422d-894d-9724c882f7e9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:02 GMT + - Wed, 23 Jun 2021 01:56:45 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '11' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml index 03a6c72712e6..90fcf9aba3d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_dont_use_language_hint.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - f44516e7-aebf-43f2-952c-ee507c2dfbed + - acb9e603-f7f9-425a-aeba-76877d70313f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '10' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml index 8c7eb6411cb0..c4c2a0043dc6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -27,14 +27,14 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 754c5261-3916-4d37-86a4-4bcfaa65cda4 + - e94d6c35-6392-4aeb-ab1d-b9fc88e98527 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:01 GMT + - Wed, 23 Jun 2021 01:56:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '4' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 271de03be139..c75a14a0f5af 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - b6bd9fba-e2da-4628-b911-803e7acc1b27 + - 83f2dbbb-1aae-4604-8dc5-8a4c617785af content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:04 GMT + - Wed, 23 Jun 2021 01:56:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2522' + - '20' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml index 999bea0d88fd..77959b502448 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -27,14 +27,14 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 446e33d3-469f-4db7-b1e8-edf12b931f97 + - dedf978a-2efe-4129-ba98-ad0e59af9250 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:46 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index c243e4320c4f..10295f04ee1e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: apim-request-id: - - 506e3b30-76ba-4a6f-b64c-55e6f466be8e + - c8e741c3-43fb-4211-ae48-de245d53596f content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:47 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '313' + - '15' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml index b0c02f07bd53..332e61c90a43 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_dict.yaml @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":2,"validDocumentsCount":2,"erroneousDocumentsCount":0,"transactionsCount":2},"documents":[{"id":"1","statistics":{"charactersCount":50,"transactionsCount":1},"entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -24,18 +24,18 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":26,"length":10,"confidenceScore":0.37}],"language":"es","id":"Bill Gates","url":"https://es.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.9}],"language":"es","id":"Paul - Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 3f44ed55-2913-4346-b757-f53e95a005d4 + apim-request-id: 00159acc-2281-4689-b045-a8d1b56b2820 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:48:05 GMT + date: Wed, 23 Jun 2021 01:56:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml index 402eb49680fc..f8de81a05109 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_all_successful_passing_text_document_input.yaml @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"1","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -24,18 +24,18 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":26,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.55}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 3bbc3336-67a2-44ce-b865-53b70f2a5780 + apim-request-id: 48a9ec0a-e6eb-4de2-987e-a7f6c589123c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:48:01 GMT + date: Wed, 23 Jun 2021 01:56:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml index a7534a5c40b1..d21c02ca8580 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 0f67294f-19ba-4092-9202-119f55e5d70e content-length: '224' - date: Tue, 18 May 2021 17:48:01 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:47 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml index 0db832cdd9de..cce331847236 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bad_model_version_error.yaml @@ -10,18 +10,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid - model version. Possible values are: latest,2019-10-01,2020-02-01. For additional - details see https://aka.ms/text-analytics-model-versioning"}}}' + model version. Possible values are: latest,2019-10-01,2020-02-01,2021-06-01. + For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: 99587f8d-5fd2-4f7f-8727-481505e56a79 + apim-request-id: 151ce8d7-8d45-4a17-8b70-582a340f583b content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:47 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml index ee809d462d55..8f2fc2c38ee6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit.yaml @@ -754,23 +754,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: b9da4d74-e36f-41f6-8d3d-cca64178b0e5 + apim-request-id: 2159ce09-6068-43a0-8953-0f292f3abd5e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '8' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml index 60d5dfe88ec8..c70202a229f5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_batch_size_over_limit_error.yaml @@ -719,23 +719,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 199fdfff-9cb6-4c68-8f63-7af272822134 + apim-request-id: 6910b85f-b8aa-433f-a2f2-d0428dfbc7bc content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:01 GMT + date: Wed, 23 Jun 2021 01:56:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '10' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml index 3f3345db75dc..d37bc73f735c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_bing_id.yaml @@ -10,27 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 296a6ef3-e814-466f-90b8-eb78179a358e + apim-request-id: 42e1e17e-928b-4222-b9a7-64f5d011106b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:48 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml index 0f476ae4027c..bd8cee311ef2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_client_passed_default_language_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: f99f9e9a-27e6-48c5-bf5d-f98800c8ea62 + apim-request-id: e41913c7-78f8-4934-8a98-ec5632e7b81c content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '57' + x-envoy-upstream-service-time: '30' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -44,25 +44,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 60faca40-f861-4e72-a097-2f33372d6fed + apim-request-id: 411d7470-8685-45d6-9cc1-191dde3e369d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '14' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "es"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -76,23 +76,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: baef9ea6-ce59-45a6-9394-793a388b1bdc + apim-request-id: 544e0734-a049-470d-b0bc-c06f244dbd5d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '42' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml index 08c1a58dcbcc..0cbf85aa2563 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -9,25 +9,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"7b4d3717-77ab-39ff-d8ec-1c7fd8723bd2","name":"\"Hello, World!\" program","matches":[{"text":"Hello world","offset":0,"length":11,"confidenceScore":0.03}],"language":"en","id":"\"Hello, - World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: dbfd21fa-9d7a-429d-914c-76cf57e68eae + apim-request-id: 53efd4e2-5978-4176-ae0a-1495275e2327 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_disable_service_logs.yaml index d5fad90a4f6f..95272b140469 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_disable_service_logs.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a7b11e27-5b63-19a5-b4dd-37b71149ecac","name":"Test (assessment)","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.04}],"language":"en","id":"Test - (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + (assessment)","url":"https://en.wikipedia.org/wiki/Test_(assessment)","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 3d1b14ec-b73e-4ea5-a83f-0fd182fe1696 + apim-request-id: 0464f531-6db1-4886-840b-cdc4ba099999 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:47 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '16' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml index e9a1ecb2b669..85518396114a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e6242804-f270-40fe-a42b-dc03eec76404 + apim-request-id: fee4d2b5-e69f-4c7c-b888-30d859521dc5 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:01 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index 6f0c62a70ec9..f4b963c341ba 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 56d489b4-dcdf-4d17-a35e-c951e8edeeb8 + apim-request-id: ca382b94-acbe-4f5f-a20a-80c2f411bdca content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:49 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml index 0db5dad7b92b..c7de000a2a3f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,17 +25,17 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations - see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2020-02-01"}' + see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 4554cb51-c53f-45b5-9648-5fef2fd7a050 + apim-request-id: fce13e76-0e16-4b66-b8a0-507096930417 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml index 1b1d2c06f467..4aef9eba02d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_document_warnings.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 915f2d62-cba8-4ff7-a5e0-d88ac009e06f + apim-request-id: a86ce639-f7b3-4194-8575-3ab9970738ce content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '15' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml index 671eebb85e12..0e7fea984410 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_duplicate_ids_error.yaml @@ -10,17 +10,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: 46fbe9f7-20d6-414b-8811-1b8a54d21e8f + apim-request-id: 136b567d-8c36-4d39-892c-1be52907bc87 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml index 95a9b04e84d8..b5768402ceca 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 4c3ea74c-b1d1-43a7-b744-04b47aba47a3 content-length: '224' - date: Tue, 18 May 2021 17:48:02 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:51 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_explicit_set_string_index_type.yaml index db83da2c8106..a18bb95d8cac 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_explicit_set_string_index_type.yaml @@ -9,25 +9,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"7b4d3717-77ab-39ff-d8ec-1c7fd8723bd2","name":"\"Hello, World!\" program","matches":[{"text":"Hello world","offset":0,"length":11,"confidenceScore":0.03}],"language":"en","id":"\"Hello, - World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + World!\" program","url":"https://en.wikipedia.org/wiki/\"Hello,_World!\"_program","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 400fb256-bff1-40ea-a6b5-057f927d5bea + apim-request-id: f434331d-7b9f-4eed-ad92-b7ce46951fc9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=TextElements_v8 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=TextElements_v8 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml index ca7d8272bd1b..e4310692371a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_all_errors.yaml @@ -10,20 +10,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 05cac4d6-ec0d-4c29-b2df-c36540cab324 + apim-request-id: b22b31b1-add4-480b-91f1-7d2bd9ef7242 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -31,5 +31,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml index 1006cc8f9055..7a8d6ce292b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_input_with_some_errors.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"2","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.38}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -21,18 +21,18 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.9}],"language":"es","id":"Paul Allen","url":"https://es.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: a8da490d-155b-4843-83b8-74bbd5474674 + apim-request-id: b4f5067b-5da0-4581-a55d-4d461865373f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:02 GMT + date: Wed, 23 Jun 2021 01:56:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml index 181204f83e1a..b34412c32321 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_docs.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: d52ca70b-8b8c-4616-846f-69f80d53eeb3 + apim-request-id: d3e694cc-d28c-4cd6-826a-f0916c002eba content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:50 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '3' + x-envoy-upstream-service-time: '2' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml index 7377c91802d1..b1ab3b6c8c21 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_invalid_language_hint_method.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 0ef75642-d71d-458a-9c80-6b50e778d768 + apim-request-id: dcfc82e2-80be-4e51-8e34-dae214cccdbe content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml index 867c828e0f7c..638d6e288831 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_language_kwarg_spanish.yaml @@ -10,27 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":0,"length":10,"confidenceScore":0.38}],"language":"es","id":"Bill Gates","url":"https://es.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"cf5db860-9fd2-390d-0b6d-5ba856efed49","name":"Director ejecutivo","matches":[{"text":"CEO","offset":18,"length":3,"confidenceScore":0.22}],"language":"es","id":"Director - ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + ejecutivo","url":"https://es.wikipedia.org/wiki/Director_ejecutivo","dataSource":"Wikipedia"},{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":25,"length":9,"confidenceScore":0.3}],"language":"es","id":"Microsoft","url":"https://es.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 68b7fd08-611d-4dc2-81a1-0eaa15ec0f68 + apim-request-id: af86b6ea-1e4d-4c82-8070-9c17c49b1838 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '16' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml index 06081e717776..0a9a96ea44ec 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_no_offset_v3_linked_entity_match.yaml @@ -10,7 +10,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: @@ -19,18 +19,18 @@ interactions: Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 18606478-9a0b-4e1b-bb22-f5cf36206e83 + apim-request-id: 8f8809a1-f372-4ec9-9d8d-9c87100ae0b8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:51 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/entities/linking?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/entities/linking?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml index b1653947b9b7..d8c0f13daf08 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_offset.yaml @@ -10,27 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill Gates","matches":[{"text":"Bill Gates","offset":25,"length":10,"confidenceScore":0.52}],"language":"en","id":"Bill Gates","url":"https://en.wikipedia.org/wiki/Bill_Gates","dataSource":"Wikipedia"},{"bingId":"df2c4376-9923-6a54-893f-2ee5a5badbc7","name":"Paul Allen","matches":[{"text":"Paul Allen","offset":40,"length":10,"confidenceScore":0.54}],"language":"en","id":"Paul - Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: a8d8cf72-2327-404d-92c6-48920d660962 + apim-request-id: 1f41e0cf-0bec-47b2-b07d-ca0466bcf004 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml index 734d108a33e3..4b01de3801d4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 8bdffa4b-5108-409a-a0c1-5e5cc4de5644 + apim-request-id: e0a7edf3-1a5c-4718-ac36-7b72f5f24e20 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '18' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml index 8574a2d4d814..787626fa07e6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 3c26f503-9f0e-4339-b3c2-bdd3aac4efd3 + apim-request-id: b2d9e3d8-0609-484c-bb84-da79689d365f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml index 9aa096e0def2..9258be86c639 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_pass_cls.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[{"bingId":"9d84a0ad-fb96-8089-b2e7-9bdb0ee2551e","name":".test","matches":[{"text":"Test","offset":0,"length":4,"confidenceScore":0.02}],"language":"en","id":".test","url":"https://en.wikipedia.org/wiki/.test","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 9ca95031-9d75-4558-8d5b-dd92560d7f6c + apim-request-id: 85bcc3f0-3fe5-4221-b0ee-feb21f9fef86 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '17' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml index 6a815bb098dd..65763ba1c1e7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_passing_only_string.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"id":"0","entities":[{"bingId":"a093e9b9-90f5-a3d5-c4b8-5855e1b01f85","name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.49}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"bingId":"0d47c987-0042-5576-15e8-97af601614fa","name":"Bill @@ -27,18 +27,18 @@ interactions: Allen","matches":[{"text":"Paul Allen","offset":39,"length":10,"confidenceScore":0.55}],"language":"en","id":"Paul Allen","url":"https://en.wikipedia.org/wiki/Paul_Allen","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[{"id":"2","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 572ea775-75e8-4106-a6a4-76f1ac1091d0 + apim-request-id: 55b04664-f6a6-44f6-99a0-809ad0beade8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=2,CognitiveServices.TextAnalytics.TextRecords=2 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:52 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml index 84c526680678..a418e1198539 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 7097041e-49fc-4080-b895-c66457a700d8 + apim-request-id: 5d4fe493-62b4-4169-affa-3119e2b4560a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '11' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml index f9c1c331d712..87e48cea49f1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_rotate_subscription_key.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: f5703d41-42fb-47d2-a5d6-bf36291bef0e + apim-request-id: f1f862b8-0eb9-4811-82ff-a1eba32d78c1 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:03 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -44,21 +44,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: d9bb95f4-37c7-4b5c-8e1a-d6dce732f65d content-length: '224' - date: Tue, 18 May 2021 17:48:03 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:56:53 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -72,23 +74,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 1db9a493-c42f-46ed-8eaa-3e4e80918497 + apim-request-id: f585a58f-a4a2-4b96-8711-80a0f6cc95c5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '8' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml index dcb3f998f30f..291cb3e7130f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_show_stats_and_model_version.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document - text is empty."}}}],"modelVersion":"2020-02-01"}' + text is empty."}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 4435f3ae-f290-4506-8b8a-acf4c2bcbf00 + apim-request-id: 7c4742e4-abe9-4be6-afac-5e6a02dd2710 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '9' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml index 345646194f65..674f40cdfa95 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_string_index_type_not_fail_v3.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.0/entities/linking?showStats=false response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 9ee26455-f799-4b61-9803-2207f76b0dc8 + apim-request-id: d80389a1-4c45-4316-8812-6e28deec699b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:53 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '10' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.0/entities/linking?showStats=false + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.0/entities/linking?showStats=false version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml index f9263a38c0c6..bfb1c7a4613d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_too_many_documents.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: f6581498-1034-4968-aec1-1c4d30a92b40 + apim-request-id: e0ba54bb-f138-4340-8e67-fd5e27eda7f5 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml index 1f3c3a3d2ebd..e4d9ecb808c7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_user_agent.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: fa6e5e22-a9d7-4966-b940-41e4c0aac35f + apim-request-id: 7232209e-80e1-4041-86e3-a257950c93b7 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '18' + x-envoy-upstream-service-time: '12' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml index 724addc9f0d1..a9ba0cf958b1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: e474b238-3805-442b-a633-05084d4aaa9f + apim-request-id: 2053ff8c-6e78-4ee1-b6c3-524a2022a7ba content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '20' + x-envoy-upstream-service-time: '13' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml index 769683c63165..bd05d2a65d88 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: cca7edd4-0c8a-4632-bfc6-61fdc52eef58 + apim-request-id: 3617b8fb-cb66-4e1e-a12f-ea84a0f61341 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:04 GMT + date: Wed, 23 Jun 2021 01:56:55 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -35,5 +35,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 93f34cfb55b0..3f00493cb021 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: c31c61a4-549d-4f24-a8a4-2393c85d67d0 + apim-request-id: 3da92197-0a36-44ad-84d7-f2cf452fe431 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:56:54 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '5042' + x-envoy-upstream-service-time: '17' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index f7db3b43da35..a2959dbc5c49 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid - language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}' + language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 38e96f63-b4cb-4b5f-87d7-f4065398f037 + apim-request-id: 04dcddca-b09d-461f-90ed-0cf20a6e9ca8 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:10 GMT + date: Wed, 23 Jun 2021 01:56:55 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -35,5 +35,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index 5c73c8ed4095..eed697d64c24 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_linked_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}' + string: '{"documents":[{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}' headers: - apim-request-id: 3cc6f027-1154-4a72-9ecd-c12dc91f3b85 + apim-request-id: 47ffd863-c5d1-4930-a5b3-9b248894c6f9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:13 GMT + date: Wed, 23 Jun 2021 01:56:55 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2522' + x-envoy-upstream-service-time: '15' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/linking?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml index c16e782c1b62..4cc7a6f07484 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_dict.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My @@ -28,13 +28,13 @@ interactions: 998.214.865-68 your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 8b51300e-b4f6-435f-be78-96f9da5c8ee6 + - b2c933ef-141d-4a68-bc29-50e2d28672b9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:04 GMT + - Wed, 23 Jun 2021 01:56:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '33' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml index 407d59e7b70a..61c72949e5fc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_all_successful_passing_text_document_input.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My @@ -28,13 +28,13 @@ interactions: 998.214.865-68 your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 74cf16d1-877d-4816-a25f-58efc6bf2ea4 + - bfdaeac6-46b5-4607-b528-a4d28bb43935 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:04 GMT + - Wed, 23 Jun 2021 01:56:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -42,7 +42,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '35' + - '33' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml index b73f8347dba0..9804322d8be7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_credentials.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - a860ee6e-974d-4f79-8902-de8f7088b0dd content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:56 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml index 4325125294eb..aad05757fc52 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_bad_model_version_error.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid @@ -24,11 +24,11 @@ interactions: For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: apim-request-id: - - f7d18024-f230-4fc9-bdc3-e0d012fcd93d + - 9d025ab3-49eb-4f54-abca-79f0efed62d1 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:55 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '6' + - '4' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml index ee45f590e1dd..82476f8bf7a0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit.yaml @@ -758,20 +758,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - bf7e6eb6-f111-4758-b77e-a17048df6848 + - 745cab64-3039-4bcd-9543-08fb3db09c2e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:56 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -779,7 +779,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '15' + - '9' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml index 98dbb1790f3f..4c23d077f699 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_batch_size_over_limit_error.yaml @@ -723,20 +723,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 184e30a8-304e-4cf0-9240-4b1fa30840fd + - e20a70fc-2c59-4387-a774-572e66fe951b content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -744,7 +744,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '8' + - '9' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter.yaml index a1f2eaf306ac..1b74b606471b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"My name is *************, my SSN in @@ -24,13 +24,13 @@ interactions: Montoya","category":"Person","offset":11,"length":13,"confidenceScore":0.99},{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85},{"text":"333-3333","category":"PhoneNumber","offset":71,"length":8,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - bbd4def3-0b8c-4d6b-a76d-e13f6aba1dc6 + - b8e146e8-f24d-4bcc-a611-88145c203d42 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '41' + - '34' status: code: 200 message: OK @@ -57,22 +57,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber response: body: string: '{"documents":[{"redactedText":"My name is Inigo Montoya, my SSN in *********** and my phone number is 333-3333.","id":"0","entities":[{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 7706acd7-ad22-4941-9a53-fc83b9479c65 + - 51fc212e-5edb-403b-82bd-d5c754ccf8a2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:57 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -80,7 +80,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '38' + - '33' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter_with_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter_with_domain_filter.yaml index 5a99b4aedfb9..98c814de66e3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter_with_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_categories_filter_with_domain_filter.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber response: body: string: '{"documents":[{"redactedText":"My name is Inigo Montoya, my SSN in *********** and my phone number is 333-3333.","id":"0","entities":[{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 1dceb901-3de4-4503-8b06-f7a48e1bcef5 + - 64cd06e0-d44b-4583-b8bb-15c919f7ac9e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '40' + - '37' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml index 3ac37a2fabe1..d65128877ac4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_client_passed_default_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 7b8043e3-3c58-4878-9cdb-0c149e1f3b37 + - ed2d0f23-a9f0-4906-9182-8b48d65d6460 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '28' status: code: 200 message: OK @@ -61,9 +61,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -71,13 +71,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - b7ff0832-d09a-4648-8484-4ea45e0b78d1 + - 44cd1bca-e14c-4f21-8680-d16cd3c3c993 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -85,7 +85,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '24' status: code: 200 message: OK @@ -106,9 +106,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -116,13 +116,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 9825167e-0699-41f2-8752-075faf53d854 + - 7896e3eb-7eaa-4ebb-ac12-a90d4f7d10ce content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -130,7 +130,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '31' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml index 62dd9369f35f..f0590bb0cd69 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Hello world","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 8c938295-554a-4530-b948-38f05e4db71f + - ab333a9d-7f41-4b3d-906a-7838d76e4352 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:58 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_disable_service_logs.yaml index e49d0f9d59b4..332913e9ab2d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_disable_service_logs.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Test for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - d31c7b00-7465-4510-be29-3278f2f0cbc1 + - 552e0c3a-8298-487a-bc4d-432bc8dd6f09 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 18:25:31 GMT + - Wed, 23 Jun 2021 01:56:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml index 0de52c9aa133..72d4ec143598 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_no_result_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - dfd09211-17e2-4e7a-a212-b4a4489490c7 + - 1ced9a26-0ec6-4728-9e45-cf3b2db7a02a content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:04 GMT + - Wed, 23 Jun 2021 01:56:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '2' + - '3' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml index cc7652926837..55ef8bacd9c9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_attribute_error_nonexistent_attribute.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -23,11 +23,11 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 5feb581c-fe8c-4233-b7ca-ca0505a3bc47 + - 35de4de1-7c9c-4961-a499-5f65df7fd115 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml index ee08dbb1debe..bf9abc1743cb 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_errors.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -33,11 +33,11 @@ interactions: see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 1821344a-2835-4bee-9f2c-e951e3b8dead + - 86a47802-a193-4c7f-ac43-eac0140df2bc content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:56:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -45,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml index af55fda7ffec..71aad12aff47 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_document_warnings.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This won''t actually create a warning :''(","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 75170595-5ca6-425a-a799-58705123184d + - 2fc5ea72-ccfc-4ed8-a6bb-a875f0bc24f9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml index 1aeeb4e94bbd..0aff535fbfd9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_duplicate_ids_error.yaml @@ -14,20 +14,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: apim-request-id: - - 9ef5df2a-1080-4341-a991-4a2223ff7ac9 + - 0807276b-0829-47d0-aa4e-7ad37c1806d8 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:56:59 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml index b73f8347dba0..d614cc92fbe8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_empty_credential_class.yaml @@ -14,19 +14,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - a07077b6-9c70-41e6-915a-5c7322df2cc3 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:57:00 GMT status: code: 401 message: PermissionDenied diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_explicit_set_string_index_type.yaml index 6e4497e8b6af..c430f014b866 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_explicit_set_string_index_type.yaml @@ -13,21 +13,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"redactedText":"Hello world","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - b3a430f3-0c43-4310-a9db-6b6649e05e44 + - f95fa04d-4728-4b76-9f76-fa31d4cf2080 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:05 GMT + - Wed, 23 Jun 2021 01:57:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -35,7 +35,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml index 7928e26b48fb..b0f69241592c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_all_errors.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -29,11 +29,11 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 393a7e9a-2fa2-4fec-bc2f-0abfd7bbccc3 + - 5ebf8991-9dff-4b9b-a430-0ac8a629207e content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml index e9fe6922fac1..7bdcbbc7ccc7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_input_with_some_errors.yaml @@ -15,9 +15,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Is 998.214.865-68 your Brazilian CPF @@ -29,13 +29,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 6cdd6df5-94dc-4b3e-bec7-0e4af4572304 + - 13f1fcdb-baf7-44c0-aa25-60a49c309ec6 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:00 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -43,7 +43,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml index 536b555f02eb..9feb3f392aae 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_docs.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 1ff8a2d4-04ef-4c59-a6b3-a01468109c9f + - 14c706bd-86ef-4cfe-a5c7-26baf566e475 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:01 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '3' + - '2' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml index 2dc184ca03e5..489db4a8aa41 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_invalid_language_hint_method.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -25,11 +25,11 @@ interactions: For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - d5a9fbb3-3b24-43b1-bfcd-e30d7a5a3979 + - 235932fd-d827-4327-b101-7e10e2492ead content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml index c93a6faa8b44..b3131a40bdbe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_language_kwarg_english.yaml @@ -14,9 +14,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"redactedText":"********** @@ -24,13 +24,13 @@ interactions: Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.95},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - c2ee254a-be8d-4fb6-98ed-e68a1980566f + - 6304ca55-2671-49ff-8dc2-082eb497dc7e content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:02 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '21' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml index 7b7ba8809d5c..8ed3ecd0b76f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_out_of_order_ids.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 41be138b-2cdf-4f70-abae-e0b96e97054b + - 8e5d0b7d-2274-42b8-927a-62d579b1a1e2 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:07 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '5030' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml index 559e1127c5cf..4faf83745487 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_output_same_order_as_input.yaml @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 69c71155-a66e-43ed-9704-46bb8d6989fb + - e5cda628-c5f3-4734-9f5d-15c91b38938d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:09 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -38,7 +38,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '33' + - '2529' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml index ddd6c3f717d0..deaf5bf80017 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_pass_cls.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Test passing cls to endpoint","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 88e0b667-8283-4f9b-84dc-d5db50a3cf11 + - a284f613-7b76-466b-acf8-1b602f4183c9 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:10 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '20' + - '22' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml index 836de3d47148..6d2892b31992 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_passing_only_string.yaml @@ -17,9 +17,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":3,"erroneousDocumentsCount":1,"transactionsCount":3},"documents":[{"redactedText":"My @@ -31,13 +31,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 38268530-ef89-4a82-b62d-a99b9df3dfd1 + - 9918fdb8-78c3-429d-84b9-e27f87b74cb1 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:10 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml index 1f080a13aae8..57fa97582828 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_per_item_dont_use_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 7c1bab9a-9775-4528-96b8-d8e415287d8d + - 468188f9-a7c2-4093-a8f7-5591779323cd content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '24' + - '33' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml index a21a126dd5b5..245f2fb3e1e8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_phi_domain_filter.yaml @@ -14,22 +14,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I work at ********* and my phone number is ************","id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":10,"length":9,"confidenceScore":0.95},{"text":"333-333-3333","category":"PhoneNumber","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - d0b79f7f-e0f1-47fd-969a-f108a439fc9b + - fd6979ae-0112-49e2-95c7-9c422b8bf12c content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:10 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml index 43c5ee0a788d..24bcd550e752 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_redacted_text.yaml @@ -14,21 +14,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"My SSN is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - b0841aec-83c6-4fb0-b3bb-dd648e896db2 + - ec0b2fff-a96b-4959-a63d-e5f5cf562f46 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -36,7 +36,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '26' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml index 48d6efe0c3bf..26145d71eb4c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_rotate_subscription_key.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - b8b5f424-263f-475c-ab04-d0606b2542ee + - cf72fb70-6994-43cd-9e7f-1a08db9f0f97 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '23' status: code: 200 message: OK @@ -61,19 +61,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: + - 7e4cc48f-6fd9-4dd4-a130-83d7574a90e8 content-length: - '224' + content-type: + - application/json date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:11 GMT status: code: 401 message: PermissionDenied @@ -94,9 +98,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -104,13 +108,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - d43de20f-b060-4b5f-a874-0ef8cde46fd2 + - fb351e55-e3fd-45b1-8002-e5676514b903 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:11 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -118,7 +122,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '30' + - '23' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml index 4e91f6ef01d3..05d88436d4df 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_show_stats_and_model_version.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid @@ -26,13 +26,13 @@ interactions: text is empty."}}}],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 39643f19-49f8-43a9-a38c-e08563488486 + - 78552c15-5c77-4537-b976-3e8d8cc4ca1d content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:19 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '27' + - '7529' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml index 178275eeee3e..969c343ebb9c 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_too_many_documents.yaml @@ -16,20 +16,20 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: apim-request-id: - - 44bf129c-b957-4fda-8647-36e16af18395 + - 065c32eb-4f0b-4748-a9a1-5b1b4b911638 content-type: - application/json; charset=utf-8 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:53 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -37,7 +37,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '4' + - '5' status: code: 400 message: Bad Request diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml index 69dc7f3bed3d..5c7eb15e315d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_user_agent.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - f17eabbf-b41b-4aa6-ac89-7b0a08b9bdd3 + - bb0def96-ac20-4961-91ac-1d60d36b4bfb content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '26' + - '34' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml index 340183b6b77f..8a2293dd5570 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_dont_use_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 57556e04-310b-4906-8887-fa126906949f + - c144f73e-1ce4-462c-b40c-07cf16589a54 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '28' + - '30' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml index 3694f2427a86..fc17706b63e9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - b70fbfe9-9f73-492b-b6f6-5e20ec4e5223 + - 8f81691f-7cb0-4a0e-9154-0041daccdaba content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:06 GMT + - Wed, 23 Jun 2021 01:57:20 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '29' + - '28' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index bffda550f984..b48047b65845 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -16,9 +16,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I @@ -26,13 +26,13 @@ interactions: restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: apim-request-id: - - 5a966476-ab28-4fc0-89fa-dcc4e337da64 + - 49cfa525-576b-462c-9115-38bf26b03f07 content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:21 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -40,7 +40,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '33' + - '24' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml index beac2823309b..a630620f92e7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_input.yaml @@ -16,22 +16,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\",\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"redactedText\":\"Este - es un document escrito en Espa\xF1ol.\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\"\ + ,\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\"\ + ,\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"\ + redactedText\":\"Este es un document escrito en Espa\xF1ol.\",\"id\":\"4\"\ + ,\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\ + \",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\"\ + :\"2021-01-15\"}" headers: apim-request-id: - - 75a2669e-4228-4cd3-a6ff-886fe3459f2b + - dfebe37a-af7b-4172-9a65-ea7e4d20c9be content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index a194baed665d..d6e0b59e7e01 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -16,22 +16,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\",\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"redactedText\":\"Este - es un document escrito en Espa\xF1ol.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\"\ + ,\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\"\ + ,\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"\ + redactedText\":\"Este es un document escrito en Espa\xF1ol.\",\"id\":\"2\"\ + ,\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\ + \",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\"\ + :\"2021-01-15\"}" headers: apim-request-id: - - d13025ce-ebed-4acb-96c6-66bb87673685 + - 6d2b1039-5eac-47c2-bdeb-6a5fb1159a1a content-type: - application/json; charset=utf-8 csp-billing-usage: - CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 date: - - Tue, 18 May 2021 17:48:07 GMT + - Wed, 23 Jun 2021 01:57:22 GMT strict-transport-security: - max-age=31536000; includeSubDomains; preload transfer-encoding: @@ -39,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-envoy-upstream-service-time: - - '25' + - '27' status: code: 200 message: OK diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml index ca7112dd8642..23732976b4f7 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_dict.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My @@ -23,16 +23,16 @@ interactions: of your personal check.","id":"2","statistics":{"charactersCount":105,"transactionsCount":1},"entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: a65cf351-3d17-4b0f-b961-b977349d3ca0 + apim-request-id: 35a69ed3-db85-4ea0-be14-8a20ccffd71a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:21 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '33' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml index a3f32f557a07..2f6d0de42aae 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_all_successful_passing_text_document_input.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":3,"validDocumentsCount":3,"erroneousDocumentsCount":0,"transactionsCount":3},"documents":[{"redactedText":"My @@ -23,10 +23,10 @@ interactions: of your personal check.","id":"2","statistics":{"charactersCount":105,"transactionsCount":1},"entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","statistics":{"charactersCount":44,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 311b0bed-2887-45ba-a65b-a7df213c11c1 + apim-request-id: e6dfc1dc-a112-40d9-aa5d-aee0f0d9711e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -34,5 +34,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml index d9f00744a2a0..b399de1b6195 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_credentials.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 1dfe436d-1c82-472f-b7ec-1a3038f9b886 content-length: '224' - date: Tue, 18 May 2021 17:48:07 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:57:22 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml index f001500c0a6e..569df60f8603 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_bad_model_version_error.yaml @@ -10,18 +10,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"ModelVersionIncorrect","message":"Invalid model version. Possible values are: latest,2019-10-01,2020-02-01,2020-04-01,2020-07-01,2021-01-15. For additional details see https://aka.ms/text-analytics-model-versioning"}}}' headers: - apim-request-id: 5d072676-1b28-4066-ba83-3078c43d1e64 + apim-request-id: 72136e2e-2451-4cea-8a26-40267b00cc97 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?model-version=bad&showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml index d4ea5d22af42..9b65f9e2f8a3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit.yaml @@ -754,23 +754,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: 35b5e18e-9754-42ad-bcf3-be9f54609376 + apim-request-id: 8df06ec6-d44b-4091-8ee3-21c430979655 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:22 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '12' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml index 4fa495770f1d..a7a8f68a79ad 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_batch_size_over_limit_error.yaml @@ -719,23 +719,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: d1a707ee-2e28-4d0e-acfe-3fe8e221de9d + apim-request-id: 1f2443db-a4e0-4d74-8094-081b0e960370 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '10' + x-envoy-upstream-service-time: '9' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter.yaml index b90e96cc6b8b..48ac98ca97d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter.yaml @@ -10,27 +10,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"My name is *************, my SSN in *********** and my phone number is ********.","id":"0","entities":[{"text":"Inigo Montoya","category":"Person","offset":11,"length":13,"confidenceScore":0.99},{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85},{"text":"333-3333","category":"PhoneNumber","offset":71,"length":8,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 12279eb8-2f5a-4851-a05e-79d881997b8b + apim-request-id: 5e400388-601c-4be0-8193-043dae972574 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '34' + x-envoy-upstream-service-time: '32' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "0", "text": "My name is Inigo Montoya, my SSN in 243-56-0987 and my phone number is 333-3333.", "language": "en"}]}' @@ -42,24 +42,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber response: body: string: '{"documents":[{"redactedText":"My name is Inigo Montoya, my SSN in *********** and my phone number is 333-3333.","id":"0","entities":[{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: f9c73a9d-dcba-431e-9a3e-37254f3f994f + apim-request-id: 74118729-d3f3-401f-b88b-72e86e6d8218 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '29' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter_with_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter_with_domain_filter.yaml index dca47eab5189..9b46c3c7d465 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter_with_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_categories_filter_with_domain_filter.yaml @@ -10,18 +10,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber response: body: string: '{"documents":[{"redactedText":"My name is Inigo Montoya, my SSN in *********** and my phone number is 333-3333.","id":"0","entities":[{"text":"243-56-0987","category":"USSocialSecurityNumber","offset":36,"length":11,"confidenceScore":0.85}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: efa385c3-d693-45a8-87bb-3f480d39bc17 + apim-request-id: 40843c89-5f82-4812-af03-ac32a51a54c4 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -29,5 +29,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint&piiCategories=USSocialSecurityNumber version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml index 6648acf56378..d127bc1664bd 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_client_passed_default_language_hint.yaml @@ -12,27 +12,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 889a58b5-e3d7-4585-ae1b-e749a2ebda0b + apim-request-id: 44f8fe6c-6466-49db-9c07-e467b63634ec content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:23 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '29' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -46,27 +46,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 7b1b22fe-603a-4914-b54e-22f4d37d9308 + apim-request-id: df445305-9b78-49b5-b58a-06e16c5a7019 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "es"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -80,25 +80,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 27ecda8f-5351-4cdc-8717-be474cfd9850 + apim-request-id: 23ff2897-cf1d-432e-9459-a743c9b5add8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml index 6b1cfbb1e4f6..7cf24ffe2439 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_default_string_index_type_is_UnicodeCodePoint.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Hello world","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: b9a78296-7b72-4db5-90f6-daac0f4386a9 + apim-request-id: 56a7422d-06b5-484c-aed3-396ff46681e8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '19' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_disable_service_logs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_disable_service_logs.yaml index 2e5b096f31b7..94cdb9897760 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_disable_service_logs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_disable_service_logs.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Test for logging disable","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: d65c0373-f58f-46ae-8cfd-81315a090380 + apim-request-id: 6b25d4b5-4f3f-4cbb-9b2a-ebee39f41112 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 18:25:47 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '19' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&loggingOptOut=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml index b76b0e33724f..795126083e0f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_no_result_attribute.yaml @@ -9,24 +9,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 6fecc694-9e31-4056-ba81-dde4bbbebdee + apim-request-id: 5701953a-1786-4d62-ba51-761f3bda74c0 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '4' + x-envoy-upstream-service-time: '1' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml index 8ff01df4f4bf..bf71baf0c922 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_attribute_error_nonexistent_attribute.yaml @@ -9,18 +9,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: e5611a6a-10ae-4129-b0d4-7122719eb436 + apim-request-id: 5f0a1464-e8c2-4907-8aef-e0e8e2cb65c1 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -28,5 +28,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml index 6f163ddba660..6c36e809061d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_errors.yaml @@ -12,9 +12,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -28,9 +28,9 @@ interactions: size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 666eda47-8bfa-434d-b2c9-d3b637545238 + apim-request-id: aff2b634-56d4-4320-b43c-24a53e76516b content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:07 GMT + date: Wed, 23 Jun 2021 01:57:24 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -38,5 +38,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml index 2a43c76f20d6..fc2dd63454d3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_document_warnings.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This won''t actually create a warning :''(","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 1f81d45e-9b20-41e8-82b7-7c6fd1c9ecbe + apim-request-id: 4d6f3b18-761b-4b30-bd38-8ef40bb120b5 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml index a5dc4bd46066..cd389e075fc6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_duplicate_ids_error.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}' headers: - apim-request-id: aaafd8a4-4840-44be-8fb3-80cf65bcf774 + apim-request-id: a7615ba0-8f65-4663-86a9-e20e716cbca2 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:25 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '7' + x-envoy-upstream-service-time: '5' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml index 95f3d5d1bf5a..1ea891562885 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_empty_credential_class.yaml @@ -10,19 +10,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: 83c812f7-9fbb-4fad-979b-cce1e9bab882 content-length: '224' - date: Tue, 18 May 2021 17:48:08 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:57:26 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_explicit_set_string_index_type.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_explicit_set_string_index_type.yaml index 5c1acf0d8d14..528f2a5d46b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_explicit_set_string_index_type.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_explicit_set_string_index_type.yaml @@ -9,23 +9,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 response: body: string: '{"documents":[{"redactedText":"Hello world","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 8f8f743f-47c1-41f7-bf7e-758e0b1181ca + apim-request-id: 95a62ed4-8d3e-4105-b27c-14c05fbc3d7d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '20' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=TextElements_v8 version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml index 3c29c1da4131..af5f22c1f2da 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_all_errors.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -24,15 +24,15 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 27b9d05b-5380-427b-b341-c27b4ab53177 + apim-request-id: 8fcda3b9-3c0b-47bf-8490-eceace3af61e content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '2' + x-envoy-upstream-service-time: '3' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml index 98cabfc64107..4bdf0603cef5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_input_with_some_errors.yaml @@ -11,9 +11,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Is 998.214.865-68 your Brazilian CPF @@ -24,10 +24,10 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 75641146-87f2-4e1a-b48f-4bca72f31bd9 + apim-request-id: 40a9198b-d8c8-4efe-947d-fbef72297968 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -35,5 +35,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml index 6689dc30e38a..c2defda9c551 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_docs.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid @@ -20,9 +20,9 @@ interactions: language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 5ff79172-d6e5-4877-bbec-b15f8570eb5f + apim-request-id: c66c9ad2-ca0b-4a12-9d9e-7c5e2a77469c content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml index c717ceb90f8d..fc8345a48b02 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_invalid_language_hint_method.yaml @@ -10,9 +10,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid @@ -20,9 +20,9 @@ interactions: language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 46e83044-4722-4cc5-aab2-f6b7adc06059 + apim-request-id: 09615258-8d9a-45f8-8e7a-9f4a05f1ebb8 content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:26 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml index acb3ad8171c6..071ba74105f8 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_language_kwarg_english.yaml @@ -10,25 +10,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":1,"validDocumentsCount":1,"erroneousDocumentsCount":0,"transactionsCount":1},"documents":[{"redactedText":"********** is the *** of *********.","id":"0","statistics":{"charactersCount":35,"transactionsCount":1},"entities":[{"text":"Bill Gates","category":"Person","offset":0,"length":10,"confidenceScore":1.0},{"text":"CEO","category":"PersonType","offset":18,"length":3,"confidenceScore":0.95},{"text":"Microsoft","category":"Organization","offset":25,"length":9,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: a105e735-a4ea-4840-82bb-f0e3365c0c96 + apim-request-id: 94213943-2ba1-4d26-bf0e-a73f3db8f3f8 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '22' + x-envoy-upstream-service-time: '21' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml index 7b94b54266cb..5e5e5506d633 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_out_of_order_ids.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 3373131c-2f85-4736-99f5-b8cbea42188a + apim-request-id: d95d5512-f093-47dc-bdba-5e2489dca6ed content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:27 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '29' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml index 8a3c9ae15061..d7a4979e6eab 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_output_same_order_as_input.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: a12d7f23-834c-46c0-944c-29b2ec31f1db + apim-request-id: 74042e64-c7a0-48c1-93ed-5c27b13870f3 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '5023' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml index c1f842bcaa5a..518a06b34a17 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_pass_cls.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"Test passing cls to endpoint","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 8c2308bc-3144-4a64-b5be-bb07d11e5205 + apim-request-id: a70917da-ae6a-4911-a4db-df905d0731ed content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '21' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml index eabc00f9138e..66166376fbac 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_passing_only_string.yaml @@ -13,9 +13,9 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":4,"validDocumentsCount":3,"erroneousDocumentsCount":1,"transactionsCount":3},"documents":[{"redactedText":"My @@ -26,16 +26,16 @@ interactions: document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 6a4184d2-56d2-4977-94b6-8851bac61639 + apim-request-id: aab78500-b0bd-44dc-bd1c-34f59633c2d9 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '33' + x-envoy-upstream-service-time: '32' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml index bc79ce2e1034..5b2700cae78f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_per_item_dont_use_language_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: bed000a1-6c9a-4ccd-9ea0-52b4ebf6d232 + apim-request-id: 9f04988b-b73d-4027-b4d6-196128511244 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:32 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '24' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml index 1ce11c98140d..bd01582913ae 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_phi_domain_filter.yaml @@ -10,24 +10,24 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I work at ********* and my phone number is ************","id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":10,"length":9,"confidenceScore":0.95},{"text":"333-333-3333","category":"PhoneNumber","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 8bc75377-f286-4717-b522-65f3e4ee2eb8 + apim-request-id: 727c9f67-a5f5-42a0-8cc8-14014161bf59 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:08 GMT + date: Wed, 23 Jun 2021 01:57:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '31' + x-envoy-upstream-service-time: '27' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&domain=phi&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml index 73786129cfd1..4242e1e5e17a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_redacted_text.yaml @@ -10,23 +10,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"My SSN is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: aa26215a-ff43-4ce3-86c1-1450ef5884b1 + apim-request-id: eacd6805-8063-4bf5-bbb4-338dd012c9fa content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '22' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml index 2a238d79d1df..a091e5e32f63 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_rotate_subscription_key.yaml @@ -12,27 +12,27 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 8ea9e144-4f19-4543-aff7-90dc964aa06e + apim-request-id: 9a1216ee-56ed-4a89-b6ab-22cc541dfe74 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '25' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -46,21 +46,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}' headers: + apim-request-id: b0355c67-3442-473d-b615-f44d3404b1f9 content-length: '224' - date: Tue, 18 May 2021 17:48:09 GMT + content-type: application/json + date: Wed, 23 Jun 2021 01:57:33 GMT status: code: 401 message: PermissionDenied - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint - request: body: '{"documents": [{"id": "1", "text": "I will go to the park.", "language": "en"}, {"id": "2", "text": "I did not like the hotel we stayed at.", "language": @@ -74,25 +76,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 7072a7b5-592e-4d82-8c44-3dfc614f5363 + apim-request-id: 9b576326-7200-45fd-a341-198d68a2341a content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:33 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '32' + x-envoy-upstream-service-time: '28' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml index 058370665a7a..3643988aa99e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_show_stats_and_model_version.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint response: body: string: '{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}' headers: - apim-request-id: f72318f7-1fee-48d4-9e58-cb240fe8c2a0 + apim-request-id: 14dd1aee-43a0-4f91-97b2-8a7da124af3d content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '40' + x-envoy-upstream-service-time: '2526' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?model-version=latest&showStats=true&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml index ac461a738c40..dcfb0d9f5bef 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_too_many_documents.yaml @@ -12,23 +12,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}' headers: - apim-request-id: dec344b0-120c-45f6-aaa4-50e25b5dfd12 + apim-request-id: 0de62470-0739-42db-9fb8-814db2a1a7ba content-type: application/json; charset=utf-8 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '6' + x-envoy-upstream-service-time: '4' status: code: 400 message: Bad Request - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml index 55603fbff9a0..7dbbf63595d9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_user_agent.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 22d06e12-82fa-4c32-ab16-043796c3a01f + apim-request-id: 348ac1b3-dc30-43fa-b55f-a651356a4c7b content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:36 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '23' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml index 267ad1ba97b1..2b1a4b5feb6f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_dont_use_language_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 53454fd3-4013-481d-9c0e-4bce26625bb0 + apim-request-id: 75f79552-d4fa-4284-9357-c24b2125790f content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '30' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml index ec0b9a455e5d..2cdb122469b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: ddf4206c-8577-4424-9a78-bbd52aa18833 + apim-request-id: ac8caa13-1aad-4452-90af-6ff711b8ce8e content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:10 GMT + date: Wed, 23 Jun 2021 01:57:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '28' + x-envoy-upstream-service-time: '26' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml index 68c22b187d21..3bdbb72ca482 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_dict_per_item_hints.yaml @@ -12,25 +12,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: string: '{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}' headers: - apim-request-id: 1b0c0e2b-7742-4be1-8f4f-2fd2bfd85f60 + apim-request-id: 4515517c-ea53-4997-a4d4-7a163e754262 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:10 GMT + date: Wed, 23 Jun 2021 01:57:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '27' + x-envoy-upstream-service-time: '23' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml index 1df07442036e..71565ca57a14 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_input.yaml @@ -12,24 +12,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\",\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"redactedText\":\"Este - es un document escrito en Espa\xF1ol.\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\"\ + ,\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\"\ + ,\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"\ + redactedText\":\"Este es un document escrito en Espa\xF1ol.\",\"id\":\"4\"\ + ,\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\ + \",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\"\ + :\"2021-01-15\"}" headers: - apim-request-id: 8cfaf189-70a2-4ff1-807f-cb1022711d15 + apim-request-id: d68e79de-d59d-4f5f-86e8-5e15aca69336 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:38 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '30' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml index f99130d3ec3e..6aa66da47669 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/recordings/test_recognize_pii_entities_async.test_whole_batch_language_hint_and_obj_per_item_hints.yaml @@ -12,24 +12,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-ai-textanalytics/5.1.0b7 Python/3.9.1 (macOS-10.16-x86_64-i386-64bit) + - azsdk-python-ai-textanalytics/5.1.0 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: POST - uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + uri: https://westus2.api.cognitive.microsoft.com/text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint response: body: - string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\",\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\",\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"redactedText\":\"Este - es un document escrito en Espa\xF1ol.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}" + string: "{\"documents\":[{\"redactedText\":\"I should take my cat to the ************.\"\ + ,\"id\":\"1\",\"entities\":[{\"text\":\"veterinarian\",\"category\":\"PersonType\"\ + ,\"offset\":28,\"length\":12,\"confidenceScore\":0.97}],\"warnings\":[]},{\"\ + redactedText\":\"Este es un document escrito en Espa\xF1ol.\",\"id\":\"2\"\ + ,\"entities\":[],\"warnings\":[]},{\"redactedText\":\"\u732B\u306F\u5E78\u305B\ + \",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\"\ + :\"2021-01-15\"}" headers: - apim-request-id: 1cb0fb08-ddbf-4aba-963e-44c2567c0401 + apim-request-id: e8a862d3-f15b-420e-9400-3aec1afd6d92 content-type: application/json; charset=utf-8 csp-billing-usage: CognitiveServices.TextAnalytics.BatchScoring=3,CognitiveServices.TextAnalytics.TextRecords=3 - date: Tue, 18 May 2021 17:48:09 GMT + date: Wed, 23 Jun 2021 01:57:37 GMT strict-transport-security: max-age=31536000; includeSubDomains; preload transfer-encoding: chunked x-content-type-options: nosniff - x-envoy-upstream-service-time: '29' + x-envoy-upstream-service-time: '24' status: code: 200 message: OK - url: https://westus2.api.cognitive.microsoft.com//text/analytics/v3.1-preview.5/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint + url: https://textanalyticskrpratictextanalytics.cognitiveservices.azure.com//text/analytics/v3.1/entities/recognition/pii?showStats=false&stringIndexType=UnicodeCodePoint version: 1 diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze.py index 3eba965e7c28..ee8716942dbe 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze.py @@ -33,6 +33,7 @@ RecognizeLinkedEntitiesResult, RecognizeEntitiesResult, RecognizePiiEntitiesResult, + PiiEntityCategoryType ) # pre-apply the client_cls positional argument so it needn't be explicitly passed below @@ -679,3 +680,31 @@ def callback(resp): polling_interval=self._interval(), raw_response_hook=callback, ).result() + + @TextAnalyticsPreparer() + @TextAnalyticsClientPreparer() + def test_pii_action_categories_filter(self, client): + + docs = [{"id": "1", "text": "My SSN is 859-98-0987."}, + {"id": "2", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."}, + {"id": "3", "text": "Is 998.214.865-68 your Brazilian CPF number?"}] + + actions = [ + RecognizePiiEntitiesAction( + categories_filter=[ + PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER, + PiiEntityCategoryType.ABA_ROUTING_NUMBER, + ] + ), + ] + + result = client.begin_analyze_actions(documents=docs, actions=actions, polling_interval=self._interval()).result() + action_results = list(result) + assert len(action_results) == 3 + + assert action_results[0][0].entities[0].text == "859-98-0987" + assert action_results[0][0].entities[0].category == PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER + assert action_results[1][0].entities[0].text == "111000025" + assert action_results[1][0].entities[0].category == PiiEntityCategoryType.ABA_ROUTING_NUMBER + assert action_results[2][0].entities == [] # No Brazilian CPF since not in categories_filter diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_async.py index ec6fc6dab7a8..89325e290331 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_async.py @@ -32,6 +32,7 @@ RecognizeLinkedEntitiesResult, AnalyzeSentimentResult, ExtractKeyPhrasesResult, + PiiEntityCategoryType ) # pre-apply the client_cls positional argument so it needn't be explicitly passed below @@ -370,16 +371,6 @@ async def test_out_of_order_ids_multiple_tasks(self, client): @TextAnalyticsClientPreparer() async def test_show_stats_and_model_version_multiple_tasks(self, client): - def callback(resp): - if not resp.raw_response: - # this is the initial post call - request_body = json.loads(resp.http_request.body) - assert len(request_body["tasks"]) == 5 - for task in request_body["tasks"].values(): - assert len(task) == 1 - assert task[0]['parameters']['model-version'] == 'latest' - assert not task[0]['parameters']['loggingOptOut'] - docs = [{"id": "56", "text": ":)"}, {"id": "0", "text": ":("}, {"id": "19", "text": ":P"}, @@ -723,3 +714,34 @@ async def test_disable_service_logs(self, client): actions=actions, polling_interval=self._interval(), )).result() + + @TextAnalyticsPreparer() + @TextAnalyticsClientPreparer() + async def test_pii_action_categories_filter(self, client): + + docs = [{"id": "1", "text": "My SSN is 859-98-0987."}, + {"id": "2", + "text": "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."}, + {"id": "3", "text": "Is 998.214.865-68 your Brazilian CPF number?"}] + + actions = [ + RecognizePiiEntitiesAction( + categories_filter=[ + PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER, + PiiEntityCategoryType.ABA_ROUTING_NUMBER + ] + ), + ] + async with client: + result = await (await client.begin_analyze_actions(documents=docs, actions=actions, polling_interval=self._interval())).result() + action_results = [] + async for p in result: + action_results.append(p) + + assert len(action_results) == 3 + + assert action_results[0][0].entities[0].text == "859-98-0987" + assert action_results[0][0].entities[0].category == PiiEntityCategoryType.US_SOCIAL_SECURITY_NUMBER + assert action_results[1][0].entities[0].text == "111000025" + assert action_results[1][0].entities[0].category == PiiEntityCategoryType.ABA_ROUTING_NUMBER + assert action_results[2][0].entities == [] # No Brazilian CPF since not in categories_filter diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py index 9f4b5a614cc4..aad84cadeac2 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment.py @@ -693,7 +693,7 @@ def test_opinion_mining_v3(self, client): with pytest.raises(ValueError) as excinfo: client.analyze_sentiment(["will fail"], show_opinion_mining=True) - assert "'show_opinion_mining' is only available for API version v3.1-preview and up" in str(excinfo.value) + assert "'show_opinion_mining' is only available for API version v3.1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() @@ -723,7 +723,7 @@ def test_string_index_type_not_fail_v3(self, client): def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: client.analyze_sentiment(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py index a1e78ad8f646..a123a7cd4110 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_analyze_sentiment_async.py @@ -696,7 +696,7 @@ async def test_opinion_mining_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.analyze_sentiment(["will fail"], show_opinion_mining=True) - assert "'show_opinion_mining' is only available for API version v3.1-preview and up" in str(excinfo.value) + assert "'show_opinion_mining' is only available for API version v3.1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() @@ -726,7 +726,7 @@ async def test_string_index_type_not_fail_v3(self, client): async def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.analyze_sentiment(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_json_pointer.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_json_pointer.py index 0eefb95fa64c..8f9b3936641b 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_json_pointer.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_json_pointer.py @@ -15,7 +15,7 @@ from azure.ai.textanalytics._response_handlers import sentiment_result -from azure.ai.textanalytics._generated.v3_1_preview_5 import models as _generated_models +from azure.ai.textanalytics._generated.v3_1 import models as _generated_models @pytest.fixture diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi.py index c29cecb27829..1450b46e5996 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi.py @@ -16,7 +16,7 @@ class TestRecognizeEntities(TextAnalyticsTest): @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() def test_default_api_version(self, client): - assert "v3.1-preview.5" in client._client._client._base_url + assert "v3.1" in client._client._client._base_url @TextAnalyticsPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) @@ -24,6 +24,6 @@ def test_v3_0_api_version(self, client): assert "v3.0" in client._client._client._base_url @TextAnalyticsPreparer() - @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_1_PREVIEW}) - def test_v3_1_preview_api_version(self, client): - assert "v3.1-preview.5" in client._client._client._base_url \ No newline at end of file + @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_1}) + def test_v3_1_api_version(self, client): + assert "v3.1" in client._client._client._base_url diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi_async.py index 49ec77ad8a3d..c5f40f0ab8c5 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_multiapi_async.py @@ -16,7 +16,7 @@ class TestRecognizeEntities(TextAnalyticsTest): @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() def test_default_api_version(self, client): - assert "v3.1-preview.5" in client._client._client._base_url + assert "v3.1" in client._client._client._base_url @TextAnalyticsPreparer() @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_0}) @@ -24,6 +24,6 @@ def test_v3_0_api_version(self, client): assert "v3.0" in client._client._client._base_url @TextAnalyticsPreparer() - @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_1_PREVIEW}) - def test_v3_1_preview_api_version(self, client): - assert "v3.1-preview.5" in client._client._client._base_url \ No newline at end of file + @TextAnalyticsClientPreparer(client_kwargs={"api_version": TextAnalyticsApiVersion.V3_1}) + def test_v3_1_api_version(self, client): + assert "v3.1" in client._client._client._base_url \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py index f20dd11333de..ac983b43b8f6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities.py @@ -575,7 +575,7 @@ def test_string_index_type_not_fail_v3(self, client): def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: client.recognize_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py index ab128a34d63e..1fc51bbe3860 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_entities_async.py @@ -582,7 +582,7 @@ async def test_string_index_type_not_fail_v3(self, client): async def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.recognize_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py index 0d198ac7e8be..bf65de1ffdb9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities.py @@ -590,7 +590,7 @@ def test_bing_id(self, client): def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: client.recognize_linked_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py index 99a76b8102ab..3a27507002b6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_linked_entities_async.py @@ -614,7 +614,7 @@ async def test_bing_id(self, client): async def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.recognize_linked_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py index 6f8442fb0071..c57e9bf4df02 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities.py @@ -573,7 +573,7 @@ def test_recognize_pii_entities_v3(self, client): with pytest.raises(ValueError) as excinfo: client.recognize_pii_entities(["this should fail"]) - assert "'recognize_pii_entities' endpoint is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'recognize_pii_entities' endpoint is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() @@ -634,7 +634,7 @@ def test_categories_filter_with_domain_filter(self, client): def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: client.recognize_pii_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py index 6e15572db669..778b5d20434a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_recognize_pii_entities_async.py @@ -575,7 +575,7 @@ async def test_recognize_pii_entities_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.recognize_pii_entities(["this should fail"]) - assert "'recognize_pii_entities' endpoint is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'recognize_pii_entities' endpoint is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() @@ -635,7 +635,7 @@ async def test_categories_filter_with_domain_filter(self, client): async def test_string_index_type_explicit_fails_v3(self, client): with pytest.raises(ValueError) as excinfo: await client.recognize_pii_entities(["this should fail"], string_index_type="UnicodeCodePoint") - assert "'string_index_type' is only available for API version V3_1_PREVIEW and up" in str(excinfo.value) + assert "'string_index_type' is only available for API version V3_1 and up" in str(excinfo.value) @TextAnalyticsPreparer() @TextAnalyticsClientPreparer() diff --git a/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py b/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py index e754d291b0bb..8a49ee02a149 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py +++ b/sdk/textanalytics/azure-ai-textanalytics/tests/test_repr.py @@ -8,7 +8,7 @@ import pytest import datetime from azure.ai.textanalytics import _models -from azure.ai.textanalytics._generated.v3_1_preview_5 import models as _generated_models +from azure.ai.textanalytics._generated.v3_1 import models as _generated_models # All features return a tuple of the object and the repr of the obejct diff --git a/shared_requirements.txt b/shared_requirements.txt index eb6118a522c0..bbd94f34c767 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -143,7 +143,7 @@ pyjwt>=1.7.1 #override azure-keyvault-certificates azure-core<2.0.0,>=1.7.0 #override azure-keyvault-keys azure-core<2.0.0,>=1.7.0 #override azure-keyvault-secrets azure-core<2.0.0,>=1.7.0 -#override azure-ai-textanalytics msrest>=0.6.0 +#override azure-ai-textanalytics msrest>=0.6.21 #override azure-ai-textanalytics azure-core<2.0.0,>=1.14.0 #override azure-search-documents azure-core<2.0.0,>=1.14.0 #override azure-ai-formrecognizer msrest>=0.6.21 From 074f36d3f695fb0e06244eaf9da9f06cbeea9e99 Mon Sep 17 00:00:00 2001 From: swathipil <76007337+swathipil@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:49:33 -0700 Subject: [PATCH 40/45] [EventHubs] Get IoT Hub Name from Redirect Address in sample (#19314) Fixes: #19087 Follows[ C# sample,](https://github.com/Azure/azure-sdk-for-net/blob/350c23ea19ed76d74f7d97dfe3aec82671fdcc9d/samples/iothub-connect-to-eventhubs/IotHubConnection.cs#L97) which also gets IoT Hub name from redirect address. --- .../iot_hub_connection_string_receive_async.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py b/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py index 9a42e6cb7f07..494b817a9b3f 100644 --- a/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py +++ b/sdk/eventhub/azure-eventhub/samples/async_samples/iot_hub_connection_string_receive_async.py @@ -15,6 +15,7 @@ """ import os +import re import time from base64 import b64encode, b64decode from hashlib import sha256 @@ -80,6 +81,13 @@ def convert_iothub_to_eventhub_conn_str(iothub_conn_str): # Once a redirect error is received, close the original client and recreate a new one to the re-directed address receive_client.close() fully_qualified_name = redirect.hostname.decode("utf-8") + # Use regular expression to parse the Event Hub name from the IoT Hub redirection address + if redirect.address: + # The regex searches for the Event Hub compatible name in the redirection address. The name is nested in + # between the port and 'ConsumerGroups'. + # (ex. "...servicebus.windows.net:12345//ConsumerGroups/..."). + # The regex matches string ':/', then any characters, then the string '/ConsumerGroups'. + iot_hub_name = re.search(":\d+\/.*/ConsumerGroups", str(redirect.address)).group(0).split("/")[1] return "Endpoint=sb://{}/;SharedAccessKeyName={};SharedAccessKey={};EntityPath={}".format( fully_qualified_name, shared_access_key_name, From 8b0b87d7f99f18331ab6c11a6774680302d67315 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" Date: Fri, 25 Jun 2021 00:36:18 +0800 Subject: [PATCH 41/45] [EventHubs] Fix bug in sending stress test code and update default stress test settings (#19429) The issues were found when running stress test with chaos-mesh: https://github.com/Azure/azure-sdk-for-python/issues/19241. After fixing the test code, send could ignore error and recover properly. also updated the default settings for stress test config. --- .../stress/azure_eventhub_producer_stress.py | 12 ++++++++---- sdk/eventhub/azure-eventhub/stress/stress_runner.cfg | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/sdk/eventhub/azure-eventhub/stress/azure_eventhub_producer_stress.py b/sdk/eventhub/azure-eventhub/stress/azure_eventhub_producer_stress.py index 0cd9456d354c..bf6812d82d46 100644 --- a/sdk/eventhub/azure-eventhub/stress/azure_eventhub_producer_stress.py +++ b/sdk/eventhub/azure-eventhub/stress/azure_eventhub_producer_stress.py @@ -31,8 +31,8 @@ def handle_exception(error, ignore_send_failure, stress_logger, azure_monitor_me def stress_send_sync(producer: EventHubProducerClient, args, stress_logger, azure_monitor_metric): - batch = producer.create_batch(partition_id=args.send_partition_id, partition_key=args.send_partition_key) try: + batch = producer.create_batch(partition_id=args.send_partition_id, partition_key=args.send_partition_key) while True: event_data = EventData(body=b"D" * args.payload) batch.add(event_data) @@ -41,6 +41,8 @@ def stress_send_sync(producer: EventHubProducerClient, args, stress_logger, azur producer.send_batch(batch) except EventHubError as e: return handle_exception(e, args.ignore_send_failure, stress_logger, azure_monitor_metric) + except EventHubError as e: + return handle_exception(e, args.ignore_send_failure, stress_logger, azure_monitor_metric) return len(batch) @@ -57,8 +59,8 @@ def stress_send_list_sync(producer: EventHubProducerClient, args, stress_logger, async def stress_send_async(producer: EventHubProducerClientAsync, args, stress_logger, azure_monitor_metric): - batch = await producer.create_batch() try: + batch = await producer.create_batch(partition_id=args.send_partition_id, partition_key=args.send_partition_key) while True: event_data = EventData(body=b"D" * args.payload) batch.add(event_data) @@ -67,6 +69,8 @@ async def stress_send_async(producer: EventHubProducerClientAsync, args, stress_ await producer.send_batch(batch) except EventHubError as e: return handle_exception(e, args.ignore_send_failure, stress_logger, azure_monitor_metric) + except EventHubError as e: + return handle_exception(e, args.ignore_send_failure, stress_logger, azure_monitor_metric) return len(batch) @@ -275,7 +279,7 @@ def run_test_method(self, test_method, worker, logger, process_monitor): logger.info("keyboard interrupted") self.stop() except Exception as e: - logger.exception("%r failed:", type(worker), e) + logger.exception("%r failed: %r", type(worker), e) self.stop() logger.info("%r has finished testing", test_method) @@ -373,7 +377,7 @@ async def run_test_method_async(self, test_method, worker, logger, process_monit logger.info("keyboard interrupted") self.stop() except Exception as e: - logger.exception("%r failed: ", type(worker), e) + logger.exception("%r failed: %r", type(worker), e) self.stop() logger.info("%r has finished testing", test_method) diff --git a/sdk/eventhub/azure-eventhub/stress/stress_runner.cfg b/sdk/eventhub/azure-eventhub/stress/stress_runner.cfg index 1fbdca2b3b93..9ea373ab2a88 100644 --- a/sdk/eventhub/azure-eventhub/stress/stress_runner.cfg +++ b/sdk/eventhub/azure-eventhub/stress/stress_runner.cfg @@ -14,7 +14,7 @@ auth_timeout=60 # log output per output_interval messages output_interval=1000 # By default every stress test will create a new eventhub, if set to no, the specific eventhub name should be provided -create_new_eventhub=yes +create_new_eventhub=no partition_cnt_to_create=32 message_retention_in_days=7 run_generated_commands=yes @@ -57,7 +57,7 @@ transport_type=0 retry_total=5 retry_backoff_factor=0.8 retry_backoff_max=180 -ignore_send_failure=False +ignore_send_failure=True [RUN_METHODS] @@ -71,7 +71,7 @@ receive_async=no receive_with_checkpointstore_sync=no # receive alone require manual eventhub connection string input -- the eventhub and blob resource must exist receive_with_checkpointstore_async=no -send_and_receive_sync=no +send_and_receive_sync=yes send_and_receive_async=yes send_and_receive_with_checkpointstore_sync=no send_and_receive_with_checkpointstore_async=no From 0b9f80f86a718dd8a554986863259510b7899778 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Thu, 24 Jun 2021 10:36:26 -0700 Subject: [PATCH 42/45] Async/BearerTokenCredentialPolicy consistently calls on_exception (#19195) --- .../core/pipeline/policies/_authentication.py | 9 ++++++-- .../policies/_authentication_async.py | 9 ++++++-- .../async_tests/test_authentication_async.py | 23 +++++++++++++++++-- .../azure-core/tests/test_authentication.py | 19 +++++++++++++++ 4 files changed, 54 insertions(+), 6 deletions(-) diff --git a/sdk/core/azure-core/azure/core/pipeline/policies/_authentication.py b/sdk/core/azure-core/azure/core/pipeline/policies/_authentication.py index 251dc8a610bf..228e3fd20f58 100644 --- a/sdk/core/azure-core/azure/core/pipeline/policies/_authentication.py +++ b/sdk/core/azure-core/azure/core/pipeline/policies/_authentication.py @@ -128,8 +128,13 @@ def send(self, request): if "WWW-Authenticate" in response.http_response.headers: request_authorized = self.on_challenge(request, response) if request_authorized: - response = self.next.send(request) - self.on_response(request, response) + try: + response = self.next.send(request) + self.on_response(request, response) + except Exception: # pylint:disable=broad-except + handled = self.on_exception(request) + if not handled: + raise return response diff --git a/sdk/core/azure-core/azure/core/pipeline/policies/_authentication_async.py b/sdk/core/azure-core/azure/core/pipeline/policies/_authentication_async.py index 479ef9057571..76564320b742 100644 --- a/sdk/core/azure-core/azure/core/pipeline/policies/_authentication_async.py +++ b/sdk/core/azure-core/azure/core/pipeline/policies/_authentication_async.py @@ -84,8 +84,13 @@ async def send(self, request: "PipelineRequest") -> "PipelineResponse": if "WWW-Authenticate" in response.http_response.headers: request_authorized = await self.on_challenge(request, response) if request_authorized: - response = await self.next.send(request) - await await_result(self.on_response, request, response) + try: + response = await self.next.send(request) + await await_result(self.on_response, request, response) + except Exception: # pylint:disable=broad-except + handled = await await_result(self.on_exception, request) + if not handled: + raise return response diff --git a/sdk/core/azure-core/tests/async_tests/test_authentication_async.py b/sdk/core/azure-core/tests/async_tests/test_authentication_async.py index 047c0be0a6a0..7230018aa37f 100644 --- a/sdk/core/azure-core/tests/async_tests/test_authentication_async.py +++ b/sdk/core/azure-core/tests/async_tests/test_authentication_async.py @@ -164,14 +164,14 @@ async def test_bearer_policy_calls_sansio_methods(): class TestPolicy(AsyncBearerTokenCredentialPolicy): def __init__(self, *args, **kwargs): - super(TestPolicy, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.on_exception = Mock(return_value=False) self.on_request = Mock() self.on_response = Mock() async def send(self, request): self.request = request - self.response = await super(TestPolicy, self).send(request) + self.response = await super().send(request) return self.response credential = Mock(get_token=Mock(return_value=get_completed_future(AccessToken("***", int(time.time()) + 3600)))) @@ -188,6 +188,7 @@ async def send(self, request): class TestException(Exception): pass + # during the first send... transport = Mock(send=Mock(side_effect=TestException)) policy = TestPolicy(credential, "scope") pipeline = AsyncPipeline(transport=transport, policies=[policy]) @@ -195,6 +196,24 @@ class TestException(Exception): await pipeline.run(HttpRequest("GET", "https://localhost")) policy.on_exception.assert_called_once_with(policy.request) + # ...or the second + async def fake_send(*args, **kwargs): + if fake_send.calls == 0: + fake_send.calls = 1 + return Mock(status_code=401, headers={"WWW-Authenticate": 'Basic realm="localhost"'}) + raise TestException() + fake_send.calls = 0 + + policy = TestPolicy(credential, "scope") + policy.on_challenge = Mock(return_value=get_completed_future(True)) + transport = Mock(send=Mock(wraps=fake_send)) + pipeline = AsyncPipeline(transport=transport, policies=[policy]) + with pytest.raises(TestException): + await pipeline.run(HttpRequest("GET", "https://localhost")) + assert transport.send.call_count == 2 + policy.on_challenge.assert_called_once() + policy.on_exception.assert_called_once_with(policy.request) + def get_completed_future(result=None): fut = asyncio.Future() diff --git a/sdk/core/azure-core/tests/test_authentication.py b/sdk/core/azure-core/tests/test_authentication.py index e11e146507d0..de029e8ea352 100644 --- a/sdk/core/azure-core/tests/test_authentication.py +++ b/sdk/core/azure-core/tests/test_authentication.py @@ -225,6 +225,7 @@ def send(self, request): class TestException(Exception): pass + # during the first send... transport = Mock(send=Mock(side_effect=TestException)) policy = TestPolicy(credential, "scope") pipeline = Pipeline(transport=transport, policies=[policy]) @@ -232,6 +233,24 @@ class TestException(Exception): pipeline.run(HttpRequest("GET", "https://localhost")) policy.on_exception.assert_called_once_with(policy.request) + # ...or the second + def raise_the_second_time(*args, **kwargs): + if raise_the_second_time.calls == 0: + raise_the_second_time.calls = 1 + return Mock(status_code=401, headers={"WWW-Authenticate": 'Basic realm="localhost"'}) + raise TestException() + raise_the_second_time.calls = 0 + + policy = TestPolicy(credential, "scope") + policy.on_challenge = Mock(return_value=True) + transport = Mock(send=Mock(wraps=raise_the_second_time)) + pipeline = Pipeline(transport=transport, policies=[policy]) + with pytest.raises(TestException): + pipeline.run(HttpRequest("GET", "https://localhost")) + assert transport.send.call_count == 2 + policy.on_challenge.assert_called_once() + policy.on_exception.assert_called_once_with(policy.request) + @pytest.mark.skipif(azure.core.__version__ >= "2", reason="this test applies only to azure-core 1.x") def test_key_vault_regression(): From 215b767e671b209b5f286387f0f8a09a541124fa Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 24 Jun 2021 11:38:15 -0700 Subject: [PATCH 43/45] Sync eng/common directory with azure-sdk-tools for PR 1729 (#19415) * Check for API review status only if release date is set in changelog --- eng/common/scripts/Create-APIReview.ps1 | 4 ++++ eng/common/scripts/Package-Properties.ps1 | 7 +++++++ eng/common/scripts/Save-Package-Properties.ps1 | 1 + 3 files changed, 12 insertions(+) diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index 0ef5e0ba6818..456d249c9c18 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -121,6 +121,10 @@ if ($packages) # Ignore API review status for prerelease version Write-Host "Package version is not GA. Ignoring API view approval status" } + elseif (!$pkgInfo.ReleaseStatus -or $pkgInfo.ReleaseStatus -eq "Unreleased") + { + Write-Host "Release date is not set for current version in change log file for package. Ignoring API review approval status since package is not yet ready for release." + } else { # Return error code if status code is 201 for new data plane package diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 64698a181b7e..e00ea7bb9eaf 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -13,6 +13,7 @@ class PackageProps [string]$SdkType [boolean]$IsNewSdk [string]$ArtifactName + [string]$ReleaseStatus PackageProps([string]$name, [string]$version, [string]$directoryPath, [string]$serviceDirectory) { @@ -48,6 +49,12 @@ class PackageProps if (Test-Path (Join-Path $directoryPath "CHANGELOG.md")) { $this.ChangeLogPath = Join-Path $directoryPath "CHANGELOG.md" + # Get release date for current version and set in package property + $changeLogEntry = Get-ChangeLogEntry -ChangeLogLocation $this.ChangeLogPath -VersionString $this.Version + if ($changeLogEntry -and !$changeLogEntry.ReleaseStatus) + { + $this.ReleaseStatus = $changeLogEntry.ReleaseStatus.Trim().Trim("()") + } } else { diff --git a/eng/common/scripts/Save-Package-Properties.ps1 b/eng/common/scripts/Save-Package-Properties.ps1 index 3de89434904a..26f4f17c8807 100644 --- a/eng/common/scripts/Save-Package-Properties.ps1 +++ b/eng/common/scripts/Save-Package-Properties.ps1 @@ -22,6 +22,7 @@ if ($allPackageProperties) Write-Host "Package Version: $($pkg.Version)" Write-Host "Package SDK Type: $($pkg.SdkType)" Write-Host "Artifact Name: $($pkg.ArtifactName)" + Write-Host "Release date: $($pkg.ReleaseStatus)" $configFilePrefix = $pkg.Name if ($pkg.ArtifactName) { From 4fb13e9921da0bb415d7707c0adb282893f20da5 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 24 Jun 2021 14:42:12 -0700 Subject: [PATCH 44/45] Add Ubuntu 20 to local dns bypass template (#19432) Co-authored-by: Praveen Kuttappan --- eng/common/pipelines/templates/steps/bypass-local-dns.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/bypass-local-dns.yml b/eng/common/pipelines/templates/steps/bypass-local-dns.yml index c0608dbf64d7..8b4887870f7d 100644 --- a/eng/common/pipelines/templates/steps/bypass-local-dns.yml +++ b/eng/common/pipelines/templates/steps/bypass-local-dns.yml @@ -8,7 +8,9 @@ steps: succeededOrFailed(), or( eq(variables['OSVmImage'], 'ubuntu-18.04'), - eq(variables['OSVmImage'], 'MMSUbuntu18.04') + eq(variables['OSVmImage'], 'ubuntu-20.04'), + eq(variables['OSVmImage'], 'MMSUbuntu18.04'), + eq(variables['OSVmImage'], 'MMSUbuntu20.04') ), eq(variables['Container'], '') ) From e1c0bc4b5cc8c748f5bab52a7576250532047dc2 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:48:52 -0400 Subject: [PATCH 45/45] ignore coretestserver readme (#19436) --- eng/.docsettings.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 7564b2c8a678..9d880e244dfe 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -138,6 +138,7 @@ known_content_issues: - ['sdk/digitaltwins/azure-digitaltwins-core/swagger/README.md', '#4554'] - ['sdk/textanalytics/azure-ai-textanalytics/swagger/README.md', '#4554'] - ['sdk/appconfiguration/azure-appconfiguration/swagger/README.md', '#4554'] + - ['sdk/core/azure-core/tests/testserver_tests/coretestserver/README.md', '#4554'] package_indexing_exclusion_list: - 'azure-sdk-tools' - 'azure-template'